mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
avoid instancing a new Runspec from deck to obtain active phases
this is already available in the eclipseState. in particular, this is preparing for the case where only the root-process has a deck instance.
This commit is contained in:
parent
821e4386bc
commit
8a14d70f97
@ -371,7 +371,7 @@ int main(int argc, char** argv)
|
||||
throw std::runtime_error("Unrecoverable errors were encountered while loading input.");
|
||||
}
|
||||
}
|
||||
const auto& phases = Opm::Runspec(*deck).phases();
|
||||
const auto& phases = eclipseState->runspec().phases();
|
||||
bool outputFiles = (outputMode != FileOutputMode::OUTPUT_NONE);
|
||||
// run the actual simulator
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user