34void Foam::ensightFaMesh::clear()
40void Foam::ensightFaMesh::renumber()
44 areaPart_.index() = partNo++;
88 const label areaId = 0;
94 part.
rename(
"finite-area");
118 needsUpdate_ =
false;
135 areaPart_.write(
os, mesh_.mesh(), parallel);
static bool master(const label communicator=worldComm)
True if process corresponds to the master rank in the communicator.
void write(ensightGeoFile &os, bool parallel=UPstream::parRun()) const
Write geometry to file (normally in parallel). Adds beginGeometry() marker.
const faMesh & mesh() const noexcept
Reference to the underlying faMesh.
void correct()
Update for new mesh.
int verbose() const noexcept
Output verbosity level.
ensightFaMesh(const ensightFaMesh &)=delete
No copy construct.
Sorting/classification of faces (2D) into corresponding ensight types.
void classify(const UList< face > &faces)
Classify the face types and set the element lists.
void reduce()
Sum element counts across all processes.
InfoProxy< ensightFaces > info() const noexcept
Return info proxy, used to print information to a stream.
void clear()
Set addressable sizes to zero, free up addressing memory.
A variant of ensightFile (Ensight writing) that includes the extra geometry file header information.
void rename(const string &value)
Change the part name or description.
label identifier() const noexcept
OpenFOAM identifier (patch, zone, etc), -1 when not in use.
Finite area mesh (used for 2-D non-Euclidian finite area method) defined using a patch of faces on a ...
OBJstream os(runTime.globalPath()/outputName)
messageStream Info
Information stream (stdout output on master, null elsewhere).
IntListType renumber(const labelUList &oldToNew, const IntListType &input)
Renumber the values within a list.