#include <iostream>
#include <vector>
#include <array>
#include <unordered_set>
#include <string>
#include <typeinfo>
#include <Teuchos_Comm.hpp>
#include <Teuchos_DefaultComm.hpp>
#include <Zoltan2_findUniqueGids.hpp>
Go to the source code of this file.
|
| | DECL_TYPE_NAME (int) |
| |
| | DECL_TYPE_NAME (long) |
| |
| void | checkNUnique (std::string &name, size_t nUniqueGids, size_t nExpected) |
| |
| template<typename gno_t > |
| void | checkMaxGid (std::string &name, std::vector< gno_t > &gids, gno_t maxExpected, const Teuchos::Comm< int > &comm) |
| |
| template<typename gno_t > |
| void | checkMinGid (std::string &name, std::vector< gno_t > &gids, gno_t minExpected, const Teuchos::Comm< int > &comm) |
| |
| template<typename gno_t > |
| void | checkNLocallyUnique (std::string &name, std::vector< gno_t > &gids, size_t nExpected) |
| |
| template<typename gno_t > |
| void | test1 (Teuchos::RCP< const Teuchos::Comm< int > > &comm) |
| |
| template<typename gno_t > |
| void | test2 (Teuchos::RCP< const Teuchos::Comm< int > > &comm) |
| |
| template<typename gno_t > |
| void | test3 (Teuchos::RCP< const Teuchos::Comm< int > > &comm) |
| |
| template<typename gno_t > |
| void | test4 (Teuchos::RCP< const Teuchos::Comm< int > > &comm) |
| |
| template<typename gno_t > |
| void | test5 (Teuchos::RCP< const Teuchos::Comm< int > > &comm) |
| |
| template<typename gno_t > |
| void | test6 (Teuchos::RCP< const Teuchos::Comm< int > > &comm) |
| |
| int | main (int narg, char *arg[]) |
| |
|
| static const std::string | fail = "FAIL " |
| |
| static const std::string | pass = " " |
| |
| #define DECL_TYPE_NAME |
( |
|
x | ) |
template<> struct type_name<x> { static const char* name() {return #x;} } |
| void checkNUnique |
( |
std::string & |
name, |
|
|
size_t |
nUniqueGids, |
|
|
size_t |
nExpected |
|
) |
| |
template<typename gno_t >
| void checkMaxGid |
( |
std::string & |
name, |
|
|
std::vector< gno_t > & |
gids, |
|
|
gno_t |
maxExpected, |
|
|
const Teuchos::Comm< int > & |
comm |
|
) |
| |
template<typename gno_t >
| void checkMinGid |
( |
std::string & |
name, |
|
|
std::vector< gno_t > & |
gids, |
|
|
gno_t |
minExpected, |
|
|
const Teuchos::Comm< int > & |
comm |
|
) |
| |
template<typename gno_t >
| void checkNLocallyUnique |
( |
std::string & |
name, |
|
|
std::vector< gno_t > & |
gids, |
|
|
size_t |
nExpected |
|
) |
| |
template<typename gno_t >
| void test1 |
( |
Teuchos::RCP< const Teuchos::Comm< int > > & |
comm | ) |
|
template<typename gno_t >
| void test2 |
( |
Teuchos::RCP< const Teuchos::Comm< int > > & |
comm | ) |
|
template<typename gno_t >
| void test3 |
( |
Teuchos::RCP< const Teuchos::Comm< int > > & |
comm | ) |
|
template<typename gno_t >
| void test4 |
( |
Teuchos::RCP< const Teuchos::Comm< int > > & |
comm | ) |
|
template<typename gno_t >
| void test5 |
( |
Teuchos::RCP< const Teuchos::Comm< int > > & |
comm | ) |
|
template<typename gno_t >
| void test6 |
( |
Teuchos::RCP< const Teuchos::Comm< int > > & |
comm | ) |
|
| int main |
( |
int |
narg, |
|
|
char * |
arg[] |
|
) |
| |
| const std::string fail = "FAIL " |
|
static |
| const std::string pass = " " |
|
static |