tPrint result in double precision - cngf-pf - continuum model for granular flows with pore-pressure dynamics (renamed from 1d_fd_simple_shear)
HTML git clone git://src.adamsgaard.dk/cngf-pf
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit f2ab541df3857c70de85b2850192275b28a1e6ab
DIR parent 5cfcaa2b12a379d610f619272c31342839d73164
HTML Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Thu, 12 Dec 2019 14:15:00 +0100
Print result in double precision
Diffstat:
M max_depth_simple_shear.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/max_depth_simple_shear.c b/max_depth_simple_shear.c
t@@ -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;