A vertex mapper that allows for enrichment of nodes. Indication on where to enrich the nodes is done on the basis of a grid of codimension one living on the facets of the bulk grid.
More...
#include <dumux/multidomain/facet/vertexmapper.hh>
template<class GV>
class Dumux::EnrichedVertexDofMapper< GV >
- Template Parameters
-
GV | The Dune::GridView type |
|
using | GridView = GV |
| export the underlying grid view type
|
|
using | GridIndexType = GIType |
| export the grid index type
|
|
|
| EnrichedVertexDofMapper (const GV &gridView) |
| the constructor
|
|
| EnrichedVertexDofMapper (const GV &gridView, Dune::MCMGLayout layout) |
| constructor taking a layout as additional argument (for compatibility)
|
|
GridIndexType | subIndex (const Element &e, unsigned int i, unsigned int codim) const |
| map nodal subentity of codim 0 entity to the grid dof
|
|
GridIndexType | vertexIndex (const Element &e, unsigned int i, unsigned int codim) const |
| map nodal subentity of codim 0 entity to the grid vertex index
|
|
GridIndexType | vertexIndex (const Vertex &v) const |
| map nodal entity to the grid vertex index
|
|
template<class EntityType > |
GridIndexType | index (const EntityType &e) const |
|
std::size_t | size () const |
| returns the number of dofs managed by this mapper
|
|
bool | isEnriched (const Vertex &v) |
| returns true if a vertex dof had been enriched
|
|
void | update (const GV &gridView) |
|
void | update (GV &&gridView) |
|
template<class CodimOneGridView , class CodimOneGridAdapter > |
void | enrich (const CodimOneGridView &codimOneGridView, const CodimOneGridAdapter &codimOneGridAdapter, bool verbose=false) |
| Enriches the dof map subject to a (dim-1)-dimensional grid.
|
|
◆ GridIndexType
◆ GridView
◆ EnrichedVertexDofMapper() [1/2]
◆ EnrichedVertexDofMapper() [2/2]
◆ enrich()
- Note
- This assumes conforming grids!
- Parameters
-
codimOneGridView | The grid view of a (dim-1)-dimensional grid conforming with the facets of the grid view passed to the constructor, indicating on which facets nodal dofs should be enriched. |
codimOneGridAdapter | Adapter class that allows access to information on the d- dimensional grid for entities of the (d-1)-dimensional grid |
verbose | Enable/disable terminal output of the time necessary for enrichment |
◆ index()
template<class GV >
template<class EntityType >
map vertex to the grid dof index
- Note
- This is only valid if there are no enriched vertex dofs! We therefore ask this in every call. This means quite some overhead, but this mapper is not designed optimally for the case of no enriched nodes.
◆ isEnriched()
◆ size()
◆ subIndex()
◆ update() [1/2]
the update here simply updates the non-enriched map enrichment has to be done afterwards!
◆ update() [2/2]
◆ vertexIndex() [1/2]
◆ vertexIndex() [2/2]
The documentation for this class was generated from the following file: