mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
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:
parent
098bd8f9fc
commit
80bbabc0b6
@ -594,6 +594,7 @@ namespace Opm
|
||||
|
||||
const Wells* wells = wells_manager.c_wells();
|
||||
globalWellState_.init(wells, *globalReservoirState_, globalWellState_ );
|
||||
globalCellData_->clear();
|
||||
}
|
||||
|
||||
PackUnPackSimulationDataContainer packUnpack( localReservoirState, *globalReservoirState_,
|
||||
|
Loading…
Reference in New Issue
Block a user