![]() |
Dune-Functions 2.11
|
A GridView for a sub-domain. More...
#include <dune/functions/common/subdomain.hh>

Classes | |
| struct | Codim |
| Codim specific typedefs. More... | |
Public Types | |
| enum | { dimension = Grid::dimension } |
| enum | { dimensionworld = Grid::dimensionworld } |
| using | HostGridView = HGV |
| using | Grid = typename HostGridView::Grid |
| using | ctype = typename Grid::ctype |
| using | IndexSet = SubDomainIndexSet<HostGridView> |
| using | Intersection = typename HostGridView::Intersection |
| using | IntersectionIterator = typename HostGridView::IntersectionIterator |
Public Member Functions | |
| SubDomainGridView (const IndexSet &indexSet) | |
| SubDomainGridView (const SubDomainGridView &other)=default | |
| const Grid & | grid () const |
| const IndexSet & | indexSet () const |
| int | size (int codim) const |
| int | size (Dune::GeometryType gt) const |
| template<class Entity> | |
| bool | contains (const Entity &entity) const |
| template<int codim, PartitionIteratorType pit = All_Partition> | |
| Codim< codim >::template Partition< pit >::Iterator | begin () const |
| Create an iterator pointing to the begin of the range. | |
| template<int codim, PartitionIteratorType pit = All_Partition> | |
| Codim< codim >::template Partition< pit >::Iterator | end () const |
| Create an iterator pointing to the end of the range. | |
| decltype(auto) | comm () const |
| decltype(auto) | ibegin (const typename Codim< 0 >::Entity &element) const |
| decltype(auto) | iend (const typename Codim< 0 >::Entity &element) const |
| const HostGridView & | hostGridView () const |
| Access underlying host grid view. | |
Protected Attributes | |
| const IndexSet * | indexSet_ |
A GridView for a sub-domain.
A SubDomainGridView provides a reduces GridView interface for a subset of the entities of a grid view. Objects of this class store a pointer to a SubDomainIndexSet and can be copied cheaply.
| HGV | The underlying host grid view type. |
| using Dune::Functions::Experimental::SubDomainGridView< HGV >::ctype = typename Grid::ctype |
| using Dune::Functions::Experimental::SubDomainGridView< HGV >::Grid = typename HostGridView::Grid |
| using Dune::Functions::Experimental::SubDomainGridView< HGV >::HostGridView = HGV |
| using Dune::Functions::Experimental::SubDomainGridView< HGV >::IndexSet = SubDomainIndexSet<HostGridView> |
| using Dune::Functions::Experimental::SubDomainGridView< HGV >::Intersection = typename HostGridView::Intersection |
| using Dune::Functions::Experimental::SubDomainGridView< HGV >::IntersectionIterator = typename HostGridView::IntersectionIterator |
|
inline |
|
default |
|
inline |
Create an iterator pointing to the begin of the range.
|
inline |
|
inline |
|
inline |
Create an iterator pointing to the end of the range.
|
inline |
|
inline |
Access underlying host grid view.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |