35 namespace functionObjects
82 dict.lookup(
"objects") >> objectNames_;
100 <<
" removing object " << obj.
name() <<
nl
#define forAll(list, i)
Loop across all elements in list.
Macros for easy insertion into run-time selection tables.
const word & name() const
Return name.
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 any number of values (e....
Abstract base-class for Time/database functionObjects.
Removes registered objects if present in the database.
virtual ~removeRegisteredObject()
Destructor.
removeRegisteredObject(const word &name, const Time &runTime, const dictionary &dict)
Construct from Time and dictionary.
virtual bool execute()
Remove the registered objects.
virtual bool write()
Do nothing.
virtual bool read(const dictionary &)
Read the removeRegisteredObject data.
Registry of regIOobjects.
Mesh consisting of general polyhedral cells.
regIOobject is an abstract class derived from IOobject to handle automatic object registration with t...
bool ownedByRegistry() const
Is this object owned by the registry?
void release()
Release ownership of this object from its registry.
A class for handling words, derived from string.
defineTypeNameAndDebug(adjustTimeStepToCombustion, 0)
addToRunTimeSelectionTable(functionObject, adjustTimeStepToCombustion, dictionary)
Ostream & endl(Ostream &os)
Add newline and flush stream.
word name(const bool)
Return a word representation of a bool.
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.