mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
initializing the pointers to be nullptr in the Wells classes
This commit is contained in:
parent
4527034f29
commit
b3d1c0eabc
@ -147,6 +147,10 @@ namespace Opm {
|
||||
, wops_ms_(wells_multisegment_)
|
||||
, num_phases_(wells_arg ? wells_arg->number_of_phases : 0)
|
||||
, wells_(wells_arg)
|
||||
, fluid_(nullptr)
|
||||
, active_(nullptr)
|
||||
, phase_condition_(nullptr)
|
||||
, vfp_properties_(nullptr)
|
||||
, well_segment_perforation_pressure_diffs_(ADB::null())
|
||||
, well_segment_densities_(ADB::null())
|
||||
, well_segment_pressures_delta_(ADB::null())
|
||||
|
@ -75,6 +75,10 @@ namespace Opm
|
||||
: wells_(wells_arg)
|
||||
, wops_(wells_arg)
|
||||
, num_phases_(wells_arg->number_of_phases)
|
||||
, fluid_(nullptr)
|
||||
, active_(nullptr)
|
||||
, phase_condition_(nullptr)
|
||||
, vfp_properties_(nullptr)
|
||||
, well_perforation_densities_(Vector())
|
||||
, well_perforation_pressure_diffs_(Vector())
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user