mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-10-25 23:20:12 -05:00
removing the latter call this->initFluidSystem_() in FlowProblemBlackoil
adapting to the interface change of the PhaseUsageInfo
This commit is contained in:
1 parent
b3e4c4d0d0
commit
f057203842
4 files changed
+10
-12
No files matched your search
@@ -65,11 +65,15 @@ struct Setup
|
||||
explicit Setup(const Deck& deck)
|
||||
: ecl_state { std::make_unique<EclipseState>(deck) }
|
||||
, schedule { std::make_unique<Schedule>(deck, *ecl_state, std::make_shared<Python>()) }
|
||||
, well_state { std::make_unique<WellState<double, IndexTraits>>(PhaseUsage(ecl_state->runspec().phases())) }
|
||||
{
|
||||
const int step = 0;
|
||||
const auto& sched_state = (*this->schedule)[step];
|
||||
|
||||
PhaseUsage pu;
|
||||
pu.initFromPhases(ecl_state->runspec().phases());
|
||||
|
||||
this->well_state = std::make_unique<WellState<double, IndexTraits>>(pu);
|
||||
|
||||
this->vfp_properties = std::make_unique<VFPProperties<double, IndexTraits>>
|
||||
(sched_state.vfpinj(), sched_state.vfpprod(), *well_state);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user