Partition a domain representing a regular mesh. More...
Public Member Functions | |
| spatial_regular_domain_decompose (domain_type const &dom, tuple_type const &num_partitions) | |
| Default constructor. More... | |
| domain_type | operator[] (size_t idx) const |
| Take a partition index and return the corresponding partitioned domain. More... | |
| size_t | size () const |
Public Types | |
| typedef Dom | domain_type |
| typedef domain_type::gid_type | gid_type |
| typedef domain_type::tuple_type | tuple_type |
Partition a domain representing a regular mesh.
| Dom | regular mesh domain type. |
| stapl::spatial_regular_domain_decompose< Dom >::spatial_regular_domain_decompose | ( | domain_type const & | dom, |
| tuple_type const & | num_partitions | ||
| ) |
Default constructor.
| dom | regular mesh domain to partition. |
| num_partitions | number of partitions in each dimension. |
| domain_type stapl::spatial_regular_domain_decompose< Dom >::operator[] | ( | size_t | idx | ) | const |
Take a partition index and return the corresponding partitioned domain.
| idx | partition index |
1.8.13