Go to the documentation of this file.
41 const dictionary* dictPtr
54 else if (finder.found())
56 const word csName(finder.ref().stream());
61 <<
"--> FOAM IOWarning :" <<
nl
62 <<
" Ignoring 'coordinateSystem' as a keyword."
63 " Perhaps you meant this instead?" <<
nl
65 <<
" type " << coordSystem::indirect::typeName_()
67 <<
" name " << csName <<
';' <<
nl
88 if (modelType.empty())
90 modelType = coordSystem::cartesian::typeName_();
93 auto cstrIter1 = registryConstructorTablePtr_->cfind(modelType);
95 if (cstrIter1.found())
100 auto cstrIter = dictionaryConstructorTablePtr_->cfind(modelType);
104 if (!cstrIter.found())
111 *dictionaryConstructorTablePtr_
125 if (modelType.empty())
127 modelType = coordSystem::cartesian::typeName_();
130 auto cstrIter = dictionaryConstructorTablePtr_->cfind(modelType);
132 if (!cstrIter.found())
139 *dictionaryConstructorTablePtr_
163 dictPtr = coordinateSystem::subDictCompat(dictPtr);
169 coordSystem::cartesian::typeName_()
191 dictPtr = coordinateSystem::subDictCompat(dictPtr);
197 coordSystem::cartesian::typeName_()
206 const word csName(is);
A class for handling words, derived from Foam::string.
dict_pointer dictPtr() const
Pointer to the found entry as a dictionary or nullptr otherwise.
const word dictName("blockMeshDict")
Ostream & endl(Ostream &os)
Add newline and flush stream.
Registry of regIOobjects.
#define FatalIOErrorInLookup(ios, lookupTag, lookupName, lookupTable)
Report an error message using Foam::FatalIOError.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
static autoPtr< coordinateSystem > New(word modelType, const objectRegistry &obr, const dictionary &dict)
const_searcher csearch(const word &keyword, enum keyType::option=keyType::REGEX) const
Search dictionary for given keyword.
const dictionary & subDict(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Find and return a sub-dictionary.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
errorManipArg< error, int > exit(error &err, const int errNo=1)
static void warnAboutAge(const char *what, const int version)
Emit warning on stderr about something being old.
static const word null
An empty word.
T getOrDefault(const word &keyword, const T &deflt, enum keyType::option matchOpt=keyType::REGEX) const