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

#include <single_predicates.h>

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

Public Member Functions

 evaluable (const DofMap &dof_map, unsigned int var_num)
 
virtual ~evaluable ()
 
virtual bool operator() (const T &it) const override
 

Protected Member Functions

virtual predicate< T > * clone () const override
 

Protected Attributes

const DofMap_dof_map
 
unsigned int _var_num
 

Detailed Description

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

Returns
true if the pointer (which must be a local element) has degrees of freedom which can be evaluated for the specified DofMap and variable.

Definition at line 475 of file single_predicates.h.

Constructor & Destructor Documentation

◆ evaluable()

template<typename T>
libMesh::Predicates::evaluable< T >::evaluable ( const DofMap dof_map,
unsigned int  var_num 
)

Definition at line 477 of file single_predicates.h.

478  :
479  _dof_map(dof_map), _var_num(var_num) {}

◆ ~evaluable()

template<typename T>
virtual libMesh::Predicates::evaluable< T >::~evaluable ( )
virtual

Definition at line 480 of file single_predicates.h.

480 {}

Member Function Documentation

◆ clone()

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

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

Definition at line 486 of file single_predicates.h.

486 { return new evaluable<T>(*this); }

◆ operator()()

template<typename T>
virtual bool libMesh::Predicates::evaluable< T >::operator() ( const T &  it) const
overridevirtual

Member Data Documentation

◆ _dof_map

template<typename T>
const DofMap& libMesh::Predicates::evaluable< T >::_dof_map
protected

Definition at line 487 of file single_predicates.h.

◆ _var_num

template<typename T>
unsigned int libMesh::Predicates::evaluable< T >::_var_num
protected

Definition at line 488 of file single_predicates.h.


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