100#ifndef FixedValueConstraint_H
101#define FixedValueConstraint_H
117class FixedValueConstraint
119 public fv::cellSetOption
124 List<Type> fieldValues_;
139 const word& modelType,
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
A special matrix type and solver, designed for finite volume solutions of scalar equations....
Mesh data needed to do the Finite Volume discretisation.
Constrain values of given fields of Type with a given maximum value within a specified region,...
FixedValueConstraint(const FixedValueConstraint &)=delete
No copy construct.
virtual ~FixedValueConstraint()=default
Destructor.
virtual bool read(const dictionary &dict)
Read source dictionary.
virtual void constrain(fvMatrix< Type > &eqn, const label fieldi)
Set value on field.
TypeName("FixedValueConstraint")
Runtime type information.
void operator=(const FixedValueConstraint &)=delete
No copy assignment.
Intermediate abstract class for handling cell-set options for the derived fvOptions.
const word & name() const noexcept
Return const access to the source name.
const fvMesh & mesh() const noexcept
Return const access to the mesh database.
A class for handling words, derived from Foam::string.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.