diff --git a/dune/elasticity/materials/localintegralenergy.hh b/dune/elasticity/materials/localintegralenergy.hh index e7ea38c7ce645c4294237a55b0415c89646fbf8d..515d4322a4bb1fb3822ba060b1cfd5ee0816a25e 100644 --- a/dune/elasticity/materials/localintegralenergy.hh +++ b/dune/elasticity/materials/localintegralenergy.hh @@ -31,6 +31,10 @@ public: : localDensity_(ld) {} + /** \brief Virtual destructor */ + virtual ~LocalIntegralEnergy() + {} + /** \brief Assemble the energy for a single element */ field_type energy (const Entity& e, const LocalFiniteElement& localFiniteElement,