- Timestamp:
- 11/05/18 13:57:52 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_olga/src/transformation/grid_transformation.cpp
r1584 r1589 346 346 std::list<RecvIndexGridDestinationMap>().swap(localIndexToReceiveOnGridDest_); 347 347 std::list<size_t>().swap(nbLocalIndexOnGridDest_); 348 // std::list<std::vector<bool> >().swap(localMaskOnGridDest_);349 348 } 350 349 else … … 400 399 vector<double> weight ; 401 400 int nbLocalIndexOnGridDest; 402 // localMaskOnGridDest_.push_back(vector<bool>()) ;403 401 CTimer::get("computeTransformationMappingNonDistributed").resume(); 404 402 // algo->computeTransformationMappingNonDistributed(elementPosition, gridSource_, tmpGridDestination_, … … 409 407 410 408 CTimer::get("computeTransformationMappingConvert").resume(); 411 // nbLocalIndexOnGridDest_.push_back(localMaskOnGridDest_.back().size()) ;412 // nbLocalIndexOnGridDest_.push_back(localMaskOnGridDest_.back().size()) ;413 409 nbLocalIndexOnGridDest_.push_back(nbLocalIndexOnGridDest) ; 414 410 int clientRank=client->clientRank ; … … 662 658 recvTmp[recvRank][realRecvSize].first = globalLocalIndexGridDestSendToServer[recvIndexDst(idx)]; 663 659 recvTmp[recvRank][realRecvSize].second = recvWeightDst(idx); 664 // tmpMask[globalLocalIndexGridDestSendToServer[recvIndexDst(idx)]] = true;665 660 ++realRecvSize; 666 661 } … … 715 710 } 716 711 717 /*! 718 Local mask of data which will be received on the grid destination 719 \return local mask of data 720 */ 721 //const std::list<std::vector<bool> >& CGridTransformation::getLocalMaskIndexOnGridDest() const 722 //{ 723 // return localMaskOnGridDest_; 724 //} 725 726 } 712 }
Note: See TracChangeset
for help on using the changeset viewer.