diff --git a/dune/gfe/mixedlocalgfeadolcstiffness.hh b/dune/gfe/mixedlocalgfeadolcstiffness.hh index ddf89f9637cfe2bb06a2f1b28dd8f9cbadff10b8..c668f3ac3b95fe2949c1de792e49ce525c2da826 100644 --- a/dune/gfe/mixedlocalgfeadolcstiffness.hh +++ b/dune/gfe/mixedlocalgfeadolcstiffness.hh @@ -122,10 +122,14 @@ energy(const typename Basis::LocalView& localView, } using namespace Dune::TypeTree::Indices; - energy = localEnergy_->energy(localView, + try { + energy = localEnergy_->energy(localView, localAConfiguration0, localAConfiguration1); - + } catch (Dune::Exception &e) { + trace_off(); + throw e; + } energy >>= pureEnergy; trace_off();