Skip to content

Draft: Add a fallback implementation for Hessian computation

Simon Praetorius requested to merge feature/tensor-dot into master

Summary

The interface of local bases provides function and Jacobian evaluation. For higher order derivatives there is only the partial() method. This method allows to compute the Hessian of the basis functions, but it is not so very intuitive and not a nice interface. This MR provides an evaluateHessian(localBasis,...) method as a free function, which uses the partial() method. In the future, one could also add a localBasis.evaluateHessian(...) method to some basis functions and then conditionally switch to this.

Dependencies

Edited by Simon Praetorius

Merge request reports

Loading