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>
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.
GV | The Dune::GridView type |
Public Types | |
using | GridView = GV |
export the underlying grid view type More... | |
using | GridIndexType = GIType |
export the grid index type More... | |
Public Member Functions | |
EnrichedVertexDofMapper (const GV &gridView) | |
the constructor More... | |
EnrichedVertexDofMapper (const GV &gridView, Dune::MCMGLayout layout) | |
constructor taking a layout as additional argument (for compatibility) More... | |
GridIndexType | subIndex (const Element &e, unsigned int i, unsigned int codim) const |
map nodal subentity of codim 0 entity to the grid dof More... | |
GridIndexType | vertexIndex (const Element &e, unsigned int i, unsigned int codim) const |
map nodal subentity of codim 0 entity to the grid vertex index More... | |
GridIndexType | vertexIndex (const Vertex &v) const |
map nodal entity to the grid vertex index More... | |
template<class EntityType > | |
GridIndexType | index (const EntityType &e) const |
std::size_t | size () const |
returns the number of dofs managed by this mapper More... | |
bool | isEnriched (const Vertex &v) |
returns true if a vertex dof had been enriched More... | |
void | update () |
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. More... | |
using Dumux::EnrichedVertexDofMapper< GV >::GridIndexType = GIType |
export the grid index type
using Dumux::EnrichedVertexDofMapper< GV >::GridView = GV |
export the underlying grid view type
|
inline |
the constructor
|
inline |
constructor taking a layout as additional argument (for compatibility)
|
inline |
Enriches the dof map subject to a (dim-1)-dimensional grid.
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 |
|
inline |
map vertex to the grid dof index
|
inline |
returns true if a vertex dof had been enriched
|
inline |
returns the number of dofs managed by this mapper
|
inline |
map nodal subentity of codim 0 entity to the grid dof
|
inline |
the update here simply updates the non-enriched map enrichment has to be done afterwards!
|
inline |
map nodal subentity of codim 0 entity to the grid vertex index
|
inline |
map nodal entity to the grid vertex index