Skip to content
Snippets Groups Projects
Commit ce5a2cfc authored by Andreas Lauser's avatar Andreas Lauser
Browse files

change comment in time manager

git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@5460 2fb0f335-1f38-0410-981e-8018bf24f1b0
parent 2a9e2929
No related branches found
No related tags found
No related merge requests found
// $Id$ // $Id$
/***************************************************************************** /*****************************************************************************
* Copyright (C) 2008 by Andreas Lauser * * Copyright (C) 2008-2011 by Andreas Lauser *
* Institute of Hydraulic Engineering * * Institute of Hydraulic Engineering *
* University of Stuttgart, Germany * * University of Stuttgart, Germany *
* email: <givenname>.<name>@iws.uni-stuttgart.de * * email: <givenname>.<name>@iws.uni-stuttgart.de *
...@@ -110,18 +110,18 @@ public: ...@@ -110,18 +110,18 @@ public:
Scalar tEnd, Scalar tEnd,
bool writeInitialSol = true) bool writeInitialSol = true)
{ {
if (verbose_)
std::cout << "Initializing problem '" << problem_->name() << "'\n";
problem_ = &problem; problem_ = &problem;
time_ = tStart; time_ = tStart;
timeStepSize_ = dtInitial; timeStepSize_ = dtInitial;
endTime_ = tEnd; endTime_ = tEnd;
if (verbose_)
std::cout << "Initializing problem '" << problem_->name() << "'\n";
// initialize the problem // initialize the problem
problem_->init(); problem_->init();
// initialize the problem // write initial condition (if requested)
if (writeInitialSol) { if (writeInitialSol) {
time_ -= timeStepSize_; time_ -= timeStepSize_;
problem_->writeOutput(); problem_->writeOutput();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment