source: XIOS/trunk/src/transformation/Functions/reduction_types.hpp @ 979

Last change on this file since 979 was 979, checked in by mhnguyen, 5 years ago

Implementing AVERAGE operation

+) Add average operation for reduction transformation

Test
+) On Curie
+) Correct

File size: 476 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  typedef enum reduction_alogirthm_type
15  {
16    TRANS_REDUCE_SUM = 0,
17    TRANS_REDUCE_MIN = 1,
18    TRANS_REDUCE_MAX = 2,
19    TRANS_REDUCE_EXTRACT = 3,
20    TRANS_REDUCE_AVERAGE = 4
21  } EReductionType;
22
23}
24#endif // __XIOS_REDUCTION_TYPES_HPP__
Note: See TracBrowser for help on using the repository browser.