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

#include <lagrangespace.hh>

Detailed Description

template<class GV, class SupportOracle, class ScalarType = double>
class Kaskade::ContinuousLagrangeMapperSubdomainImplementation< GV, SupportOracle, ScalarType >

Definition at line 545 of file lagrangespace.hh.

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

Public Types

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

Public Member Functions

 ContinuousLagrangeMapperSubdomainImplementation (GridView const &gridView, int order, SupportOracle &&supportOracle_)
 
void update ()
 
size_t size (Dune::GeometryType gt) const
 Returns the number of entities of given geometry type in our support. More...
 
bool inSupport (typename Base::Cell const &cell) const
 Tells whether the given cell is contained in the support. More...
 
Index subIndex (typename Base::Cell const &cell, int subentity, int codim) const
 
int dofOnEntity (Dune::GeometryType gt) const
 Returns the number of degrees of freedom (global ansatz functions) uniquely associated to the given subentity type. More...
 
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. More...
 
IndexSet const & indexSet () const
 The index set obtained from gridView(). 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
 
template<class Data , class GridView , class Cell >
void treatBoundary (Data &, GridView const &, Cell const &, int, int) const
 

Static Public Attributes

static int const dim
 

Member Typedef Documentation

◆ Cell

Definition at line 391 of file lagrangespace.hh.

◆ Converter

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

Definition at line 163 of file lagrangespace.hh.

◆ ctype

using Kaskade::LagrangeMapperImplementation< double , GV, restricted >::ctype = typename Grid::ctype
inherited

Definition at line 60 of file lagrangespace.hh.

◆ Grid

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

Definition at line 56 of file lagrangespace.hh.

◆ GridView

template<class GV , class SupportOracle , class ScalarType = double>
using Kaskade::ContinuousLagrangeMapperSubdomainImplementation< GV, SupportOracle, ScalarType >::GridView = GV

Definition at line 552 of file lagrangespace.hh.

◆ IndexSet

typedef GV::IndexSet Kaskade::ContinuousLagrangeMapperImplementation< double , GV, ScalarSpaceDetail::AllShapeFunctions >::IndexSet
inherited

Definition at line 388 of file lagrangespace.hh.

◆ Scalar

Definition at line 389 of file lagrangespace.hh.

◆ ShapeFunctionSet

using Kaskade::LagrangeMapperImplementation< double , GV, restricted >::ShapeFunctionSet = typename LagrangeShapeFunctionSetContainer<ctype,dim,Scalar,restricted>::value_type
inherited

Definition at line 64 of file lagrangespace.hh.

Constructor & Destructor Documentation

◆ ContinuousLagrangeMapperSubdomainImplementation()

template<class GV , class SupportOracle , class ScalarType = double>
Kaskade::ContinuousLagrangeMapperSubdomainImplementation< GV, SupportOracle, ScalarType >::ContinuousLagrangeMapperSubdomainImplementation ( GridView const &  gridView,
int  order,
SupportOracle &&  supportOracle_ 
)
inline

Definition at line 554 of file lagrangespace.hh.

Member Function Documentation

◆ dofOnEntity()

int Kaskade::ContinuousLagrangeMapperImplementation< double , GV, ScalarSpaceDetail::AllShapeFunctions >::dofOnEntity ( Dune::GeometryType  gt) const
inlineinherited

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< double , GV, restricted >::emptyShapeFunctionSet ( ) const
inlineinherited

Definition at line 154 of file lagrangespace.hh.

◆ entityIndex()

void Kaskade::ContinuousLagrangeMapperImplementation< double , GV, ScalarSpaceDetail::AllShapeFunctions >::entityIndex ( Cell const &  cell,
ShapeFunction const &  sf,
int  n,
Dune::GeometryType &  gt,
int &  subentity,
int &  codim,
int &  indexInSubentity,
Data &  data 
) const
inlineinherited

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

GridView const & Kaskade::LagrangeMapperImplementation< double , GV, restricted >::gridView ( ) const
inlineinherited

Definition at line 111 of file lagrangespace.hh.

◆ indexSet()

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

The index set obtained from gridView().

Definition at line 79 of file lagrangespace.hh.

◆ inSupport() [1/2]

bool Kaskade::LagrangeMapperImplementation< double , 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.

◆ inSupport() [2/2]

template<class GV , class SupportOracle , class ScalarType = double>
bool Kaskade::ContinuousLagrangeMapperSubdomainImplementation< GV, SupportOracle, ScalarType >::inSupport ( typename Base::Cell const &  cell) const
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 628 of file lagrangespace.hh.

◆ lowerShapeFunctions()

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

Definition at line 149 of file lagrangespace.hh.

◆ order()

int Kaskade::LagrangeMapperImplementation< double , GV, restricted >::order ( ) const
inlineinherited

Definition at line 160 of file lagrangespace.hh.

◆ shapeFunctions()

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

Definition at line 136 of file lagrangespace.hh.

◆ size()

template<class GV , class SupportOracle , class ScalarType = double>
size_t Kaskade::ContinuousLagrangeMapperSubdomainImplementation< GV, SupportOracle, ScalarType >::size ( Dune::GeometryType  gt) const
inline

Returns the number of entities of given geometry type in our support.

Definition at line 618 of file lagrangespace.hh.

◆ subIndex() [1/2]

IndexSet::IndexType Kaskade::LagrangeMapperImplementation< double , 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.

◆ subIndex() [2/2]

template<class GV , class SupportOracle , class ScalarType = double>
Index Kaskade::ContinuousLagrangeMapperSubdomainImplementation< GV, SupportOracle, ScalarType >::subIndex ( typename Base::Cell const &  cell,
int  subentity,
int  codim 
) const
inline

Definition at line 636 of file lagrangespace.hh.

◆ treatBoundary()

template<class Data , class GridView , class Cell >
void Kaskade::ScalarSpaceDetail::AllShapeFunctions::treatBoundary ( Data &  ,
GridView const &  ,
Cell const &  ,
int  ,
int   
) const
inlineinherited

◆ update()

template<class GV , class SupportOracle , class ScalarType = double>
void Kaskade::ContinuousLagrangeMapperSubdomainImplementation< GV, SupportOracle, ScalarType >::update ( )
inline

Definition at line 560 of file lagrangespace.hh.

Member Data Documentation

◆ dim

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

Definition at line 62 of file lagrangespace.hh.


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