concepts::IndexRange Struct Reference
Class for a range of global indices. More...
#include <space.hh>
Public Member Functions | |
uint | dim () const |
Number of indices. More... | |
IndexRange () | |
Default constructor. More... | |
IndexRange (uint idx) | |
Constructor, where is only on index assigned. More... | |
IndexRange (uint idxBegin, uint idxEnd) | |
Constructor for several successive indices. More... | |
std::set< uint > | operator() () |
Returns a set of the indices. More... | |
bool | operator< (const IndexRange &i) const |
Comparison of beginning indices. More... | |
IndexRange & | operator= (const IndexRange &i) |
Assigment operator. More... | |
IndexRange & | operator= (IndexRange &i) |
IndexRange & | operator= (uint i) |
Assigment operator. More... | |
bool | operator== (const IndexRange &i) const |
Comparison. More... | |
bool | operator== (uint i) const |
Comparison with beginning index. More... | |
Public Attributes | |
uint | idx_ [2] |
Begin and end of a unique range of indices of element. More... | |
Detailed Description
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.
Constructor & Destructor Documentation
◆ IndexRange() [1/3]
|
inline |
◆ IndexRange() [2/3]
concepts::IndexRange::IndexRange | ( | uint | idx | ) |
Constructor, where is only on index assigned.
◆ IndexRange() [3/3]
concepts::IndexRange::IndexRange | ( | uint | idxBegin, |
uint | idxEnd | ||
) |
Constructor for several successive indices.
Member Function Documentation
◆ dim()
|
inline |
◆ operator()()
std::set<uint> concepts::IndexRange::operator() | ( | ) |
Returns a set of the indices.
◆ operator<()
bool concepts::IndexRange::operator< | ( | const IndexRange & | i | ) | const |
Comparison of beginning indices.
◆ operator=() [1/3]
IndexRange& concepts::IndexRange::operator= | ( | const IndexRange & | i | ) |
Assigment operator.
◆ operator=() [2/3]
IndexRange& concepts::IndexRange::operator= | ( | IndexRange & | i | ) |
◆ operator=() [3/3]
IndexRange& concepts::IndexRange::operator= | ( | uint | i | ) |
Assigment operator.
◆ operator==() [1/2]
bool concepts::IndexRange::operator== | ( | const IndexRange & | i | ) | const |
Comparison.
◆ operator==() [2/2]
bool concepts::IndexRange::operator== | ( | uint | i | ) | const |
Comparison with beginning index.
Member Data Documentation
◆ idx_
uint concepts::IndexRange::idx_[2] |
The documentation for this struct was generated from the following file:
- space/space.hh