tFix comment and clean up CFLAGS - cngf-pf - continuum model for granular flows… | |
git clone git://src.adamsgaard.dk/cngf-pf | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit d69b69d07b650bb147997d680d0c23fcd943b93d | |
parent efaf37effd994a7986972f4bd2f76826e058fa84 | |
Author: Anders Damsgaard <[email protected]> | |
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(-) | |
--- | |
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}\" | |
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; |