Zoltan2
|
A test that can do large scale problems and time them. More...
#include <Zoltan2_TestHelpers.hpp>
#include <Zoltan2_BasicVectorAdapter.hpp>
#include <Zoltan2_PartitioningSolution.hpp>
#include <Zoltan2_PartitioningProblem.hpp>
#include <Teuchos_CommandLineProcessor.hpp>
#include <vector>
Go to the source code of this file.
Typedefs | |
typedef Tpetra::MultiVector < zscalar_t, zlno_t, zgno_t, znode_t > | tMVector_t |
typedef Tpetra::Map< zlno_t, zgno_t, znode_t > | tMap_t |
Enumerations | |
enum | weightTypes { upDown, roundRobin, increasing, numWeightTypes, upDown, roundRobin, increasing, numWeightTypes, upDown, roundRobin, increasing, numWeightTypes } |
Functions | |
ArrayRCP< zscalar_t > | makeWeights (const RCP< const Teuchos::Comm< int > > &comm, zlno_t len, weightTypes how, zscalar_t scale, int rank) |
const RCP< tMVector_t > | getMeshCoordinates (const RCP< const Teuchos::Comm< int > > &comm, zgno_t numGlobalCoords) |
Create a mesh of approximately the desired size. More... | |
int | main (int narg, char *arg[]) |
A test that can do large scale problems and time them.
Geometry is a uniform mesh.
Definition in file rcbPerformance.cpp.
typedef Tpetra::MultiVector<zscalar_t, zlno_t, zgno_t, znode_t> tMVector_t |
Definition at line 34 of file rcbPerformance.cpp.
Definition at line 35 of file rcbPerformance.cpp.
enum weightTypes |
Enumerator | |
---|---|
upDown | |
roundRobin | |
increasing | |
numWeightTypes | |
upDown | |
roundRobin | |
increasing | |
numWeightTypes | |
upDown | |
roundRobin | |
increasing | |
numWeightTypes |
Definition at line 37 of file rcbPerformance.cpp.
ArrayRCP<zscalar_t> makeWeights | ( | const RCP< const Teuchos::Comm< int > > & | comm, |
zlno_t | len, | ||
weightTypes | how, | ||
zscalar_t | scale, | ||
int | rank | ||
) |
Definition at line 44 of file rcbPerformance.cpp.
const RCP<tMVector_t> getMeshCoordinates | ( | const RCP< const Teuchos::Comm< int > > & | comm, |
zgno_t | numGlobalCoords | ||
) |
Create a mesh of approximately the desired size.
We want 3 dimensions close to equal in length.
Definition at line 79 of file rcbPerformance.cpp.
int main | ( | int | narg, |
char * | arg[] | ||
) |
Definition at line 216 of file rcbPerformance.cpp.