Zoltan2
|
#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.
Classes | |
struct | type_name< T > |
Macros | |
#define | DECL_TYPE_NAME(x) template<> struct type_name<x> { static const char* name() {return #x;} } |
Functions | |
DECL_TYPE_NAME (int) | |
DECL_TYPE_NAME (long 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 argc, char *argv[]) |
Variables | |
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;} } |
Definition at line 72 of file findUniqueGids.cpp.
DECL_TYPE_NAME | ( | int | ) |
DECL_TYPE_NAME | ( | long | long | ) |
void checkNUnique | ( | std::string & | name, |
size_t | nUniqueGids, | ||
size_t | nExpected | ||
) |
Definition at line 84 of file findUniqueGids.cpp.
void checkMaxGid | ( | std::string & | name, |
std::vector< gno_t > & | gids, | ||
gno_t | maxExpected, | ||
const Teuchos::Comm< int > & | comm | ||
) |
Definition at line 94 of file findUniqueGids.cpp.
void checkMinGid | ( | std::string & | name, |
std::vector< gno_t > & | gids, | ||
gno_t | minExpected, | ||
const Teuchos::Comm< int > & | comm | ||
) |
Definition at line 116 of file findUniqueGids.cpp.
void checkNLocallyUnique | ( | std::string & | name, |
std::vector< gno_t > & | gids, | ||
size_t | nExpected | ||
) |
Definition at line 138 of file findUniqueGids.cpp.
void test1 | ( | Teuchos::RCP< const Teuchos::Comm< int > > & | comm | ) |
Definition at line 165 of file findUniqueGids.cpp.
void test2 | ( | Teuchos::RCP< const Teuchos::Comm< int > > & | comm | ) |
Definition at line 210 of file findUniqueGids.cpp.
void test3 | ( | Teuchos::RCP< const Teuchos::Comm< int > > & | comm | ) |
Definition at line 263 of file findUniqueGids.cpp.
void test4 | ( | Teuchos::RCP< const Teuchos::Comm< int > > & | comm | ) |
Definition at line 327 of file findUniqueGids.cpp.
void test5 | ( | Teuchos::RCP< const Teuchos::Comm< int > > & | comm | ) |
Definition at line 374 of file findUniqueGids.cpp.
void test6 | ( | Teuchos::RCP< const Teuchos::Comm< int > > & | comm | ) |
Definition at line 439 of file findUniqueGids.cpp.
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 494 of file findUniqueGids.cpp.
|
static |
Definition at line 80 of file findUniqueGids.cpp.
|
static |
Definition at line 81 of file findUniqueGids.cpp.