adding a few fluid related members to StandardWells

to reduce the number of the public function arguments.
This commit is contained in:
Kai Bao
2016-04-28 16:20:18 +02:00
parent d1da78b5b2
commit 22b5157bf2
6 changed files with 34 additions and 8 deletions

View File

@@ -71,9 +71,16 @@ namespace Opm
StandardWells::StandardWells(const Wells* wells_arg)
StandardWells::StandardWells(const Wells* wells_arg,
const BlackoilPropsAdInterface& fluid_arg,
const std::vector<bool>& active_arg,
const std::vector<PhasePresence>& pc_arg)
: wells_(wells_arg)
, wops_(wells_arg)
, num_phases_(wells_arg->number_of_phases)
, fluid_(fluid_arg)
, active_(active_arg)
, phase_condition_(pc_arg)
, well_perforation_densities_(Vector())
, well_perforation_pressure_diffs_(Vector())
{