Combines edge or vertex in single label. Used to specify cuts across cell circumference. More...
#include <edgeVertex.H>

Public Member Functions | |
| edgeVertex (const polyMesh &mesh) | |
| Construct from mesh. | |
| const polyMesh & | mesh () const |
| bool | isEdge (const label eVert) const |
| label | getEdge (const label eVert) const |
| label | getVertex (const label eVert) const |
| label | vertToEVert (const label vertI) const |
| label | edgeToEVert (const label edgeI) const |
| point | coord (const label cut, const scalar weight) const |
| label | cutPairToEdge (const label cut0, const label cut1) const |
| 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 Public Member Functions | |
| static void | updateLabels (const labelList &map, List< refineCell > &) |
| Update refine list from map. Used to update cell/face labels. | |
| static void | updateLabels (const labelList &map, Map< label > &) |
| Update map from map. Used to update cell/face labels. | |
| static void | updateLabels (const labelList &map, labelHashSet &) |
| Update map from map. Used to update cell/face labels. | |
| static bool | isEdge (const primitiveMesh &mesh, const label eVert) |
| Is eVert an edge? | |
| static label | getEdge (const primitiveMesh &mesh, const label eVert) |
| Convert eVert to edge label. | |
| static label | getVertex (const primitiveMesh &mesh, const label eVert) |
| Convert eVert to vertex label. | |
| static label | vertToEVert (const primitiveMesh &mesh, const label vertI) |
| Convert pointi to eVert. | |
| 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 label | cutPairToEdge (const primitiveMesh &, const label cut0, const label cut1) |
| Find mesh edge (or -1) between two cuts. | |
Combines edge or vertex in single label. Used to specify cuts across cell circumference.
Definition at line 51 of file edgeVertex.H.
|
inlineexplicit |
Construct from mesh.
Definition at line 107 of file edgeVertex.H.
References mesh().

|
static |
Update refine list from map. Used to update cell/face labels.
after morphing
Definition at line 29 of file edgeVertex.C.
References refineCell::cellNo(), refineCell::direction(), forAll, and List< T >::setSize().
Referenced by refinementIterator::setRefinement().


Update map from map. Used to update cell/face labels.
after morphing
Definition at line 56 of file edgeVertex.C.
References Foam::endl(), forAllConstIters, HashTable< T, Key, Hash >::insert(), HashTable< T, Key, Hash >::size(), and WarningInFunction.

|
static |
Update map from map. Used to update cell/face labels.
after morphing
Definition at line 119 of file edgeVertex.C.
References cells, and HashSet< Key, Hash >::insert().

|
inline |
Definition at line 115 of file edgeVertex.H.
Referenced by cellCuts::cellCuts(), cellCuts::cellCuts(), cellCuts::cellCuts(), cellCuts::cellCuts(), cellCuts::cellCuts(), cellCuts::cellCuts(), cellLooper::cellLooper(), cellCuts::ClassName(), meshCutAndRemove::ClassName(), meshCutter::ClassName(), refinementIterator::ClassName(), undoableMeshCutter::ClassName(), wallLayerCells::ClassName(), coord(), cutPairToEdge(), cellLooper::declareRunTimeSelectionTable(), edgeToEVert(), edgeVertex(), geomCellLooper::geomCellLooper(), getEdge(), cellLooper::getVertEdgesNonFace(), getVertex(), hexCellLooper::hexCellLooper(), isEdge(), meshCutAndRemove::meshCutAndRemove(), meshCutter::meshCutter(), cellLooper::New(), refinementIterator::refinementIterator(), hexCellLooper::TypeName(), undoableMeshCutter::undoableMeshCutter(), vertToEVert(), and wallLayerCells::wallLayerCells().

|
inlinestatic |
Is eVert an edge?
Definition at line 126 of file edgeVertex.H.
References Foam::abort(), Foam::FatalError, FatalErrorInFunction, and mesh().
Referenced by coord(), geomCellLooper::cut(), cutPairToEdge(), getEdge(), getVertex(), isEdge(), cellCuts::loopPoints(), meshCutAndRemove::setRefinement(), meshCutter::setRefinement(), and writeCut().


|
inline |
Definition at line 139 of file edgeVertex.H.
References isEdge().

|
inlinestatic |
Convert eVert to edge label.
Definition at line 147 of file edgeVertex.H.
References Foam::abort(), Foam::FatalError, FatalErrorInFunction, isEdge(), and mesh().
Referenced by getEdge().


|
inline |
Definition at line 157 of file edgeVertex.H.
References getEdge().

|
inlinestatic |
Convert eVert to vertex label.
Definition at line 165 of file edgeVertex.H.
References Foam::abort(), Foam::FatalError, FatalErrorInFunction, isEdge(), and mesh().
Referenced by coord(), cutPairToEdge(), getVertex(), meshCutAndRemove::setRefinement(), meshCutter::setRefinement(), and writeCut().


|
inline |
Definition at line 175 of file edgeVertex.H.
References getVertex().

|
inlinestatic |
Convert pointi to eVert.
Definition at line 183 of file edgeVertex.H.
References Foam::abort(), Foam::FatalError, FatalErrorInFunction, and mesh().
Referenced by geomCellLooper::cut(), cellCuts::nonAnchorPoints(), and vertToEVert().


|
inline |
Definition at line 193 of file edgeVertex.H.
References vertToEVert().

|
inlinestatic |
Convert edgeI to eVert.
Definition at line 201 of file edgeVertex.H.
References Foam::abort(), Foam::FatalError, FatalErrorInFunction, and mesh().
Referenced by geomCellLooper::cut(), and edgeToEVert().


|
inline |
Definition at line 211 of file edgeVertex.H.
References edgeToEVert().

|
static |
Return coordinate of cut (uses weight if edgeCut).
Definition at line 162 of file edgeVertex.C.
References e, Foam::getEdge(), getVertex(), isEdge(), mesh(), and pts.
Referenced by coord(), geomCellLooper::cut(), cellCuts::loopPoints(), and writeCut().


|
inline |
Definition at line 225 of file edgeVertex.H.
References coord().

|
static |
Find mesh edge (or -1) between two cuts.
Definition at line 184 of file edgeVertex.C.
References Foam::meshTools::findEdge(), getVertex(), isEdge(), and mesh().
Referenced by cutPairToEdge().


|
inline |
Definition at line 239 of file edgeVertex.H.
References cutPairToEdge().

| Foam::Ostream & writeCut | ( | Ostream & | os, |
| const label | cut, | ||
| const scalar | weight ) const |
Write cut description to Ostream.
Definition at line 207 of file edgeVertex.C.
References coord(), e, primitiveMesh::edges(), Foam::getEdge(), getVertex(), isEdge(), mesh, and os().
Referenced by geomCellLooper::cut(), and writeCuts().


| Foam::Ostream & writeCuts | ( | Ostream & | os, |
| const labelList & | cuts, | ||
| const scalarField & | weights ) const |
Write cut descriptions to Ostream.
Definition at line 232 of file edgeVertex.C.
References forAll, os(), and writeCut().
Referenced by meshCutAndRemove::setRefinement(), and meshCutter::setRefinement().

