tcngf-pf.c: only show timestep if DEBUG is set - cngf-pf - continuum model for granular flows with pore-pressure dynamics (renamed from 1d_fd_simple_shear) (HTM) git clone git://src.adamsgaard.dk/cngf-pf (DIR) Log (DIR) Files (DIR) Refs (DIR) README (DIR) LICENSE --- (DIR) commit 150398e2da07a321896e44c5ea7bf1238d683150 (DIR) parent 838d87537c8aae08d8ce35f4ec6db0dfddfb67f7 (HTM) Author: Anders Damsgaard <anders@adamsgaard.dk> 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(-) --- (DIR) 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;