source: XIOS/dev/dev_trunk_graph/src/transformation/algorithm_transformation_no_data_modification.cpp @ 2338

Last change on this file since 2338 was 2019, checked in by yushan, 3 years ago

Graph intermedia commit to a tmp branch

  • 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.