61 const bool writePointValues
74 if (!
isDir(outputDir))
79 fileName outName(outputDir/surfaceName +
"." + ext_);
83 Info<<
"Writing geometry to " << outName <<
endl;
An IOstream is an abstract base class for all input/output systems; be they streams,...
A proxy for writing MeshedSurface, UnsortedMeshedSurface and surfMesh to various file formats.
static void write(const fileName &, const MeshedSurfaceProxy< Face > &)
Write to file.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
A class for handling file names.
A surfaceWriter that writes the geometry via the MeshedSurfaceProxy, but which does not support any f...
virtual ~proxySurfaceWriter()
Destructor.
proxySurfaceWriter(const word &ext)
Construct for a given extension.
virtual void write(const fileName &outputDir, const fileName &surfaceName, const pointField &points, const faceList &faces, const wordList &fieldNames, const bool writePointValues #define FieldTypeValuesConstArg(Type, nullArg)) const
Write fields for a single surface to file.
Base class for surface writers.
A class for handling words, derived from string.
static List< word > fieldNames
bool mkDir(const fileName &, mode_t=0777)
Make a directory and return an error if it could not be created.
Ostream & endl(Ostream &os)
Add newline and flush stream.
defineTypeNameAndDebug(combustionModel, 0)
bool isDir(const fileName &, const bool followLink=true)
Does the name exist as a directory in the file system?
FOR_ALL_FIELD_TYPES(makeFieldSourceTypedef)
#define FieldTypeValuesConstArg(Type, nullArg)