Commit 287822b8 authored by Bernd Flemisch's avatar Bernd Flemisch

[test][tracer] fix output for 2p tracer test

The VTK output of the 2p model has been called before
`timeLoop->advanceTimeStep()`, resulting in a wrong timestep
number in the pvd file. Fix by moving the VTK output call to the
correct position.
parent b79d7cdd
......@@ -206,9 +206,6 @@ int main(int argc, char** argv)
pOld = p;
twoPGridVariables->advanceTimeStep();
// write vtk output
twoPVtkWriter.write(timeLoop->time());
// report statistics of this time step
timeLoop->reportTimeStep();
......@@ -312,6 +309,7 @@ int main(int argc, char** argv)
timeLoop->advanceTimeStep();
// write vtk output
twoPVtkWriter.write(timeLoop->time());
vtkWriter.write(timeLoop->time());
} while (!timeLoop->finished());
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment