From 03092ba6dbea084ea38835c8b8d7b58c2edb30d8 Mon Sep 17 00:00:00 2001 From: podlesny <podlesny@zedat.fu-berlin.de> Date: Tue, 19 Jan 2021 22:37:38 +0100 Subject: [PATCH] dirty hack to make it run; io-writers need to get const arguments --- dune/tectonic/io/hdf5-writer.hh | 2 +- dune/tectonic/io/io-handler.hh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dune/tectonic/io/hdf5-writer.hh b/dune/tectonic/io/hdf5-writer.hh index 00620122..6a89f723 100644 --- a/dune/tectonic/io/hdf5-writer.hh +++ b/dune/tectonic/io/hdf5-writer.hh @@ -41,7 +41,7 @@ class HDF5Writer { timeWriter_.write(programState); - friction.updateAlpha(programState.alpha); + //friction.updateAlpha(programState.alpha); // extract relative velocities using Vector = typename ProgramState::Vector; diff --git a/dune/tectonic/io/io-handler.hh b/dune/tectonic/io/io-handler.hh index e1b735b7..ea5bc85c 100644 --- a/dune/tectonic/io/io-handler.hh +++ b/dune/tectonic/io/io-handler.hh @@ -85,7 +85,7 @@ class IOHandler { } template <class ProgramState, class GlobalFriction> - void write(const ProgramState& programState, const ContactNetwork& contactNetwork, const GlobalFriction& friction, const IterationRegister& iterationCount, bool initial = false) { + void write(const ProgramState& programState, const ContactNetwork& contactNetwork, GlobalFriction& friction, const IterationRegister& iterationCount, bool initial = false) { if (writeData_) { writeData(programState, contactNetwork, friction, iterationCount, initial); } -- GitLab