Go to the documentation of this file.
36 Info<<
"UnsortedMeshedSurface::New(const fileName&, const word&) : "
37 "constructing UnsortedMeshedSurface"
41 typename fileExtensionConstructorTable::iterator cstrIter =
42 fileExtensionConstructorTablePtr_->find(ext);
44 if (cstrIter == fileExtensionConstructorTablePtr_->end())
48 if (supported.found(ext))
51 autoPtr<UnsortedMeshedSurface<Face> > surf
53 new UnsortedMeshedSurface<Face>
61 supported += readTypes();
64 <<
"Unknown file extension " << ext <<
nl <<
nl
65 <<
"Valid types are:" <<
nl
70 return autoPtr<UnsortedMeshedSurface<Face> >(cstrIter()(
name));
78 word ext =
name.ext();
81 ext =
name.lessExt().ext();
autoPtr< BasicCompressibleTurbulenceModel > New(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const typename BasicCompressibleTurbulenceModel::transportModel &transport, const word &propertiesName)
Ostream & endl(Ostream &os)
Add newline and flush stream.
errorManipArg< error, int > exit(error &err, const int errNo=1)
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
HashSet wordHashSet
A HashSet with word keys.
static autoPtr< UnsortedMeshedSurface > New(const fileName &, const word &ext)
Select constructed from filename (explicit extension)
word name(const complex &)
Return a string representation of a complex.