From 36ab43eef6ca749d486208d07b312b1f97da1861 Mon Sep 17 00:00:00 2001 From: Oliver Sander <oliver.sander@tu-dresden.de> Date: Fri, 30 Aug 2019 13:13:19 +0200 Subject: [PATCH] LocalADOLCStiffness takes a LocalEnergy now ... rather than a LocalFEStiffness. Because it really only needs the energy evaluation, and implements the rest itself. --- dune/elasticity/assemblers/localadolcstiffness.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dune/elasticity/assemblers/localadolcstiffness.hh b/dune/elasticity/assemblers/localadolcstiffness.hh index fcc0f2d..582381f 100644 --- a/dune/elasticity/assemblers/localadolcstiffness.hh +++ b/dune/elasticity/assemblers/localadolcstiffness.hh @@ -38,7 +38,7 @@ public: //! Dimension of a tangent space enum { blocksize = VectorType::value_type::dimension }; - LocalADOLCStiffness(const LocalFEStiffness<GridView, LocalFiniteElement, AVectorType>* energy) + LocalADOLCStiffness(const Dune::Elasticity::LocalEnergy<GridView, LocalFiniteElement, AVectorType>* energy) : localEnergy_(energy) {} @@ -56,7 +56,7 @@ public: const VectorType& localConfiguration, VectorType& localGradient); - const LocalFEStiffness<GridView, LocalFiniteElement, AVectorType>* localEnergy_; + const Dune::Elasticity::LocalEnergy<GridView, LocalFiniteElement, AVectorType>* localEnergy_; }; -- GitLab