ug4
ug::IsOnBoundary Class Reference

Element callback that returns true, if an element lies on the grids boundary. More...

#include <topology_callbacks.h>

+ Inheritance diagram for ug::IsOnBoundary:

Public Member Functions

 IsOnBoundary (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 lies on the grids boundary.

Constructor & Destructor Documentation

◆ IsOnBoundary()

ug::IsOnBoundary::IsOnBoundary ( Grid g)
inline

Member Function Documentation

◆ callback()

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

References ug::LiesOnBoundary(), and m_grid.

Referenced by operator()().

◆ operator()() [1/4]

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

Implements ug::ElementCallback.

References callback().

◆ operator()() [2/4]

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

Implements ug::ElementCallback.

References callback().

◆ operator()() [3/4]

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

Implements ug::ElementCallback.

References callback().

◆ operator()() [4/4]

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

Implements ug::ElementCallback.

Member Data Documentation

◆ m_grid

Grid& ug::IsOnBoundary::m_grid
private

Referenced by callback().


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