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

Last change on this file since 888 was 888, checked in by mhnguyen, 8 years ago

Adding new transformation for scalar: Reducing an axis to a scalar

+) Add new xml node for new transformation
+) Add new algorithms for axis reduction
+) Make change in some place to make sure everything work fine

Test
+) On Curie
+) Tests pass and are correct

File size: 416 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  } EReductionType;
20
21}
22#endif // __XIOS_REDUCTION_TYPES_HPP__
Note: See TracBrowser for help on using the repository browser.