dune-fem  2.4.1-rc
Public Types | Public Member Functions | Static Public Attributes | Protected Types | Protected Attributes | List of all members
Dune::Fem::LegendreDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, polOrder, Storage >::ScalarShapeFunctionSet Struct Reference

#include </local/tomalk/somewhere/tmp/dune-fem/dune/fem/space/discontinuousgalerkin/legendre.hh>

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

Public Types

typedef Dune::Fem::LegendreShapeFunctionSet< ScalarShapeFunctionSpaceTypeBaseType
 
typedef ScalarShapeFunctionSpaceType FunctionSpaceType
 function space type More...
 
typedef FunctionSpaceType::DomainType DomainType
 domain type More...
 
typedef FunctionSpaceType::RangeType RangeType
 range type More...
 
typedef FunctionSpaceType::JacobianRangeType JacobianRangeType
 jacobian range type More...
 
typedef FunctionSpaceType::HessianRangeType HessianRangeType
 hessian range type More...
 

Public Member Functions

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

Static Public Attributes

static const int numberShapeFunctions
 

Protected Types

typedef LegendreShapeFunction< ScalarShapeFunctionSpaceTypeShapeFunctionType
 

Protected Attributes

std::vector< ShapeFunctionTypeshapeFunctions_
 
int order_
 

Member Typedef Documentation

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

domain type

function space type

hessian range type

jacobian range type

range type

Constructor & Destructor Documentation

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

Member Function Documentation

void Dune::Fem::LegendreShapeFunctionSet< ScalarShapeFunctionSpaceType >::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 );
};

References Dune::Fem::coordinate().

void Dune::Fem::LegendreShapeFunctionSet< ScalarShapeFunctionSpaceType >::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 );
};

References Dune::Fem::coordinate(), and Dune::Fem::LegendreShapeFunction< FunctionSpace >::hessian().

void Dune::Fem::LegendreShapeFunctionSet< ScalarShapeFunctionSpaceType >::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 );
};

References Dune::Fem::coordinate(), and Dune::Fem::LegendreShapeFunction< FunctionSpace >::jacobian().

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

return order of shape functions

template<class FunctionSpace, class GridPart, int polOrder, template< class > class Storage>
unsigned int Dune::Fem::LegendreDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, polOrder, Storage >::ScalarShapeFunctionSet::size ( ) const
inline

Member Data Documentation

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

Referenced by Dune::Fem::LegendreDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, polOrder, Storage >::ScalarShapeFunctionSet::size().

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

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