Ignore:
Timestamp:
04/01/21 11:13:01 (3 years ago)
Author:
ymipsl
Message:

Improve axis interpolate feature :
introduce : coordinate_src and coordinate_dst feature :

  • level -> pressure
  • pressure -> pressure

YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/dev_ym/XIOS_COUPLING/src/transformation/axis_algorithm/axis_algorithm_interpolate_coordinate.hpp

    r2011 r2122  
    3232  virtual ~CAxisAlgorithmInterpolateCoordinate() {} 
    3333  virtual vector<string> getAuxFieldId(void)  ; 
     34  virtual bool transformAuxField(int pos) ; 
    3435  virtual void apply(int dimBefore, int dimAfter, const CArray<double,1>& dataIn,  
    3536                     const vector<CArray<double,1>>& auxDataIn, CArray<double,1>& dataOut) ; 
     
    4344  // Interpolation order 
    4445  int order_; 
    45   StdString coordinate_; 
     46  StdString coordinateSrc_; // pressure src 
     47  StdString coordinateDest_; // pressure dst 
    4648  bool hasCoordinate_=false ; 
     49  bool hasCoordinateSrc_=false ; 
     50  bool hasCoordinateDest_=false ; 
    4751 
    4852  CAxis* axisSrc_=nullptr ; 
     
    5054  size_t ngloSrc_ ; 
    5155  size_t nDest_ ; 
    52   vector<double> destCoordinate_ ; 
     56  vector<double> srcCoordinate_  ; // src axis value 
     57  vector<double> destCoordinate_ ; // dst axis value 
    5358 
    5459public: 
Note: See TracChangeset for help on using the changeset viewer.