100 #ifndef FixedValueConstraint_H 101 #define FixedValueConstraint_H 117 class FixedValueConstraint
119 public fv::cellSetOption
124 List<Type> fieldValues_;
139 const word& modelType,
const fvMesh & mesh() const noexcept
Return const access to the mesh database.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
Constrain values of given fields of Type with a given maximum value within a specified region...
FixedValueConstraint(const word &name, const word &modelType, const dictionary &dict, const fvMesh &mesh)
Construct from components.
virtual void constrain(fvMatrix< Type > &eqn, const label fieldi)
Set value on field.
virtual ~FixedValueConstraint()=default
Destructor.
A class for handling words, derived from Foam::string.
A special matrix type and solver, designed for finite volume solutions of scalar equations. Face addressing is used to make all matrix assembly and solution loops vectorise.
const word & name() const noexcept
Return const access to the source name.
Mesh data needed to do the Finite Volume discretisation.
void operator=(const FixedValueConstraint &)=delete
No copy assignment.
virtual bool read(const dictionary &dict)
Read source dictionary.
TypeName("FixedValueConstraint")
Runtime type information.