Changeset 856
- Timestamp:
- 05/26/16 17:58:38 (9 years ago)
- Location:
- XIOS/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/extern/remap/src/clipper.cpp
r688 r856 2588 2588 2589 2589 MaximaList::const_iterator maxIt; 2590 MaximaList:: const_reverse_iterator maxRit;2590 MaximaList::reverse_iterator maxRit; 2591 2591 if (m_Maxima.size() > 0) 2592 2592 { -
XIOS/trunk/src/transformation/domain_algorithm_interpolate.cpp
r846 r856 233 233 mapper.setVerbosity(PROGRESS) ; 234 234 235 235 236 236 // supress masked data for the source 237 237 int nSrcLocalUnmasked = 0 ; … … 278 278 } 279 279 } 280 280 281 281 // mapper.setSourceMesh(boundsLonSrc.dataFirst(), boundsLatSrc.dataFirst(), nVertexSrc, nSrcLocal, &srcPole[0], globalSrc); 282 282 mapper.setSourceMesh(boundsLonSrcUnmasked.dataFirst(), boundsLatSrcUnmasked.dataFirst(), nVertexSrc, nSrcLocalUnmasked, &srcPole[0], globalSrcUnmasked); … … 432 432 Read remap information from file then distribute it among clients 433 433 */ 434 void CDomainAlgorithmInterpolate::exchangeRemapInfo( conststd::map<int,std::vector<std::pair<int,double> > >& interpMapValue)434 void CDomainAlgorithmInterpolate::exchangeRemapInfo(std::map<int,std::vector<std::pair<int,double> > >& interpMapValue) 435 435 { 436 436 CContext* context = CContext::getCurrent(); … … 493 493 for (int idx = 0; idx < mapSize; ++idx) 494 494 { 495 sizeIndex += interpMapValue.at((itMap->second)[idx]).size(); 495 // sizeIndex += interpMapValue.at((itMap->second)[idx]).size(); 496 sizeIndex += (interpMapValue[(int)(itMap->second)[idx]]).size(); 496 497 } 497 498 sendBuff[itMap->first] = sizeIndex; … … 516 517 for (int idx = 0; idx < mapSize; ++idx) 517 518 { 518 const std::vector<std::pair<int,double> >& interpMap =interpMapValue.at(indexToSend[idx]);519 std::vector<std::pair<int,double> >& interpMap = interpMapValue[(int)indexToSend[idx]]; //interpMapValue.at(indexToSend[idx]); 519 520 for (int i = 0; i < interpMap.size(); ++i) 520 521 { -
XIOS/trunk/src/transformation/domain_algorithm_interpolate.hpp
r827 r856 35 35 void computeRemap(); 36 36 void readRemapInfo(); 37 void exchangeRemapInfo( conststd::map<int,std::vector<std::pair<int,double> > >& interpMapValue);37 void exchangeRemapInfo(std::map<int,std::vector<std::pair<int,double> > >& interpMapValue); 38 38 private: 39 39 CInterpolateDomain* interpDomain_;
Note: See TracChangeset
for help on using the changeset viewer.