Zoltan2
Loading...
Searching...
No Matches
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_ttMVector_t
 
typedef Tpetra::Map< zlno_t, zgno_t, znode_ttMap_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.
 
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

◆ tMVector_t

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

Definition at line 70 of file rcbPerformance.cpp.

◆ tMap_t

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

Definition at line 71 of file rcbPerformance.cpp.

Enumeration Type Documentation

◆ weightTypes

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

Definition at line 73 of file rcbPerformance.cpp.

Function Documentation

◆ makeWeights()

ArrayRCP< zscalar_t > makeWeights ( const RCP< const Teuchos::Comm< int > > &  comm,
zlno_t  len,
weightTypes  how,
zscalar_t  scale,
int  rank 
)

Definition at line 80 of file rcbPerformance.cpp.

◆ getMeshCoordinates()

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 115 of file rcbPerformance.cpp.

◆ main()

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

Definition at line 252 of file rcbPerformance.cpp.