tcngf-pf.c: only show timestep if DEBUG is set - cngf-pf - continuum model for … | |
git clone git://src.adamsgaard.dk/cngf-pf | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 150398e2da07a321896e44c5ea7bf1238d683150 | |
parent 838d87537c8aae08d8ce35f4ec6db0dfddfb67f7 | |
Author: Anders Damsgaard <[email protected]> | |
Date: Tue, 16 Feb 2021 15:53:12 +0100 | |
cngf-pf.c: only show timestep if DEBUG is set | |
Diffstat: | |
M cngf-pf.c | 2 ++ | |
1 file changed, 2 insertions(+), 0 deletions(-) | |
--- | |
diff --git a/cngf-pf.c b/cngf-pf.c | |
t@@ -258,7 +258,9 @@ main(int argc, char *argv[]) | |
set_coupled_fluid_transient_timestep(&sim, 0.5); | |
} | |
} | |
+#ifdef DEBUG | |
fprintf(stderr, "t_val = %g \n", sim.dt); | |
+#endif | |
if (sim.dt > sim.file_dt) | |
sim.dt = sim.file_dt; |