Is your feature request related to a problem? Please describe.
central difference approximation is used twice in the computation of double derivatives in functions
BendingEnergyLoss
The computation of double derivatives using central difference two times could be unstable numerically. The finite difference template would be too large leading to artifacts.
Describe the solution you'd like
The correct template kernel for the second difference would be [1 -2 1] for double derivative wrt same variable.
And for mixed partials, you can use forward difference approx. for example, here
http://www.holoborodko.com/pavel/2014/11/04/computing-mixed-derivatives-by-finite-differences/
Is your feature request related to a problem? Please describe.
central difference approximation is used twice in the computation of double derivatives in functions
BendingEnergyLoss
The computation of double derivatives using central difference two times could be unstable numerically. The finite difference template would be too large leading to artifacts.
Describe the solution you'd like
The correct template kernel for the second difference would be [1 -2 1] for double derivative wrt same variable.
And for mixed partials, you can use forward difference approx. for example, here
http://www.holoborodko.com/pavel/2014/11/04/computing-mixed-derivatives-by-finite-differences/