Go to the documentation of this file.
74 if (!
isDir(outputDir))
79 fileName outName(outputDir/surfaceName +
"." + ext_);
83 Info<<
"Writing geometry to " << outName <<
endl;
Functions used by OpenFOAM that are specific to POSIX compliant operating systems and need to be repl...
A class for handling words, derived from string.
Base class for surface writers.
A class for handling file names.
static void write(const fileName &, const MeshedSurfaceProxy< Face > &)
Write to file.
virtual fileName write(const fileName &outputDir, const fileName &surfaceName, const pointField &points, const faceList &faces, const bool verbose=false) const
Write single surface geometry to file.
Ostream & endl(Ostream &os)
Add newline and flush stream.
A proxy for writing MeshedSurface, UnsortedMeshedSurface and surfMesh to various file formats.
Convenience macros for instantiating writer methods for surfaceWriter classes.
Pre-declare SubField and related Field type.
virtual ~proxySurfaceWriter()
Destructor.
proxySurfaceWriter(const word &ext)
Construct for a given extension.
bool isDir(const fileName &)
Does the name exist as a DIRECTORY in the file system?
static const fileName null
An empty fileName.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
bool mkDir(const fileName &, mode_t=0777)
Make a directory and return an error if it could not be created.
defineTypeNameAndDebug(combustionModel, 0)