Go to the documentation of this file.
100 mutable bool needsUpdate_;
137 static void writeFaceList
144 static void writeFaceList
163 static void writeFaceSizes
170 static void writeFaceSizes
177 static void writeCellShapes
191 static void writePolysNFaces
207 static void writePolysNPointsPerFace
216 static void writePolysPoints
226 void writePolysConnectivity
234 void writeCellConnectivity
242 void writeCellConnectivity
252 void writeFaceConnectivity
262 void writeFaceConnectivity
271 void writeFaceConnectivity
276 const bool raw =
false
283 const word& ensightPartName,
353 return globalPointsPtr_();
359 return pointToGlobal_;
365 return uniquePointMap_;
459 void lazy(
bool beLazy);
bool useBoundaryMesh() const
Using boundary?
Encapsulation of volume meshes for writing in ensight format.
A class for handling words, derived from Foam::string.
bool needsUpdate() const
Does the content need an update?
const labelList & pointToGlobal() const
From mesh point to global merged point.
bool useInternalMesh() const
Using internal?
const HashTable< ensightFaces > & faceZoneFaces() const
Face elements per selected faceZone.
const fvMesh & mesh() const
Reference to the underlying fvMesh.
void correct()
Update for new mesh.
bool useBoundaryMesh() const
Using boundary?
IOstream::streamFormat format() const
Ascii/Binary file output.
const wordRes & faceZoneSelection() const
Selection of faceZones. Empty if unspecified.
A HashTable to objects of type <T> with a label key.
bool usePatches() const
Older name for useBoundaryMesh()
Sorting/classification of faces (2D) into corresponding ensight types.
bool useFaceZones() const
Using faceZones?
IOstream::streamFormat format() const
File output format (ascii | binary)
~ensightMesh()
Destructor.
Specialized Ensight output with extra geometry file header.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
bool useInternalMesh() const
Using internal?
void noPatches(bool off)
Older name for useBoundaryMesh()
Sorting/classification of cells (3D) into corresponding ensight element types.
bool expire()
Mark as needing an update.
streamFormat
Data format (ascii | binary)
void reset()
Reset to defaults.
Mesh data needed to do the Finite Volume discretisation.
bool lazy() const
Lazy creation? (ie, ensightMesh starts as needsUpdate)
const HashTable< ensightFaces > & boundaryPatchFaces() const
Face elements per selected patch.
Calculates a unique integer (label so might not have enough room - 2G max) for processor + local inde...
A HashTable similar to std::unordered_map.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
const wordRes & patchSelection() const
Selection of patches. Empty if unspecified.
elemType
Addressable ensight element types.
elemType
Addressable ensight element types.
const Map< word > & patches() const
The list of patches to be output.
Configuration options for the ensightMesh.
A List of wordRe with additional matching capabilities.
A List with indirect addressing.
void write(autoPtr< ensightGeoFile > &os) const
Write to file.
const ensightMesh::options & option() const
Reference to the writer/mesh options.
options()
Construct for binary output.
const globalIndex & globalPoints() const
Global numbering for merged points.
const ensightCells & meshCells() const
The volume cells (internalMesh)
const labelList & uniquePointMap() const
Local points that are unique.