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

#include <lagrangespace.hh>

Inheritance diagram for Kaskade::ContinuousLagrangeMapperImplementation< ScalarType, GV, ShapeFunctionFilter >:
Kaskade::LagrangeMapperImplementation< ScalarType, GV, std::is_same< ScalarSpaceDetail::AllShapeFunctions, ScalarSpaceDetail::RestrictToBoundary >::value > Kaskade::ScalarSpaceDetail::AllShapeFunctions Kaskade::ContinuousLagrangeMapperSubdomainImplementation< GV, SupportOracle, ScalarType >

Public Types

typedef GV::IndexSet IndexSet
typedef ScalarType Scalar
typedef GV GridView
using Cell = typename Base::Cell
typedef GridView::Grid Grid
using ctype
using ShapeFunctionSet
typedef ScalarConverter< Cell, Scalar > Converter

Public Member Functions

 ContinuousLagrangeMapperImplementation (GV const &gridView, int order, ShapeFunctionFilter shapeFunctionFilter=ShapeFunctionFilter())
int dofOnEntity (Dune::GeometryType gt) const
 Returns the number of degrees of freedom (global ansatz functions) uniquely associated to the given subentity type.
template<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
 Returns the geometry type, subentity number in cell and subentity codimension for the subentity to which the dof is associated.
void update ()
 This is called on grid modifications and can be overwritten if internal data needs to be recomputed on refinement or coarsening.
IndexSet const & indexSet () const
 The index set obtained from gridView().
size_t size (Dune::GeometryType gt) const
 The number of entities of given geometry type in our support.
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.
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
template<class Data, class GridView, class Cell>
void treatBoundary (Data &, GridView const &, Cell const &, int, int) const

Static Public Attributes

static int const dim

Detailed Description

template<class ScalarType, class GV, class ShapeFunctionFilter = ScalarSpaceDetail::AllShapeFunctions>
class Kaskade::ContinuousLagrangeMapperImplementation< ScalarType, GV, ShapeFunctionFilter >

Definition at line 381 of file lagrangespace.hh.

Member Typedef Documentation

◆ Cell

template<class ScalarType, class GV, class ShapeFunctionFilter = ScalarSpaceDetail::AllShapeFunctions>
using Kaskade::ContinuousLagrangeMapperImplementation< ScalarType, GV, ShapeFunctionFilter >::Cell = typename Base::Cell

Definition at line 391 of file lagrangespace.hh.

◆ Converter

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

Definition at line 163 of file lagrangespace.hh.

◆ ctype

using Kaskade::LagrangeMapperImplementation< ScalarType, GV, restricted >::ctype
inherited

Definition at line 60 of file lagrangespace.hh.

◆ Grid

typedef GridView::Grid Kaskade::LagrangeMapperImplementation< ScalarType, GV, restricted >::Grid
inherited

Definition at line 56 of file lagrangespace.hh.

◆ GridView

template<class ScalarType, class GV, class ShapeFunctionFilter = ScalarSpaceDetail::AllShapeFunctions>
typedef GV Kaskade::ContinuousLagrangeMapperImplementation< ScalarType, GV, ShapeFunctionFilter >::GridView

Definition at line 390 of file lagrangespace.hh.

◆ IndexSet

template<class ScalarType, class GV, class ShapeFunctionFilter = ScalarSpaceDetail::AllShapeFunctions>
typedef GV::IndexSet Kaskade::ContinuousLagrangeMapperImplementation< ScalarType, GV, ShapeFunctionFilter >::IndexSet

Definition at line 388 of file lagrangespace.hh.

◆ Scalar

template<class ScalarType, class GV, class ShapeFunctionFilter = ScalarSpaceDetail::AllShapeFunctions>
typedef ScalarType Kaskade::ContinuousLagrangeMapperImplementation< ScalarType, GV, ShapeFunctionFilter >::Scalar

Definition at line 389 of file lagrangespace.hh.

◆ ShapeFunctionSet

using Kaskade::LagrangeMapperImplementation< ScalarType, GV, restricted >::ShapeFunctionSet
inherited

Definition at line 64 of file lagrangespace.hh.

Constructor & Destructor Documentation

◆ ContinuousLagrangeMapperImplementation()

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

Definition at line 393 of file lagrangespace.hh.

Member Function Documentation

◆ dofOnEntity()

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

Returns the number of degrees of freedom (global ansatz functions) uniquely associated to the given subentity type.

Definition at line 403 of file lagrangespace.hh.

◆ emptyShapeFunctionSet()

ShapeFunctionSet const & Kaskade::LagrangeMapperImplementation< ScalarType, GV, restricted >::emptyShapeFunctionSet ( ) const
inlineinherited

Definition at line 154 of file lagrangespace.hh.

◆ entityIndex()

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

Returns the geometry type, subentity number in cell and subentity codimension for the subentity to which the dof is associated.

Here we have a continuous discretization, where all dofs are associated to the entities on which the shape function node is located.

Parameters
[out]gtthe geometry type of the subentity on which the shape function lies
[out]subentitythe number of the subentity on which the shape function lies
[out]codimthe codimension of the subentity on which the shape function lies
[out]indexInSubentity
[out]data

Definition at line 437 of file lagrangespace.hh.

◆ gridView()

◆ indexSet()

IndexSet const & Kaskade::LagrangeMapperImplementation< ScalarType, GV, restricted >::indexSet ( ) const
inlineinherited

◆ inSupport()

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()

ShapeFunctionSet const & Kaskade::LagrangeMapperImplementation< ScalarType, GV, restricted >::lowerShapeFunctions ( Cell const & cell) const
inlineinherited

Definition at line 149 of file lagrangespace.hh.

◆ order()

◆ shapeFunctions()

ShapeFunctionSet const & Kaskade::LagrangeMapperImplementation< ScalarType, GV, restricted >::shapeFunctions ( Cell const & cell) const
inlineinherited

Definition at line 136 of file lagrangespace.hh.

◆ size()

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()

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.

◆ treatBoundary()

◆ update()

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

int const Kaskade::LagrangeMapperImplementation< ScalarType, GV, restricted >::dim
staticinherited

Definition at line 62 of file lagrangespace.hh.


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