Go to the documentation of this file.
60 os << v[0] <<
' ' << v[1] <<
' ' << v[2] <<
nl;
102 if (!
isDir(outputDir))
107 fileName outName(outputDir/surfaceName +
".inp");
111 Info<<
"Writing geometry to " << outName <<
endl;
Base class for surface writers.
A class for handling file names.
starcdSurfaceWriter()
Construct null.
static void write(const fileName &, const MeshedSurfaceProxy< Face > &)
Write 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 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.
static void writeData(Ostream &, const Type &)
bool isDir(const fileName &)
Does the name exist as a DIRECTORY in the file system?
Templated 3D SphericalTensor derived from VectorSpace adding construction from 1 component,...
A surfaceWriter for STARCD files.
defineSurfaceWriterWriteField(Foam::starcdSurfaceWriter, scalar)
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
virtual ~starcdSurfaceWriter()
Destructor.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
makeSurfaceWriterType(boundaryDataSurfaceWriter)
bool mkDir(const fileName &, mode_t=0777)
Make a directory and return an error if it could not be created.