KASKADE 7 development version
Loading...
Searching...
No Matches
Kaskade::ContinuousHierarchicExtensionMapperImplementation< Scalar, GV, ShapeFunctionFilter > Class Template Reference

#include <hierarchicspace.hh>

Inheritance diagram for Kaskade::ContinuousHierarchicExtensionMapperImplementation< Scalar, GV, ShapeFunctionFilter >:
Kaskade::HierarchicExtensionMapperImplementation< Scalar, GV, ScalarSpaceDetail::isRestriction< ScalarSpaceDetail::AllShapeFunctions >()> Kaskade::ScalarSpaceDetail::AllShapeFunctions Kaskade::HierarchicMapperImplementationBase< Scalar, GV, restricted >

Public Types

typedef Scalar RT
typedef Scalar Scalar
typedef GV GridView
typedef GridView::Grid Grid
typedef GridView::IndexSet IndexSet
typedef HierarchicShapeFunctionSetContainer< typenameGrid::ctype, dim, Scalar, restricted >::value_type ShapeFunctionSet
typedef ScalarConverter< Cell, Scalar > Converter

Public Member Functions

 ContinuousHierarchicExtensionMapperImplementation (GV const &gridView, int order, ShapeFunctionFilter shapeFunctionFilter=ShapeFunctionFilter())
int dofOnEntity (Dune::GeometryType gt) const
template<class Cell, class ShapeFunction, class Data>
void entityIndex (Cell const &cell, ShapeFunction const &sf, int n, Dune::GeometryType &gt, int &subentity, int &codim, int &indexInSubentity, Data &data) const
Base::ShapeFunctionSet const & shapeFunctions (typename Base::Cell const &cell, int ordr=0) const
Base::ShapeFunctionSet const & lowerShapeFunctions (typename Base::Cell const &cell) const
void update ()
 This is called on grid modifications and can be overwritten if internal data needs to be recomputed on refinement or coarsening.
bool inSupport (Cell const &cell) const
 Tells whether the given cell is contained in the support.
IndexSet::IndexType subIndex (Cell const &cell, int subentity, int codim) const
 Returns the index of the specified subentity.
ShapeFunctionSet const & emptyShapeFunctionSet () const
IndexSet const & indexSet () const
GridView const & gridView () const
size_t size (Dune::GeometryType gt) const
int order () const
 Returns the nominal order of the shape function set.
template<class Data, class GridView, class Cell>
void treatBoundary (Data &, GridView const &, Cell const &, int, int) const

Static Public Attributes

static constexpr int dim

Detailed Description

template<class Scalar, class GV, class ShapeFunctionFilter = ScalarSpaceDetail::AllShapeFunctions>
class Kaskade::ContinuousHierarchicExtensionMapperImplementation< Scalar, GV, ShapeFunctionFilter >

Definition at line 515 of file hierarchicspace.hh.

Member Typedef Documentation

◆ Converter

typedef ScalarConverter<Cell,Scalar> Kaskade::HierarchicMapperImplementationBase< Scalar, GV, restricted >::Converter
inherited

A class mapping local shape function values and gradients to global shape function values and gradients. For scalar hierarchic shape functions this is easy, only the gradients are affected by the affine transformation from the reference element to an actual cell.

Definition at line 128 of file hierarchicspace.hh.

◆ Grid

typedef GridView::Grid Kaskade::HierarchicMapperImplementationBase< Scalar, GV, restricted >::Grid
inherited

Definition at line 56 of file hierarchicspace.hh.

◆ GridView

typedef GV Kaskade::HierarchicMapperImplementationBase< Scalar, GV, restricted >::GridView
inherited

Definition at line 55 of file hierarchicspace.hh.

◆ IndexSet

typedef GridView::IndexSet Kaskade::HierarchicMapperImplementationBase< Scalar, GV, restricted >::IndexSet
inherited

Definition at line 57 of file hierarchicspace.hh.

◆ RT

typedef Scalar Kaskade::HierarchicMapperImplementationBase< Scalar, GV, restricted >::RT
inherited

Definition at line 53 of file hierarchicspace.hh.

◆ Scalar

typedef Scalar Kaskade::HierarchicMapperImplementationBase< Scalar, GV, restricted >::Scalar
inherited

Definition at line 54 of file hierarchicspace.hh.

◆ ShapeFunctionSet

typedef HierarchicShapeFunctionSetContainer<typenameGrid::ctype,dim,Scalar,restricted>::value_type Kaskade::HierarchicMapperImplementationBase< Scalar, GV, restricted >::ShapeFunctionSet
inherited

