source: XIOS/dev/dev_ym/XIOS_COUPLING/src/transformation/algorithm_transformation_no_data_modification.cpp @ 2007

Last change on this file since 2007 was 2007, checked in by ymipsl, 3 years ago
  • fix some problem in transformation
  • implement new temporal splitting transformation

YM

  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 526 bytes
Line 
1#include "algorithm_transformation_no_data_modification.hpp"
2#include "grid_algorithm_no_data_modification.hpp"
3#include "grid.hpp"
4
5namespace xios
6{
7  void CAlgorithmTransformationNoDataModification::apply(int dimBefore, int dimAfter, const CArray<double,1>& dataIn, CArray<double,1>& dataOut)
8  {
9    dataOut.reference(dataIn) ;
10  }
11 
12  CGridAlgorithm* CAlgorithmTransformationNoDataModification::createGridAlgorithm(CGrid* gridSrc, CGrid* gridDst, int pos)
13  {
14    return new CGridAlgorithmNoDataModification(this) ;
15  }
16}
Note: See TracBrowser for help on using the repository browser.