Skip to content
Snippets Groups Projects
Commit c250302c authored by Sander, Oliver's avatar Sander, Oliver
Browse files

Introduce a base class for local energies

Currently, all implementations of variational problems inherit
from LocalGeodesicFEStiffness, which requires gradient and Hessian
implementations.  However, most of these implementations really
only implement the energy, and leave computations of first and
second derivatives to algorithmic differentiation.  To make
this clearer, this patch introduces an abstract base class
LocalEnergy for all implementations that really only have
an energy.
parent 24e3b9a1
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment