116 <<
"EdgeVertex " << eVert <<
" out of range " 124 bool isEdge(
const label eVert)
const 135 <<
"EdgeVertex " << eVert <<
" not an edge" 140 label
getEdge(
const label eVert)
const 146 static label
getVertex(
const primitiveMesh&
mesh,
const label eVert)
151 <<
"EdgeVertex " << eVert <<
" not a vertex" 167 <<
"Illegal vertex number " << vertI
183 <<
"Illegal edge number " << edgeI
200 point coord(
const label cut,
const scalar weight)
const 202 return coord(mesh_, cut, weight);
212 label
cutPairToEdge(
const label cut0,
const label cut1)
const
label nPoints() const noexcept
Number of mesh points.
error FatalError
Error stream (stdout output on all processes), with additional 'FOAM FATAL ERROR' header text and sta...
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)
label nEdges() const
Number of mesh edges.
const polyMesh & mesh() const
An Ostream is an abstract base class for all output systems (streams, files, token lists...
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
OBJstream os(runTime.globalPath()/outputName)
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.