70 Info<<
"Selecting function " << functionType <<
endl;
75 !dictionaryConstructorTablePtr_
76 || dictionaryConstructorTablePtr_->find(functionType)
77 == dictionaryConstructorTablePtr_->end()
86 dictionaryConstructorTablePtr_
93 if (!dictionaryConstructorTablePtr_)
96 <<
"Unknown function type "
97 << functionType <<
nl <<
nl
98 <<
"Table of functionObjects is empty"
103 dictionaryConstructorTable::iterator cstrIter =
104 dictionaryConstructorTablePtr_->find(functionType);
106 if (cstrIter == dictionaryConstructorTablePtr_->end())
109 <<
"Unknown function type "
110 << functionType <<
nl <<
nl
111 <<
"Valid functions are : " <<
nl
112 << dictionaryConstructorTablePtr_->sortedToc()
150 return executeAtStart_;
A simple wrapper around bool so that it can be read as a word: true/false, on/off,...
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....
T lookupOrDefault(const word &, const T &, bool recursive=false, bool patternMatch=true) const
Find and return a T, if not found return the given default.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
bool open(const fileName &libName, const bool verbose=true)
Open the named library, optionally with warnings if problems occur.
Abstract base-class for Time/database functionObjects.
functionObject(const word &name, const Time &runTime)
Construct from components.
virtual ~functionObject()
Destructor.
virtual bool executeAtStart() const
Return true if the functionObject should be executed at the start.
virtual void distribute(const polyDistributionMap &)
Redistribute or update using the given distribution map.
virtual scalar maxDeltaT() const
Return the maximum time-step for stable operation.
virtual void movePoints(const polyMesh &mesh)
Update topology using the given map.
virtual void mapMesh(const polyMeshMap &)
Update from another mesh using the given map.
static autoPtr< functionObject > New(const word &name, const Time &, const dictionary &)
Select from dictionary, based on its "type" entry.
static bool postProcess
Global post-processing mode switch.
virtual scalar timeToNextAction()
Called by Time::adjustTimeStep(). Allows the functionObject to.
const word & name() const
Return the name of this functionObject.
virtual void topoChange(const polyTopoChangeMap &map)
Update topology using the given map.
virtual bool end()
Called when Time::run() determines that the time-loop exits.
virtual bool read(const dictionary &)
Read and set the functionObject if its data have changed.
Class containing mesh-to-mesh mapping information after a mesh distribution where we send parts of me...
Class containing mesh-to-mesh mapping information.
Mesh consisting of general polyhedral cells.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
bool remove(const char)
Remove all occurrences of character returning true if string changed.
A class for handling words, derived from string.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
errorManipArg< error, int > exit(error &err, const int errNo=1)
dlLibraryTable libs
Table of loaded dynamic libraries.
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
Ostream & endl(Ostream &os)
Add newline and flush stream.
word name(const bool)
Return a word representation of a bool.
dimensionedScalar log(const dimensionedScalar &ds)
defineTypeNameAndDebug(combustionModel, 0)