Go to the documentation of this file.
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) <<
"|)";
A class for handling words, derived from Foam::string.
@ MIN
limit by minimum value
void min(const dimensioned< Type > &dt)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
Generic dimensioned Type class.
bool limitField(const word &fieldName)
Computes the magnitude of an input field.
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
void max(const dimensioned< Type > &dt)
Type gMin(const FieldField< Field, Type > &f)
Generic GeometricField class.
@ MAX
limit by maximum value
Type gMax(const FieldField< Field, Type > &f)