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 902 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 1538 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 1616 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 1576 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 1849 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 1892 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 1918 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 1952 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 2351 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 2382 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 2462 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 2647 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 2674 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 2677 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 2680 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 2683 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 2687 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 2691 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 2695 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 2706 of file GeometricGenerator.hpp.


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