PTEMS  0.1.0-dev+git.81fd0e4
PolyTopic Element Method Solver
ptems::HighOrderFunctionTransform< 1, 2 > Class Reference

Functor for mapping second order derivatives on a reference element in 1D to a local element. More...

#include <ptems/hofunctiontransform.hpp>

Public Member Functions

 HighOrderFunctionTransform (const Matrix< 1 > &jacobianMapping)
 Creates the functor to map second order derivatives to a local element. More...
 
void operator() ([[maybe_unused]] const std::array< Matrix< 1 >, 1 > &hessianMapping, [[maybe_unused]] const Vector< 1 > &gradient, Matrix< 1 > &hessian) const
 Map the second order derivatives. More...
 

Detailed Description

Functor for mapping second order derivatives on a reference element in 1D to a local element.

Constructor & Destructor Documentation

◆ HighOrderFunctionTransform()

ptems::HighOrderFunctionTransform< 1, 2 >::HighOrderFunctionTransform ( const Matrix< 1 > &  jacobianMapping)
inlineexplicit

Creates the functor to map second order derivatives to a local element.

Parameters
jacobianMappingThe Jacobian of the element mapping at the point of compuration

Member Function Documentation

◆ operator()()

void ptems::HighOrderFunctionTransform< 1, 2 >::operator() ( [[maybe_unused] ] const std::array< Matrix< 1 >, 1 > &  hessianMapping,
[[maybe_unused] ] const Vector< 1 > &  gradient,
Matrix< 1 > &  hessian 
) const
inline

Map the second order derivatives.

Todo:
Should gradient be before or after mapping to element
Parameters
hessianMappingThe hessian of the element mapping at the point of compuration
gradientThe gradient at the point of computation on the element after mapping
hessianThe gradient at the point of computation on the reference element

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