Replace local energies by local densities
requested to merge patrick.jaap_at_tu-dresden.de/dune-elasticity:feature/integral-energies-with-density into master
- wrap the densities by a generic IntegralEnergy
- this preserves all material properties
- reduces redundant code
Edited by Patrick Jaap