diff --git a/dumux/common/timemanager.hh b/dumux/common/timemanager.hh index ceaf5dec088ba0d1543568765292da7378692207..4a36def51663ae98a6d7d42ec6013da0560b6ea9 100644 --- a/dumux/common/timemanager.hh +++ b/dumux/common/timemanager.hh @@ -123,7 +123,8 @@ public: { // write initial condition (if problem is not restarted) time_ -= timeStepSize_; - problem_->writeOutput(); + if (problem_->shouldWriteOutput()) + problem_->writeOutput(); time_ += timeStepSize_; }