46 wordConstructorTable::iterator cstrIter =
47 wordConstructorTablePtr_->find(writeType);
49 if (cstrIter == wordConstructorTablePtr_->end())
58 if (cstrIter == wordConstructorTablePtr_->end())
61 <<
"Unknown write type \"" << writeType <<
"\"\n\n" 62 <<
"Valid write types : " 63 << wordConstructorTablePtr_->sortedToc() <<
nl 64 <<
"Valid proxy types : " 78 wordDictConstructorTable::iterator cstrIter =
79 wordDictConstructorTablePtr_->find(writeType);
81 if (cstrIter == wordDictConstructorTablePtr_->end())
surfaceWriter()
Construct null.
errorManipArg< error, int > exit(error &err, const int errNo=1)
A list of keyword definitions, which are a keyword followed by any number of values (e...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
Ostream & endl(Ostream &os)
Add newline and flush stream.
Macros for easy insertion into run-time selection tables.
virtual ~surfaceWriter()
Destructor.
A class for handling words, derived from string.
A surfaceWriter that writes the geometry via the MeshedSurfaceProxy, but which does not support any f...
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
defineTypeNameAndDebug(combustionModel, 0)
A proxy for writing MeshedSurface, UnsortedMeshedSurface and surfMesh to various file formats...
static wordHashSet writeTypes()
The file format types that can be written via MeshedSurfaceProxy.
static autoPtr< surfaceWriter > New(const word &writeType)
Return a reference to the selected surfaceWriter.