108 <<
"EdgeVertex " << eVert <<
" out of range " 114 return eVert >= mesh.
nPoints();
118 return isEdge(mesh_, eVert);
127 <<
"EdgeVertex " << eVert <<
" not an edge" 140 if (
isEdge(mesh, eVert) || (eVert < 0))
143 <<
"EdgeVertex " << eVert <<
" not a vertex" 156 if ((vertI < 0) || (vertI >= mesh.
nPoints()))
159 <<
"Illegal vertex number " << vertI
172 if ((edgeI < 0) || (edgeI >= mesh.
nEdges()))
175 <<
"Illegal edge number " << edgeI
194 return coord(mesh_, cut, weight);
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.
edgeVertex(const polyMesh &mesh)
Construct from mesh.
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.
void operator=(const edgeVertex &)=delete
Disallow default bitwise assignment.