103#ifndef functionObjects_zeroGradient_H
104#define functionObjects_zeroGradient_H
115namespace functionObjects
124 public fvMeshFunctionObject
129 wordRes selectFields_;
135 HashTable<word> results_;
141 static bool checkFormatName(
const std::string& str);
149 static bool accept(
const GeometricField<Type, fvPatchField, volMesh>&);
153 int apply(
const word& inputName,
int& state);
156 int process(
const word& inputName);
195 virtual bool write();
Generic GeometricField class.
A HashTable similar to std::unordered_map.
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,...
const word & name() const noexcept
Return the name of this functionObject.
Specialization of Foam::functionObject for an Foam::fvMesh, providing a reference to the Foam::fvMesh...
Creates a volume field with zero-gradient boundary conditions from another volume field.
virtual ~zeroGradient()=default
Destructor.
TypeName("zeroGradient")
Runtime type information.
zeroGradient(const zeroGradient &)=delete
No copy construct.
virtual bool read(const dictionary &dict)
Read the zeroGradient specification.
void operator=(const zeroGradient &)=delete
No copy assignment.
virtual bool execute()
Calculate the zeroGradient fields.
virtual bool write()
Write the zeroGradient fields.
A List of wordRe with additional matching capabilities.
A class for handling words, derived from Foam::string.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.