84#ifndef Foam_functionObjects_readFields_H
85#define Foam_functionObjects_readFields_H
120 template<
class FieldType>
165 virtual bool write();
Defines the attributes of an object for which implicit objectRegistry management is supported,...
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...
fvMeshFunctionObject(const fvMeshFunctionObject &)=delete
No copy construct.
Reads fields from the time directories and adds them to the mesh database for further post-processing...
bool readOnStart_
Read immediately on construction (default: true).
virtual ~readFields()=default
Destructor.
void operator=(const readFields &)=delete
No copy assignment.
TypeName("readFields")
Runtime type information.
virtual bool read(const dictionary &dict)
Read the function-object dictionary.
readFields(const word &name, const Time &runTime, const dictionary &dict)
Construct for given objectRegistry and dictionary.
wordList fieldSet_
Fields to load.
readFields(const readFields &)=delete
No copy construct.
bool loadAndStore(const IOobject &io)
Attempt load from io, store on database if successful.
virtual bool execute()
Execute the function-object operations.
virtual bool write()
Write the function-object results.
bool loadField(const IOobject &io)
Forward to loadAndStore for supported types.
A class for handling words, derived from Foam::string.
Function objects are OpenFOAM utilities to ease workflow configurations and enhance workflows.
List< word > wordList
List of word.
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.
Forwards and collection of common volume field types.