source: XIOS/dev/dev_ym/XIOS_COUPLING/src/transformation/Functions/reduction_types.hpp @ 1999

Last change on this file since 1999 was 1999, checked in by ymipsl, 3 years ago

Adapt transformation algorithm to new infrastructure (on going...)

YM

File size: 546 bytes
Line 
1/*!
2   \file reduction_types.hpp
3   \author Ha NGUYEN
4   \since 27 June 2016
5   \date 27 June 2016
6
7   \brief Different reduction types
8 */
9#ifndef __XIOS_REDUCTION_TYPES_HPP__
10#define __XIOS_REDUCTION_TYPES_HPP__
11
12namespace xios
13{
14
15  typedef enum reduction_algurithm_type
16  {
17    TRANS_REDUCE_SUM = 0,
18    TRANS_REDUCE_MIN = 1,
19    TRANS_REDUCE_MAX = 2,
20    TRANS_REDUCE_EXTRACT = 3,
21    TRANS_REDUCE_AVERAGE = 4
22  } EReductionType;
23
24  enum class EReduction
25  {
26    sum, min, max, extract, average
27  } ;
28}
29#endif // __XIOS_REDUCTION_TYPES_HPP__
Note: See TracBrowser for help on using the repository browser.