43 dictionaryConstructorTable::iterator cstrIter =
44 dictionaryConstructorTablePtr_->find(
type);
46 if (cstrIter == dictionaryConstructorTablePtr_->end())
49 <<
"Unknown kernelShape "
51 <<
"Valid kernelShapes are : " <<
endl
52 << dictionaryConstructorTablePtr_->sortedToc()
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
const dictionary & optionalTypeDict(const word &typeName) const
Find and return an optional type sub-dictionary.
Mesh data needed to do the Finite Volume discretisation.
static autoPtr< kernelShape > New(const fvMesh &mesh, const dictionary &dict)
Return a reference to the selected kernelShape model.
Enables the printing of a dictionary and subsequently looked-up defaulted entries.
A class for handling words, derived from string.
Foam::fvMesh mesh(Foam::IOobject(regionName, runTime.name(), runTime, Foam::IOobject::MUST_READ), false)
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
errorManipArg< error, int > exit(error &err, const int errNo=1)
Ostream & endl(Ostream &os)
Add newline and flush stream.
Ostream & indentOrNl(Ostream &os)
Indent stream or add newline if indent level == 0.
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.