101#ifndef Foam_functionObjects_limitFields_H
102#define Foam_functionObjects_limitFields_H
204 virtual bool write();
Enum is a wrapper around a list of names/values that represent particular enumeration (or int) values...
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Specialization of Foam::functionObject for an Foam::fvMesh, providing a reference to the Foam::fvMesh...
fvMeshFunctionObject(const fvMeshFunctionObject &)=delete
No copy construct.
Limits input fields to user-specified min and max bounds.
@ CLAMP_RANGE
Clamp min/max.
@ CLAMP_MAX
Clamp maximum value.
@ CLAMP_MIN
Clamp minimum value.
scalar min_
Minimum limit.
bool limitScalarField(const word &fieldName)
Limit a scalar field.
volFieldSelection fieldSet_
Fields to limit.
limitFields(const limitFields &)=delete
No copy construct.
static const Enum< limitType > limitTypeNames_
Limit type names.
virtual bool read(const dictionary &dict)
Read the function-object dictionary.
scalar max_
Maximum limit.
TypeName("limitFields")
Runtime type information.
limitFields(const word &name, const Time &runTime, const dictionary &dict)
Construct from name, Time and dictionary.
virtual bool execute()
Execute the function-object operations.
void operator=(const limitFields &)=delete
No copy assignment.
bool limitField(const word &fieldName)
Limit a field.
virtual bool write()
Write the function-object results.
virtual ~limitFields()=default
Destructor.
limitType withBounds_
Limiting type.
Helper class to manage solver field selections.
A class for handling words, derived from Foam::string.
Function objects are OpenFOAM utilities to ease workflow configurations and enhance workflows.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for expressions::valueTypeCode::INVALID.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.