34 namespace functionObjects
52 Log <<
" functionObjects::" <<
type() <<
" " <<
name()
53 <<
" writing field: " << field.
name() <<
endl;
71 if (foundObject<regIOobject>(fieldName))
73 regIOobject& resultObject = lookupObjectRef<regIOobject>(fieldName);
93 Foam::functionObjects::regionFunctionObject::regionFunctionObject
112 Foam::functionObjects::regionFunctionObject::regionFunctionObject
const word & name() const
Return name.
bool writeObject(const word &fieldName)
Write field if present in objectRegistry.
A list of keyword definitions, which are a keyword followed by any number of values (e...
static word defaultRegion
Return the default region name.
Ostream & endl(Ostream &os)
Add newline and flush stream.
Abstract base-class for Time/database function objects.
const Type & lookupObject(const word &name) const
Lookup and return the object of the given Type.
bool ownedByRegistry() const
Is this object owned by the registry?
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
virtual bool read(const dictionary &)
Read optional controls.
A class for handling words, derived from string.
virtual ~regionFunctionObject()
Destructor.
bool checkOut()
Remove object from registry.
virtual bool read(const dictionary &)
Read and set the function object if its data have changed.
const Time & time() const
Return time.
bool clearObject(const word &fieldName)
Clear field from the objectRegistry if present.
word name(const complex &)
Return a string representation of a complex.
fileName::Type type(const fileName &, const bool followLink=true)
Return the file type: DIRECTORY or FILE.
T lookupOrDefault(const word &, const T &, bool recursive=false, bool patternMatch=true) const
Find and return a T,.
regIOobject is an abstract class derived from IOobject to handle automatic object registration with t...
#define Log
Report write to Foam::Info if the local log switch is true.
defineTypeNameAndDebug(fvMeshFunctionObject, 0)
Registry of regIOobjects.
virtual bool write(const bool valid=true) const
Write using setting from DB.