Last change
on this file since 1535 was
591,
checked in by rlacroix, 9 years ago
|
Remove leftovers from the XMLIO age.
|
-
Property copyright set to
Software name : XIOS (Xml I/O Server) http://forge.ipsl.jussieu.fr/ioserver Creation date : January 2009 Licence : CeCCIL version2 see license file in root directory : Licence_CeCILL_V2-en.txt or http://www.cecill.info/licences/Licence_CeCILL_V2-en.html Holder : CEA/LSCE (Laboratoire des Sciences du CLimat et de l'Environnement) CNRS/IPSL (Institut Pierre Simon Laplace) Project Manager : Yann Meurdesoif yann.meurdesoif@cea.fr
|
File size:
1.1 KB
|
Rev | Line | |
---|
[219] | 1 | #include "instant.hpp" |
---|
[369] | 2 | #include "array_new.hpp" |
---|
[219] | 3 | |
---|
[335] | 4 | namespace xios |
---|
[219] | 5 | { |
---|
| 6 | namespace func |
---|
| 7 | { |
---|
| 8 | /// ////////////////////// Définitions ////////////////////// /// |
---|
| 9 | |
---|
[369] | 10 | CInstant::CInstant(CArray<double,1>& doutput) |
---|
[219] | 11 | : SuperClass(StdString("instant"), doutput) |
---|
| 12 | { /* Ne rien faire de plus */ } |
---|
[470] | 13 | |
---|
| 14 | CInstant::CInstant(CArray<double,1>& doutput, double missingValue) |
---|
| 15 | : SuperClass(StdString("instant"), doutput, missingValue) |
---|
| 16 | { /* Ne rien faire de plus */ } |
---|
[219] | 17 | |
---|
| 18 | CInstant::~CInstant(void) |
---|
| 19 | { /* Ne rien faire de plus */ } |
---|
| 20 | |
---|
| 21 | //--------------------------------------------------------------- |
---|
| 22 | |
---|
[369] | 23 | void CInstant::apply(const CArray<double,1>& _dinput, |
---|
| 24 | CArray<double,1>& _doutput) |
---|
[219] | 25 | { |
---|
[369] | 26 | /* const double * it1 = _dinput->data(), |
---|
[266] | 27 | * end1 = _dinput->data() + _dinput->num_elements(); |
---|
| 28 | double * it = _doutput->data(); |
---|
[369] | 29 | for (; it1 != end1; it1++, it++) *it = *it1;*/ |
---|
| 30 | _doutput=_dinput ; |
---|
[219] | 31 | } |
---|
| 32 | |
---|
| 33 | //--------------------------------------------------------------- |
---|
| 34 | |
---|
| 35 | } // namespace func |
---|
[591] | 36 | } // namespace xios |
---|
Note: See
TracBrowser
for help on using the repository browser.