Zoltan2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Typedefs | Enumerations | Functions
rcbPerformance.cpp File Reference

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>
Include dependency graph for rcbPerformance.cpp:

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_tmakeWeights (const RCP< const Teuchos::Comm< int > > &comm, zlno_t len, weightTypes how, zscalar_t scale, int rank)
 
const RCP< tMVector_tgetMeshCoordinates (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[])
 

Detailed Description

A test that can do large scale problems and time them.

Geometry is a uniform mesh.

Definition in file rcbPerformance.cpp.

Typedef Documentation

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

Definition at line 34 of file rcbPerformance.cpp.

typedef Tpetra::Map<zlno_t, zgno_t, znode_t> tMap_t

Definition at line 35 of file rcbPerformance.cpp.

Enumeration Type Documentation

Enumerator
upDown 
roundRobin 
increasing 
numWeightTypes 
upDown 
roundRobin 
increasing 
numWeightTypes 
upDown 
roundRobin 
increasing 
numWeightTypes 

Definition at line 37 of file rcbPerformance.cpp.

Function Documentation

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.