3 #ifndef DUNE_FUNCTIONS_GRIDFUNCTIONS_GRIDVIEWENTITYSET_HH 4 #define DUNE_FUNCTIONS_GRIDFUNCTIONS_GRIDVIEWENTITYSET_HH 21 template<
class GV,
int cd>
32 typedef typename GridView::template Codim<codim>::Entity
Element;
57 return gv_.contains(e);
63 return gv_.size(
codim);
69 return gv_.template begin<codim>();
73 const_iterator
end()
const 75 return gv_.template end<codim>();
91 #endif // DUNE_FUNCTIONS_GRIDFUNCTIONS_GRIDVIEWENTITYSET_HH GridView::template Codim< codim >::Entity Element
Type of Elements contained in this EntitySet.
Definition: gridviewentityset.hh:32
bool contains(const Element &e) const
Returns true if e is contained in the EntitySet.
Definition: gridviewentityset.hh:55
size_t size() const
Number of Elements visited by an iterator.
Definition: gridviewentityset.hh:61
GV GridView
Definition: gridviewentityset.hh:26
GridViewEntitySet(const GridView &gv)
Construct GridViewEntitySet for a GridView.
Definition: gridviewentityset.hh:50
const_iterator iterator
Same as const_iterator.
Definition: gridviewentityset.hh:44
An entity set for all entities of given codim in a grid view.
Definition: gridviewentityset.hh:22
Element::Geometry::LocalCoordinate LocalCoordinate
Type of local coordinates with respect to the Element.
Definition: gridviewentityset.hh:35
Definition: gridviewentityset.hh:28
Element::Geometry::GlobalCoordinate GlobalCoordinate
Definition: gridviewentityset.hh:36
Element value_type
Definition: gridviewentityset.hh:38
const GridView & gridView() const
Definition: gridviewentityset.hh:78
const_iterator end() const
Create an end iterator.
Definition: gridviewentityset.hh:73
Definition: polynomial.hh:7
GridView::template Codim< codim >::Iterator const_iterator
A forward iterator.
Definition: gridviewentityset.hh:41
const_iterator begin() const
Create a begin iterator.
Definition: gridviewentityset.hh:67