65 Info<<
"Selecting function " << functionType <<
endl;
68 if (dict.
found(
"functionObjectLibs"))
74 dictionaryConstructorTablePtr_
83 dictionaryConstructorTablePtr_
87 if (!dictionaryConstructorTablePtr_)
90 <<
"Unknown function type " 91 << functionType <<
nl <<
nl 92 <<
"Table of functionObjects is empty" <<
endl 96 dictionaryConstructorTable::iterator cstrIter =
97 dictionaryConstructorTablePtr_->find(functionType);
99 if (cstrIter == dictionaryConstructorTablePtr_->end())
102 <<
"Unknown function type " 103 << functionType <<
nl <<
nl 104 <<
"Valid functions are : " <<
nl 105 << dictionaryConstructorTablePtr_->sortedToc() <<
endl
bool found(const word &, bool recursive=false, bool patternMatch=true) const
Search dictionary for given keyword.
virtual ~functionObject()
Destructor.
dimensionedScalar log(const dimensionedScalar &ds)
errorManipArg< error, int > exit(error &err, const int errNo=1)
const word & name() const
Return the name of this functionObject.
A list of keyword definitions, which are a keyword followed by any number of values (e...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
static bool postProcess
Global post-processing mode switch.
Ostream & endl(Ostream &os)
Add newline and flush stream.
A simple wrapper around bool so that it can be read as a word: true/false, on/off, yes/no, y/n, t/f, or none/any.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
dlLibraryTable libs
Table of loaded dynamic libraries.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
virtual bool end()
Called when Time::run() determines that the time-loop exits.
A class for handling words, derived from string.
virtual bool setTimeStep()
Called by Time::setDeltaT(). Allows the functionObject to override.
virtual bool read(const dictionary &)
Read and set the functionObject if its data have changed.
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
Switch executeAtStart_
Switch write log to Info.
defineTypeNameAndDebug(combustionModel, 0)
bool open(const fileName &libName, const bool verbose=true)
Open the named library, optionally with warnings if problems occur.
functionObject(const word &name)
Construct from components.
T lookupOrDefault(const word &, const T &, bool recursive=false, bool patternMatch=true) const
Find and return a T,.
static autoPtr< functionObject > New(const word &name, const Time &, const dictionary &)
Select from dictionary, based on its "type" entry.
Mesh consisting of general polyhedral cells.
Switch log
Switch write log to Info.
virtual scalar timeToNextWrite()
Called by Time::adjustTimeStep(). Allows the functionObject to.
virtual void movePoints(const polyMesh &mesh)
Update for changes of mesh.
virtual void updateMesh(const mapPolyMesh &mpm)
Update for changes of mesh.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
virtual bool executeAtStart() const
Return true if the functionObject should be executed at the start.