From ce5a2cfca16e0d400bbb3ac0f5fda0a1c73cd158 Mon Sep 17 00:00:00 2001
From: Andreas Lauser <and@poware.org>
Date: Thu, 24 Mar 2011 11:13:56 +0000
Subject: [PATCH] change comment in time manager

git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@5460 2fb0f335-1f38-0410-981e-8018bf24f1b0
---
 dumux/common/timemanager.hh | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/dumux/common/timemanager.hh b/dumux/common/timemanager.hh
index bb0ac1c9da..4475c0ff3b 100644
--- a/dumux/common/timemanager.hh
+++ b/dumux/common/timemanager.hh
@@ -1,6 +1,6 @@
 // $Id$
 /*****************************************************************************
- *   Copyright (C) 2008 by Andreas Lauser                                    *
+ *   Copyright (C) 2008-2011 by Andreas Lauser                               *
  *   Institute of Hydraulic Engineering                                      *
  *   University of Stuttgart, Germany                                        *
  *   email: <givenname>.<name>@iws.uni-stuttgart.de                          *
@@ -110,18 +110,18 @@ public:
               Scalar tEnd,
               bool writeInitialSol = true)
     {
-        if (verbose_)
-            std::cout << "Initializing problem '" << problem_->name() << "'\n";
-
         problem_ = &problem;
         time_ = tStart;
         timeStepSize_ = dtInitial;
         endTime_ = tEnd;
 
+        if (verbose_)
+            std::cout << "Initializing problem '" << problem_->name() << "'\n";
+
         // initialize the problem
         problem_->init();
 
-        // initialize the problem
+        // write initial condition (if requested)
         if (writeInitialSol) {
             time_ -= timeStepSize_;
             problem_->writeOutput();
-- 
GitLab