mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Merge pull request #2287 from akva2/avoid_deck_for_phases
avoid instancing a new Runspec from deck to obtain active phases
This commit is contained in:
commit
73a58c4599
@ -374,7 +374,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