source: CONFIG/publications/ICOLMDZORINCA_CO2_Transport_GMD_2023/XIOS/src/functor/accumulate.hpp @ 6607

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.2 KB
Line 
1#ifndef __XIOS_CAccumulate__
2#define __XIOS_CAccumulate__
3
4/// XIOS headers ///
5#include "functor.hpp"
6#include "array_new.hpp"
7
8namespace xios
9{
10   namespace func
11   {
12      /// ////////////////////// Déclarations ////////////////////// ///
13      class CAccumulate : public CFunctor
14      {
15         /// Définition de type ///
16         typedef CFunctor SuperClass;
17
18         public :
19
20            /// Constructeurs ///
21            //CAccumulate(void);                             // Not implemented.
22            //CAccumulate(const CFunData & data);
23            CAccumulate(CArray<double,1>& doutput);
24            CAccumulate(CArray<double,1>& doutput, double missingValue);
25            //CAccumulate(const CAccumulate & accumulate);         // Not implemented.
26            //CAccumulate(const CAccumulate * const accumulate);   // Not implemented.
27
28            /// Traitement ///
29            virtual void apply(const CArray<double,1>& dinput, CArray<double,1>& doutput);
30            virtual void final(void) ;
31            virtual ETimeType timeType(void) { return centered ; }
32           
33            /// Destructeur ///
34            virtual ~CAccumulate(void);
35
36      }; // class CAccumulate
37
38   } // namespace func
39} // namespace xios
40
41#endif //__XIOS_CAccumulate__
Note: See TracBrowser for help on using the repository browser.