Zoltan2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | List of all members
GeometricGen::GeometricGenerator< scalar_t, lno_t, gno_t, node_t > Class Template Reference

#include <GeometricGenerator.hpp>

Public Member Functions

 ~GeometricGenerator ()
 
void print_description ()
 
 GeometricGenerator (Teuchos::ParameterList &params, const RCP< const Teuchos::Comm< int > > &comm_)
 
void perturb_data (float used_perturbation_ratio, int scale)
 
Start perturbation function##########################//
More...
 
void getBestSurface (int remaining, int *dimProcs, int dim, int currentDim, int &bestSurface, int *bestDimProcs)
 
Start Predistribution functions######################//
More...
 
void getMinMaxCoords (scalar_t *globalMaxCoords, scalar_t *globalMinCoords)
 
void blockPartition (int *coordinate_grid_parts)
 
void distribute_points (int *coordinate_grid_parts)
 
int predistributeMJ (int *coordinate_grid_parts)
 
int predistributeRCB (int *coordinate_grid_parts)
 
void redistribute ()
 
int getNumWeights ()
 
##END Predistribution functions######################//
More...
 
int getCoordinateDimension ()
 
lno_t getNumLocalCoords ()
 
gno_t getNumGlobalCoords ()
 
scalar_t ** getLocalCoordinatesView ()
 
scalar_t ** getLocalWeightsView ()
 
void getLocalCoordinatesCopy (scalar_t **c)
 
void getLocalWeightsCopy (scalar_t **w)
 

Detailed Description

template<typename scalar_t, typename lno_t, typename gno_t, typename node_t>
class GeometricGen::GeometricGenerator< scalar_t, lno_t, gno_t, node_t >

Definition at line 857 of file GeometricGenerator.hpp.

Constructor & Destructor Documentation

template<typename scalar_t, typename lno_t, typename gno_t, typename node_t>
GeometricGen::GeometricGenerator< scalar_t, lno_t, gno_t, node_t >::~GeometricGenerator ( )
inline

Definition at line 1492 of file GeometricGenerator.hpp.

template<typename scalar_t, typename lno_t, typename gno_t, typename node_t>
GeometricGen::GeometricGenerator< scalar_t, lno_t, gno_t, node_t >::GeometricGenerator ( Teuchos::ParameterList &  params,
const RCP< const Teuchos::Comm< int > > &  comm_ 
)
inline

Definition at line 1570 of file GeometricGenerator.hpp.

Member Function Documentation

template<typename scalar_t, typename lno_t, typename gno_t, typename node_t>
void GeometricGen::GeometricGenerator< scalar_t, lno_t, gno_t, node_t >::print_description ( )
inline

Definition at line 1530 of file GeometricGenerator.hpp.

template<typename scalar_t, typename lno_t, typename gno_t, typename node_t>
void GeometricGen::GeometricGenerator< scalar_t, lno_t, gno_t, node_t >::perturb_data ( float  used_perturbation_ratio,
int  scale 
)
inline

Start perturbation function##########################//

Definition at line 1808 of file GeometricGenerator.hpp.

template<typename scalar_t, typename lno_t, typename gno_t, typename node_t>
void GeometricGen::GeometricGenerator< scalar_t, lno_t, gno_t, node_t >::getBestSurface ( int  remaining,
int *  dimProcs,
int  dim,
int  currentDim,
int &  bestSurface,
int *  bestDimProcs 
)
inline

Start Predistribution functions######################//

Definition at line 1851 of file GeometricGenerator.hpp.

template<typename scalar_t, typename lno_t, typename gno_t, typename node_t>
void GeometricGen::GeometricGenerator< scalar_t, lno_t, gno_t, node_t >::getMinMaxCoords ( scalar_t *  globalMaxCoords,
scalar_t *  globalMinCoords 
)
inline

Definition at line 1877 of file GeometricGenerator.hpp.

template<typename scalar_t, typename lno_t, typename gno_t, typename node_t>
void GeometricGen::GeometricGenerator< scalar_t, lno_t, gno_t, node_t >::blockPartition ( int *  coordinate_grid_parts)
inline

