Reference documentation for deal.II version 9.6.0
\(\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}}\) \(\newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=}\) \(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\) \(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
Loading...
Searching...
No Matches
IteratorFilters::LevelEqualTo Class Reference

#include <deal.II/grid/filtered_iterator.h>

Public Member Functions

 LevelEqualTo (const unsigned int level)
 
template<class Iterator >
bool operator() (const Iterator &i) const
 

Protected Attributes

const unsigned int level
 

Detailed Description

Filter for iterators that evaluates to true if either the iterator is past the end or the level of the object pointed to is equal to a value given to the constructor.

Definition at line 121 of file filtered_iterator.h.

Constructor & Destructor Documentation

◆ LevelEqualTo()

IteratorFilters::LevelEqualTo::LevelEqualTo ( const unsigned int level)
inline

Constructor. Store the level which iterators shall have to be evaluated to true.

Definition at line 1419 of file filtered_iterator.h.

Member Function Documentation

◆ operator()()

template<class Iterator >
bool IteratorFilters::LevelEqualTo::operator() ( const Iterator & i) const
inline

Evaluation operator. Returns true if either the level of the object pointed to is equal to the stored value or the iterator is past the end.

Definition at line 1427 of file filtered_iterator.h.

Member Data Documentation

◆ level

const unsigned int IteratorFilters::LevelEqualTo::level
protected

Stored value to compare the level with.

Definition at line 143 of file filtered_iterator.h.


The documentation for this class was generated from the following file: