![]() |
Reference documentation for deal.II version GIT 29f9da0a34 2023-12-07 10:00:01+00:00
|
#include <deal.II/base/index_set.h>
Public Member Functions | |
IntervalAccessor (const IndexSet *idxset, const size_type range_idx) | |
IntervalAccessor (const IndexSet *idxset) | |
size_type | n_elements () const |
bool | is_valid () const |
ElementIterator | begin () const |
ElementIterator | end () const |
size_type | last () const |
Private Member Functions | |
IntervalAccessor (const IntervalAccessor &other) | |
IntervalAccessor & | operator= (const IntervalAccessor &other) |
bool | operator== (const IntervalAccessor &other) const |
bool | operator< (const IntervalAccessor &other) const |
void | advance () |
Private Attributes | |
const IndexSet * | index_set |
size_type | range_idx |
Friends | |
class | IntervalIterator |
Dereferencing an IntervalIterator will return a reference to an object of this type. It allows access to a contiguous interval \([a,b[\) (also called a range) of the IndexSet being iterated over.
Definition at line 654 of file index_set.h.
|
inline |
Construct a valid accessor given an IndexSet and the index range_idx
of the range to point to.
Definition at line 1202 of file index_set.h.
|
inlineexplicit |
Construct an invalid accessor for the IndexSet.
Definition at line 1214 of file index_set.h.
|
inlineprivate |
Private copy constructor.
Definition at line 1221 of file index_set.h.
|
inline |
Number of elements in this interval.
Definition at line 1233 of file index_set.h.
|
inline |
If true, we are pointing at a valid interval in the IndexSet.
Definition at line 1242 of file index_set.h.
|
inline |
Return an iterator pointing at the first index in this interval.
Definition at line 1250 of file index_set.h.
|
inline |
Return an iterator pointing directly after the last index in this interval.
Definition at line 1259 of file index_set.h.
|
inline |
Return the index of the last index in this interval.
Definition at line 1273 of file index_set.h.
|
inlineprivate |
Private copy operator.
Definition at line 1283 of file index_set.h.
|
inlineprivate |
Test for equality, used by IntervalIterator.
Definition at line 1295 of file index_set.h.
|
inlineprivate |
Smaller-than operator, used by IntervalIterator.
Definition at line 1306 of file index_set.h.
|
inlineprivate |
Advance this accessor to point to the next interval in the index_set
.
Definition at line 1319 of file index_set.h.
|
friend |
Definition at line 737 of file index_set.h.
|
private |
Reference to the IndexSet.
Definition at line 729 of file index_set.h.
|
private |
Index into index_set.ranges[]. Set to numbers::invalid_dof_index if invalid or the end iterator.
Definition at line 735 of file index_set.h.