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 f2ab541df3857c70de85b2850192275b28a1e6ab
parent 5cfcaa2b12a379d610f619272c31342839d73164
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Thu, 12 Dec 2019 14:15:00 +0100

Print result in double precision

Diffstat:
Mmax_depth_simple_shear.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/max_depth_simple_shear.c b/max_depth_simple_shear.c @@ -336,7 +336,7 @@ main(int argc, char* argv[]) printf("time spent = %g s\n", t_elapsed); #endif - printf("%g\t%g\n", depth, d_s); + printf("%.17g\t%.17g\n", depth, d_s); free_arrays(&sim); return 0;