From aad1f94f5bf8f90c82a2b7e9e9405f967ade1295 Mon Sep 17 00:00:00 2001 From: Markus Wolff <markus.wolff@twt-gmbh.de> Date: Thu, 29 Jul 2010 11:16:36 +0000 Subject: [PATCH] changes due to changes in timemanager git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@3909 2fb0f335-1f38-0410-981e-8018bf24f1b0 --- dumux/decoupled/common/onemodelproblem.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dumux/decoupled/common/onemodelproblem.hh b/dumux/decoupled/common/onemodelproblem.hh index 28343ba780..104ba89ff3 100644 --- a/dumux/decoupled/common/onemodelproblem.hh +++ b/dumux/decoupled/common/onemodelproblem.hh @@ -238,8 +238,8 @@ public: bool shouldWriteRestartFile() const { return !restarted() && - timeManager().stepNum() > 0 && - (timeManager().stepNum() % 5 == 0); + timeManager().timeStepNum() > 0 && + (timeManager().timeStepNum() % 5 == 0); } /*! -- GitLab