mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
adding a few fluid related members to StandardWells
to reduce the number of the public function arguments.
This commit is contained in:
@@ -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())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user