Zoltan2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Typedefs | Functions
rcbTest.cpp File Reference
#include <Zoltan2_config.h>
#include <Zoltan2_TestHelpers.hpp>
#include <Zoltan2_BasicVectorAdapter.hpp>
#include <Zoltan2_XpetraMultiVectorAdapter.hpp>
#include <Zoltan2_PartitioningSolution.hpp>
#include <Zoltan2_PartitioningProblem.hpp>
Include dependency graph for rcbTest.cpp:

Go to the source code of this file.

Typedefs

typedef Tpetra::MultiVector
< zscalar_t, zlno_t, zgno_t,
znode_t
tMVector_t
 
typedef
Zoltan2::BasicUserTypes
< zscalar_t, zlno_t, zgno_t
myTypes_t
 

Functions

void testFromDataFile (const RCP< const Teuchos::Comm< int > > &comm, int nParts, string &filename, bool doRemap)
 
void serialTest (int numParts, bool doRemap)
 
void meshCoordinatesTest (const RCP< const Teuchos::Comm< int > > &comm)
 
int main (int narg, char *arg[])
 

Typedef Documentation

typedef Tpetra::MultiVector<zscalar_t, zlno_t, zgno_t, znode_t> tMVector_t

Definition at line 25 of file rcbTest.cpp.

Definition at line 26 of file rcbTest.cpp.

Function Documentation

void testFromDataFile ( const RCP< const Teuchos::Comm< int > > &  comm,
int  nParts,
string &  filename,
bool  doRemap 
)
Test:
rcbTest.cpp An example of the use of the RCB algorithm to partition coordinate data.
Todo:

error handling

write some examples that don't use teuchos

check the solution, visualize it somehow

Definition at line 37 of file rcbTest.cpp.

void serialTest ( int  numParts,
bool  doRemap 
)

Definition at line 86 of file rcbTest.cpp.

void meshCoordinatesTest ( const RCP< const Teuchos::Comm< int > > &  comm)

Definition at line 127 of file rcbTest.cpp.

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

Definition at line 160 of file rcbTest.cpp.