source: XIOS2/dev/dev_trunk_graph/src/transformation/Functions/reduction_types.hpp @ 2414

Last change on this file since 2414 was 2019, checked in by yushan, 4 years ago

Graph intermedia commit to a tmp branch

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.