Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
jonathan.drechsel_at_mailbox.tu-dresden.de
dune-elasticity
Commits
8665a8cb
Commit
8665a8cb
authored
May 03, 2020
by
oliver.sander_at_tu-dresden.de
Browse files
Give LocalIntegralEnergy a virtual destructor
It has other virtual methods, and therefore needs a virtual destructor, too.
parent
4531c499
Changes
1
Hide whitespace changes
Inline
Side-by-side
dune/elasticity/materials/localintegralenergy.hh
View file @
8665a8cb
...
@@ -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
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment