Last change
on this file since 6607 was
6607,
checked in by acosce, 10 months ago
|
XIOS used for ICOLMDZORINCA_CO2_Transport_GMD_2023
|
File size:
1.0 KB
|
Line | |
---|
1 | #ifndef __XIOS_COnce__ |
---|
2 | #define __XIOS_COnce__ |
---|
3 | |
---|
4 | /// XIOS headers /// |
---|
5 | #include "functor.hpp" |
---|
6 | #include "array_new.hpp" |
---|
7 | |
---|
8 | namespace xios |
---|
9 | { |
---|
10 | namespace func |
---|
11 | { |
---|
12 | /// ////////////////////// Déclarations ////////////////////// /// |
---|
13 | class COnce : public CFunctor |
---|
14 | { |
---|
15 | /// Définition de type /// |
---|
16 | typedef CFunctor SuperClass; |
---|
17 | |
---|
18 | public : |
---|
19 | |
---|
20 | /// Constructeurs /// |
---|
21 | //COnce(void); // Not implemented. |
---|
22 | COnce(CArray<double,1>& doutput); |
---|
23 | COnce(CArray<double,1>& doutput, double missingValue); |
---|
24 | //COnce(const COnce & once); // Not implemented. |
---|
25 | //COnce(const COnce * const once); // Not implemented. |
---|
26 | |
---|
27 | /// Traitement /// |
---|
28 | virtual void apply(const CArray<double,1>& dinput, CArray<double,1>& doutput); |
---|
29 | virtual ETimeType timeType(void) { return once ; } |
---|
30 | |
---|
31 | /// Destructeur /// |
---|
32 | virtual ~COnce(void); |
---|
33 | |
---|
34 | }; // class COnce |
---|
35 | |
---|
36 | } // namespace func |
---|
37 | } // namespace xios |
---|
38 | |
---|
39 | #endif //__XIOS_COnce__ |
---|
40 | |
---|
Note: See
TracBrowser
for help on using the repository browser.