90 const bool noPatches_;
97 const bool faceZones_;
104 label patchPartOffset_;
169 void writePolysNFaces
176 void writePolysNPointsPerFace
184 void writePolysPoints
213 void writeAllFacePrims
222 void writeNSidedNPointsPerFace
228 void writeNSidedPoints
244 const label ensightPartI,
245 const word& ensightPartName,
259 const bool noPatches,
262 const bool faceZones,
286 return meshCellSets_;
291 return boundaryFaceSets_;
296 return allPatchNames_;
311 return faceZoneFaceSets_;
316 return faceZoneNames_;
321 return nFaceZonePrims_;
327 return patchPartOffset_;
336 return globalPointsPtr_();
342 return pointToGlobal_;
348 return uniquePointMap_;
const HashTable< nFacePrimitives > & nPatchPrims() const
A HashTable with keys but without contents.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
A class for handling file names.
const wordHashSet & faceZoneNames() const
label patchPartOffset() const
The ensight part id for the first patch.
const labelList & uniquePointMap() const
Local points that are unique.
~ensightMesh()
Destructor.
Abstract base class for writing Ensight data.
ensightMesh(const fvMesh &mesh, const bool noPatches, const bool patches, const wordReList &patchPatterns, const bool faceZones, const wordReList &faceZonePatterns, const bool binary)
Construct from fvMesh.
const cellSets & meshCellSets() const
void correct()
Update for new mesh.
Calculates a unique integer (label so might not have enough room - 2G max) for processor + local inde...
const List< faceSets > & boundaryFaceSets() const
A class for handling words, derived from string.
const cellShapeList & cellShapes
const wordHashSet & patchNames() const
const fvMesh & mesh() const
void operator=(const ensightMesh &)=delete
Disallow default bitwise assignment.
An STL-conforming hash table.
const HashTable< nFacePrimitives > & nFaceZonePrims() const
An Ostream is an abstract base class for all output systems (streams, files, token lists...
const wordList & allPatchNames() const
static void barrier()
Helper to cause barrier. Necessary on Quadrics.
Mesh data needed to do the Finite Volume discretisation.
const List< faceSets > & faceZoneFaceSets() const
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
const labelList & pointToGlobal() const
From mesh point to global merged point.
const globalIndex & globalPoints() const
Global numbering for merged points.
bool faceToBeIncluded(const label facei) const
When exporting faceZones, check if a given face has to be included.
void write(const fileName &postProcPath, const word &prepend, const label timeIndex, const bool meshMoving, Ostream &ensightCaseFile) const