![]() |
Dune-Functions 2.11
|
Class representing a sub-domain of a GridView. More...
#include <dune/functions/common/subdomain.hh>
Classes | |
| struct | Codim |
| Codim specific typedefs. More... | |
Public Types | |
| enum | { dimension = Grid::dimension } |
| using | HostGridView = HGV |
| using | Grid = typename HostGridView::Grid |
| using | IndexSet = SubDomainIndexSet<HostGridView> |
| using | GridView = SubDomainGridView<HostGridView> |
Public Member Functions | |
| SubDomain (const HostGridView &hostGridView) | |
| Construct SubDomain for underlying host grid view. | |
| const IndexSet & | indexSet () const |
| GridView | gridView () const |
| Create grid view representing the SubDomain. | |
| HostGridView | hostGridView () const |
| Access underlying host grid view. | |
| void | insertElement (const typename Codim< 0 >::Entity &element) |
| Insert element and all its sub-entities into SubDomain. | |
| bool | contains (const typename Codim< 0 >::Entity &element) const |
| Check if element is contained in SubDomain. | |
Class representing a sub-domain of a GridView.
A SubDomain is a subset of grid elements from a given underlying grid view together with their sub-entities. It allows to create a SubDomainGridView which implements a reasonable subset of the grid view interface defined in dune-grid. In particular the SubDomainGridView implements an index set, a contains() methods, an element iterator and intersection iterators.
| HGV | The underlying host grid view type. |
| using Dune::Functions::Experimental::SubDomain< HGV >::Grid = typename HostGridView::Grid |
| using Dune::Functions::Experimental::SubDomain< HGV >::GridView = SubDomainGridView<HostGridView> |
| using Dune::Functions::Experimental::SubDomain< HGV >::HostGridView = HGV |
| using Dune::Functions::Experimental::SubDomain< HGV >::IndexSet = SubDomainIndexSet<HostGridView> |
|
inline |
Construct SubDomain for underlying host grid view.
|
inline |
Check if element is contained in SubDomain.
|
inline |
Create grid view representing the SubDomain.
|
inline |
Access underlying host grid view.
|
inline |
|
inline |
Insert element and all its sub-entities into SubDomain.