113 <<
"EdgeVertex " << eVert <<
" out of range " 119 return eVert >= mesh.
nPoints();
123 return isEdge(mesh_, eVert);
132 <<
"EdgeVertex " << eVert <<
" not an edge" 145 if (
isEdge(mesh, eVert) || (eVert < 0))
148 <<
"EdgeVertex " << eVert <<
" not a vertex" 161 if ((vertI < 0) || (vertI >= mesh.
nPoints()))
164 <<
"Illegal vertex number " << vertI
177 if ((edgeI < 0) || (edgeI >= mesh.
nEdges()))
180 <<
"Illegal edge number " << edgeI
199 return coord(mesh_, cut, weight);
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
static label cutPairToEdge(const primitiveMesh &, const label cut0, const label cut1)
Find mesh edge (or -1) between two cuts.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
Cell-face mesh analysis engine.
Ostream & writeCut(Ostream &os, const label cut, const scalar) const
Write cut description to Ostream.
Ostream & writeCuts(Ostream &os, const labelList &, const scalarField &) const
Write cut descriptions to Ostream.
static label edgeToEVert(const primitiveMesh &mesh, const label edgeI)
Convert edgeI to eVert.
static void updateLabels(const labelList &map, List< refineCell > &)
Update refine list from map. Used to update cell/face labels.
static label vertToEVert(const primitiveMesh &mesh, const label vertI)
Convert pointi to eVert.
Combines edge or vertex in single label. Used to specify cuts across cell circumference.
static label getVertex(const primitiveMesh &mesh, const label eVert)
Convert eVert to vertex label.
static label getEdge(const primitiveMesh &mesh, const label eVert)
Convert eVert to edge label.
errorManip< error > abort(error &err)
const polyMesh & mesh() const
An Ostream is an abstract base class for all output systems (streams, files, token lists...
static bool isEdge(const primitiveMesh &mesh, const label eVert)
Is eVert an edge?
static point coord(const primitiveMesh &, const label cut, const scalar weight)
Return coordinate of cut (uses weight if edgeCut)
Mesh consisting of general polyhedral cells.