source: XIOS/trunk/src/functor/accumulate.hpp @ 449

Last change on this file since 449 was 449, checked in by ymipsl, 11 years ago

Add unstructured grid management.

YM

File size: 1.2 KB
Line 
1#ifndef __XMLIO_CAccumulate__
2#define __XMLIO_CAccumulate__
3
4/// xmlioserver 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(const CAccumulate & accumulate);         // Not implemented.
25            //CAccumulate(const CAccumulate * const accumulate);   // Not implemented.
26
27            /// Traitement ///
28            virtual void apply(const CArray<double,1>& dinput, CArray<double,1>& doutput);
29            virtual void final(void) ;
30            virtual ETimeType timeType(void) { return centered ; }
31           
32            /// Destructeur ///
33            virtual ~CAccumulate(void);
34
35      }; // class CAccumulate
36
37   } // namespace func
38} // namespace xmlioserver
39
40#endif //__XMLIO_CAccumulate__
Note: See TracBrowser for help on using the repository browser.