Go to the documentation of this file.
99 const std::unique_ptr<options> options_;
115 mutable bool needsUpdate_;
171 inline bool empty()
const;
174 inline label
size()
const;
289 void lazy(
bool beLazy);
bool useCellZones() const
Using cellZones?
bool useBoundaryMesh() const
Using boundary?
Encapsulation of volume meshes for writing in ensight format. It manages cellZones,...
bool needsUpdate() const
Does the content need an update?
void correct()
Update for new mesh.
const Map< ensightFaces > & boundaryParts() const
Face elements per selected patch, lookup by patch index.
static bool & parRun()
Test if this a parallel run, or allow modify access.
const wordRes & faceZoneSelection() const
Selection of faceZones. Empty if unspecified.
A HashTable to objects of type <T> with a label key.
void write(autoPtr< ensightGeoFile > &os, bool parallel=Pstream::parRun()) const
Write geometry to file. Normally in parallel.
Mesh consisting of general polyhedral cells.
bool useFaceZones() const
Using faceZones?
static const label internalZone
The zone-id for internal mesh or unzoned cells.
Specialized Ensight output with extra geometry file header.
bool useInternalMesh() const
Using internal?
const wordRes & cellZoneSelection() const
Selection of faceZones. Empty if unspecified.
label size() const
Number of parts.
bool empty() const
Any parts?
bool expire()
Mark as needing an update.
void reset()
Reset to defaults.
bool lazy() const
Lazy creation? (ie, ensightMesh starts as needsUpdate)
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
const wordRes & patchSelection() const
Selection of patches. Empty if unspecified.
IntListType renumber(const labelUList &oldToNew, const IntListType &input)
Renumber the values (not the indices) of a list.
Configuration options for the ensightMesh.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
A List of wordRe with additional matching capabilities.
void print(Ostream &os) const
Report values.
const Map< ensightCells > & cellZoneParts() const
Face elements per selected patch, lookup by patch index.
const Map< ensightFaces > & faceZoneParts() const
Face elements per faceZone, lookup by zone index.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
const ensightMesh::options & option() const
Reference to the writer/mesh options.
const polyMesh & mesh() const
Reference to the underlying polyMesh.
options()
Default construct. Non-lazy with internal/boundary/cellZones.
const wordRes & patchExclude() const
Selection of black listed patches. Empty if unspecified.