103 #ifndef functionObjects_zeroGradient_H 104 #define functionObjects_zeroGradient_H 115 namespace functionObjects
124 public fvMeshFunctionObject
129 wordRes selectFields_;
135 HashTable<word> results_;
145 static bool accept(
const GeometricField<Type, fvPatchField, volMesh>&);
149 int apply(
const word& inputName,
int& state);
152 int process(
const word& inputName);
191 virtual bool write();
Forwards and collection of common volume field types.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
void operator=(const zeroGradient &)=delete
No copy assignment.
virtual bool execute()
Calculate the zeroGradient fields.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
const word & name() const noexcept
Return the name of this functionObject.
zeroGradient(const word &name, const Time &runTime, const dictionary &dict)
Construct from Time and dictionary.
A class for handling words, derived from Foam::string.
TypeName("zeroGradient")
Runtime type information.
virtual bool write()
Write the zeroGradient fields.
virtual bool read(const dictionary &dict)
Read the zeroGradient specification.
Creates a volume field with zero-gradient boundary conditions from another volume field...
virtual ~zeroGradient()=default
Destructor.