Go to the documentation of this file.
35 class FaceList1,
class PointField1,
36 class FaceList2,
class PointField2
54 const label meshPointi = p1.
meshPoints()[pointi];
60 p1PointLabels[nMatches] = pointi;
61 p2PointLabels[nMatches] = iter.val();
65 p1PointLabels.
setSize(nMatches);
66 p2PointLabels.
setSize(nMatches);
72 class FaceList1,
class PointField1,
73 class FaceList2,
class PointField2
88 sameOrientation =
false;
101 edgeToIndex.
insert(meshE, edgeI);
109 const auto iter = edgeToIndex.cfind(meshE);
113 p1EdgeLabels[nMatches] = iter.val();
114 p2EdgeLabels[nMatches] = edgeI;
115 sameOrientation.
set(nMatches, (meshE[0] == iter.key()[0]));
119 p1EdgeLabels.
setSize(nMatches);
120 p2EdgeLabels.
setSize(nMatches);
121 sameOrientation.
setSize(nMatches);
void setSize(const label len, unsigned int val=0u)
Alias for resize()
A bitSet stores bits (elements with only two states) in packed internal format and supports a variety...
const edgeList & edges() const
Return list of edges, address into LOCAL point list.
label nEdges() const
Return number of edges in patch.
An edge is a list of two point labels. The functionality it provides supports the discretisation on a...
void set(const bitSet &bitset)
Set specified bits from another bitset.
bool insert(const label index)
Fill any open slot with the index if it did not previously exist.
#define forAll(list, i)
Loop across all elements in list.
label nPoints() const
Return number of points supporting patch faces.
const dimensionedScalar e
Elementary charge.
const Map< label > & meshPointMap() const
Mesh point map.
const labelList & meshPoints() const
Return labelList of mesh points in patch.
void setSize(const label newSize)
Alias for resize(const label)
A list of faces which address into the list of points.