mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
avoid deck usage on non-root processes checking for EQUIL
this is achieved by using the InitConfig member from EclipseState instead
This commit is contained in:
parent
7f9f65811f
commit
b7a2612ecf
@ -2466,12 +2466,12 @@ private:
|
||||
{
|
||||
const auto& simulator = this->simulator();
|
||||
const auto& vanguard = simulator.vanguard();
|
||||
const auto& eclState = vanguard.eclState();
|
||||
|
||||
const auto& deck = vanguard.deck();
|
||||
if (!deck.hasKeyword("EQUIL"))
|
||||
readExplicitInitialCondition_();
|
||||
else
|
||||
if (eclState.getInitConfig().hasEquil())
|
||||
readEquilInitialCondition_();
|
||||
else
|
||||
readExplicitInitialCondition_();
|
||||
|
||||
readBlackoilExtentionsInitialConditions_();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user