Last change
on this file since 2002 was
1997,
checked in by ymipsl, 4 years ago
|
New transformation algorithm created that can be inherited more specifically for a given transformation :
- no_data_modification : only the element is modifed, the data are not modofied
- transfer : data is juste transfered from source element to destination element
- weight : destination data is composed of sum of source data associated to a weight
YM
|
-
Property svn:eol-style set to
native
-
Property svn:executable set to
*
|
File size:
268 bytes
|
Line | |
---|
1 | #include "algorithm_transformation_no_data_modification.hpp" |
---|
2 | |
---|
3 | namespace xios |
---|
4 | { |
---|
5 | void CAlgorithmTransformationNoDataModification::apply(int dimBefore, int dimAfter, const CArray<double,1>& dataIn, CArray<double,1>& dataOut) |
---|
6 | { |
---|
7 | dataOut.reference(dataIn) ; |
---|
8 | } |
---|
9 | |
---|
10 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.