STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
List of all members | Public Member Functions | Public Types
stapl::arbitrary_mesh_collapser< Dim, NumProjection, Precision > Class Template Reference

Functor partitioning an arbitrary mesh by projecting its cells on axes and then calling a 1D balanced partitioner. More...

Public Member Functions

 arbitrary_mesh_collapser (num_part_type const &num_partitions, axis_type const &axis)
 
template<class GView >
gpartition< GView > operator() (GView const &graph_vw) const
 

Public Types

typedef decomposition_tuple_type< Dim, NumProjection, Precision >::num_part_type num_part_type
 
typedef decomposition_tuple_type< Dim, NumProjection, Precision >::axis_type axis_type
 
typedef decomposition_tuple_type< Dim, NumProjection, Precision >::domain_tuple_type domain_tuple_type
 
typedef domset1D< size_t > domain_type
 
typedef geom_vector< Dim, Precision >::element_type element_type
 
typedef std::pair< element_type, size_t > projection_pair_type
 

Detailed Description

template<int Dim, int NumProjection, typename Precision = double>
class stapl::arbitrary_mesh_collapser< Dim, NumProjection, Precision >

Functor partitioning an arbitrary mesh by projecting its cells on axes and then calling a 1D balanced partitioner.

Template Parameters
Dimmesh dimension.
NumProjectionnumber of projections for partitioning.
Precisiontype of mesh vertex coordinates.

Constructor & Destructor Documentation

◆ arbitrary_mesh_collapser()

template<int Dim, int NumProjection, typename Precision = double>
stapl::arbitrary_mesh_collapser< Dim, NumProjection, Precision >::arbitrary_mesh_collapser ( num_part_type const &  num_partitions,
axis_type const &  axis 
)
Parameters
num_partitionstuple of numbers of partitions in each dimension.
axistuple of axes for projections (one axis per dimension).

Member Function Documentation

◆ operator()()

template<int Dim, int NumProjection, typename Precision = double>
template<class GView >
gpartition<GView> stapl::arbitrary_mesh_collapser< Dim, NumProjection, Precision >::operator() ( GView const &  graph_vw) const
Parameters
graph_vwmesh view to be partitioned.

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