Go to the documentation of this file.
115 <<
"EdgeVertex " << eVert <<
" out of range "
125 return isEdge(mesh_, eVert);
134 <<
"EdgeVertex " << eVert <<
" not an edge"
150 <<
"EdgeVertex " << eVert <<
" not a vertex"
166 <<
"Illegal vertex number " << vertI
182 <<
"Illegal edge number " << edgeI
195 const primitiveMesh&,
Ostream & writeCut(Ostream &os, const label cut, const scalar) const
Write cut description to Ostream.
static void updateLabels(const labelList &map, List< refineCell > &)
Update refine list from map. Used to update cell/face labels.
static bool isEdge(const primitiveMesh &mesh, const label eVert)
Is eVert an edge?
label getEdge(const label eVert) const
point coord(const label cut, const scalar weight) const
label nEdges() const
Number of mesh edges.
Combines edge or vertex in single label. Used to specify cuts across cell circumference.
Mesh consisting of general polyhedral cells.
label getVertex(const label eVert) const
static label edgeToEVert(const primitiveMesh &mesh, const label edgeI)
Convert edgeI to eVert.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
label vertToEVert(const label vertI) const
label cutPairToEdge(const label cut0, const label cut1) const
static point coord(const primitiveMesh &, const label cut, const scalar weight)
Return coordinate of cut (uses weight if edgeCut)
static label getVertex(const primitiveMesh &mesh, const label eVert)
Convert eVert to vertex label.
Patchify triangles based on orientation w.r.t other (triangulated or triangulatable) surfaces.
errorManip< error > abort(error &err)
bool isEdge(const label eVert) const
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
static label cutPairToEdge(const primitiveMesh &, const label cut0, const label cut1)
Find mesh edge (or -1) between two cuts.
label nPoints() const
Number of mesh points.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
vector point
Point is a vector.
Ostream & writeCuts(Ostream &os, const labelList &, const scalarField &) const
Write cut descriptions to Ostream.
edgeVertex(const polyMesh &mesh)
Construct from mesh.
static label getEdge(const primitiveMesh &mesh, const label eVert)
Convert eVert to edge label.
label edgeToEVert(const label edgeI) const
static label vertToEVert(const primitiveMesh &mesh, const label vertI)
Convert pointi to eVert.
const polyMesh & mesh() const
Cell-face mesh analysis engine.