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 892 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 1527 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 1605 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 1565 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 1843 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 1886 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 1912 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 1946 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 2345 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 2375 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 2455 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 2640 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 2667 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 2670 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 2673 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 2676 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 2680 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 2684 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 2688 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 2699 of file GeometricGenerator.hpp.


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