Commit 8665a8cb authored by's avatar
Browse files

Give LocalIntegralEnergy a virtual destructor

It has other virtual methods, and therefore needs a
virtual destructor, too.
parent 4531c499
......@@ -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,
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment