- Timestamp:
- 06/13/18 16:48:53 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/transformation/generic_algorithm_transformation.hpp
r1420 r1542 38 38 public: 39 39 // Mapping between global index map of DESTINATION and its local index with pair of global index of SOURCE and weights 40 typedef boost::unordered_map<int, boost::unordered_map<size_t, std::vector<std::pair<size_t,double> > > > SourceDestinationIndexMap;40 typedef std::unordered_map<int, std::unordered_map<size_t, std::vector<std::pair<size_t,double> > > > SourceDestinationIndexMap; 41 41 42 42 protected: 43 typedef boost::unordered_map<size_t,int> GlobalLocalMap;43 typedef std::unordered_map<size_t,int> GlobalLocalMap; 44 44 protected: 45 typedef boost::unordered_map<int, std::vector<int> > TransformationIndexMap;46 typedef boost::unordered_map<int, std::vector<double> > TransformationWeightMap;47 typedef boost::unordered_map<int, std::vector<int> > TransformationPositionMap;45 typedef std::unordered_map<int, std::vector<int> > TransformationIndexMap; 46 typedef std::unordered_map<int, std::vector<double> > TransformationWeightMap; 47 typedef std::unordered_map<int, std::vector<int> > TransformationPositionMap; 48 48 49 49 public: … … 108 108 void computeGlobalGridIndexMapping(int elementPositionInGrid, 109 109 const std::vector<int>& srcRank, 110 boost::unordered_map<int, std::vector<std::pair<int,double> > >& src2DstMap,110 std::unordered_map<int, std::vector<std::pair<int,double> > >& src2DstMap, 111 111 CGrid* gridDst, 112 112 CGrid* gridSrc, 113 std::vector< boost::unordered_map<int,std::vector<size_t> > >& globalElementIndexOnProc,113 std::vector<std::unordered_map<int,std::vector<size_t> > >& globalElementIndexOnProc, 114 114 SourceDestinationIndexMap& globaIndexWeightFromSrcToDst); 115 115 … … 117 117 CDomain* domainSrc, 118 118 CArray<size_t,1>& destGlobalIndexPositionInGrid, 119 boost::unordered_map<int,std::vector<size_t> >& globalDomainIndexOnProc);119 std::unordered_map<int,std::vector<size_t> >& globalDomainIndexOnProc); 120 120 121 121 void computeExchangeAxisIndex(CAxis* axisDst, 122 122 CAxis* axisSrc, 123 123 CArray<size_t,1>& destGlobalIndexPositionInGrid, 124 boost::unordered_map<int,std::vector<size_t> >& globalAxisIndexOnProc);124 std::unordered_map<int,std::vector<size_t> >& globalAxisIndexOnProc); 125 125 126 126 void computeExchangeScalarIndex(CScalar* scalarDst, 127 127 CScalar* scalarSrc, 128 128 CArray<size_t,1>& destGlobalIndexPositionInGrid, 129 boost::unordered_map<int,std::vector<size_t> >& globalScalarIndexOnProc);129 std::unordered_map<int,std::vector<size_t> >& globalScalarIndexOnProc); 130 130 131 131 void computePositionElements(CGrid* dst, CGrid* src); … … 151 151 std::set<StdSize> indexElementSrc_; 152 152 153 std::vector< boost::unordered_map<int,std::vector<size_t> > > globalElementIndexOnProc_;153 std::vector<std::unordered_map<int,std::vector<size_t> > > globalElementIndexOnProc_; 154 154 155 155 std::vector<int> procContainSrcElementIdx_; // List of processes containing source index of transformed elements
Note: See TracChangeset
for help on using the changeset viewer.