DUNE-FEM (unstable)
legendre.hh
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 ) )
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
@ dimDomain
dimension of domain vector space
Definition: functionspaceinterface.hh:46
@ dimRange
dimension of range vector space
Definition: functionspaceinterface.hh:48
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
a Dune::Fem::ShapeFunctionSet of Legendre ansatz polynomials
Definition: legendre.hh:218
FunctionSpaceType::JacobianRangeType JacobianRangeType
jacobian range type
Definition: legendre.hh:231
FunctionSpaceType::DomainType DomainType
domain type
Definition: legendre.hh:227
void hessianEach(const Point &x, Functor functor) const noexcept
evalute hessian of each shape function
Definition: legendre.hh:338
void evaluateEach(const Point &x, Functor functor) const noexcept
evalute each shape function
Definition: legendre.hh:312
FunctionSpaceType::RangeType RangeType
range type
Definition: legendre.hh:229
LegendreShapeFunctionSet()=default
default constructor resulting in uninitialized shape function set
int order() const noexcept
return order of shape functions
Definition: legendre.hh:305
FunctionSpaceType::HessianRangeType HessianRangeType
hessian range type
Definition: legendre.hh:233
void jacobianEach(const Point &x, Functor functor) const noexcept
evalute jacobian of each shape function
Definition: legendre.hh:325
std::size_t size() const noexcept
return number of shape functions
Definition: legendre.hh:308
FunctionSpace FunctionSpaceType
function space type
Definition: legendre.hh:224
LegendreShapeFunctionSet(const Factory &factory)
initialize from user-defined factory object
Definition: legendre.hh:288
LegendreShapeFunctionSet(int order)
initialize with polynomial order
Definition: legendre.hh:264
implementation of a single scalar-valued Legendre shape function
Definition: legendre.hh:32
FunctionSpaceType::HessianRangeType HessianRangeType
hessian type
Definition: legendre.hh:51
void evaluate(const DomainType &x, RangeType &value) const noexcept
evaluate the function
Definition: legendre.hh:90
void jacobian(const DomainType &x, JacobianRangeType &jacobian) const noexcept
evaluate the Jacobian of the function
Definition: legendre.hh:98
void hessian(const DomainType &x, HessianRangeType &hessian) const noexcept
evaluate the hessian of the function
Definition: legendre.hh:111
FunctionSpaceType::RangeFieldType RangeFieldType
field type of range
Definition: legendre.hh:42
FunctionSpace FunctionSpaceType
type of function space this function belongs to
Definition: legendre.hh:37
FunctionSpaceType::JacobianRangeType JacobianRangeType
jacobian type
Definition: legendre.hh:49
int order() const noexcept
return polynomial order of this function
Definition: legendre.hh:78
FunctionSpaceType::DomainType DomainType
domain type
Definition: legendre.hh:45
FunctionSpaceType::RangeType RangeType
range type
Definition: legendre.hh:47
FunctionSpaceType::DomainFieldType DomainFieldType
field type of domain
Definition: legendre.hh:40
const std::array< int, FunctionSpaceType::dimDomain > & orders() const noexcept
return monomial orders of this function
Definition: legendre.hh:84
constexpr std::integral_constant< std::size_t, sizeof...(II)> size(std::integer_sequence< T, II... >)
Return the size of the sequence.
Definition: integersequence.hh:75
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Nov 13, 23:29, 2024)