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

Collapser decomposing a regular mesh into decomp partitions. More...

Public Member Functions

 spatial_decomposition (tuple_type const &decomp)
 
template<class GView >
gpartition< GView > operator() (GView const &graph_vw) const
 

Public Types

typedef size_tuple< Dim >::type tuple_type
 

Detailed Description

template<int Dim>
struct stapl::spatial_decomposition< Dim >

Collapser decomposing a regular mesh into decomp partitions.

Constructor & Destructor Documentation

◆ spatial_decomposition()

template<int Dim>
stapl::spatial_decomposition< Dim >::spatial_decomposition ( tuple_type const &  decomp)
Parameters
decompnumber of partitions in each dimension.

Member Function Documentation

◆ operator()()

template<int Dim>
template<class GView >
gpartition<GView> stapl::spatial_decomposition< Dim >::operator() ( GView const &  graph_vw) const
Parameters
graph_vwregular mesh view.
Returns
partition object.

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