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