Ignore:
Timestamp:
02/11/21 13:20:03 (10 months ago)
Author:
ymipsl
Message:

Add extrapolation to vertical interpolation.
YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/transformation/axis_algorithm_interpolate.hpp

    r1982 r2033  
    1818class CGrid; 
    1919class CInterpolateAxis; 
    20  
     20  
    2121/*! 
    2222  \class CAxisAlgorithmInterpolate 
     
    4545  void computeInterpolantPoint(const std::vector<double>& recvBuff, const std::vector<int>&,  
    4646                               const std::vector<CArray<double,1>* >& dataAuxInputs, int transPos = 0); 
    47   void computeWeightedValueAndMapping(const std::map<int, std::vector<std::pair<int,double> > >& interpolatingIndexValues, int transPos = 0); 
     47  void computeWeightedValueAndMapping(CArray<double,1>& axisDestValue, const std::map<int, std::vector<std::pair<int,double> > >& interpolatingIndexValues, int transPos = 0); 
    4848  void fillInAxisValue(std::vector<CArray<double,1> >& vecAxisValue, 
    4949                       const std::vector<CArray<double,1>* >& dataAuxInputs); 
     
    5252  // Interpolation order 
    5353  int order_; 
     54  bool extrapolate_ ; 
    5455  StdString coordinate_; 
    5556  StdString coordinateDST_; 
Note: See TracChangeset for help on using the changeset viewer.