Public Member Functions | List of all members
pointPairs< Triangulation > Class Template Reference

HashSet of unique edges. The edges are stored as a pair of pairs: More...

Inheritance diagram for pointPairs< Triangulation >:
Inheritance graph
[legend]
Collaboration diagram for pointPairs< Triangulation >:
Collaboration graph
[legend]

Public Member Functions

 pointPairs (const Triangulation &triangulation)
 
 ~pointPairs ()
 
bool isPointPair (const Vertex_handle &vA, const Vertex_handle &vB) const
 
bool isPointPair (const labelPair &vA, const labelPair &vB) const
 
bool addPointPair (const labelPair &vA, const labelPair &vB)
 
bool addPointPair (const labelPair &master, const DynamicList< labelPair > &slaves)
 
bool addPointPair (const label vA, const label vB)
 
void reIndex (const Map< label > &oldToNewIndices)
 
- Public Member Functions inherited from HashSet< labelPairPair >
Foam::label assignMany (const label nItems, InputIter first, InputIter last)
 
 HashSet ()
 
 HashSet (const this_type &rhs)
 
 HashSet (this_type &&rhs)
 
 HashSet (const label size)
 
 HashSet (Istream &is)
 
 HashSet (const FixedList< Key, N > &list)
 
 HashSet (const UList< Key > &list)
 
 HashSet (const IndirectListBase< Key, Addr > &list)
 
 HashSet (std::initializer_list< Key > list)
 
 HashSet (const HashTable< AnyType, Key, AnyHash > &tbl)
 
 HashSet (const UList< Key > &list)
 
 HashSet (std::initializer_list< Key > list)
 
bool test (const Key &key) const noexcept
 
bool insert (const Key &key)
 
label insert (InputIter first, InputIter last)
 
label insert (std::initializer_list< Key > list)
 
label insert (const FixedList< Key, N > &list)
 
label insert (const UList< Key > &list)
 
label insert (const IndirectListBase< Key, Addr > &list)
 
Foam::label insert (InputIter first, InputIter last)
 
Foam::label insert (const FixedList< Key, N > &list)
 
Foam::label insert (const IndirectListBase< Key, Addr > &list)
 
bool set (const Key &key)
 
label set (InputIter first, InputIter last)
 
label set (std::initializer_list< Key > list)
 
label set (const FixedList< Key, N > &list)
 
label set (const UList< Key > &list)
 
label set (const IndirectListBase< Key, Addr > &list)
 
bool unset (const Key &key)
 
label unset (InputIter first, InputIter last)
 
label unset (std::initializer_list< Key > list)
 
label unset (const FixedList< Key, N > &list)
 
label unset (const UList< Key > &list)
 
label unset (const IndirectListBase< Key, Addr > &list)
 
Foam::label unset (InputIter first, InputIter last)
 
Foam::label unset (const FixedList< Key, N > &list)
 
Foam::label unset (const IndirectListBase< Key, Addr > &list)
 
label setMany (InputIter first, InputIter last)
 
iterator begin ()
 
const_iterator begin () const
 
const_iterator cbegin () const
 
iterator end () noexcept
 
const_iterator end () const noexcept
 
constexpr const_iterator cend () const noexcept
 
OstreamwriteList (Ostream &os, const label shortLen=0) const
 
bool operator() (const Key &key) const noexcept
 
bool operator[] (const Key &key) const noexcept
 
void operator= (const this_type &rhs)
 
void operator= (this_type &&rhs)
 
void operator= (const UList< Key > &rhs)
 
void operator= (const FixedList< Key, N > &rhs)
 
void operator= (std::initializer_list< Key > rhs)
 
bool operator== (const this_type &rhs) const
 
bool operator!= (const this_type &rhs) const
 
this_typeoperator|= (const this_type &rhs)
 
this_typeoperator&= (const this_type &rhs)
 
this_typeoperator^= (const this_type &rhs)
 
this_typeoperator+= (const this_type &rhs)
 
this_typeoperator-= (const this_type &rhs)
 
List< Key > tocValues (const UnaryPredicate &, const bool)=delete
 
List< Key > tocEntries (const BinaryPredicate &, const bool)=delete
 
label countValues (const UnaryPredicate &, const bool)=delete
 
label countEntries (const BinaryPredicate &, const bool)=delete
 
label filterValues (const UnaryPredicate &, const bool)=delete
 
label filterEntries (const BinaryPredicate &, const bool)=delete
 

Additional Inherited Members

- Public Types inherited from HashSet< labelPairPair >
typedef HashSet< Key, Hashthis_type
 
typedef HashTable< zero::null, Key, Hashparent_type
 
using iterator = typename parent_type::key_iterator
 
using const_iterator = typename parent_type::const_key_iterator
 

Detailed Description

template<class Triangulation>
class Foam::pointPairs< Triangulation >

HashSet of unique edges. The edges are stored as a pair of pairs:

( (local index, processor index) (local index, processor index) )

e.g.,

( (0 1) (3 1) ) ( (0 2) (5 1) )

Definition at line 50 of file pointPairs.H.

Constructor & Destructor Documentation

◆ pointPairs()

pointPairs ( const Triangulation &  triangulation)

◆ ~pointPairs()

~pointPairs ( )

Member Function Documentation

◆ isPointPair() [1/2]

bool isPointPair ( const Vertex_handle &  vA,
const Vertex_handle &  vB 
) const
inline

◆ isPointPair() [2/2]

bool isPointPair ( const labelPair vA,
const labelPair vB 
) const
inline

◆ addPointPair() [1/3]

bool addPointPair ( const labelPair vA,
const labelPair vB 
)
inline

◆ addPointPair() [2/3]

bool addPointPair ( const labelPair master,
const DynamicList< labelPair > &  slaves 
)
inline

◆ addPointPair() [3/3]

bool addPointPair ( const label  vA,
const label  vB 
)
inline

◆ reIndex()

void reIndex ( const Map< label > &  oldToNewIndices)

The documentation for this class was generated from the following file: