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:
@@ -594,6 +594,7 @@ namespace Opm
|
|||||||
|
|
||||||
const Wells* wells = wells_manager.c_wells();
|
const Wells* wells = wells_manager.c_wells();
|
||||||
globalWellState_.init(wells, *globalReservoirState_, globalWellState_ );
|
globalWellState_.init(wells, *globalReservoirState_, globalWellState_ );
|
||||||
|
globalCellData_->clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
PackUnPackSimulationDataContainer packUnpack( localReservoirState, *globalReservoirState_,
|
PackUnPackSimulationDataContainer packUnpack( localReservoirState, *globalReservoirState_,
|
||||||
|
|||||||
Reference in New Issue
Block a user