Reference documentation for deal.II version 9.5.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
Public Member Functions | Protected Attributes | List of all members
IteratorFilters::ManifoldIdEqualTo Class Reference

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

Public Member Functions

 ManifoldIdEqualTo (const types::manifold_id manifold_id)
 
 ManifoldIdEqualTo (const std::set< types::manifold_id > &manifold_ids)
 
template<class Iterator >
bool operator() (const Iterator &i) const
 

Protected Attributes

const std::set< types::manifold_idmanifold_ids
 

Detailed Description

Filter for iterators that evaluates to true if the iterator of the object pointed to is equal to a value or set of values given to the constructor, assuming that the iterator allows querying for a manifold id.

Definition at line 383 of file filtered_iterator.h.

Constructor & Destructor Documentation

◆ ManifoldIdEqualTo() [1/2]

IteratorFilters::ManifoldIdEqualTo::ManifoldIdEqualTo ( const types::manifold_id  manifold_id)
inline

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

Definition at line 1573 of file filtered_iterator.h.

◆ ManifoldIdEqualTo() [2/2]

IteratorFilters::ManifoldIdEqualTo::ManifoldIdEqualTo ( const std::set< types::manifold_id > &  manifold_ids)
inline

Constructor. Store a collection of boundary ids which iterators shall have to be evaluated to true.

Definition at line 1580 of file filtered_iterator.h.

Member Function Documentation

◆ operator()()

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

Evaluation operator. Returns true if the boundary id of the object pointed to is equal within the stored set of value allowable values.

Definition at line 1589 of file filtered_iterator.h.

Member Data Documentation

◆ manifold_ids

const std::set<types::manifold_id> IteratorFilters::ManifoldIdEqualTo::manifold_ids
protected

Stored value to compare the material id with.

Definition at line 410 of file filtered_iterator.h.


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