mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-16 20:24:48 -06:00
doc
This commit is contained in:
parent
b442580b0c
commit
7e5c2d8846
@ -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}@*/
|
||||||
|
Loading…
Reference in New Issue
Block a user