TIMPI
|
Go to the source code of this file.
Functions | |
void | my_inserter (std::set< int > &s, int i) |
void | my_inserter (std::multiset< int > &s, int i) |
void | my_inserter (std::unordered_multiset< int > &s, int i) |
void | my_inserter (std::set< std::vector< int >> &s, int i) |
void | my_inserter (std::unordered_set< int > &s, int i) |
void | my_inserter (std::map< int, int > &m, int i) |
void | my_inserter (std::multimap< int, int > &m, int i) |
void | my_inserter (std::unordered_multimap< int, int > &m, int i) |
void | my_inserter (std::map< int, std::vector< int >> &m, int i) |
void | my_inserter (std::unordered_map< int, int > &m, int i) |
void | my_inserter (std::unordered_map< int, std::vector< int >> &m, int i) |
void | tester (const std::set< int > &s, int i) |
void | tester (const std::multiset< int > &s, int i) |
void | tester (const std::unordered_multiset< int > &s, int i) |
void | tester (const std::set< std::vector< int >> &s, int i) |
void | tester (const std::unordered_set< int > &s, int i) |
void | tester (const std::map< int, int > &m, int i) |
void | tester (const std::multimap< int, int > &m, int i) |
void | tester (const std::unordered_multimap< int, int > &m, int i) |
void | tester (const std::map< int, std::vector< int >> &m, int i) |
void | tester (const std::unordered_map< int, int > &m, int i) |
void | tester (const std::unordered_map< int, std::vector< int >> &m, int i) |
template<class Set > | |
void | testBigUnion (int n_multi=1) |
template<class Set > | |
void | testUnion () |
void | testMapSet () |
void | testMapMap () |
int | main (int argc, const char *const *argv) |
Variables | |
Communicator * | TestCommWorld |
int main | ( | int | argc, |
const char *const * | argv | ||
) |
Definition at line 269 of file set_unit.C.
References TIMPI::TIMPIInit::comm(), TestCommWorld, testMapMap(), and testMapSet().
void my_inserter | ( | std::set< int > & | s, |
int | i | ||
) |
Definition at line 17 of file set_unit.C.
Referenced by testBigUnion(), and testUnion().
void my_inserter | ( | std::multiset< int > & | s, |
int | i | ||
) |
Definition at line 20 of file set_unit.C.
void my_inserter | ( | std::unordered_multiset< int > & | s, |
int | i | ||
) |
Definition at line 27 of file set_unit.C.
void my_inserter | ( | std::set< std::vector< int >> & | s, |
int | i | ||
) |
Definition at line 34 of file set_unit.C.
void my_inserter | ( | std::unordered_set< int > & | s, |
int | i | ||
) |
Definition at line 37 of file set_unit.C.
void my_inserter | ( | std::map< int, int > & | m, |
int | i | ||
) |
Definition at line 40 of file set_unit.C.
void my_inserter | ( | std::multimap< int, int > & | m, |
int | i | ||
) |
Definition at line 43 of file set_unit.C.
void my_inserter | ( | std::unordered_multimap< int, int > & | m, |
int | i | ||
) |
Definition at line 50 of file set_unit.C.
void my_inserter | ( | std::map< int, std::vector< int >> & | m, |
int | i | ||
) |
Definition at line 57 of file set_unit.C.
void my_inserter | ( | std::unordered_map< int, int > & | m, |
int | i | ||
) |
Definition at line 60 of file set_unit.C.
void my_inserter | ( | std::unordered_map< int, std::vector< int >> & | m, |
int | i | ||
) |
Definition at line 63 of file set_unit.C.
void testBigUnion | ( | int | n_multi = 1 | ) |
Definition at line 152 of file set_unit.C.
References my_inserter(), TIMPI::Communicator::rank(), TIMPI::Communicator::set_union(), TIMPI::Communicator::size(), TestCommWorld, and tester().
void tester | ( | const std::set< int > & | s, |
int | i | ||
) |
Definition at line 67 of file set_unit.C.
Referenced by testBigUnion(), and testUnion().
void tester | ( | const std::multiset< int > & | s, |
int | i | ||
) |
Definition at line 70 of file set_unit.C.
void tester | ( | const std::unordered_multiset< int > & | s, |
int | i | ||
) |
Definition at line 77 of file set_unit.C.
void tester | ( | const std::set< std::vector< int >> & | s, |
int | i | ||
) |
Definition at line 84 of file set_unit.C.
void tester | ( | const std::unordered_set< int > & | s, |
int | i | ||
) |
Definition at line 87 of file set_unit.C.
void tester | ( | const std::map< int, int > & | m, |
int | i | ||
) |
Definition at line 90 of file set_unit.C.
void tester | ( | const std::multimap< int, int > & | m, |
int | i | ||
) |
Definition at line 96 of file set_unit.C.
void tester | ( | const std::unordered_multimap< int, int > & | m, |
int | i | ||
) |
Definition at line 112 of file set_unit.C.
void tester | ( | const std::map< int, std::vector< int >> & | m, |
int | i | ||
) |
Definition at line 128 of file set_unit.C.
void tester | ( | const std::unordered_map< int, int > & | m, |
int | i | ||
) |
Definition at line 136 of file set_unit.C.
void tester | ( | const std::unordered_map< int, std::vector< int >> & | m, |
int | i | ||
) |
Definition at line 142 of file set_unit.C.
void testMapMap | ( | ) |
Definition at line 236 of file set_unit.C.
References TIMPI::Communicator::rank(), TIMPI::Communicator::set_union(), and TestCommWorld.
Referenced by main().
void testMapSet | ( | ) |
Definition at line 196 of file set_unit.C.
References TIMPI::Communicator::rank(), TIMPI::Communicator::set_union(), and TestCommWorld.
Referenced by main().
void testUnion | ( | ) |
Definition at line 174 of file set_unit.C.
References my_inserter(), TIMPI::Communicator::rank(), TIMPI::Communicator::set_union(), TIMPI::Communicator::size(), TestCommWorld, and tester().
Communicator* TestCommWorld |
Definition at line 15 of file set_unit.C.
Referenced by main(), testBigUnion(), testMapMap(), testMapSet(), and testUnion().