Defines a one dimensional distributed domain for indexes that are not necessarily consecutive.
More...
|
| domainset1D (Distribution const &dist) |
|
| domainset1D (size_type size, bool is_cont_dom=true) |
|
| domainset1D (sparse_domain const &sparse_dom) |
|
| domainset1D (sparse_domain const &sparse_dom, Distribution *) |
|
| domainset1D (index_type const &first, index_type const &last, bool is_cont_dom=false) |
| Constructor used in view coarsening to construct subdomains.
|
|
| domainset1D (index_type const &first, index_type const &last, domainset1D const &dom) |
| Constructs a new domain by restricting the given domain (dom ) to be between first and last (included).
|
|
| domainset1D (indexed_domain< gid_type > const &dom) |
| Constructs a new domain by converting it from an existing indexed_domain.
|
|
index_type | first (void) const |
|
index_type | last (void) const |
|
index_type | open_last (void) const |
|
template<typename Distance > |
index_type | advance (index_type const &g, Distance n) const |
|
size_type | size (void) const |
|
size_type | dimensions (void) const |
|
size_type | local_size (void) const |
|
bool | contains (index_type const &g) const |
|
bool | empty (void) const |
|
size_type | distance (index_type const &a, index_type const &b) const |
|
domainset1D & | operator+= (index_type const &gid) |
| Adds the given gid to the domain.
|
|
domainset1D & | operator-= (index_type const &gid) |
| Removes the given gid from the domain.
|
|
bool | is_same_container_domain (void) const |
|
bool | is_contiguous (void) const |
|
domainset1D | operator & (domainset1D const &other) const |
|
sparse_domain const & | get_sparse_domain (void) const |
|
Distribution const * | get_distribution (void) const |
|
template<typename Distribution>
class stapl::domainset1D< Distribution >
Defines a one dimensional distributed domain for indexes that are not necessarily consecutive.
- Template Parameters
-
Distribution | Type of distribution used to support the methods. |