Ignore:
Timestamp:
11/05/18 13:57:52 (5 years ago)
Author:
oabramkina
Message:

Backporting r1578 and r1586 to dev, cleaning the code before merging it to XIOS 2.5.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/dev_olga/src/transformation/grid_transformation.cpp

    r1584 r1589  
    346346      std::list<RecvIndexGridDestinationMap>().swap(localIndexToReceiveOnGridDest_); 
    347347      std::list<size_t>().swap(nbLocalIndexOnGridDest_); 
    348 //      std::list<std::vector<bool> >().swap(localMaskOnGridDest_); 
    349348    } 
    350349    else 
     
    400399        vector<double> weight ; 
    401400        int nbLocalIndexOnGridDest; 
    402 //        localMaskOnGridDest_.push_back(vector<bool>()) ; 
    403401        CTimer::get("computeTransformationMappingNonDistributed").resume();   
    404402//        algo->computeTransformationMappingNonDistributed(elementPosition, gridSource_, tmpGridDestination_, 
     
    409407 
    410408        CTimer::get("computeTransformationMappingConvert").resume();   
    411 //        nbLocalIndexOnGridDest_.push_back(localMaskOnGridDest_.back().size()) ; 
    412 //        nbLocalIndexOnGridDest_.push_back(localMaskOnGridDest_.back().size()) ; 
    413409        nbLocalIndexOnGridDest_.push_back(nbLocalIndexOnGridDest) ; 
    414410        int clientRank=client->clientRank ; 
     
    662658        recvTmp[recvRank][realRecvSize].first = globalLocalIndexGridDestSendToServer[recvIndexDst(idx)]; 
    663659        recvTmp[recvRank][realRecvSize].second = recvWeightDst(idx); 
    664 //        tmpMask[globalLocalIndexGridDestSendToServer[recvIndexDst(idx)]] = true; 
    665660         ++realRecvSize; 
    666661      } 
     
    715710} 
    716711 
    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.