38 const bool isPointData
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))
Generic templated field type.
Ensight output with specialized write() for strings, integers and floats. Correctly handles binary wr...
static const char *const coordinates
The keyword "coordinates".
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)
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)
bool empty() const noexcept
Processor-local test for any elements.
label index() const noexcept
The index in a list (0-based)
OBJstream os(runTime.globalPath()/outputName)
bool writeFieldComponents(ensightFile &os, const char *key, const FieldContainer< Type > &fld, bool parallel)
Write field content (component-wise) for the given ensight element type.
bool writeField(ensightFile &os, const Field< Type > &fld, const ensightCells &part, bool parallel)