dg1d: add lazy integrator
I am surprised that I did not need this before.
This is intentionally a hacky implementation as I just need that for the thesis right now.
This also implements
- the total rest-mass computation for the GRHD project as a first application,
- adds helper functions for the
Output
struct to read all data at once.
Edited by Florian Atteneder