Last change
on this file since 2421 was
2291,
checked in by ymipsl, 2 years ago
|
Improve reduction transformation
- make the difference between reduction over geometry or reduction between process.
domain -> axis
axis -> scalar
domain -> scalar
- reduction across processes for redondant geometrical cell :
axis -> axis
scalar -> scalar
Reduction can be local (only for the geometrical cell owned by current process) or global, using the "local" attribute (bool) over the reduction.
YM
|
File size:
580 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 | |
---|
12 | namespace xios |
---|
13 | { |
---|
14 | |
---|
15 | typedef enum reduction_algorithm_type |
---|
16 | { |
---|
17 | TRANS_REDUCE_NONE = 0, |
---|
18 | TRANS_REDUCE_SUM = 1, |
---|
19 | TRANS_REDUCE_MIN = 2, |
---|
20 | TRANS_REDUCE_MAX = 3, |
---|
21 | TRANS_REDUCE_EXTRACT = 4, |
---|
22 | TRANS_REDUCE_AVERAGE = 5 |
---|
23 | } EReductionType; |
---|
24 | |
---|
25 | enum class EReduction |
---|
26 | { |
---|
27 | none, sum, min, max, extract, average |
---|
28 | } ; |
---|
29 | } |
---|
30 | #endif // __XIOS_REDUCTION_TYPES_HPP__ |
---|
Note: See
TracBrowser
for help on using the repository browser.