getting minimum and maximum coordinates for each dimension///

getting the best partitioning number along each dimension ///

getting the size of a slice along each dimension ///

############Initial part assignments ###############///
###Counting the num points in each part ###########///
Check the overloaded and underloaded parts #########///
Calculating##########################################//
*which processors ##################################///
*which overloaded parts elements should be converted///
*into which underloaded parts elements #############///
Perform actual conversion############################//

Definition at line 1911 of file GeometricGenerator.hpp.

template<typename scalar_t, typename lno_t, typename gno_t, typename node_t>
void GeometricGen::GeometricGenerator< scalar_t, lno_t, gno_t, node_t >::distribute_points ( int *  coordinate_grid_parts)
inline

Definition at line 2310 of file GeometricGenerator.hpp.

template<typename scalar_t, typename lno_t, typename gno_t, typename node_t>
int GeometricGen::GeometricGenerator< scalar_t, lno_t, gno_t, node_t >::predistributeMJ ( int *  coordinate_grid_parts)
inline

Definition at line 2340 of file GeometricGenerator.hpp.

template<typename scalar_t, typename lno_t, typename gno_t, typename node_t>
int GeometricGen::GeometricGenerator< scalar_t, lno_t, gno_t, node_t >::predistributeRCB ( int *  coordinate_grid_parts)
inline

Definition at line 2420 of file GeometricGenerator.hpp.

template<typename scalar_t, typename lno_t, typename gno_t, typename node_t>
void GeometricGen::GeometricGenerator< scalar_t, lno_t, gno_t, node_t >::redistribute ( )
inline

Definition at line 2605 of file GeometricGenerator.hpp.

template<typename scalar_t, typename lno_t, typename gno_t, typename node_t>
int GeometricGen::GeometricGenerator< scalar_t, lno_t, gno_t, node_t >::getNumWeights ( )
inline

##END Predistribution functions######################//

Definition at line 2632 of file GeometricGenerator.hpp.

template<typename scalar_t, typename lno_t, typename gno_t, typename node_t>
int GeometricGen::GeometricGenerator< scalar_t, lno_t, gno_t, node_t >::getCoordinateDimension ( )
inline

Definition at line 2635 of file GeometricGenerator.hpp.

template<typename scalar_t, typename lno_t, typename gno_t, typename node_t>
lno_t GeometricGen::GeometricGenerator< scalar_t, lno_t, gno_t, node_t >::getNumLocalCoords ( )
inline

Definition at line 2638 of file GeometricGenerator.hpp.

template<typename scalar_t, typename lno_t, typename gno_t, typename node_t>
gno_t GeometricGen::GeometricGenerator< scalar_t, lno_t, gno_t, node_t >::getNumGlobalCoords ( )
inline

Definition at line 2641 of file GeometricGenerator.hpp.

template<typename scalar_t, typename lno_t, typename gno_t, typename node_t>
scalar_t** GeometricGen::GeometricGenerator< scalar_t, lno_t, gno_t, node_t >::getLocalCoordinatesView ( )
inline

Definition at line 2645 of file GeometricGenerator.hpp.

template<typename scalar_t, typename lno_t, typename gno_t, typename node_t>
scalar_t** GeometricGen::GeometricGenerator< scalar_t, lno_t, gno_t, node_t >::getLocalWeightsView ( )
inline

Definition at line 2649 of file GeometricGenerator.hpp.

template<typename scalar_t, typename lno_t, typename gno_t, typename node_t>
void GeometricGen::GeometricGenerator< scalar_t, lno_t, gno_t, node_t >::getLocalCoordinatesCopy ( scalar_t **  c)
inline

Definition at line 2653 of file GeometricGenerator.hpp.

template<typename scalar_t, typename lno_t, typename gno_t, typename node_t>
void GeometricGen::GeometricGenerator< scalar_t, lno_t, gno_t, node_t >::getLocalWeightsCopy ( scalar_t **  w)
inline

Definition at line 2664 of file GeometricGenerator.hpp.


The documentation for this class was generated from the following file: