Ignore:
Timestamp:
04/29/16 11:38:10 (6 years ago)
Author:
mhnguyen
Message:

Fixing a bug in transformation in case of masking grid

+) Number of local index in grid destination does not depend on number of masked index in grid source

Test
+) On Curie
+) Simple test with NEMO
+) Up to 20 cores

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/transformation/grid_transformation.cpp

    r842 r848  
    413413      computeTransformationMapping(globaIndexWeightFromDestToSource); 
    414414 
     415      // Update number of local index on each transformation 
     416      nbLocalIndexOnGridDest_.push_back(globalLocalIndexGridDestSendToServer.size()); 
     417 
    415418      if (1 < nbAlgos_) 
    416419      { 
     
    440443  itbMapRecv = globalIndexToReceive.begin(); 
    441444  iteMapRecv = globalIndexToReceive.end(); 
    442   nbLocalIndexOnGridDest_.push_back(globalIndexWeightFromDestToSource.size()); 
    443445  localIndexToReceiveOnGridDest_.push_back(RecvIndexGridDestinationMap()); 
    444446  RecvIndexGridDestinationMap& recvTmp = localIndexToReceiveOnGridDest_.back(); 
Note: See TracChangeset for help on using the changeset viewer.