|
Zoltan2
|
#include "Zoltan2_config.h"#include <zoltan.h>#include <Zoltan2_Util.hpp>#include <Teuchos_RCP.hpp>#include <Teuchos_ArrayView.hpp>#include <Teuchos_ParameterList.hpp>#include <Teuchos_DefaultComm.hpp>#include <Teuchos_Comm.hpp>#include <Teuchos_CommHelpers.hpp>#include <Zoltan2_TestHelpers.hpp>#include <Tpetra_MultiVector.hpp>#include <Tpetra_KokkosCompat_DefaultNode.hpp>#include <GeometricGenerator.hpp>#include <vector>#include <string>#include <ostream>#include <sstream>#include <fstream>
Go to the source code of this file.
Classes | |
| struct | dots |
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 |
| typedef tMap_t::node_type | znode_t |
| typedef struct dots | DOTS |
Enumerations | |
| enum | weightTypes { upDown, roundRobin, increasing, numWeightTypes, upDown, roundRobin, increasing, numWeightTypes, upDown, roundRobin, increasing, numWeightTypes } |
Functions | |
| string | trim_right_copy (const string &s, const string &delimiters=" \f\n\r\t\v") |
| string | trim_left_copy (const string &s, const string &delimiters=" \f\n\r\t\v") |
| string | trim_copy (const string &s, const string &delimiters=" \f\n\r\t\v") |
| void | readGeoGenParams (string paramFileName, Teuchos::ParameterList &geoparams, const RCP< const Teuchos::Comm< int > > &comm) |
| int | getNumObj (void *data, int *ierr) |
| int | getDim (void *data, int *ierr) |
| void | getObjList (void *data, int numGid, int numLid, ZOLTAN_ID_PTR gids, ZOLTAN_ID_PTR lids, int num_wgts, float *obj_wgts, int *ierr) |
| void | getCoords (void *data, int numGid, int numLid, int numObj, ZOLTAN_ID_PTR gids, ZOLTAN_ID_PTR lids, int dim, double *coords, int *ierr) |
| void | makeWeights (const RCP< const Teuchos::Comm< int > > &comm, vector< float > &wgts, weightTypes how, float scale, int rank) |
| tMVector_t * | makeMeshCoordinates (const RCP< const Teuchos::Comm< int > > &comm, zgno_t numGlobalCoords) |
| int | main (int narg, char *arg[]) |
Variables | |
| const char | param_comment = '#' |
| typedef Tpetra::MultiVector<zscalar_t, zlno_t, zgno_t, znode_t> tMVector_t |
Definition at line 47 of file scaling/rcbPerformanceZ1.cpp.
Definition at line 48 of file scaling/rcbPerformanceZ1.cpp.
| typedef tMap_t::node_type znode_t |
Definition at line 49 of file scaling/rcbPerformanceZ1.cpp.
| enum weightTypes |
| Enumerator | |
|---|---|
| upDown | |
| roundRobin | |
| increasing | |
| numWeightTypes | |
| upDown | |
| roundRobin | |
| increasing | |
| numWeightTypes | |
| upDown | |
| roundRobin | |
| increasing | |
| numWeightTypes | |
Definition at line 228 of file scaling/rcbPerformanceZ1.cpp.
| string trim_right_copy | ( | const string & | s, |
| const string & | delimiters = " \f\n\r\t\v" |
||
| ) |
Definition at line 60 of file scaling/rcbPerformanceZ1.cpp.
| string trim_left_copy | ( | const string & | s, |
| const string & | delimiters = " \f\n\r\t\v" |
||
| ) |
Definition at line 67 of file scaling/rcbPerformanceZ1.cpp.
| string trim_copy | ( | const string & | s, |
| const string & | delimiters = " \f\n\r\t\v" |
||
| ) |
Definition at line 74 of file scaling/rcbPerformanceZ1.cpp.
| void readGeoGenParams | ( | string | paramFileName, |
| Teuchos::ParameterList & | geoparams, | ||
| const RCP< const Teuchos::Comm< int > > & | comm | ||
| ) |
Definition at line 81 of file scaling/rcbPerformanceZ1.cpp.
| int getNumObj | ( | void * | data, |
| int * | ierr | ||
| ) |
Definition at line 148 of file scaling/rcbPerformanceZ1.cpp.
| int getDim | ( | void * | data, |
| int * | ierr | ||
| ) |
Definition at line 156 of file scaling/rcbPerformanceZ1.cpp.
| void getObjList | ( | void * | data, |
| int | numGid, | ||
| int | numLid, | ||
| ZOLTAN_ID_PTR | gids, | ||
| ZOLTAN_ID_PTR | lids, | ||
| int | num_wgts, | ||
| float * | obj_wgts, | ||
| int * | ierr | ||
| ) |
Definition at line 166 of file scaling/rcbPerformanceZ1.cpp.
| void getCoords | ( | void * | data, |
| int | numGid, | ||
| int | numLid, | ||
| int | numObj, | ||
| ZOLTAN_ID_PTR | gids, | ||
| ZOLTAN_ID_PTR | lids, | ||
| int | dim, | ||
| double * | coords, | ||
| int * | ierr | ||
| ) |
Definition at line 192 of file scaling/rcbPerformanceZ1.cpp.
| void makeWeights | ( | const RCP< const Teuchos::Comm< int > > & | comm, |
| vector< float > & | wgts, | ||
| weightTypes | how, | ||
| float | scale, | ||
| int | rank | ||
| ) |
Definition at line 235 of file scaling/rcbPerformanceZ1.cpp.
| tMVector_t* makeMeshCoordinates | ( | const RCP< const Teuchos::Comm< int > > & | comm, |
| zgno_t | numGlobalCoords | ||
| ) |
Definition at line 264 of file scaling/rcbPerformanceZ1.cpp.
| int main | ( | int | narg, |
| char * | arg[] | ||
| ) |
Definition at line 390 of file scaling/rcbPerformanceZ1.cpp.
| const char param_comment = '#' |
Definition at line 58 of file scaling/rcbPerformanceZ1.cpp.
1.8.5