Changeset 829 for XIOS/trunk/src/transformation/grid_transformation.hpp
- Timestamp:
- 03/23/16 16:11:01 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/transformation/grid_transformation.hpp
r827 r829 35 35 public: 36 36 typedef std::list<std::pair<int,std::pair<ETranformationType,int> > > ListAlgoType; 37 typedef boost::unordered_map<size_t, std::vector<std::pair<int, std::pair<size_t,double> > > > DestinationIndexMap; 37 38 38 39 public: … … 63 64 void setUpGrid(int elementPositionInGrid, ETranformationType transType, int nbTransformation); 64 65 void computeFinalTransformationMapping(); 65 void computeTransformationFromOriginalGridSource(const std::map<size_t, std::vector<std::pair<size_t,double> > >& globaIndexMapFromDestToSource);66 void computeTransformationFromOriginalGridSource(const DestinationIndexMap& globaIndexMapFromDestToSource); 66 67 void updateFinalGridDestination(); 67 68 bool isSpecialTransformation(ETranformationType transType); … … 84 85 int nbAlgos_; 85 86 86 typedef std::map<size_t, std::vector<std::pair<size_t,double> > > GlobalIndexMap;87 88 87 // true if domain algorithm and false if axis algorithm (can be replaced by tuple with listAlgos_ 89 88 std::vector<bool> algoTypes_; … … 105 104 106 105 //! (Grid) Global index of grid source 107 GlobalIndexMap currentGridIndexToOriginalGridIndex_;106 DestinationIndexMap currentGridIndexToOriginalGridIndex_; 108 107 109 108 std::vector<CGrid*> tempGrids_;
Note: See TracChangeset
for help on using the changeset viewer.