Zoltan2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Typedefs | Functions
fix4785.cpp File Reference
#include <Zoltan2_PartitioningSolution.hpp>
#include <Zoltan2_PartitioningProblem.hpp>
#include <Zoltan2_BasicVectorAdapter.hpp>
#include <Zoltan2_InputTraits.hpp>
#include <Tpetra_Map.hpp>
#include <vector>
#include <cstdlib>
Include dependency graph for fix4785.cpp:

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 &params, size_t localCount, myGlobalId_t *globalIds, myScalar_t *coords, int &nFail)
 
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)
 
int main (int narg, char *arg[])
 

Typedef Documentation

typedef Tpetra::Map myMap_t

Definition at line 24 of file fix4785.cpp.

typedef myMap_t::local_ordinal_type myLocalId_t

Definition at line 25 of file fix4785.cpp.

typedef myMap_t::global_ordinal_type myGlobalId_t

Definition at line 26 of file fix4785.cpp.

typedef double myScalar_t

Definition at line 27 of file fix4785.cpp.

Function Documentation

template<typename A , typename B >
void copyArrays ( size_t  n,
A *&  a,
B *  b 
)

Definition at line 31 of file fix4785.cpp.

template<typename A , typename B >
void copyArrays ( size_t  n,
A *&  a,
A *  b 
)

Definition at line 38 of file fix4785.cpp.

template<typename A , typename B >
void freeArrays ( A *&  a,
B *  b 
)

Definition at line 45 of file fix4785.cpp.

template<typename A , typename B >
void freeArrays ( A *&  a,
A *  b 
)

Definition at line 51 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 57 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 106 of file fix4785.cpp.

int main ( int  narg,
char *  arg[] 
)

Definition at line 165 of file fix4785.cpp.