38 auto* fieldPtr = getObjectPtr<VolFieldType>(fieldName);
44 auto&
field = *fieldPtr;
46 Log <<
" Limiting field " << fieldName <<
":";
53 Log <<
" min(|" <<
gMin(mField) <<
"|)";
63 Log <<
" max(|" <<
gMax(mField) <<
"|)";
Generic GeometricField class.
void max(const dimensioned< Type > &dt)
Use the maximum of the field and specified value.
void min(const dimensioned< Type > &dt)
Use the minimum of the field and specified value.
@ MIN
limit by minimum value
@ MAX
limit by maximum value
scalar min_
Minimum limit.
limitType limit_
Limiting type.
scalar max_
Maximum limit.
bool limitField(const word &fieldName)
Limit a field.
Computes the magnitude of an input field.
A class for handling words, derived from Foam::string.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
Type gMin(const FieldField< Field, Type > &f)
Type gMax(const FieldField< Field, Type > &f)