IteratorFilters::SubdomainEqualTo Class Reference
[Iterators on mesh-like containers]

List of all members.

Public Member Functions

 SubdomainEqualTo (const unsigned int subdomain_id)
template<class Iterator >
bool operator() (const Iterator &i) const

Protected Attributes

const unsigned int subdomain_id


Detailed Description

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).

Constructor & Destructor Documentation

IteratorFilters::SubdomainEqualTo::SubdomainEqualTo ( const unsigned int  subdomain_id  )  [inline]

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


Member Function Documentation

template<class Iterator >
bool IteratorFilters::SubdomainEqualTo::operator() ( const Iterator &  i  )  const [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.

References subdomain_id.


Member Data Documentation

Stored value to compare the subdomain with.

Referenced by operator()().


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

deal.II documentation generated on Sat Aug 15 16:52:41 2009 by doxygen 1.5.9