Class for a range of global indices. More...
#include <space.hh>
Public Member Functions | |
| uint | dim () const |
| Number of indices. | |
| IndexRange () | |
| Default constructor. | |
| IndexRange (uint idx) | |
| Constructor, where is only on index assigned. | |
| IndexRange (uint idxBegin, uint idxEnd) | |
| Constructor for several successive indices. | |
| std::set< uint > | operator() () |
| Returns a set of the indices. | |
| bool | operator< (const IndexRange &i) const |
| Comparison of beginning indices. | |
| IndexRange & | operator= (IndexRange &i) |
| IndexRange & | operator= (uint i) |
| Assigment operator. | |
| IndexRange & | operator= (const IndexRange &i) |
| Assigment operator. | |
| bool | operator== (const IndexRange &i) const |
| Comparison. | |
| bool | operator== (uint i) const |
| Comparison with beginning index. | |
Public Attributes | |
| uint | idx_ [2] |
| Begin and end of a unique range of indices of element. | |
Class for a range of global indices.
Basis functions assigned to an edge, face or cell get successive indices. The number of basis functions per entity differs from the particular elements, and wouldn't be ascertainable from assigned polynomial degree alone.
| concepts::IndexRange::IndexRange | ( | ) | [inline] |
| concepts::IndexRange::IndexRange | ( | uint | idx | ) |
Constructor, where is only on index assigned.
| concepts::IndexRange::IndexRange | ( | uint | idxBegin, |
| uint | idxEnd | ||
| ) |
Constructor for several successive indices.
| uint concepts::IndexRange::dim | ( | ) | const [inline] |
| std::set<uint> concepts::IndexRange::operator() | ( | ) |
Returns a set of the indices.
| bool concepts::IndexRange::operator< | ( | const IndexRange & | i | ) | const |
Comparison of beginning indices.
| IndexRange& concepts::IndexRange::operator= | ( | IndexRange & | i | ) |
| IndexRange& concepts::IndexRange::operator= | ( | uint | i | ) |
Assigment operator.
| IndexRange& concepts::IndexRange::operator= | ( | const IndexRange & | i | ) |
Assigment operator.
| bool concepts::IndexRange::operator== | ( | const IndexRange & | i | ) | const |
Comparison.
| bool concepts::IndexRange::operator== | ( | uint | i | ) | const |
Comparison with beginning index.
| uint concepts::IndexRange::idx_[2] |