dune-fem 2.8.0
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Types | Protected Attributes | List of all members
Dune::Fem::LegendreDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, polOrder, Storage, hierarchicalOrdering >::ScalarShapeFunctionSet Struct Reference

#include <dune/fem/space/discontinuousgalerkin/legendre.hh>

Inheritance diagram for Dune::Fem::LegendreDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, polOrder, Storage, hierarchicalOrdering >::ScalarShapeFunctionSet:
Inheritance graph

Public Types

typedef Dune::Fem::LegendreShapeFunctionSet< ScalarShapeFunctionSpaceType, hierarchicalOrdering > BaseType
 
typedef ScalarShapeFunctionSpaceType FunctionSpaceType
 function space type
 
typedef FunctionSpaceType::DomainType DomainType
 domain type
 
typedef FunctionSpaceType::RangeType RangeType
 range type
 
typedef FunctionSpaceType::JacobianRangeType JacobianRangeType
 jacobian range type
 
typedef FunctionSpaceType::HessianRangeType HessianRangeType
 hessian range type
 

Public Member Functions

 ScalarShapeFunctionSet (Dune::GeometryType type)
 
int order () const noexcept
 return order of shape functions
 
std::size_t size () const noexcept
 return number of shape functions
 
void evaluateEach (const Point &x, Functor functor) const noexcept
 evalute each shape function
 
void jacobianEach (const Point &x, Functor functor) const noexcept
 evalute jacobian of each shape function
 
void hessianEach (const Point &x, Functor functor) const noexcept
 evalute hessian of each shape function
 

Static Public Member Functions

static constexpr unsigned int size ()
 

Static Public Attributes

static const int numberShapeFunctions
 

Protected Types

typedef LegendreShapeFunction< ScalarShapeFunctionSpaceTypeShapeFunctionType
 

Protected Attributes

std::vector< ShapeFunctionTypeshapeFunctions_
 
int order_
 

Member Typedef Documentation

◆ BaseType

template<class FunctionSpace , class GridPart , int polOrder, class Storage , bool hierarchicalOrdering>
typedef Dune::Fem::LegendreShapeFunctionSet< ScalarShapeFunctionSpaceType, hierarchicalOrdering > Dune::Fem::LegendreDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, polOrder, Storage, hierarchicalOrdering >::ScalarShapeFunctionSet::BaseType

◆ DomainType

typedef FunctionSpaceType::DomainType Dune::Fem::LegendreShapeFunctionSet< ScalarShapeFunctionSpaceType , hierarchicalOrdering >::DomainType
inherited

domain type

◆ FunctionSpaceType

typedef ScalarShapeFunctionSpaceType Dune::Fem::LegendreShapeFunctionSet< ScalarShapeFunctionSpaceType , hierarchicalOrdering >::FunctionSpaceType
inherited

function space type

◆ HessianRangeType

typedef FunctionSpaceType::HessianRangeType Dune::Fem::LegendreShapeFunctionSet< ScalarShapeFunctionSpaceType , hierarchicalOrdering >::HessianRangeType
inherited

hessian range type

◆ JacobianRangeType

typedef FunctionSpaceType::JacobianRangeType Dune::Fem::LegendreShapeFunctionSet< ScalarShapeFunctionSpaceType , hierarchicalOrdering >::JacobianRangeType
inherited

jacobian range type

◆ RangeType

typedef FunctionSpaceType::RangeType Dune::Fem::LegendreShapeFunctionSet< ScalarShapeFunctionSpaceType , hierarchicalOrdering >::RangeType
inherited

range type

◆ ShapeFunctionType

typedef LegendreShapeFunction< ScalarShapeFunctionSpaceType > Dune::Fem::LegendreShapeFunctionSet< ScalarShapeFunctionSpaceType , hierarchicalOrdering >::ShapeFunctionType
protectedinherited

Constructor & Destructor Documentation

◆ ScalarShapeFunctionSet()

template<class FunctionSpace , class GridPart , int polOrder, class Storage , bool hierarchicalOrdering>
Dune::Fem::LegendreDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, polOrder, Storage, hierarchicalOrdering >::ScalarShapeFunctionSet::ScalarShapeFunctionSet ( Dune::GeometryType  type)
inlineexplicit

Member Function Documentation

◆ evaluateEach()

void Dune::Fem::LegendreShapeFunctionSet< ScalarShapeFunctionSpaceType , hierarchicalOrdering >::evaluateEach ( const Point &  x,
Functor  functor 
) const
inlinenoexceptinherited

evalute each shape function

Parameters
[in]xcoordinate or quadrature point
[in]functorfunctor call for evaluating each shape function

The functor has to be a copyable object satisfying the following interface:

struct Functor
{
template< class Value >
void operator() ( const int shapeFunction, const Value &value );
};

◆ hessianEach()

void Dune::Fem::LegendreShapeFunctionSet< ScalarShapeFunctionSpaceType , hierarchicalOrdering >::hessianEach ( const Point &  x,
Functor  functor 
) const
inlinenoexceptinherited

evalute hessian of each shape function

Parameters
[in]xcoordinate or quadrature point
[in]functorfunctor call for evaluating the hessian of each shape function

The functor has to be a copyable object satisfying the following interface:

struct Functor
{
template< class Hessian >
void operator() ( const int shapeFunction, const Hessian &hessian );
};

◆ jacobianEach()

void Dune::Fem::LegendreShapeFunctionSet< ScalarShapeFunctionSpaceType , hierarchicalOrdering >::jacobianEach ( const Point &  x,
Functor  functor 
) const
inlinenoexceptinherited

evalute jacobian of each shape function

Parameters
[in]xcoordinate or quadrature point
[in]functorfunctor call for evaluating the jacobian of each shape function

The functor has to be a copyable object satisfying the following interface:

struct Functor
{
template< class Jacobian >
void operator() ( const int shapeFunction, const Jacobian &jacobian );
};

◆ order()

int Dune::Fem::LegendreShapeFunctionSet< ScalarShapeFunctionSpaceType , hierarchicalOrdering >::order ( ) const
inlinenoexceptinherited

return order of shape functions

◆ size() [1/2]

template<class FunctionSpace , class GridPart , int polOrder, class Storage , bool hierarchicalOrdering>
static constexpr unsigned int Dune::Fem::LegendreDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, polOrder, Storage, hierarchicalOrdering >::ScalarShapeFunctionSet::size ( )
inlinestaticconstexpr

◆ size() [2/2]

std::size_t Dune::Fem::LegendreShapeFunctionSet< ScalarShapeFunctionSpaceType , hierarchicalOrdering >::size ( ) const
inlinenoexceptinherited

return number of shape functions

Member Data Documentation

◆ numberShapeFunctions

template<class FunctionSpace , class GridPart , int polOrder, class Storage , bool hierarchicalOrdering>
const int Dune::Fem::LegendreDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, polOrder, Storage, hierarchicalOrdering >::ScalarShapeFunctionSet::numberShapeFunctions
static
Initial value:
=
StaticPower<polOrder+1,ScalarShapeFunctionSpaceType::dimDomain>::power

◆ order_

int Dune::Fem::LegendreShapeFunctionSet< ScalarShapeFunctionSpaceType , hierarchicalOrdering >::order_
protectedinherited

◆ shapeFunctions_

std::vector< ShapeFunctionType > Dune::Fem::LegendreShapeFunctionSet< ScalarShapeFunctionSpaceType , hierarchicalOrdering >::shapeFunctions_
protectedinherited

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