source: XIOS/dev/dev_olga/src/functor/average.hpp @ 1158

Last change on this file since 1158 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.2 KB
Line 
1#ifndef __XIOS_CAverage__
2#define __XIOS_CAverage__
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 CAverage : public CFunctor
14      {
15         /// Définition de type ///
16         typedef CFunctor SuperClass;
17
18         public :
19
20            /// Constructeurs ///
21            //CAverage(void);                             // Not implemented.
22            //CAverage(const CFunData & data);
23            CAverage(CArray<double,1>& doutput);
24            CAverage(CArray<double,1>& doutput, double missingValue);
25            //CAverage(const CAverage & average);         // Not implemented.
26            //CAverage(const CAverage * const average);   // 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 ~CAverage(void);
35
36      }; // class CAverage
37
38   } // namespace func
39} // namespace xios
40
41#endif //__XIOS_CAverage__
Note: See TracBrowser for help on using the repository browser.