tFix comment and clean up CFLAGS - 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 d69b69d07b650bb147997d680d0c23fcd943b93d
(DIR) parent efaf37effd994a7986972f4bd2f76826e058fa84
(HTM) Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Tue, 5 May 2020 16:03:48 +0200
Fix comment and clean up CFLAGS
Diffstat:
M Makefile | 2 +-
M simulation.h | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
---
(DIR) diff --git a/Makefile b/Makefile
t@@ -22,7 +22,7 @@ DOC = \
README.md\
LICENSE
-HERE_CFLAGS = ${CFLAGS} -std=c99 -pedantic -Wall -Wextra -O2 -g
+HERE_CFLAGS = ${CFLAGS} -O2 -g
HERE_LDFLAGS = ${LDFLAGS} -lm -g
GLOBALCONST = -DVERSION=\"${VERSION}\"
(DIR) diff --git a/simulation.h b/simulation.h
t@@ -18,8 +18,8 @@ struct simulation {
/* gravitational acceleration magnitude [m/s^2] */
double G;
- /* wall parameters */
- double P_wall; // normal stress from top wall [Pa]
+ /* normal stress from the top wall [Pa] */
+ double P_wall;
/* optionally fix top shear velocity to this value [m/s] */
double v_x_fix;