Definition at line 63 of file hierarchicspace.hh.

Constructor & Destructor Documentation

◆ ContinuousHierarchicExtensionMapperImplementation()

template<class Scalar, class GV, class ShapeFunctionFilter = ScalarSpaceDetail::AllShapeFunctions>
Kaskade::ContinuousHierarchicExtensionMapperImplementation< Scalar, GV, ShapeFunctionFilter >::ContinuousHierarchicExtensionMapperImplementation ( GV const & gridView,
int order,
ShapeFunctionFilter shapeFunctionFilter = ShapeFunctionFilter() )
inline

Definition at line 522 of file hierarchicspace.hh.

Member Function Documentation

◆ dofOnEntity()

template<class Scalar, class GV, class ShapeFunctionFilter = ScalarSpaceDetail::AllShapeFunctions>
int Kaskade::ContinuousHierarchicExtensionMapperImplementation< Scalar, GV, ShapeFunctionFilter >::dofOnEntity ( Dune::GeometryType gt) const
inline

Definition at line 528 of file hierarchicspace.hh.

◆ emptyShapeFunctionSet()

ShapeFunctionSet const & Kaskade::HierarchicMapperImplementationBase< Scalar, GV, restricted >::emptyShapeFunctionSet ( ) const
inlineinherited

Definition at line 101 of file hierarchicspace.hh.

◆ entityIndex()

template<class Scalar, class GV, class ShapeFunctionFilter = ScalarSpaceDetail::AllShapeFunctions>
template<class Cell, class ShapeFunction, class Data>
void Kaskade::ContinuousHierarchicExtensionMapperImplementation< Scalar, GV, ShapeFunctionFilter >::entityIndex ( Cell const & cell,
ShapeFunction const & sf,
int n,
Dune::GeometryType & gt,
int & subentity,
int & codim,
int & indexInSubentity,
Data & data ) const
inline

Definition at line 538 of file hierarchicspace.hh.

◆ gridView()

GridView const & Kaskade::HierarchicMapperImplementationBase< Scalar, GV, restricted >::gridView ( ) const
inlineinherited

Definition at line 108 of file hierarchicspace.hh.

◆ indexSet()

IndexSet const & Kaskade::HierarchicMapperImplementationBase< Scalar, GV, restricted >::indexSet ( ) const
inlineinherited

Definition at line 106 of file hierarchicspace.hh.

Referenced by HierarchicMapperImplementationBase().

◆ inSupport()

bool Kaskade::HierarchicMapperImplementationBase< Scalar, 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 87 of file hierarchicspace.hh.

◆ lowerShapeFunctions()

Base::ShapeFunctionSet const & Kaskade::HierarchicExtensionMapperImplementation< Scalar, GV, restricted >::lowerShapeFunctions ( typename Base::Cell const & cell) const
inlineinherited

Definition at line 438 of file hierarchicspace.hh.

◆ order()

int Kaskade::HierarchicMapperImplementationBase< Scalar, GV, restricted >::order ( ) const
inlineinherited

Returns the nominal order of the shape function set.

Definition at line 119 of file hierarchicspace.hh.

Referenced by HierarchicMapperImplementationBase().

◆ shapeFunctions()

Base::ShapeFunctionSet const & Kaskade::HierarchicExtensionMapperImplementation< Scalar, GV, restricted >::shapeFunctions ( typename Base::Cell const & cell,
int ordr = 0 ) const
inlineinherited

Definition at line 433 of file hierarchicspace.hh.

◆ size()

size_t Kaskade::HierarchicMapperImplementationBase< Scalar, GV, restricted >::size ( Dune::GeometryType gt) const
inlineinherited

Definition at line 111 of file hierarchicspace.hh.

◆ subIndex()

IndexSet::IndexType Kaskade::HierarchicMapperImplementationBase< Scalar, GV, restricted >::subIndex ( Cell const & cell,
int subentity,
int codim ) const
inlineinherited

Returns the index of the specified subentity.

Definition at line 95 of file hierarchicspace.hh.

◆ treatBoundary()

◆ update()

void Kaskade::HierarchicMapperImplementationBase< Scalar, 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 79 of file hierarchicspace.hh.

Member Data Documentation

◆ dim

int Kaskade::HierarchicMapperImplementationBase< Scalar, GV, restricted >::dim
staticconstexprinherited

Definition at line 61 of file hierarchicspace.hh.


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