38 Foam::functionObject::functionObject(
const word&
name)
53 word functionType(functionDict.
lookup(
"type"));
57 Info<<
"Selecting function " << functionType <<
endl;
64 dictionaryConstructorTablePtr_
67 if (!dictionaryConstructorTablePtr_)
72 "(const word& name, const Time&, const dictionary&)"
73 ) <<
"Unknown function type "
74 << functionType <<
nl <<
nl
75 <<
"Table of functionObjects is empty" <<
endl
79 dictionaryConstructorTable::iterator cstrIter =
80 dictionaryConstructorTablePtr_->find(functionType);
82 if (cstrIter == dictionaryConstructorTablePtr_->end())
87 "(const word& name, const Time&, const dictionary&)"
88 ) <<
"Unknown function type "
89 << functionType <<
nl <<
nl
90 <<
"Valid functions are : " <<
nl
91 << dictionaryConstructorTablePtr_->sortedToc() <<
endl