Zoltan2
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_ttMVector_t
 
typedef Zoltan2::BasicUserTypes< zscalar_t, zlno_t, zgno_tmyTypes_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 argc, char *argv[])
 

Typedef Documentation

◆ tMVector_t

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

Definition at line 62 of file rcbTest.cpp.

◆ myTypes_t

Definition at line 63 of file rcbTest.cpp.

Function Documentation

◆ testFromDataFile()

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 74 of file rcbTest.cpp.

◆ serialTest()

void serialTest ( int  numParts,
bool  doRemap 
)

Definition at line 123 of file rcbTest.cpp.

◆ meshCoordinatesTest()

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

Definition at line 164 of file rcbTest.cpp.

◆ main()

int main ( int  argc,
char *  argv[] 
)

Definition at line 197 of file rcbTest.cpp.