Reference documentation for deal.II version 9.2.0
|
Public Member Functions | |
Range () | |
Range (const size_type i1, const size_type i2) | |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
Static Public Member Functions | |
static bool | end_compare (const IndexSet::Range &x, const IndexSet::Range &y) |
static bool | nth_index_compare (const IndexSet::Range &x, const IndexSet::Range &y) |
static std::size_t | memory_consumption () |
Public Attributes | |
size_type | begin |
size_type | end |
size_type | nth_index_in_set |
Friends | |
bool | operator< (const Range &range_1, const Range &range_2) |
bool | operator== (const Range &range_1, const Range &range_2) |
A type that denotes the half open index range [begin,end)
.
The nth_index_in_set denotes the how many-th index within this IndexSet the first element of the current range is. This information is only accurate if IndexSet::compress() has been called after the last insertion.
Definition at line 877 of file index_set.h.
|
inline |
Default constructor. Since there is no useful choice for a default constructed interval, this constructor simply creates something that resembles an invalid range. We need this constructor for serialization purposes, but the invalid range should be filled with something read from the archive before it is used, so we should hopefully never get to see an invalid range in the wild.
Definition at line 1448 of file index_set.h.
Constructor. Create a half-open interval with the given indices.
i1 | Left end point of the interval. |
i2 | First index greater than the last index of the indicated range. |
Definition at line 1456 of file index_set.h.
|
inlinestatic |
Definition at line 912 of file index_set.h.
|
inlinestatic |
Definition at line 918 of file index_set.h.
|
inlinestatic |
Definition at line 931 of file index_set.h.
|
inline |
Write or read the data of this object to or from a stream for the purpose of serialization
Definition at line 2038 of file index_set.h.
Definition at line 904 of file index_set.h.
Definition at line 925 of file index_set.h.
size_type IndexSet::Range::begin |
Definition at line 879 of file index_set.h.
size_type IndexSet::Range::end |
Definition at line 880 of file index_set.h.
size_type IndexSet::Range::nth_index_in_set |
Definition at line 882 of file index_set.h.