Changeset 827 for XIOS/trunk/src/transformation/domain_algorithm_zoom.cpp
- Timestamp:
- 03/23/16 16:10:45 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/transformation/domain_algorithm_zoom.cpp
r787 r827 40 40 } 41 41 42 computeIndexSourceMapping();42 // computeIndexSourceMapping(); 43 43 } 44 44 … … 46 46 Compute the index mapping between domain on grid source and one on grid destination 47 47 */ 48 void CDomainAlgorithmZoom::computeIndexSourceMapping ()48 void CDomainAlgorithmZoom::computeIndexSourceMapping_(const std::vector<CArray<double,1>* >& dataAuxInputs) 49 49 { 50 50 int niSource = domainSrc_->ni.getValue(); … … 68 68 int niGlob = domainSrc_->ni_glo.getValue(); 69 69 int njGlob = domainSrc_->nj_glo.getValue(); 70 std::map<int, std::vector<int> >& transMap = this->transformationMapping_; 71 std::map<int, std::vector<double> >& transWeight = this->transformationWeight_; 70 71 this->transformationMapping_.resize(1); 72 this->transformationWeight_.resize(1); 73 74 std::map<int, std::vector<int> >& transMap = this->transformationMapping_[0]; 75 std::map<int, std::vector<double> >& transWeight = this->transformationWeight_[0]; 76 77 // std::map<int, std::vector<int> >& transMap = this->transformationMapping_; 78 // std::map<int, std::vector<double> >& transWeight = this->transformationWeight_; 72 79 int domainGlobalIndex; 73 80 for (int j = 0; j < nj; ++j) … … 110 117 int globalIndexMask = 0; 111 118 112 std::map<int, std::vector<int> >& transMap = this->transformationMapping_ ;119 std::map<int, std::vector<int> >& transMap = this->transformationMapping_[0]; 113 120 std::map<int, std::vector<int> >::const_iterator ite = (transMap).end(); 114 121 for (int j = 0; j < njMask; ++j)
Note: See TracChangeset
for help on using the changeset viewer.