changed: use shared_ptr to mutable references
const refs are incompatible with serialization
This commit is contained in:
@@ -472,15 +472,15 @@ public:
|
||||
double efficiencyFactor,
|
||||
double solventFraction,
|
||||
bool prediction_mode,
|
||||
std::shared_ptr<const WellEconProductionLimits> econLimits,
|
||||
std::shared_ptr<const WellFoamProperties> foamProperties,
|
||||
std::shared_ptr<const WellPolymerProperties> polymerProperties,
|
||||
std::shared_ptr<const WellBrineProperties> brineProperties,
|
||||
std::shared_ptr<const WellTracerProperties> tracerProperties,
|
||||
std::shared_ptr<WellEconProductionLimits> econLimits,
|
||||
std::shared_ptr<WellFoamProperties> foamProperties,
|
||||
std::shared_ptr<WellPolymerProperties> polymerProperties,
|
||||
std::shared_ptr<WellBrineProperties> brineProperties,
|
||||
std::shared_ptr<WellTracerProperties> tracerProperties,
|
||||
std::shared_ptr<WellConnections> connections,
|
||||
std::shared_ptr<const WellProductionProperties> production,
|
||||
std::shared_ptr<const WellInjectionProperties> injection,
|
||||
std::shared_ptr<const WellSegments> segments);
|
||||
std::shared_ptr<WellProductionProperties> production,
|
||||
std::shared_ptr<WellInjectionProperties> injection,
|
||||
std::shared_ptr<WellSegments> segments);
|
||||
|
||||
bool isMultiSegment() const;
|
||||
bool isAvailableForGroupControl() const;
|
||||
@@ -613,15 +613,15 @@ private:
|
||||
double solvent_fraction;
|
||||
bool prediction_mode = true;
|
||||
|
||||
std::shared_ptr<const WellEconProductionLimits> econ_limits;
|
||||
std::shared_ptr<const WellFoamProperties> foam_properties;
|
||||
std::shared_ptr<const WellPolymerProperties> polymer_properties;
|
||||
std::shared_ptr<const WellBrineProperties> brine_properties;
|
||||
std::shared_ptr<const WellTracerProperties> tracer_properties;
|
||||
std::shared_ptr<WellEconProductionLimits> econ_limits;
|
||||
std::shared_ptr<WellFoamProperties> foam_properties;
|
||||
std::shared_ptr<WellPolymerProperties> polymer_properties;
|
||||
std::shared_ptr<WellBrineProperties> brine_properties;
|
||||
std::shared_ptr<WellTracerProperties> tracer_properties;
|
||||
std::shared_ptr<WellConnections> connections; // The WellConnections object can not be const because of the filterConnections method - would be beneficial to rewrite to enable const
|
||||
std::shared_ptr<const WellProductionProperties> production;
|
||||
std::shared_ptr<const WellInjectionProperties> injection;
|
||||
std::shared_ptr<const WellSegments> segments;
|
||||
std::shared_ptr<WellProductionProperties> production;
|
||||
std::shared_ptr<WellInjectionProperties> injection;
|
||||
std::shared_ptr<WellSegments> segments;
|
||||
};
|
||||
|
||||
std::ostream& operator<<( std::ostream&, const Well::WellInjectionProperties& );
|
||||
|
||||
Reference in New Issue
Block a user