45 fileExtensionConstructorTable::iterator cstrIter =
46 fileExtensionConstructorTablePtr_->find(ext);
48 if (cstrIter == fileExtensionConstructorTablePtr_->end())
52 "extendedEdgeMesh::New(const fileName&, const word&) : " 53 "constructing extendedEdgeMesh" 54 ) <<
"Unknown file extension " << ext
55 <<
" for file " << name <<
nl <<
nl 56 <<
"Valid extensions are :" <<
nl 57 << fileExtensionConstructorTablePtr_->sortedToc()
75 return New(name, ext);
word ext() const
Return file name extension (part after last .)
word name(const complex &)
Return a string representation of a complex.
A class for handling words, derived from string.
errorManipArg< error, int > exit(error &err, const int errNo=1)
static autoPtr< extendedEdgeMesh > New(const fileName &, const word &ext)
Select constructed from filename (explicit extension)
autoPtr< BasicCompressibleTurbulenceModel > New(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const typename BasicCompressibleTurbulenceModel::transportModel &transport, const word &propertiesName)
#define FatalErrorIn(functionName)
Report an error message using Foam::FatalError.
A class for handling file names.
fileName lessExt() const
Return file name without extension (part before last .)
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...