60#ifndef Foam_ensightMesh_H
61#define Foam_ensightMesh_H
99 const std::unique_ptr<options> options_;
115 mutable bool needsUpdate_;
173 return cellZoneParts_;
180 return faceZoneParts_;
187 return boundaryParts_;
282 bool lazy()
const noexcept;
299 return patchInclude_;
305 return patchExclude_;
311 return faceZoneInclude_;
317 return cellZoneInclude_;
328 bool lazy(
bool on)
noexcept;
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
A HashTable to objects of type <T> with a label key.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
static bool & parRun() noexcept
Test if this a parallel run.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
Specialized Ensight output with extra geometry file header.
Configuration options for the ensightMesh.
bool useBoundaryMesh() const noexcept
Using boundary?
const wordRes & faceZoneSelection() const noexcept
Selection of faceZones. Empty if unspecified.
bool useInternalMesh() const noexcept
Using internal?
bool useFaceZones() const noexcept
Using faceZones?
void print(Ostream &os) const
Report values.
const wordRes & patchSelection() const noexcept
Selection of patches. Empty if unspecified.
bool lazy() const noexcept
Lazy creation? (ie, starts as needsUpdate)
const wordRes & patchExclude() const noexcept
Selection of black listed patches. Empty if unspecified.
void reset()
Reset to defaults.
options()
Default construct. Non-lazy with internal/boundary/cellZones.
bool useCellZones() const noexcept
Using cellZones?
const wordRes & cellZoneSelection() const noexcept
Selection of faceZones. Empty if unspecified.
Encapsulation of volume meshes for writing in ensight format. It manages cellZones,...
const Map< ensightFaces > & boundaryParts() const noexcept
Face elements per selected patch, lookup by patch index.
bool needsUpdate() const noexcept
Does the content need an update?
void correct()
Update for new mesh.
int verbose() const noexcept
Output verbosity level.
bool empty() const noexcept
Any parts?
const ensightMesh::options & option() const
Reference to the writer/mesh options.
label size() const noexcept
Number of parts.
bool expire()
Mark as needing an update.
const Map< ensightCells > & cellZoneParts() const noexcept
Face elements per selected patch, lookup by patch index.
static const label internalZone
The zone-id for internal mesh or unzoned cells.
const polyMesh & mesh() const noexcept
Reference to the underlying polyMesh.
const Map< ensightFaces > & faceZoneParts() const noexcept
Face elements per faceZone, lookup by zone index.
Mesh consisting of general polyhedral cells.
A List of wordRe with additional matching capabilities.
OBJstream os(runTime.globalPath()/outputName)