XIOS  1.0
Xml I/O Server
 Tout Classes Espaces de nommage Fichiers Fonctions Variables Définitions de type Énumérations Valeurs énumérées Amis Macros
max_reduction.hpp
Aller à la documentation de ce fichier.
1 
9 #ifndef __XIOS_REDUCTION_MAX_ALGORITHM_HPP__
10 #define __XIOS_REDUCTION_MAX_ALGORITHM_HPP__
11 
12 #include "reduction.hpp"
13 
14 namespace xios {
15 
21 {
22 public:
24 
25  virtual void apply(const std::vector<std::pair<int,double> >& localIndex,
26  const double* dataInput,
27  CArray<double,1>& dataOut,
28  std::vector<bool>& flagInitial,
29  bool ignoreMissingValue, bool firstPass);
30 
32 
33 public:
34  static bool registerTrans();
35 
36 protected:
37  static CReductionAlgorithm* create();
38 };
39 
40 }
41 #endif // __XIOS_REDUCTION_MAX_ALGORITHM_HPP__
Interface for all reduction alogrithms.
static CReductionAlgorithm * create()
Parent class for all reduction.
#define xios(arg)
virtual void apply(const std::vector< std::pair< int, double > > &localIndex, const double *dataInput, CArray< double, 1 > &dataOut, std::vector< bool > &flagInitial, bool ignoreMissingValue, bool firstPass)
Apply a reduction operation on local data.
Interface for all reduction alogrithms.
Definition: reduction.hpp:22