Add option to analyze error of state variables wrt analytical solution
We add two new options
-
analyze_error
: this computesu_err = u - u_ana
, whereu_ana
is the analytical solution which needs to be implemented on a per-problem basis; so far we only implemented it forAdvection
andsine
initial data -
analyze_error_norm
: computes the L^2 norm ofu_err
; this would be 0d output, which is not yet implemented, so we don't test it yet.
This PR also includes a bit of a refactoring of setup.jl
to clarify the register!
mess (we done that already for other projects).
Edited by Florian Atteneder