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" 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()
virtual void mapMesh(const polyMeshMap &)
Update from another mesh using the given map.
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.
virtual void topoChange(const polyTopoChangeMap &map)
Update topology using the given map.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
dlLibraryTable libs
Table of loaded dynamic libraries.
virtual bool end()
Called when Time::run() determines that the time-loop exits.
A class for handling words, derived from string.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
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.
Class containing mesh-to-mesh mapping information.
virtual scalar timeToNextWrite()
Called by Time::adjustTimeStep(). Allows the functionObject to.
virtual void movePoints(const polyMesh &mesh)
Update topology using the given map.
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.