Skip to content
Snippets Groups Projects
Commit 1834dcf8 authored by oliver.sander_at_tu-dresden.de's avatar oliver.sander_at_tu-dresden.de
Browse files

Merge branch 'add-virtual-destructor' into 'master'

Give LocalIntegralEnergy a virtual destructor

See merge request !27
parents 4531c499 8665a8cb
No related branches found
No related tags found
1 merge request!27Give LocalIntegralEnergy a virtual destructor
Pipeline #28278 passed
...@@ -31,6 +31,10 @@ public: ...@@ -31,6 +31,10 @@ public:
: localDensity_(ld) : localDensity_(ld)
{} {}
/** \brief Virtual destructor */
virtual ~LocalIntegralEnergy()
{}
/** \brief Assemble the energy for a single element */ /** \brief Assemble the energy for a single element */
field_type energy (const Entity& e, field_type energy (const Entity& e,
const LocalFiniteElement& localFiniteElement, const LocalFiniteElement& localFiniteElement,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment