21 #ifndef GEOS_PHYSICSSOLVERS_FLUIDFLOW_WELLS_WELLPRODUCTIONCONSTRAINT_HPP
22 #define GEOS_PHYSICSSOLVERS_FLUIDFLOW_WELLS_WELLPRODUCTIONCONSTRAINT_HPP
30 using namespace dataRepository;
36 template<
typename Constra
intType >
92 return "Production"+ConstraintType::catalogName();
94 virtual string getCatalogName()
const override {
return catalogName(); }
97 virtual void postInputInitialization()
override;
99 static bool isViolated(
const real64 & currentValue,
const real64 & constraintValue )
100 {
return currentValue < constraintValue; }
This class describes constraint used to control a production well.
ProductionConstraint()=delete
Deleted default constructor.
ProductionConstraint(ProductionConstraint &&)=delete
Deleted move constructor.
ProductionConstraint & operator=(ProductionConstraint const &)=delete
Deleted assignment operator.
ProductionConstraint(string const &name, dataRepository::Group *const parent)
Constructor for WellControls Objects.
static string catalogName()
name of the node manager in the object catalog
~ProductionConstraint() override
Default destructor.
ProductionConstraint(ProductionConstraint const &)=delete
Deleted copy constructor.
ProductionConstraint & operator=(ProductionConstraint &&)=delete
Deleted move operator.
double real64
64-bit floating point type.