Changeset 979 for XIOS/trunk/src/transformation/Functions/reduction.hpp
- Timestamp:
- 10/24/16 16:16:31 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/transformation/Functions/reduction.hpp
r888 r979 40 40 \param [in] dataInput Pointer to the first element of data input array (in form of buffer) 41 41 \param [in/out] dataOut Array contains local data 42 \param [in/out] flagInitial vector of boolean to mark the local index already initialized. True means there is a need for init alization42 \param [in/out] flagInitial vector of boolean to mark the local index already initialized. True means there is a need for initialization 43 43 */ 44 44 virtual void apply(const std::vector<std::pair<int,double> >& localIndex, … … 46 46 CArray<double,1>& dataOut, 47 47 std::vector<bool>& flagInitial) = 0; 48 /*! 49 Update local data 50 In some case (e.g average) we need global information (e.g weights) then update data with this information 51 \param [in] dataOut local data output 52 */ 53 virtual void updateData(CArray<double,1>& dataOut) {} 48 54 49 55 virtual ~CReductionAlgorithm() {}
Note: See TracChangeset
for help on using the changeset viewer.