45#ifndef ensightOutputSurface_H
46#define ensightOutputSurface_H
91 const string& description =
"surface"
110 const bool isPointData =
false
Info<< nl<< "Wrote faMesh in vtk format: "<< writer.output().name()<< nl;}{ vtk::lineWriter writer(aMesh.points(), aMesh.edges(), fileName(aMesh.mesh().time().globalPath()/"finiteArea-edges"));writer.writeGeometry();writer.beginCellData(4);writer.writeProcIDs();{ Field< scalar > fld(faMeshTools::flattenEdgeField(aMesh.magLe(), true))
Sorting/classification of faces (2D) into corresponding ensight types.
Ensight output with specialized write() for strings, integers and floats. Correctly handles binary wr...
Specialized Ensight output with extra geometry file header.
A variant of ensightFaces that holds references to contiguous points/faces with its own encapsulated ...
void writePointData(ensightFile &os, const Field< Type > &fld) const
Write a field of point values (serial-only)
virtual ~ensightOutputSurface()=default
Destructor.
void writeFaceData(ensightFile &os, const Field< Type > &fld) const
Write a field of face values (serial-only)
void writeData(ensightFile &os, const Field< Type > &fld, const bool isPointData=false) const
Write a field of face or point values (serial-only)
virtual void write(ensightGeoFile &, const polyMesh &, bool) const
Cannot write geometry with a mesh reference.
Mesh consisting of general polyhedral cells.
OBJstream os(runTime.globalPath()/outputName)