libMesh::Predicates::subdomain< T > Struct Template Reference

#include <single_predicates.h>

Inheritance diagram for libMesh::Predicates::subdomain< T >:

Public Member Functions

 subdomain (const subdomain_id_type sid)
 
virtual ~subdomain ()
 
virtual bool operator() (const T &it) const
 

Protected Member Functions

virtual predicate< T > * clone () const
 

Protected Attributes

const subdomain_id_type _subdomain
 

Detailed Description

template<typename T>
struct libMesh::Predicates::subdomain< T >

Definition at line 280 of file single_predicates.h.

Constructor & Destructor Documentation

template<typename T>
libMesh::Predicates::subdomain< T >::subdomain ( const subdomain_id_type  sid)
inline

Definition at line 283 of file single_predicates.h.

283 : _subdomain(sid) {}
template<typename T>
virtual libMesh::Predicates::subdomain< T >::~subdomain ( )
inlinevirtual

Definition at line 284 of file single_predicates.h.

284 {}

Member Function Documentation

template<typename T>
virtual predicate<T>* libMesh::Predicates::subdomain< T >::clone ( ) const
inlineprotectedvirtual

Implements libMesh::Predicates::predicate< T >.

Definition at line 290 of file single_predicates.h.

290 { return new subdomain<T>(*this); }
template<typename T>
virtual bool libMesh::Predicates::subdomain< T >::operator() ( const T &  it) const
inlinevirtual

Implements libMesh::Predicates::predicate< T >.

Definition at line 287 of file single_predicates.h.

References libMesh::Predicates::subdomain< T >::_subdomain.

287 { return (*it)->subdomain_id() == _subdomain; }

Member Data Documentation

template<typename T>
const subdomain_id_type libMesh::Predicates::subdomain< T >::_subdomain
protected

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

Site Created By: libMesh Developers
Last modified: February 07 2014 16:58:02 UTC

Hosted By:
SourceForge.net Logo