ug4
ug::IsNotOnBoundary Class Reference

Element callback that returns true, if an element does not lie on the grids boundary. More...

#include <topology_callbacks.h>

+ Inheritance diagram for ug::IsNotOnBoundary:

Public Member Functions

 IsNotOnBoundary (Grid &g)
 
bool operator() (Edge *e) const
 
bool operator() (Face *f) const
 
bool operator() (Vertex *v) const
 
bool operator() (Volume *) const
 
- Public Member Functions inherited from ug::ElementCallback
 ElementCallback ()
 
virtual ~ElementCallback ()
 

Private Member Functions

template<class TElem >
bool callback (TElem *e) const
 

Private Attributes

Gridm_grid
 

Detailed Description

Element callback that returns true, if an element does not lie on the grids boundary.

Constructor & Destructor Documentation

◆ IsNotOnBoundary()

ug::IsNotOnBoundary::IsNotOnBoundary ( Grid g)
inline

Member Function Documentation

◆ callback()

template<class TElem >
bool ug::IsNotOnBoundary::callback ( TElem *  e) const
inlineprivate

References ug::LiesOnBoundary(), and m_grid.

Referenced by operator()().

◆ operator()() [1/4]

bool ug::IsNotOnBoundary::operator() ( Edge e) const
inlinevirtual

Implements ug::ElementCallback.

References callback().

◆ operator()() [2/4]

bool ug::IsNotOnBoundary::operator() ( Face f) const
inlinevirtual

Implements ug::ElementCallback.

References callback().

◆ operator()() [3/4]

bool ug::IsNotOnBoundary::operator() ( Vertex v) const
inlinevirtual

Implements ug::ElementCallback.

References callback().

◆ operator()() [4/4]

bool ug::IsNotOnBoundary::operator() ( Volume ) const
inlinevirtual

Implements ug::ElementCallback.

Member Data Documentation

◆ m_grid

Grid& ug::IsNotOnBoundary::m_grid
private

Referenced by callback().


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