38 Info<<
"MeshedSurface::New(const fileName&, const word&) : " 39 "constructing MeshedSurface" 43 typename fileExtensionConstructorTable::iterator cstrIter =
44 fileExtensionConstructorTablePtr_->find(ext);
46 if (cstrIter == fileExtensionConstructorTablePtr_->end())
50 if (supported.
found(ext))
60 supported += readTypes();
64 "MeshedSurface<Face>::New(const fileName&, const word&) : " 65 "constructing MeshedSurface" 66 ) <<
"Unknown file extension " << ext <<
nl <<
nl 67 <<
"Valid types are :" <<
nl 85 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)
autoPtr< BasicCompressibleTurbulenceModel > New(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const typename BasicCompressibleTurbulenceModel::transportModel &transport, const word &propertiesName)
static autoPtr< MeshedSurface > New(const fileName &, const word &ext)
Select constructed from filename (explicit extension)
Ostream & endl(Ostream &os)
Add newline and flush stream.
#define FatalErrorIn(functionName)
Report an error message using Foam::FatalError.
A class for handling file names.
A HashTable with keys but without contents.
A surface geometry mesh with zone information, not to be confused with the similarly named surfaceMes...
fileName lessExt() const
Return file name without extension (part before last .)
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
bool found(const Key &) const
Return true if hashedEntry is found in table.