30 template<
class Triangulation>
41 ? Pair<labelPair>(vA, vB)
42 : Pair<labelPair>(vB, vA)
47 template<
class Triangulation>
58 else if (find(orderPointPair(vA, vB)) == end())
67 template<
class Triangulation>
79 return insert(orderPointPair(vA, vB));
85 template<
class Triangulation>
89 triangulation_(triangulation)
95 template<
class Triangulation>
102 template<
class Triangulation>
109 return insertPointPair(vA, vB);
113 template<
class Triangulation>
117 const DynamicList<labelPair>& slaves
124 addPointPair(master, slave);
131 template<
class Triangulation>
143 return addPointPair(a,
b);
147 template<
class Triangulation>
150 const Vertex_handle& vA,
151 const Vertex_handle& vB
154 if (vA->boundaryPoint() && vB->boundaryPoint())
156 labelPair a(vA->index(), vA->procIndex());
159 return findPointPair(a,
b);
166 template<
class Triangulation>
173 return findPointPair(vA, vB);
177 template<
class Triangulation>
180 pointPairs<Triangulation> newTable(triangulation_);
184 Pair<labelPair> e = iter.key();
194 oldToNewIndices.find(start.first());
196 if (iter2 != oldToNewIndices.end())
200 start.first() = iter2();
212 oldToNewIndices.find(end.first());
214 if (iter2 != oldToNewIndices.end())
218 end.first() = iter2();
229 if (e.first() < e.second())
233 else if (e.first() > e.second())
#define forAll(list, i)
Loop across all elements in list.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
static int myProcNo(const label communicator=0)
Number of this process (starting from masterNo() = 0)
void reIndex(const Map< label > &oldToNewIndices)
HashTable< label, label, Hash< label > >::const_iterator const_iterator
bool addPointPair(const labelPair &vA, const labelPair &vB)
void transfer(dictionary &)
Transfer the contents of the argument and annul the argument.
An ordered pair of two objects of type <T> with first() and second() elements.
const dimensionedScalar b
Wien displacement law constant: default SI units: [m.K].
timeIndices insert(timeIndex, timeDirs[timeI].value())
Pair< label > labelPair
Label pair.
forAllConstIter(PtrDictionary< phaseModel >, mixture.phases(), phase)
void reverse(UList< T > &, const label n)
bool isPointPair(const Vertex_handle &vA, const Vertex_handle &vB) const
HashSet< Pair< labelPair >, FixedList< labelPair, 2 >::Hash<>> ptPairTable
pointPairs(const Triangulation &triangulation)
Construct from triangulation.
HashSet of unique edges. The edges are stored as a pair of pairs: