Zoltan2
Loading...
Searching...
No Matches
rcbTest.cpp File Reference
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 narg, char *arg[])

Typedef Documentation

◆ tMVector_t

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

Definition at line 25 of file rcbTest.cpp.

◆ myTypes_t

Definition at line 26 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 37 of file rcbTest.cpp.

◆ serialTest()

void serialTest ( int numParts,
bool doRemap )

Definition at line 86 of file rcbTest.cpp.

◆ meshCoordinatesTest()

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

Definition at line 127 of file rcbTest.cpp.

◆ main()

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

Definition at line 160 of file rcbTest.cpp.