Go to the documentation of this file.
250 const label ensightPartI,
251 const word& ensightPartName,
265 const bool noPatches,
268 const bool faceZones,
const cellShapeList & cellShapes
void writeAllNSided(const labelList &prims, const label nPrims, const faceList &patchFaces, ensightStream &ensightGeometryFile) const
Abstract base class for writing Ensight data.
void writeAllPoints(const label ensightPartI, const word &ensightPartName, const pointField &uniquePoints, const label nPoints, ensightStream &ensightGeometryFile) const
const wordHashSet & faceZoneNames() const
A class for handling words, derived from string.
A class for handling file names.
void write(const fileName &postProcPath, const word &prepend, const label timeIndex, const bool meshMoving, Ostream &ensightCaseFile) const
const labelList & pointToGlobal() const
From mesh point to global merged point.
void correct()
Update for new mesh.
const fvMesh & mesh_
Reference to the OpenFOAM mesh.
const List< faceSets > & faceZoneFaceSets() const
void writeNSidedPoints(const faceList &patchFaces, ensightStream &ensightGeometryFile) const
const fvMesh & mesh() const
bool faceToBeIncluded(const label faceI) const
When exporting faceZones, check if a given face has to be included.
labelList patchFaces(const polyBoundaryMesh &patches, const wordList &names)
A HashTable with keys but without contents.
const bool patches_
Output selected patches only.
labelList uniquePointMap_
Local points that are unique.
const HashTable< nFacePrimitives > & nFaceZonePrims() const
~ensightMesh()
Destructor.
void operator=(const ensightMesh &)
Disallow default bitwise assignment.
const wordHashSet & patchNames() const
void writeAllPrims(const char *key, const label nPrims, const cellShapeList &cellShapes, ensightStream &ensightGeometryFile) const
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Pre-declare SubField and related Field type.
cellShapeList map(const cellShapeList &cellShapes, const labelList &prims, const labelList &pointToGlobal) const
void writePoints(const scalarField &pointsComponent, ensightStream &ensightGeometryFile) const
void writePolysPoints(const labelList &polys, const cellList &cellFaces, const faceList &faces, const labelList &faceOwner, ensightStream &ensightGeometryFile) const
void writePrims(const cellShapeList &cellShapes, ensightStream &ensightGeometryFile) const
void writeAllFacePrims(const char *key, const labelList &prims, const label nPrims, const faceList &patchFaces, ensightStream &ensightGeometryFile) const
void writeNSidedNPointsPerFace(const faceList &patchFaces, ensightStream &ensightGeometryFile) const
const List< faceSets > & boundaryFaceSets() const
HashTable< nFacePrimitives > nPatchPrims_
label patchPartOffset() const
The ensight part id for the first patch.
void writeFacePrims(const faceList &patchFaces, ensightStream &ensightGeometryFile) const
const bool binary_
Set binary file output.
Mesh data needed to do the Finite Volume discretisation.
labelList pointToGlobal_
From mesh point to global merged point.
Calculates a unique integer (label so might not have enough room - 2G max) for processor + local inde...
PackedBoolList boundaryFaceToBeIncluded_
Per boundary face whether to include or not.
List< faceSets > boundaryFaceSets_
ensightMesh(const ensightMesh &)
Disallow default bitwise copy construct.
An STL-conforming hash table.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
const cellSets & meshCellSets() const
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
const wordList & allPatchNames() const
label patchPartOffset_
The ensight part id for the first patch.
wordHashSet faceZoneNames_
const wordReList patchPatterns_
const wordReList faceZonePatterns_
void writePolysNFaces(const labelList &polys, const cellList &cellFaces, ensightStream &ensightGeometryFile) const
List< faceSets > faceZoneFaceSets_
void writeAllPolys(const labelList &pointToGlobal, ensightStream &ensightGeometryFile) const
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
void writePolysNPointsPerFace(const labelList &polys, const cellList &cellFaces, const faceList &faces, ensightStream &ensightGeometryFile) const
const HashTable< nFacePrimitives > & nPatchPrims() const
autoPtr< globalIndex > globalPointsPtr_
Global numbering for merged points.
const globalIndex & globalPoints() const
Global numbering for merged points.
const bool faceZones_
Output selected faceZones.
HashTable< nFacePrimitives > nFaceZonePrims_
static void barrier()
Helper to cause barrier. Necessary on Quadrics.
const labelList & uniquePointMap() const
Local points that are unique.
const bool noPatches_
Suppress patches.