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

#include <single_predicates.h>

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

Public Member Functions

 bid (boundary_id_type bid, const BoundaryInfo &bndry_info)
virtual ~bid ()
virtual bool operator() (const T &it) const libmesh_override

Protected Member Functions

virtual predicate< T > * clone () const libmesh_override

Protected Attributes

const boundary_id_type _bid
const BoundaryInfo_bndry_info

Detailed Description

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

has_boundary_id(node, id).

Definition at line 199 of file single_predicates.h.

Constructor & Destructor Documentation

template<typename T>
libMesh::Predicates::bid< T >::bid ( boundary_id_type  bid,
const BoundaryInfo bndry_info 

Definition at line 201 of file single_predicates.h.

202  :
203  _bid(bid),
204  _bndry_info(bndry_info)
205  {}
bid(boundary_id_type bid, const BoundaryInfo &bndry_info)
const boundary_id_type _bid
const BoundaryInfo & _bndry_info
template<typename T>
virtual libMesh::Predicates::bid< T >::~bid ( )

Definition at line 206 of file single_predicates.h.

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

206 {}

Member Function Documentation

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

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

Definition at line 212 of file single_predicates.h.

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

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

Definition at line 34 of file single_predicates.C.

35 {
36  return _bndry_info.has_boundary_id(*it, _bid);
37 }
const boundary_id_type _bid
bool has_boundary_id(const Node *const node, const boundary_id_type id) const
const BoundaryInfo & _bndry_info

Member Data Documentation

template<typename T>
const boundary_id_type libMesh::Predicates::bid< T >::_bid

Definition at line 213 of file single_predicates.h.

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

Definition at line 214 of file single_predicates.h.

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