Skip to content
Snippets Groups Projects
Commit 1d0d8fb5 authored by Melanie Darcis's avatar Melanie Darcis
Browse files

doc

git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@4427 2fb0f335-1f38-0410-981e-8018bf24f1b0
parent 28182a4b
No related branches found
No related tags found
No related merge requests found
...@@ -69,13 +69,13 @@ int main(int argc, char** argv) ...@@ -69,13 +69,13 @@ int main(int argc, char** argv)
TimeManager timeManager; TimeManager timeManager;
// instantiate the problem on the leaf grid // instantiate the problem on the leaf grid
Problem problem(timeManager, gridPtr->leafView()); Problem problem(timeManager, gridPtr->leafView()); /*@\label{tutorial-coupled:instantiate-problem}@*/
timeManager.init(problem, 0, dt, tEnd, !restart); timeManager.init(problem, 0, dt, tEnd, !restart);
// load the some previously saved state from disk // load the some previously saved state from disk
if (restart) if (restart)
problem.restart(restartTime); problem.restart(restartTime); /*@\label{tutorial-coupled:restart}@*/
// run the simulation // run the simulation
timeManager.run(); timeManager.run(); /*@\label{tutorial-coupled:execute}@*/
return 0; return 0;
} }
catch (Dune::Exception &e) { /*@\label{tutorial-coupled:catch-dune-exceptions}@*/ catch (Dune::Exception &e) { /*@\label{tutorial-coupled:catch-dune-exceptions}@*/
......
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