KASKADE 7 development version
|
A local to global mapper for scalar Lagrange bases. More...
#include <lagrangespace.hh>
A local to global mapper for scalar Lagrange bases.
This is to be used as a policy object for the UniformScalarMapper.
ScalarType | The underlying field type (usually double). |
GV | The grid view on which the FE space is defined. |
restricted |
Definition at line 50 of file lagrangespace.hh.
Classes | |
class | Combiner |
A class implementing a matrix \( K \in \R^{n\times m}\) mapping a subset of \( m \) global degrees of freedom (those given by globalIndices()) to \( n \) local degrees of freedom (shape functions). More... | |
Public Types | |
typedef ScalarType | Scalar |
typedef GV | GridView |
typedef GridView::Grid | Grid |
typedef GridView::IndexSet | IndexSet |
using | Cell = Kaskade::Cell< GridView > |
using | ctype = typename Grid::ctype |
using | ShapeFunctionSet = typename LagrangeShapeFunctionSetContainer< ctype, dim, Scalar, restricted >::value_type |
typedef ScalarConverter< Cell, Scalar > | Converter |
Public Member Functions | |
void | update () |
This is called on grid modifications and can be overwritten if internal data needs to be recomputed on refinement or coarsening. More... | |
IndexSet const & | indexSet () const |
The index set obtained from gridView(). More... | |
size_t | size (Dune::GeometryType gt) const |
The number of entities of given geometry type in our support. More... | |
bool | inSupport (Cell const &cell) const |
Tells whether the given cell is contained in the support. More... | |
IndexSet::IndexType | subIndex (Cell const &cell, int subentity, int codim) const |
Returns the index of the specified subentity. More... | |
GridView const & | gridView () const |
LagrangeMapperImplementation (GridView const &gridView_, int order_) | |
ShapeFunctionSet const & | shapeFunctions (Cell const &cell) const |
ShapeFunctionSet const & | lowerShapeFunctions (Cell const &cell) const |
ShapeFunctionSet const & | emptyShapeFunctionSet () const |
int | order () const |
Static Public Attributes | |
static int const | dim = Grid::dimension |
using Kaskade::LagrangeMapperImplementation< ScalarType, GV, restricted >::Cell = Kaskade::Cell<GridView> |
Definition at line 58 of file lagrangespace.hh.
typedef ScalarConverter<Cell,Scalar> Kaskade::LagrangeMapperImplementation< ScalarType, GV, restricted >::Converter |
Definition at line 163 of file lagrangespace.hh.
using Kaskade::LagrangeMapperImplementation< ScalarType, GV, restricted >::ctype = typename Grid::ctype |
Definition at line 60 of file lagrangespace.hh.
typedef GridView::Grid Kaskade::LagrangeMapperImplementation< ScalarType, GV, restricted >::Grid |
Definition at line 56 of file lagrangespace.hh.
typedef GV Kaskade::LagrangeMapperImplementation< ScalarType, GV, restricted >::GridView |
Definition at line 55 of file lagrangespace.hh.
typedef GridView::IndexSet Kaskade::LagrangeMapperImplementation< ScalarType, GV, restricted >::IndexSet |
Definition at line 57 of file lagrangespace.hh.
typedef ScalarType Kaskade::LagrangeMapperImplementation< ScalarType, GV, restricted >::Scalar |
Definition at line 53 of file lagrangespace.hh.
using Kaskade::LagrangeMapperImplementation< ScalarType, GV, restricted >::ShapeFunctionSet = typename LagrangeShapeFunctionSetContainer<ctype,dim,Scalar,restricted>::value_type |
Definition at line 64 of file lagrangespace.hh.
|
inline |
indexSet_ | must contain a subset (or all) of the cells in the grid. |
order_ | . |
Definition at line 117 of file lagrangespace.hh.
|
inline |
Definition at line 154 of file lagrangespace.hh.
|
inline |
Definition at line 111 of file lagrangespace.hh.
|
inline |
The index set obtained from gridView().
Definition at line 79 of file lagrangespace.hh.
Referenced by Kaskade::LagrangeMapperImplementation< ScalarType, GV, restricted >::size(), and Kaskade::LagrangeMapperImplementation< ScalarType, GV, restricted >::subIndex().
|
inline |
Tells whether the given cell is contained in the support.
The default implementation realizes global support, i.e., all cells are contained.
Definition at line 97 of file lagrangespace.hh.
|
inline |
Definition at line 149 of file lagrangespace.hh.
|
inline |
Definition at line 160 of file lagrangespace.hh.
Referenced by Kaskade::DiscontinuousLagrangeMapperImplementation< ScalarType, GV >::dofOnEntity().
|
inline |
Definition at line 136 of file lagrangespace.hh.
|
inline |
The number of entities of given geometry type in our support.
The default implementation just repoththrts the total number of entities in the grid view, which corresponds to global support.
Definition at line 87 of file lagrangespace.hh.
|
inline |
Returns the index of the specified subentity.
Definition at line 105 of file lagrangespace.hh.
|
inline |
This is called on grid modifications and can be overwritten if internal data needs to be recomputed on refinement or coarsening.
The default implementation provided here does nothing.
Definition at line 72 of file lagrangespace.hh.
|
static |
Definition at line 62 of file lagrangespace.hh.
Referenced by Kaskade::DiscontinuousLagrangeMapperImplementation< ScalarType, GV >::dofOnEntity(), and Kaskade::LagrangeMapperImplementation< ScalarType, GV, restricted >::LagrangeMapperImplementation().