tMore style changes - 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 001852e42061db146940e5b7b9d5f5af586330b9
(DIR) parent ed7fe8b9188dc2f8394d875044cfc0ab7d71d3ea
(HTM) Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Mon, 4 May 2020 16:16:52 +0200
More style changes
Diffstat:
M 1d_fd_simple_shear.c | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
---
(DIR) diff --git a/1d_fd_simple_shear.c b/1d_fd_simple_shear.c
t@@ -5,9 +5,10 @@
#include <unistd.h>
#include "simulation.h"
-#include "arg.h"
#include "fluid.h"
+#include "arg.h"
+
/* relative tolerance criteria for granular fluidity solver */
#define RTOL 1e-5
#define MAX_ITER_1D_FD_SIMPLE_SHEAR 100000
t@@ -212,9 +213,9 @@ main(int argc, char* argv[])
usage();
} ARGEND;
- if (argc == 1 && argv[0]) {
+ if (argc == 1 && argv[0])
snprintf(sim.name, sizeof(sim.name), "%s", argv[0]);
- } else if (argc > 1)
+ else if (argc > 1)
usage();
if (sim.nz < 1)