dune-fem  2.4.1-rc
Classes | Public Types | Public Member Functions | Protected Types | Protected Attributes | List of all members
Dune::Fem::HierarchicLegendreShapeFunctionSet< FunctionSpace > Class Template Reference

please doc me More...

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

Inheritance diagram for Dune::Fem::HierarchicLegendreShapeFunctionSet< FunctionSpace >:
Inheritance graph

Classes

struct  Compare
 

Public Types

typedef FunctionSpace 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

int order () const noexcept
 return order of shape functions More...
 
std::size_t size () const noexcept
 return number of shape functions More...
 
template<class Point , class Functor >
void evaluateEach (const Point &x, Functor functor) const noexcept
 evalute each shape function More...
 
template<class Point , class Functor >
void jacobianEach (const Point &x, Functor functor) const noexcept
 evalute jacobian of each shape function More...
 
template<class Point , class Functor >
void hessianEach (const Point &x, Functor functor) const noexcept
 evalute hessian of each shape function More...
 
Construction
 HierarchicLegendreShapeFunctionSet ()=default
 
 HierarchicLegendreShapeFunctionSet (int order)
 

Protected Types

typedef BaseType::ShapeFunctionType ShapeFunctionType
 

Protected Attributes

std::vector< ShapeFunctionTypeshapeFunctions_
 
int order_
 

Detailed Description

template<class FunctionSpace>
class Dune::Fem::HierarchicLegendreShapeFunctionSet< FunctionSpace >

please doc me

Note
The range field type used in the evaluation is fixed to double.
This shape function set can only be used with cubic reference elements.
Template Parameters
FunctionSpace(scalar) function space

Member Typedef Documentation

domain type

template<class FunctionSpace>
typedef FunctionSpace Dune::Fem::LegendreShapeFunctionSet< FunctionSpace >::FunctionSpaceType
inherited

function space type

hessian range type

jacobian range type

template<class FunctionSpace>
typedef FunctionSpaceType::RangeType Dune::Fem::LegendreShapeFunctionSet< FunctionSpace >::RangeType
inherited

range type

template<class FunctionSpace>
typedef BaseType:: ShapeFunctionType Dune::Fem::HierarchicLegendreShapeFunctionSet< FunctionSpace >::ShapeFunctionType
protected

Constructor & Destructor Documentation

Member Function Documentation

template<class FunctionSpace>
template<class Point , class Functor >
void Dune::Fem::LegendreShapeFunctionSet< FunctionSpace >::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 );
};
template<class FunctionSpace>
template<class Point , class Functor >
void Dune::Fem::LegendreShapeFunctionSet< FunctionSpace >::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 );
};
template<class FunctionSpace>
template<class Point , class Functor >
void Dune::Fem::LegendreShapeFunctionSet< FunctionSpace >::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 );
};
template<class FunctionSpace>
int Dune::Fem::LegendreShapeFunctionSet< FunctionSpace >::order ( ) const
inlinenoexceptinherited

return order of shape functions

template<class FunctionSpace>
std::size_t Dune::Fem::LegendreShapeFunctionSet< FunctionSpace >::size ( ) const
inlinenoexceptinherited

return number of shape functions

Member Data Documentation

template<class FunctionSpace>
int Dune::Fem::LegendreShapeFunctionSet< FunctionSpace >::order_
protectedinherited
template<class FunctionSpace>
std::vector< ShapeFunctionType > Dune::Fem::LegendreShapeFunctionSet< FunctionSpace >::shapeFunctions_
protectedinherited

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