Commit c23a82f9 authored by Melanie Lipp's avatar Melanie Lipp Committed by Timo Koch

[test][freeflow] Call postTimeStep before timeLoop->advanceTimeStep

In postTimeStep the L2 error is calculated using a difference to the analytical solution.
Without this commit, the L2 error is calculated using a difference between the numerical solution
at a certain time and the analytical solution one time step ahead.

With this commit, the numerical and analytical solution
used to calculate the L2 error should correspond to the same time.
parent 70c12576
......@@ -144,11 +144,11 @@ int main(int argc, char** argv) try
// advance to the time loop to the next step
// write vtk output
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