rcbPerformance with Zoltan1
More...
#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 <Kokkos_DefaultNode.hpp>
#include <GeometricGenerator.hpp>
#include <vector>
#include <string>
#include <ostream>
#include <sstream>
#include <fstream>
Go to the source code of this file.
|
| 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[]) |
| |
rcbPerformance with Zoltan1
Geometry is a uniform mesh.
Definition in file scaling/rcbPerformanceZ1.cpp.
◆ MEMORY_CHECK
| #define MEMORY_CHECK |
( |
|
iPrint, |
|
|
|
msg |
|
) |
| |
Value: if (iPrint){ \
std::cout.width(10); \
std::cout.fill('*'); \
std::cout << kb << " KB, " << msg << std::endl; \
std::cout.width(0); \
std::cout.fill(' '); \
}
long getProcessKilobytes()
Definition at line 56 of file scaling/rcbPerformanceZ1.cpp.
◆ tMVector_t
◆ tMap_t
◆ znode_t
◆ DOTS
◆ weightTypes
◆ trim_right_copy()
| string trim_right_copy |
( |
const string & |
s, |
|
|
const string & |
delimiters = " \f\n\r\t\v" |
|
) |
| |
◆ trim_left_copy()
| string trim_left_copy |
( |
const string & |
s, |
|
|
const string & |
delimiters = " \f\n\r\t\v" |
|
) |
| |
◆ trim_copy()
| string trim_copy |
( |
const string & |
s, |
|
|
const string & |
delimiters = " \f\n\r\t\v" |
|
) |
| |
◆ readGeoGenParams()
| void readGeoGenParams |
( |
string |
paramFileName, |
|
|
Teuchos::ParameterList & |
geoparams, |
|
|
const RCP< const Teuchos::Comm< int > > & |
comm |
|
) |
| |
◆ getNumObj()
| int getNumObj |
( |
void * |
data, |
|
|
int * |
ierr |
|
) |
| |
◆ getDim()
| int getDim |
( |
void * |
data, |
|
|
int * |
ierr |
|
) |
| |
◆ getObjList()
| void getObjList |
( |
void * |
data, |
|
|
int |
numGid, |
|
|
int |
numLid, |
|
|
ZOLTAN_ID_PTR |
gids, |
|
|
ZOLTAN_ID_PTR |
lids, |
|
|
int |
num_wgts, |
|
|
float * |
obj_wgts, |
|
|
int * |
ierr |
|
) |
| |
◆ getCoords()
| void getCoords |
( |
void * |
data, |
|
|
int |
numGid, |
|
|
int |
numLid, |
|
|
int |
numObj, |
|
|
ZOLTAN_ID_PTR |
gids, |
|
|
ZOLTAN_ID_PTR |
lids, |
|
|
int |
dim, |
|
|
double * |
coords, |
|
|
int * |
ierr |
|
) |
| |
◆ makeWeights()
| void makeWeights |
( |
const RCP< const Teuchos::Comm< int > > & |
comm, |
|
|
vector< float > & |
wgts, |
|
|
weightTypes |
how, |
|
|
float |
scale, |
|
|
int |
rank |
|
) |
| |
◆ makeMeshCoordinates()
| tMVector_t * makeMeshCoordinates |
( |
const RCP< const Teuchos::Comm< int > > & |
comm, |
|
|
zgno_t |
numGlobalCoords |
|
) |
| |
◆ main()
| int main |
( |
int |
narg, |
|
|
char * |
arg[] |
|
) |
| |
◆ param_comment
| const char param_comment = '#' |