commit d69b69d07b650bb147997d680d0c23fcd943b93d
parent efaf37effd994a7986972f4bd2f76826e058fa84
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Tue, 5 May 2020 16:03:48 +0200
Fix comment and clean up CFLAGS
Diffstat:
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/Makefile b/Makefile
@@ -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
@@ -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;