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 |
Functor partitioning an arbitrary mesh by projecting its cells on axes and then calling a 1D balanced partitioner.
Dim | mesh dimension. |
NumProjection | number of projections for partitioning. |
Precision | type of mesh vertex coordinates. |
stapl::arbitrary_mesh_collapser< Dim, NumProjection, Precision >::arbitrary_mesh_collapser | ( | num_part_type const & | num_partitions, |
axis_type const & | axis | ||
) |
num_partitions | tuple of numbers of partitions in each dimension. |
axis | tuple of axes for projections (one axis per dimension). |
gpartition<GView> stapl::arbitrary_mesh_collapser< Dim, NumProjection, Precision >::operator() | ( | GView const & | graph_vw | ) | const |
graph_vw | mesh view to be partitioned. |