cngf-pf

continuum model for granular flows with pore-pressure dynamics (renamed from 1d_fd_simple_shear)
git clone git://src.adamsgaard.dk/cngf-pf # fast
git clone https://src.adamsgaard.dk/cngf-pf.git # slow
Log | Files | Refs | README | LICENSE Back to index

commit 150398e2da07a321896e44c5ea7bf1238d683150
parent 838d87537c8aae08d8ce35f4ec6db0dfddfb67f7
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:
Mcngf-pf.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/cngf-pf.c b/cngf-pf.c @@ -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;