Start with a clean globalCellData_ for each data gathering.

Otherwise there might entries from the last call that should
either not be there this time or might have a different size.
This commit is contained in:
Markus Blatt 2016-11-16 21:21:51 +01:00
parent 098bd8f9fc
commit 80bbabc0b6

View File

@ -594,6 +594,7 @@ namespace Opm
const Wells* wells = wells_manager.c_wells();
globalWellState_.init(wells, *globalReservoirState_, globalWellState_ );
globalCellData_->clear();
}
PackUnPackSimulationDataContainer packUnpack( localReservoirState, *globalReservoirState_,