Go to the documentation of this file.
38 namespace functionObjects
45 removeRegisteredObject,
54 Foam::functionObjects::removeRegisteredObject::removeRegisteredObject
74 dict.readEntry(
"objects", objectNames_);
82 for (
const word& objName : objectNames_)
84 regIOobject* ptr = findObject<regIOobject>(objName);
89 <<
" removing object " << ptr->
name() <<
nl
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
const word & name() const
Return name.
A class for handling words, derived from Foam::string.
Ostream & endl(Ostream &os)
Add newline and flush stream.
virtual bool read(const dictionary &dict)
Read the removeRegisteredObject data.
word name(const complex &c)
Return string representation of complex.
virtual bool execute()
Remove the registered objects.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
virtual bool read(const dictionary &dict)
Read optional controls.
Macros for easy insertion into run-time selection tables.
bool ownedByRegistry() const
Is this object owned by the registry?
regIOobject is an abstract class derived from IOobject to handle automatic object registration with t...
bool checkOut()
Remove all file watches and remove object from registry.
addToRunTimeSelectionTable(functionObject, ObukhovLength, dictionary)
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
virtual bool write()
Do nothing.
defineTypeNameAndDebug(ObukhovLength, 0)
Specialization of Foam::functionObject for a region and providing a reference to the region Foam::obj...