21 #ifndef GEOS_PHYSICSSOLVERS_FLUIDFLOW_WELLS_WELLINJECTIONCONSTRAINT_HPP
22 #define GEOS_PHYSICSSOLVERS_FLUIDFLOW_WELLS_WELLINJECTIONCONSTRAINT_HPP
31 using namespace dataRepository;
37 template<
typename Constra
intType >
94 return "InjectionConstraint"+ConstraintType::catalogName();
119 virtual void postInputInitialization()
override;
120 static bool isViolated(
const real64 & currentValue,
const real64 & constraintValue )
121 {
return currentValue > constraintValue; }
123 void validateInjectionStream();
127 array1d< real64 > m_injectionStream;
130 real64 m_injectionTemperature;
This class describes constraint used to control a injection well.
InjectionConstraint(InjectionConstraint &&)=delete
Deleted move constructor.
InjectionConstraint()=delete
Deleted default constructor.
InjectionConstraint(string const &name, dataRepository::Group *const parent)
Constructor for WellControls Objects.
~InjectionConstraint() override
Default destructor.
InjectionConstraint & operator=(InjectionConstraint &&)=delete
Deleted move operator.
static string catalogName()
name of the node manager in the object catalog
InjectionConstraint & operator=(InjectionConstraint const &)=delete
Deleted assignment operator.
InjectionConstraint(InjectionConstraint const &)=delete
Deleted copy constructor.
real64 getInjectionTemperature() const
Const accessor for the temperature of the injection stream.
arrayView1d< real64 const > getInjectionStream() const
Const accessor for the composition of the injection stream.
ArrayView< T, 1 > arrayView1d
Alias for 1D array view.
double real64
64-bit floating point type.
static constexpr char const * injectionStreamString()
String key for the well injection stream.
static constexpr char const * injectionTemperatureString()
String key for the well injection temperature.