Zoltan2
|
#include <Zoltan2_PartitioningSolution.hpp>
#include <Zoltan2_PartitioningProblem.hpp>
#include <Zoltan2_BasicVectorAdapter.hpp>
#include <Zoltan2_InputTraits.hpp>
#include <Tpetra_Map.hpp>
#include <vector>
#include <cstdlib>
Go to the source code of this file.
Typedefs | |
typedef Tpetra::Map | myMap_t |
typedef myMap_t::local_ordinal_type | myLocalId_t |
typedef myMap_t::global_ordinal_type | myGlobalId_t |
typedef double | myScalar_t |
Functions | |
template<typename A , typename B > | |
void | copyArrays (size_t n, A *&a, B *b) |
template<typename A , typename B > | |
void | copyArrays (size_t n, A *&a, A *b) |
template<typename A , typename B > | |
void | freeArrays (A *&a, B *b) |
template<typename A , typename B > | |
void | freeArrays (A *&a, A *b) |
void | test_no_weights (const Teuchos::RCP< const Teuchos::Comm< int > > &comm, Teuchos::ParameterList ¶ms, size_t localCount, myGlobalId_t *globalIds, myScalar_t *coords, int &nFail) |
void | test_weights (const Teuchos::RCP< const Teuchos::Comm< int > > &comm, Teuchos::ParameterList ¶ms, size_t localCount, myGlobalId_t *globalIds, myScalar_t *coords, myScalar_t *weights, int &nFail) |
int | main (int narg, char *arg[]) |
typedef Tpetra::Map myMap_t |
Definition at line 60 of file fix4785.cpp.
typedef myMap_t::local_ordinal_type myLocalId_t |
Definition at line 61 of file fix4785.cpp.
typedef myMap_t::global_ordinal_type myGlobalId_t |
Definition at line 62 of file fix4785.cpp.
typedef double myScalar_t |
Definition at line 63 of file fix4785.cpp.
void copyArrays | ( | size_t | n, |
A *& | a, | ||
B * | b | ||
) |
Definition at line 67 of file fix4785.cpp.
void copyArrays | ( | size_t | n, |
A *& | a, | ||
A * | b | ||
) |
Definition at line 74 of file fix4785.cpp.
void freeArrays | ( | A *& | a, |
B * | b | ||
) |
Definition at line 81 of file fix4785.cpp.
void freeArrays | ( | A *& | a, |
A * | b | ||
) |
Definition at line 87 of file fix4785.cpp.
void test_no_weights | ( | const Teuchos::RCP< const Teuchos::Comm< int > > & | comm, |
Teuchos::ParameterList & | params, | ||
size_t | localCount, | ||
myGlobalId_t * | globalIds, | ||
myScalar_t * | coords, | ||
int & | nFail | ||
) |
Definition at line 93 of file fix4785.cpp.
void test_weights | ( | const Teuchos::RCP< const Teuchos::Comm< int > > & | comm, |
Teuchos::ParameterList & | params, | ||
size_t | localCount, | ||
myGlobalId_t * | globalIds, | ||
myScalar_t * | coords, | ||
myScalar_t * | weights, | ||
int & | nFail | ||
) |
Definition at line 139 of file fix4785.cpp.
int main | ( | int | narg, |
char * | arg[] | ||
) |
Definition at line 195 of file fix4785.cpp.