108 <<
"EdgeVertex " << eVert <<
" out of range "
118 return isEdge(mesh_, eVert);
127 <<
"EdgeVertex " << eVert <<
" not an edge"
143 <<
"EdgeVertex " << eVert <<
" not a vertex"
159 <<
"Illegal vertex number " << vertI
175 <<
"Illegal edge number " << edgeI
188 const primitiveMesh&,
194 return coord(mesh_, cut, weight);
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Combines edge or vertex in single label. Used to specify cuts across cell circumference.
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 point coord(const primitiveMesh &, const label cut, const scalar weight)
Return coordinate of cut (uses weight if edgeCut)
static bool isEdge(const primitiveMesh &mesh, const label eVert)
Is eVert an edge?
static label vertToEVert(const primitiveMesh &mesh, const label vertI)
Convert pointi to eVert.
static label getEdge(const primitiveMesh &mesh, const label eVert)
Convert eVert to edge label.
edgeVertex(const polyMesh &mesh)
Construct from mesh.
static void updateLabels(const labelList &map, List< refineCell > &)
Update refine list from map. Used to update cell/face labels.
void operator=(const edgeVertex &)=delete
Disallow default bitwise assignment.
Ostream & writeCut(Ostream &os, const label cut, const scalar) const
Write cut description to Ostream.
static label cutPairToEdge(const primitiveMesh &, const label cut0, const label cut1)
Find mesh edge (or -1) between two cuts.
const polyMesh & mesh() const
static label getVertex(const primitiveMesh &mesh, const label eVert)
Convert eVert to vertex label.
Mesh consisting of general polyhedral cells.
Cell-face mesh analysis engine.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
errorManip< error > abort(error &err)
vector point
Point is a vector.