![]() |
deal.II version GIT relicensing-6846-gd1ccc50c04 2026-10-05 21:50:01+00:00
|
#include <deal.II/grid/filtered_iterator.h>
Filter for iterators that evaluates to true if either the iterator is past the end or the subdomain id of the object pointed to is equal to a value given to the constructor, assuming that the iterator allows querying for a subdomain id.
Definition at line 155 of file filtered_iterator.h.
Public Member Functions | |
| SubdomainEqualTo (const types::subdomain_id subdomain_id) | |
| template<class Iterator > | |
| bool | operator() (const Iterator &i) const |
Protected Attributes | |
| const types::subdomain_id | subdomain_id |
|
inline |
Constructor. Store the subdomain which iterators shall have to be evaluated to true.
Definition at line 1412 of file filtered_iterator.h.
|
inline |
Evaluation operator. Returns true if either the subdomain of the object pointed to is equal to the stored value or the iterator is past the end.
Definition at line 1421 of file filtered_iterator.h.
|
protected |
Stored value to compare the subdomain with.
Definition at line 177 of file filtered_iterator.h.