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>
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 (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. More... | |
using Dumux::EnrichedVertexDofMapper< GV >::GridIndexType = GIType |
using Dumux::EnrichedVertexDofMapper< GV >::GridView = GV |
|
inline |
|
inline |
|
inline |
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 |
|
inline |
|
inline |
|
inline |
the update here simply updates the non-enriched map enrichment has to be done afterwards!
|
inline |
|
inline |
|
inline |