Changeset 833 for XIOS/trunk/src/transformation/axis_algorithm_inverse.cpp
- Timestamp:
- 04/08/16 15:00:15 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/transformation/axis_algorithm_inverse.cpp
r829 r833 24 24 << "Size of axis destionation " <<axisDestination->getId() << " is " << axisDestination->n_glo.getValue()); 25 25 } 26 27 // this->computeIndexSourceMapping();28 26 } 29 27 … … 33 31 this->transformationWeight_.resize(1); 34 32 35 std::map<int, std::vector<int> >& transMap = this->transformationMapping_[0];36 std::map<int, std::vector<double> >& transWeight = this->transformationWeight_[0];33 TransformationIndexMap& transMap = this->transformationMapping_[0]; 34 TransformationWeightMap& transWeight = this->transformationWeight_[0]; 37 35 38 36 int globalIndexSize = axisDestGlobalIndex_.size(); … … 69 67 CTransformationMapping transformationMap(axisDest_, axisSrc_); 70 68 71 std::map<int, std::vector<int> >& transMap = this->transformationMapping_[0];72 std::map<int, std::vector<double> >& transWeight = this->transformationWeight_[0];69 TransformationIndexMap& transMap = this->transformationMapping_[0]; 70 TransformationWeightMap& transWeight = this->transformationWeight_[0]; 73 71 74 72 CTransformationMapping::DestinationIndexMap globaIndexMapFromDestToSource; 75 std::map<int, std::vector<int> >::const_iterator it = transMap.begin(), ite = transMap.end();73 TransformationIndexMap::const_iterator it = transMap.begin(), ite = transMap.end(); 76 74 int localIndex = 0; 77 75 for (; it != ite; ++it)
Note: See TracChangeset
for help on using the changeset viewer.