libMesh
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
libMesh::Predicates::bnd< T > Struct Template Reference

#include <single_predicates.h>

Inheritance diagram for libMesh::Predicates::bnd< T >:
[legend]

Public Member Functions

 bnd (const BoundaryInfo &bndry_info)
 
virtual ~bnd ()
 
virtual bool operator() (const T &it) const libmesh_override
 

Protected Member Functions

virtual predicate< T > * clone () const libmesh_override
 

Protected Attributes

const BoundaryInfo_bndry_info
 

Detailed Description

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

Returns
true if n_boundary_ids(node) > 0.

Definition at line 223 of file single_predicates.h.

Constructor & Destructor Documentation

template<typename T>
libMesh::Predicates::bnd< T >::bnd ( const BoundaryInfo bndry_info)

Definition at line 225 of file single_predicates.h.

225  :
226  _bndry_info(bndry_info)
227  {}
const BoundaryInfo & _bndry_info
template<typename T>
virtual libMesh::Predicates::bnd< T >::~bnd ( )
virtual

Definition at line 228 of file single_predicates.h.

References libMesh::Predicates::predicate< T >::operator()().

228 {}

Member Function Documentation

template<typename T>
virtual predicate<T>* libMesh::Predicates::bnd< T >::clone ( ) const
protectedvirtual

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

Definition at line 234 of file single_predicates.h.

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

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

Definition at line 43 of file single_predicates.C.

44 {
45  return (_bndry_info.n_boundary_ids(*it) > 0);
46 }
const BoundaryInfo & _bndry_info
std::size_t n_boundary_ids() const

Member Data Documentation

template<typename T>
const BoundaryInfo& libMesh::Predicates::bnd< T >::_bndry_info
protected

Definition at line 235 of file single_predicates.h.


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