44 Foam::functionObject::functionObject(
const word& name)
64 Info<<
"Selecting function " << functionType <<
endl;
67 if (dict.
found(
"functionObjectLibs"))
73 dictionaryConstructorTablePtr_
82 dictionaryConstructorTablePtr_
86 if (!dictionaryConstructorTablePtr_)
89 <<
"Unknown function type " 90 << functionType <<
nl <<
nl 91 <<
"Table of functionObjects is empty" <<
endl 95 dictionaryConstructorTable::iterator cstrIter =
96 dictionaryConstructorTablePtr_->find(functionType);
98 if (cstrIter == dictionaryConstructorTablePtr_->end())
101 <<
"Unknown function type " 102 << functionType <<
nl <<
nl 103 <<
"Valid functions are : " <<
nl 104 << 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.
defineDebugSwitchWithName(pointMVCWeight, "pointMVCWeight", 0)
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.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
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 function object to override.
virtual bool read(const dictionary &)
Read and set the function object if its data have changed.
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
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 function object 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.