20 #ifndef GEOS_PHYSICSSOLVERS_FLUIDFLOW_WELLS_WELLBHPCONSTRAINTS_HPP
21 #define GEOS_PHYSICSSOLVERS_FLUIDFLOW_WELLS_WELLBHPCONSTRAINTS_HPP
26 #include "WellConstraintsBase.hpp"
42 template< BHPConstra
intTypeId T >
111 static constexpr
char const *
refElevString() {
return "referenceElevation"; }
113 viewKeysWellBHPConstraint;
149 return "MaximumBHPConstraint";
153 return "MinimumBHPConstraint";
This class describes a minimum pressure constraint used to control a injection well.
BHPConstraint & operator=(BHPConstraint const &)=delete
Deleted assignment operator.
~BHPConstraint() override
Default destructor.
BHPConstraint()=delete
Deleted default constructor.
static string catalogName()
name of the node manager in the object catalog
virtual bool checkViolation(WellConstraintBase const ¤tConstraint, real64 const ¤tTime) const override
Check if this constraint is violated.
real64 m_refGravCoef
Gravity coefficient of the reference elevation.
virtual string getCatalogName() const override
function to return the catalog name of the derived class
void setReferenceGravityCoef(real64 const &refGravCoef)
Setter for the reference gravity.
BHPConstraint(BHPConstraint &&)=delete
Deleted move constructor.
void setReferenceElevation(real64 const &refElevation)
Set the reference elevation where the BHP control is enforced.
BHPConstraint(string const &name, dataRepository::Group *const parent)
Constructor for WellControls Objects.
virtual void postInputInitialization() override
real64 m_refElevation
Reference elevation.
real64 getReferenceGravityCoef() const
Getter for the reference gravity coefficient.
BHPConstraint & operator=(BHPConstraint &&)=delete
Deleted move operator.
BHPConstraint(BHPConstraint const &)=delete
Deleted copy constructor.
real64 getReferenceElevation() const
Getter for the reference elevation where the BHP control is enforced.
double real64
64-bit floating point type.
int integer
Signed integer 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)