|
dune-fem 2.12-git
|
Loading...
Searching...
No Matches
shapefunctionset/legendre.hh
Go to the documentation of this file.
33 static_assert( FunctionSpace::dimRange == 1, "FunctionSpace must be scalar (i.e., dimRange = 1)." );
120 hessian[ 0 ][ i ][ i ] *= ( k == i ) ? LegendrePolynomials::hessian( multiIndex_[ i ], x[ i ]) : phi;
265 : LegendreShapeFunctionSet( __LegendreShapeFunctionSet::DefaultFactory< FunctionSpaceType >( order ) )
X & lhs()
Y & rhs()
int size() const
iterator end()
iterator begin()
virtual void operator()()=0
Traits::value_type value_type
Definition explicitfieldvector.hh:75
FunctionSpaceTraits::DomainFieldType DomainFieldType
Intrinsic type used for values in the domain field (usually a double)
Definition functionspaceinterface.hh:60
FunctionSpaceTraits::RangeType RangeType
Type of range vector (using type of range field) has a Dune::FieldVector type interface.
Definition functionspaceinterface.hh:71
FunctionSpaceTraits::LinearMappingType JacobianRangeType
Intrinsic type used for the jacobian values has a Dune::FieldMatrix type interface.
Definition functionspaceinterface.hh:75
FunctionSpaceTraits::DomainType DomainType
Type of domain vector (using type of domain field) has a Dune::FieldVector type interface.
Definition functionspaceinterface.hh:67
FunctionSpaceTraits::RangeFieldType RangeFieldType
Intrinsic type used for values in the range field (usually a double)
Definition functionspaceinterface.hh:63
@ dimDomain
dimension of domain vector space
Definition functionspaceinterface.hh:46
@ dimRange
dimension of range vector space
Definition functionspaceinterface.hh:48
implementation of a single scalar-valued Legendre shape function
Definition shapefunctionset/legendre.hh:32
FunctionSpaceType::HessianRangeType HessianRangeType
hessian type
Definition shapefunctionset/legendre.hh:51
void evaluate(const DomainType &x, RangeType &value) const noexcept
evaluate the function
Definition shapefunctionset/legendre.hh:90
void jacobian(const DomainType &x, JacobianRangeType &jacobian) const noexcept
evaluate the Jacobian of the function
Definition shapefunctionset/legendre.hh:98
void hessian(const DomainType &x, HessianRangeType &hessian) const noexcept
evaluate the hessian of the function
Definition shapefunctionset/legendre.hh:111
FunctionSpaceType::RangeFieldType RangeFieldType
field type of range
Definition shapefunctionset/legendre.hh:42
LegendreShapeFunction()=default
LegendreShapeFunction(const MultiIndex &multiIndex)
Definition shapefunctionset/legendre.hh:64
FunctionSpace FunctionSpaceType
type of function space this function belongs to
Definition shapefunctionset/legendre.hh:37
FunctionSpaceType::JacobianRangeType JacobianRangeType
jacobian type
Definition shapefunctionset/legendre.hh:49
int order() const noexcept
return polynomial order of this function
Definition shapefunctionset/legendre.hh:78
FunctionSpaceType::DomainType DomainType
domain type
Definition shapefunctionset/legendre.hh:45
FunctionSpaceType::RangeType RangeType
range type
Definition shapefunctionset/legendre.hh:47
FunctionSpaceType::DomainFieldType DomainFieldType
field type of domain
Definition shapefunctionset/legendre.hh:40
const std::array< int, FunctionSpaceType::dimDomain > & orders() const noexcept
return monomial orders of this function
Definition shapefunctionset/legendre.hh:84
a Dune::Fem::ShapeFunctionSet of Legendre ansatz polynomials
Definition shapefunctionset/legendre.hh:218
FunctionSpaceType::JacobianRangeType JacobianRangeType
jacobian range type
Definition shapefunctionset/legendre.hh:231
FunctionSpaceType::DomainType DomainType
domain type
Definition shapefunctionset/legendre.hh:227
void hessianEach(const Point &x, Functor functor) const noexcept
evalute hessian of each shape function
Definition shapefunctionset/legendre.hh:338
void evaluateEach(const Point &x, Functor functor) const noexcept
evalute each shape function
Definition shapefunctionset/legendre.hh:312
FunctionSpaceType::RangeType RangeType
range type
Definition shapefunctionset/legendre.hh:229
LegendreShapeFunctionSet()=default
default constructor resulting in uninitialized shape function set
int order() const noexcept
return order of shape functions
Definition shapefunctionset/legendre.hh:305
FunctionSpaceType::HessianRangeType HessianRangeType
hessian range type
Definition shapefunctionset/legendre.hh:233
void jacobianEach(const Point &x, Functor functor) const noexcept
evalute jacobian of each shape function
Definition shapefunctionset/legendre.hh:325
std::size_t size() const noexcept
return number of shape functions
Definition shapefunctionset/legendre.hh:308
FunctionSpace FunctionSpaceType
function space type
Definition shapefunctionset/legendre.hh:224
LegendreShapeFunctionSet(const Factory &factory)
initialize from user-defined factory object
Definition shapefunctionset/legendre.hh:288
LegendreShapeFunction< FunctionSpace > ShapeFunctionType
Definition shapefunctionset/legendre.hh:220
LegendreShapeFunctionSet(int order)
initialize with polynomial order
Definition shapefunctionset/legendre.hh:264
std::vector< ShapeFunctionType > shapeFunctions_
Definition shapefunctionset/legendre.hh:350
Definition shapefunctionset/legendre.hh:237
static double hessian(const int num, const double x)
Definition legendrepolynomials.hh:48
static double jacobian(const int num, const double x)
Definition legendrepolynomials.hh:34
static double evaluate(const int num, const double x)
Definition legendrepolynomials.hh:24
T begin(T... args)
T copy(T... args)
T distance(T... args)
T end(T... args)
T fill(T... args)
T lexicographical_compare(T... args)
T max_element(T... args)
T sort(T... args)
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8