DUNE PDELab (unstable)
Dune::Functions::Experimental::SubDomain< HGV > Class Template Reference
Class representing a sub-domain of a GridView. More...
#include <dune/functions/common/subdomain.hh>
Classes | |
struct | Codim |
Codim specific typedefs. More... | |
Public Member Functions | |
SubDomain (const HostGridView &hostGridView) | |
Construct SubDomain for underlying host grid view. | |
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. | |
Detailed Description
template<class HGV>
class Dune::Functions::Experimental::SubDomain< HGV >
class Dune::Functions::Experimental::SubDomain< HGV >
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.
- Template Parameters
-
HGV The underlying host grid view type.
The documentation for this class was generated from the following file:
- dune/functions/common/subdomain.hh
