KASKADE 7 development version
Public Types | Public Member Functions | Static Public Attributes | List of all members
Kaskade::DiscontinuousLagrangeMapperImplementation< ScalarType, GV > Class Template Reference

#include <lagrangespace.hh>

Detailed Description

template<class ScalarType, class GV>
class Kaskade::DiscontinuousLagrangeMapperImplementation< ScalarType, GV >

Definition at line 252 of file lagrangespace.hh.

Inheritance diagram for Kaskade::DiscontinuousLagrangeMapperImplementation< ScalarType, GV >:
Kaskade::LagrangeMapperImplementation< ScalarType, GV, restricted >

Public Types

typedef ScalarType Scalar
 
typedef GV GridView
 
typedef GridView::Grid Grid
 
typedef GridView::IndexSet IndexSet
 
using ctype = typename Grid::ctype
 
using ShapeFunctionSet = typename LagrangeShapeFunctionSetContainer< ctype, dim, Scalar, restricted >::value_type
 
typedef ScalarConverter< Cell, ScalarConverter
 

Public Member Functions

 DiscontinuousLagrangeMapperImplementation (GV const &gridView, int order)
 
int dofOnEntity (Dune::GeometryType gt) const
 
template<class ShapeFunction , class Dummy >
void entityIndex (Cell const &cell, ShapeFunction const &sf, int n, Dune::GeometryType &gt, int &subentity, int &codim, int &indexInSubentity, Dummy &) const
 
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
 
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
 

Member Typedef Documentation

◆ Converter

template<class ScalarType , class GV , bool restricted = false>
typedef ScalarConverter<Cell,Scalar> Kaskade::LagrangeMapperImplementation< ScalarType, GV, restricted >::Converter
inherited

Definition at line 163 of file lagrangespace.hh.

◆ ctype

template<class ScalarType , class GV , bool restricted = false>
using Kaskade::LagrangeMapperImplementation< ScalarType, GV, restricted >::ctype = typename Grid::ctype
inherited

Definition at line 60 of file lagrangespace.hh.

◆ Grid

template<class ScalarType , class GV , bool restricted = false>
typedef GridView::Grid Kaskade::LagrangeMapperImplementation< ScalarType, GV, restricted >::Grid
inherited

Definition at line 56 of file lagrangespace.hh.

◆ GridView

template<class ScalarType , class GV , bool restricted = false>
typedef GV Kaskade::LagrangeMapperImplementation< ScalarType, GV, restricted >::GridView
inherited

Definition at line 55 of file lagrangespace.hh.

◆ IndexSet

template<class ScalarType , class GV , bool restricted = false>
typedef GridView::IndexSet Kaskade::LagrangeMapperImplementation< ScalarType, GV, restricted >::IndexSet
inherited

Definition at line 57 of file lagrangespace.hh.

◆ Scalar

template<class ScalarType , class GV , bool restricted = false>
typedef ScalarType Kaskade::LagrangeMapperImplementation< ScalarType, GV, restricted >::Scalar
inherited

Definition at line 53 of file lagrangespace.hh.

◆ ShapeFunctionSet

template<class ScalarType , class GV , bool restricted = false>
using Kaskade::LagrangeMapperImplementation< ScalarType, GV, restricted >::ShapeFunctionSet = typename LagrangeShapeFunctionSetContainer<ctype,dim,Scalar,restricted>::value_type
inherited

Definition at line 64 of file lagrangespace.hh.

Constructor & Destructor Documentation

◆ DiscontinuousLagrangeMapperImplementation()

template<class ScalarType , class GV >
Kaskade::DiscontinuousLagrangeMapperImplementation< ScalarType, GV >::DiscontinuousLagrangeMapperImplementation ( GV const &  gridView,
int  order 
)
inline

Definition at line 258 of file lagrangespace.hh.

Member Function Documentation

◆ dofOnEntity()

template<class ScalarType , class GV >
int Kaskade::DiscontinuousLagrangeMapperImplementation< ScalarType, GV >::dofOnEntity ( Dune::GeometryType  gt) const
inline

Definition at line 264 of file lagrangespace.hh.

◆ emptyShapeFunctionSet()

template<class ScalarType , class GV , bool restricted = false>
ShapeFunctionSet const & Kaskade::LagrangeMapperImplementation< ScalarType, GV, restricted >::emptyShapeFunctionSet ( ) const
inlineinherited

Definition at line 154 of file lagrangespace.hh.

◆ entityIndex()

template<class ScalarType , class GV >
template<class ShapeFunction , class Dummy >
void Kaskade::DiscontinuousLagrangeMapperImplementation< ScalarType, GV >::entityIndex ( Cell const &  cell,
ShapeFunction const &  sf,
int  n,
Dune::GeometryType &  gt,
int &  subentity,
int &  codim,
int &  indexInSubentity,
Dummy  
) const
inline

Definition at line 292 of file lagrangespace.hh.

◆ gridView()

template<class ScalarType , class GV , bool restricted = false>
GridView const & Kaskade::LagrangeMapperImplementation< ScalarType, GV, restricted >::gridView ( ) const
inlineinherited

Definition at line 111 of file lagrangespace.hh.

◆ indexSet()

template<class ScalarType , class GV , bool restricted = false>
IndexSet const & Kaskade::LagrangeMapperImplementation< ScalarType, GV, restricted >::indexSet ( ) const
inlineinherited

◆ inSupport()

template<class ScalarType , class GV , bool restricted = false>
bool Kaskade::LagrangeMapperImplementation< ScalarType, GV, restricted >::inSupport ( Cell const &  cell) const
inlineinherited

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.

◆ lowerShapeFunctions()

template<class ScalarType , class GV , bool restricted = false>
ShapeFunctionSet const & Kaskade::LagrangeMapperImplementation< ScalarType, GV, restricted >::lowerShapeFunctions ( Cell const &  cell) const
inlineinherited

Definition at line 149 of file lagrangespace.hh.

◆ order()

template<class ScalarType , class GV , bool restricted = false>
int Kaskade::LagrangeMapperImplementation< ScalarType, GV, restricted >::order ( ) const
inlineinherited

◆ shapeFunctions()

template<class ScalarType , class GV , bool restricted = false>
ShapeFunctionSet const & Kaskade::LagrangeMapperImplementation< ScalarType, GV, restricted >::shapeFunctions ( Cell const &  cell) const
inlineinherited

Definition at line 136 of file lagrangespace.hh.

◆ size()

template<class ScalarType , class GV , bool restricted = false>
size_t Kaskade::LagrangeMapperImplementation< ScalarType, GV, restricted >::size ( Dune::GeometryType  gt) const
inlineinherited

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.

◆ subIndex()

template<class ScalarType , class GV , bool restricted = false>
IndexSet::IndexType Kaskade::LagrangeMapperImplementation< ScalarType, GV, restricted >::subIndex ( Cell const &  cell,
int  subentity,
int  codim 
) const
inlineinherited

Returns the index of the specified subentity.

Definition at line 105 of file lagrangespace.hh.

◆ update()

template<class ScalarType , class GV , bool restricted = false>
void Kaskade::LagrangeMapperImplementation< ScalarType, GV, restricted >::update ( )
inlineinherited

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.

Member Data Documentation

◆ dim

template<class ScalarType , class GV , bool restricted = false>
int const Kaskade::LagrangeMapperImplementation< ScalarType, GV, restricted >::dim = Grid::dimension
staticinherited

The documentation for this class was generated from the following file: