Ignore:
Timestamp:
06/03/16 17:48:26 (8 years ago)
Author:
ymipsl
Message:

Bug fix : dynamic interpolation : source grid was created from dest grid at the previous timestep

YM +MHN

File:
1 edited

Legend:

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

    r848 r858  
    363363  { 
    364364    if (timeStamp_.insert(timeStamp).second) 
     365    { 
    365366      DestinationIndexMap().swap(currentGridIndexToOriginalGridIndex_);  // Reset map 
     367      std::list<size_t>().swap(nbLocalIndexOnGridDest_); 
     368      std::list<SendingIndexGridSourceMap>().swap(localIndexToSendFromGridSource_); 
     369      std::list<RecvIndexGridDestinationMap>().swap(localIndexToReceiveOnGridDest_); 
     370    }       
    366371    else 
    367372      return; 
Note: See TracChangeset for help on using the changeset viewer.