Zoltan2
Public Member Functions
GeometricGen::GeometricGenerator< scalar_t, lno_t, gno_t, node_t > Class Template Reference

#include <GeometricGenerator.hpp>

List of all members.

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##########################//
void getBestSurface (int remaining, int *dimProcs, int dim, int currentDim, int &bestSurface, int *bestDimProcs)
 ######Start Predistribution functions######################//
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)
void redistribute ()
int getNumWeights ()
 ########END Predistribution functions######################//
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 904 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 1553 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 1631 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 1591 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 1858 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 1901 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 1927 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 1961 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 2360 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 2391 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 2658 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 2687 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 2690 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 2693 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 2696 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 2700 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 2704 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 2708 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 2719 of file GeometricGenerator.hpp.


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