33 #ifndef __H__UG_sub_grid
34 #define __H__UG_sub_grid
64 template <
class TCallbackCls>
100 template <
class TElem>
123 template <
class TElem>
Base-class for edges.
Definition: grid_base_objects.h:397
Faces are 2-dimensional objects.
Definition: grid_base_objects.h:510
a helper class that holds a collection of possibly unconnected geometric-objects.
Definition: grid_object_collection.h:96
Instances represent a part of a grid.
Definition: sub_grid.h:44
virtual const GridObjectCollection & goc() const =0
virtual bool is_contained(Volume *) const =0
virtual ~ISubGrid()
Definition: sub_grid.h:46
virtual bool is_contained(Vertex *) const =0
virtual bool is_contained(Face *) const =0
virtual bool is_contained(Edge *) const =0
Callbacks that return true if an element is contained in a sub-grid.
Definition: sub_grid.h:89
IsInSubGrid(const ISubGrid &subGrid)
Definition: sub_grid.h:91
const ISubGrid & m_subGrid
Definition: sub_grid.h:104
bool operator()(Vertex *v)
Definition: sub_grid.h:94
bool callback(TElem *e)
Definition: sub_grid.h:101
Callbacks that return true if an element is not contained in a sub-grid.
Definition: sub_grid.h:112
const ISubGrid & m_subGrid
Definition: sub_grid.h:127
IsNotInSubGrid(const ISubGrid &subGrid)
Definition: sub_grid.h:114
bool callback(TElem *e)
Definition: sub_grid.h:124
bool operator()(Vertex *v)
Definition: sub_grid.h:117
specializes ISubGrid for general callback classes.
Definition: sub_grid.h:65
virtual bool is_contained(Edge *e) const
Definition: sub_grid.h:75
virtual bool is_contained(Vertex *e) const
Definition: sub_grid.h:74
TCallbackCls m_callbacks
Definition: sub_grid.h:81
SubGrid(GridObjectCollection goc, const TCallbackCls &cb)
Definition: sub_grid.h:67
GridObjectCollection m_goc
Definition: sub_grid.h:80
virtual bool is_contained(Volume *e) const
Definition: sub_grid.h:77
virtual const GridObjectCollection & goc() const
Definition: sub_grid.h:73
virtual bool is_contained(Face *e) const
Definition: sub_grid.h:76
Base-class for all vertex-types.
Definition: grid_base_objects.h:231
Volumes are 3-dimensional objects.
Definition: grid_base_objects.h:754