mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-09-05 04:40:19 -05:00
Assign number of phases in WellState constructor
This commit is contained in:
@@ -121,7 +121,7 @@ namespace {
|
||||
buildWellState(const Setup& setup, const std::size_t timeStep,
|
||||
std::vector<Opm::ParallelWellInfo>& pinfos)
|
||||
{
|
||||
auto state = Opm::WellStateFullyImplicitBlackoil{};
|
||||
auto state = Opm::WellStateFullyImplicitBlackoil{setup.pu.num_phases};
|
||||
|
||||
const auto cpress =
|
||||
std::vector<double>(setup.grid.c_grid()->number_of_cells,
|
||||
|
||||
Reference in New Issue
Block a user