Go to the documentation of this file.
99 const std::unique_ptr<options> options_;
115 mutable bool needsUpdate_;
162 return cellZoneParts_;
169 return faceZoneParts_;
176 return boundaryParts_;
183 inline bool empty() const noexcept;
186 inline label
size() const noexcept;
271 bool lazy()
const noexcept;
288 return patchInclude_;
294 return patchExclude_;
300 return faceZoneInclude_;
306 return cellZoneInclude_;
317 bool lazy(
bool on) noexcept;
const Map< ensightCells > & cellZoneParts() const noexcept
Face elements per selected patch, lookup by patch index.
Encapsulation of volume meshes for writing in ensight format. It manages cellZones,...
bool empty() const noexcept
Any parts?
const wordRes & patchExclude() const noexcept
Selection of black listed patches. Empty if unspecified.
bool useInternalMesh() const noexcept
Using internal?
const wordRes & faceZoneSelection() const noexcept
Selection of faceZones. Empty if unspecified.
void correct()
Update for new mesh.
A HashTable to objects of type <T> with a label key.
bool useFaceZones() const noexcept
Using faceZones?
bool needsUpdate() const noexcept
Does the content need an update?
const polyMesh & mesh() const noexcept
Reference to the underlying polyMesh.
bool lazy() const noexcept
Lazy creation? (ie, starts as needsUpdate)
void write(ensightGeoFile &os, bool parallel=Pstream::parRun()) const
Write geometry to file. Normally in parallel.
Mesh consisting of general polyhedral cells.
static const label internalZone
The zone-id for internal mesh or unzoned cells.
Specialized Ensight output with extra geometry file header.
bool useCellZones() const noexcept
Using cellZones?
bool expire()
Mark as needing an update.
void reset()
Reset to defaults.
OBJstream os(runTime.globalPath()/outputName)
const wordRes & patchSelection() const noexcept
Selection of patches. Empty if unspecified.
label size() const noexcept
Number of parts.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
IntListType renumber(const labelUList &oldToNew, const IntListType &input)
Renumber the values (not the indices) of a list.
Configuration options for the ensightMesh.
static bool & parRun() noexcept
Test if this a parallel run.
const wordRes & cellZoneSelection() const noexcept
Selection of faceZones. Empty if unspecified.
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.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
const Map< ensightFaces > & faceZoneParts() const noexcept
Face elements per faceZone, lookup by zone index.
const ensightMesh::options & option() const
Reference to the writer/mesh options.
options()
Default construct. Non-lazy with internal/boundary/cellZones.
bool useBoundaryMesh() const noexcept
Using boundary?
const Map< ensightFaces > & boundaryParts() const noexcept
Face elements per selected patch, lookup by patch index.