21 #ifndef GEOS_PHYSICSSOLVERS_FLUIDFLOW_WELLS_WELLBHPCONSTRAINTS_HPP
22 #define GEOS_PHYSICSSOLVERS_FLUIDFLOW_WELLS_WELLBHPCONSTRAINTS_HPP
27 #include "WellConstraintsBase.hpp"
105 static constexpr
char const *
refElevString() {
return "referenceElevation"; }
107 viewKeysWellBHPConstraint;
217 viewKeysWellBHPConstraint;
302 viewKeysWellBHPConstraint;
This class describes a minimum pressure constraint used to control a injection well.
BHPConstraint(BHPConstraint &&)=delete
Deleted move constructor.
void setReferenceElevation(real64 const &refElevation)
Set the reference elevation where the BHP control is enforced.
void setReferenceGravityCoef(real64 const &refGravCoef)
Setter for the reference gravity.
virtual void postInputInitialization() override
BHPConstraint()=delete
Deleted default constructor.
BHPConstraint(string const &name, dataRepository::Group *const parent)
Constructor for WellControls Objects.
~BHPConstraint() override
Default destructor.
real64 getReferenceGravityCoef() const
Getter for the reference gravity coefficient.
real64 m_refGravCoef
Gravity coefficient of the reference elevation.
BHPConstraint & operator=(BHPConstraint &&)=delete
Deleted move operator.
BHPConstraint & operator=(BHPConstraint const &)=delete
Deleted assignment operator.
real64 getReferenceElevation() const
Getter for the reference elevation where the BHP control is enforced.
BHPConstraint(BHPConstraint const &)=delete
Deleted copy constructor.
real64 m_refElevation
Reference elevation.
~MaximumBHPConstraint() override
Default destructor.
virtual void postInputInitialization() override
MaximumBHPConstraint(MaximumBHPConstraint &&)=delete
Deleted move constructor.
MaximumBHPConstraint(MaximumBHPConstraint const &)=delete
Deleted copy constructor.
MaximumBHPConstraint & operator=(MaximumBHPConstraint const &)=delete
Deleted assignment operator.
MaximumBHPConstraint()=delete
Deleted default constructor.
virtual bool checkViolation(WellConstraintBase const ¤tConstraint, real64 const ¤tTime) const override
Check if this constraint is violated.
MaximumBHPConstraint & operator=(MaximumBHPConstraint &&)=delete
Deleted move operator.
MaximumBHPConstraint(string const &name, dataRepository::Group *const parent)
Constructor for WellControls Objects.
This class describes a minimum pressure constraint used to control a injection well.
MinimumBHPConstraint(string const &name, dataRepository::Group *const parent)
Constructor for WellControls Objects.
MinimumBHPConstraint()=delete
Deleted default constructor.
virtual void postInputInitialization() override
~MinimumBHPConstraint() override
Default destructor.
MinimumBHPConstraint(MinimumBHPConstraint const &)=delete
Deleted copy constructor.
MinimumBHPConstraint & operator=(MinimumBHPConstraint const &)=delete
Deleted assignment operator.
MinimumBHPConstraint(MinimumBHPConstraint &&)=delete
Deleted move constructor.
MinimumBHPConstraint & operator=(MinimumBHPConstraint &&)=delete
Deleted move operator.
virtual bool checkViolation(WellConstraintBase const ¤tConstraint, real64 const ¤tTime) const override
Check if this constraint is violated.
double real64
64-bit floating point type.
Struct to serve as a container for variable strings and keys.
static constexpr char const * targetBHPString()
String key for the well target BHP.
static constexpr char const * refElevString()
String key for the well reference elevation (for BHP control)
Struct to serve as a container for variable strings and keys.
static constexpr char const * targetBHPString()
String key for the well target BHP.
Struct to serve as a container for variable strings and keys.
static constexpr char const * targetBHPString()
String key for the well target BHP.