From 46499ede4957277f9f7e2a2f75fd9257cb447263 Mon Sep 17 00:00:00 2001 From: Lisa Julia Nebel <lisa_julia.nebel@tu-dresden.de> Date: Wed, 2 Sep 2020 16:52:57 +0200 Subject: [PATCH] Remove the input from the call to trace_off() This actually enforced writing of three tape files of ADOL-C (see taping.h)! --- dune/gfe/localgeodesicfeadolcstiffness.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dune/gfe/localgeodesicfeadolcstiffness.hh b/dune/gfe/localgeodesicfeadolcstiffness.hh index 148f2c4c..f7c4d27c 100644 --- a/dune/gfe/localgeodesicfeadolcstiffness.hh +++ b/dune/gfe/localgeodesicfeadolcstiffness.hh @@ -106,13 +106,13 @@ energy(const typename Basis::LocalView& localView, try { energy = localEnergy_->energy(localView,localASolution); } catch (Dune::Exception &e) { - trace_off(rank); + trace_off(); throw e; } energy >>= pureEnergy; - trace_off(rank); + trace_off(); #if 0 size_t tape_stats[STAT_SIZE]; tapestats(rank,tape_stats); // reading of tape statistics -- GitLab