39 typename fileExtensionConstructorTable::iterator cstrIter =
40 fileExtensionConstructorTablePtr_->find(ext);
42 if (cstrIter == fileExtensionConstructorTablePtr_->end())
46 if (supported.
found(ext))
59 supported += readTypes();
62 <<
"Unknown file extension " << ext <<
nl <<
nl
63 <<
"Valid types are:" <<
nl
79 ext =
name.lessExt().ext();
A HashTable with keys but without contents.
bool found(const Key &) const
Return true if hashedEntry is found in table.
A surface geometry mesh, in which the surface zone information is conveyed by the 'zoneId' associated...
static autoPtr< UnsortedMeshedSurface > New(const fileName &, const word &ext)
Select constructed from filename (explicit extension)
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A class for handling file names.
A class for handling words, derived from string.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
#define InfoInFunction
Report an information message using Foam::Info.
autoPtr< CompressibleMomentumTransportModel > New(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const viscosity &viscosity)
errorManipArg< error, int > exit(error &err, const int errNo=1)
Ostream & endl(Ostream &os)
Add newline and flush stream.
word name(const bool)
Return a word representation of a bool.