Specialization of the enrichment helper class for 2d grids. In this case, we look for two-dimensional bulk grid elements that are enclosed by (lie in between) two 1-dimensional facet grid elements.
More...
#include <dumux/multidomain/facet/enrichmenthelper.hh>
template<class GridView, class CodimOneGridView>
class Dumux::VertexEnrichmentHelper< GridView, CodimOneGridView >
Specialization of the enrichment helper class for 2d grids. In this case, we look for two-dimensional bulk grid elements that are enclosed by (lie in between) two 1-dimensional facet grid elements.
- Template Parameters
-
GridView | The grid view of the domain for which nodal dofs should be enriched. |
CodimOneGridView | The grid view of a (dim-1)-dimensional grid conforming with the facets of this grid view, indicating on which facets nodal dofs should be enriched. |
|
template<class IndexMap , class CodimOneGridAdapter > |
static std::size_t | enrich (IndexMap &indexMap, const std::vector< bool > &vertexMarkers, const GridView &gridView, const MCMGMapper &vertexMapper, const MCMGMapper &elementMapper, const CodimOneGridView &codimOneGridView, const CodimOneGridAdapter &codimOneGridAdapter) |
| Enriches the dof map subject to a (dim-1)-dimensional grid. More...
|
|
◆ enrich()
template<class GridView , class CodimOneGridView >
static std::size_t Dumux::VertexEnrichmentHelper< GridView, CodimOneGridView >::enrich |
( |
IndexMap & |
indexMap, |
|
|
const std::vector< bool > & |
vertexMarkers, |
|
|
const GridView & |
gridView, |
|
|
const MCMGMapper & |
vertexMapper, |
|
|
const MCMGMapper & |
elementMapper, |
|
|
const CodimOneGridView & |
codimOneGridView, |
|
|
const CodimOneGridAdapter & |
codimOneGridAdapter |
|
) |
| |
|
inlinestatic |
Enriches the dof map subject to a (dim-1)-dimensional grid.
- Note
- This assumes conforming grids and assumes the index map to be initialized for the bulk grid already!
- Parameters
-
indexMap | The index map which is to be updated |
vertexMarkers | Markers if vertices should be enriched |
gridView | A view on the grid for which vertices should be enriched |
vertexMapper | Maps vertices of the given grid view |
elementMapper | Maps elements of the given grid view |
codimOneGridView | The view on the facet-conforming grid of codim 1 |
codimOneGridAdapter | Adapter class that allows access to information on the d- dimensional grid for entities of the (d-1)-dimensional grid |
- Returns
- the number of dofs after enrichment
The documentation for this class was generated from the following file: