KASKADE 7 development version
Loading...
Searching...
No Matches
Kaskade::DiscontinuousHierarchicMapperImplementation< ScalarType, GV > Class Template Reference

#include <hierarchicspace.hh>

Inheritance diagram for Kaskade::DiscontinuousHierarchicMapperImplementation< ScalarType, GV >:
Kaskade::HierarchicMapperImplementation< ScalarType, GV > Kaskade::HierarchicMapperImplementationBase< Scalar_, GV, restricted >

Public Types

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

Public Member Functions

 DiscontinuousHierarchicMapperImplementation (GV const &gridView, int order)
int dofOnEntity (Dune::GeometryType gt) const
template<class Cell, class ShapeFunction, class Data>
void entityIndex (Cell const &cell, ShapeFunction const &, 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.

Static Public Attributes

static constexpr int dim

Detailed Description

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

Definition at line 250 of file hierarchicspace.hh.

Member Typedef Documentation

◆ Converter

typedef ScalarConverter<Cell,ScalarType> Kaskade::HierarchicMapperImplementationBase< ScalarType, GV, false >::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< ScalarType, GV, false >::Grid
inherited

Definition at line 56 of file hierarchicspace.hh.

◆ GridView

typedef GV Kaskade::HierarchicMapperImplementationBase< ScalarType, GV, false >::GridView
inherited

Definition at line 55 of file hierarchicspace.hh.

◆ IndexSet

typedef GridView::IndexSet Kaskade::HierarchicMapperImplementationBase< ScalarType, GV, false >::IndexSet
inherited

Definition at line 57 of file hierarchicspace.hh.

◆ RT

Definition at line 53 of file hierarchicspace.hh.

◆ Scalar

Definition at line 54 of file hierarchicspace.hh.

◆ ShapeFunctionSet

typedef HierarchicShapeFunctionSetContainer<typenameGrid::ctype,dim,ScalarType,false>::value_type Kaskade::HierarchicMapperImplementationBase< ScalarType, GV, false >::ShapeFunctionSet
inherited

Definition at line 63 of file hierarchicspace.hh.

Constructor & Destructor Documentation

◆ DiscontinuousHierarchicMapperImplementation()

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

Definition at line 256 of file hierarchicspace.hh.

Member Function Documentation

◆ dofOnEntity()

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

Definition at line 262 of file hierarchicspace.hh.

◆ emptyShapeFunctionSet()

ShapeFunctionSet const & Kaskade::HierarchicMapperImplementationBase< ScalarType, GV, false >::emptyShapeFunctionSet ( ) const
inlineinherited

Definition at line 101 of file hierarchicspace.hh.

◆ entityIndex()

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

Definition at line 275 of file hierarchicspace.hh.

◆ gridView()

GridView const & Kaskade::HierarchicMapperImplementationBase< ScalarType, GV, false >::gridView ( ) const
inlineinherited

Definition at line 108 of file hierarchicspace.hh.

Referenced by HierarchicMapperImplementation().

◆ indexSet()

IndexSet const & Kaskade::HierarchicMapperImplementationBase< ScalarType, GV, false >::indexSet ( ) const
inlineinherited

Definition at line 106 of file hierarchicspace.hh.

◆ inSupport()

bool Kaskade::HierarchicMapperImplementationBase< ScalarType, GV, false >::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::HierarchicMapperImplementation< ScalarType, GV, false >::lowerShapeFunctions ( typename Base::Cell const & cell) const
inlineinherited

Definition at line 238 of file hierarchicspace.hh.

◆ order()

int Kaskade::HierarchicMapperImplementationBase< ScalarType, GV, false >::order ( ) const
inlineinherited

Returns the nominal order of the shape function set.

Definition at line 119 of file hierarchicspace.hh.

Referenced by Kaskade::DiscontinuousHierarchicMapperImplementation< Scalar, GV >::dofOnEntity(), and HierarchicMapperImplementation().

◆ shapeFunctions()

Base::ShapeFunctionSet const & Kaskade::HierarchicMapperImplementation< ScalarType, GV, false >::shapeFunctions ( typename Base::Cell const & cell,
int ordr = 0 ) const
inlineinherited

Definition at line 233 of file hierarchicspace.hh.

◆ size()

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

Definition at line 111 of file hierarchicspace.hh.

◆ subIndex()

IndexSet::IndexType Kaskade::HierarchicMapperImplementationBase< ScalarType, GV, false >::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.

◆ update()

void Kaskade::HierarchicMapperImplementationBase< ScalarType, GV, false >::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< ScalarType, GV, false >::dim
staticconstexprinherited

Definition at line 61 of file hierarchicspace.hh.


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