1d_fd_simple_shear

continuum model for granular flows with pore-pressure dynamics
git clone git://src.adamsgaard.dk/1d_fd_simple_shear
Log | Files | Refs | README | LICENSE Back to index

commit 001852e42061db146940e5b7b9d5f5af586330b9
parent ed7fe8b9188dc2f8394d875044cfc0ab7d71d3ea
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Mon,  4 May 2020 16:16:52 +0200

More style changes

Diffstat:
M1d_fd_simple_shear.c | 7++++---
1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/1d_fd_simple_shear.c b/1d_fd_simple_shear.c @@ -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 @@ -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)