Go to the documentation of this file.
116 <<
"EdgeVertex " << eVert <<
" out of range "
124 bool isEdge(
const label eVert)
const
126 return isEdge(mesh_, eVert);
135 <<
"EdgeVertex " << eVert <<
" not an edge"
140 label
getEdge(
const label eVert)
const
151 <<
"EdgeVertex " << eVert <<
" not a vertex"
167 <<
"Illegal vertex number " << vertI
183 <<
"Illegal edge number " << edgeI
196 const primitiveMesh&,
212 label
cutPairToEdge(
const label cut0,
const label cut1)
const
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 nPoints() const noexcept
Number of mesh points.
label getVertex(const label eVert) const
static label edgeToEVert(const primitiveMesh &mesh, const label edgeI)
Convert edgeI to eVert.
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.
OBJstream os(runTime.globalPath()/outputName)
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.
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.