- Timestamp:
- 07/07/15 10:46:25 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/transformation/generic_algorithm_transformation.hpp
r624 r630 3 3 \author Ha NGUYEN 4 4 \since 14 May 2015 5 \date 09 June 20155 \date 29 June 2015 6 6 7 7 \brief Interface for all transformation algorithms. … … 11 11 12 12 #include <map> 13 #include < vector>13 #include <set> 14 14 #include "array_new.hpp" 15 15 … … 29 29 const std::vector<int>& gridDestGlobalDim, 30 30 const CArray<size_t,1>& globalIndexGridDestSendToServer, 31 std::map<size_t, std:: set<size_t> >& globaIndexMapFromDestToSource);31 std::map<size_t, std::vector<std::pair<size_t,double> > >& globaIndexWeightFromDestToSource); 32 32 33 33 /*! … … 47 47 \param[in/out] globalIndexSrcGrid array of global index of source grid (for 2d grid, this array is a line, for 3d, this array represents a plan). It should be preallocated 48 48 */ 49 virtual void computeGlobal IndexFromGlobalIndexElement(int destGlobalIndex,49 virtual void computeGlobalGridIndexFromGlobalIndexElement(int destGlobalIndex, 50 50 const std::vector<int>& srcGlobalIndex, 51 51 int elementPositionInGrid, … … 53 53 const CArray<size_t,1>& globalIndexGridDestSendToServer, 54 54 CArray<size_t,1>& globalIndexDestGrid, 55 std::vector< CArray<size_t,1> >& globalIndexSrcGrid) = 0;55 std::vector<std::vector<size_t> >& globalIndexSrcGrid) = 0; 56 56 57 57 … … 59 59 protected: 60 60 std::map<int, std::vector<int> > transformationMapping_; 61 std::map<int, std::vector<double> > transformationWeight_; 61 62 }; 62 63
Note: See TracChangeset
for help on using the changeset viewer.