Go to the documentation of this file.
47 parallel = parallel && Pstream::parRun();
73 mesh.globalData().mergePoints
81 nPoints = globalPointsPtr().size();
119 face&
f = patchFaces[facei];
const labelList & faceIds() const noexcept
Processor-local face ids of all elements.
const boolList & flipMap() const
Processor-local flip-map of all elements.
label index() const noexcept
The index in a list (0-based)
void resize(const label len)
Adjust allocated size of list.
bool usesFlipMap() const
True for non-zero flip-map that spans the addresses.
Sorting/classification of faces (2D) into corresponding ensight types.
Mesh consisting of general polyhedral cells.
#define forAll(list, i)
Loop across all elements in list.
virtual void write(ensightGeoFile &os, const polyMesh &mesh, bool parallel) const
Write geometry, using a mesh reference.
void writeFaceConnectivityPresorted(ensightGeoFile &os, const ensightFaces &part, const faceUList &faces, bool parallel)
Write the presorted face connectivity for the part.
Specialized Ensight output with extra geometry file header.
void inplaceRenumber(const labelUList &oldToNew, IntListType &lists)
Inplace renumber the values (not the indices) of a list of lists.
OBJstream os(runTime.globalPath()/outputName)
const List< face_type > & localFaces() const
Return patch faces addressing into local point list.
const string & name() const noexcept
The part name or description.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
labelList identity(const label len, label start=0)
Create identity map of the given length with (map[i] == i)
A List with indirect addressing.
A face is a list of labels corresponding to mesh vertices.
const Map< label > & meshPointMap() const
Mesh point map.
const labelList & meshPoints() const
Return labelList of mesh points in patch.
bool writeCoordinates(ensightGeoFile &os, const label partId, const word &partName, const label nPoints, const FieldContainer< Foam::point > &fld, bool parallel)
Write coordinates (component-wise) for the given part.
A list of faces which address into the list of points.