cngf-pf

continuum model for granular flows with pore-pressure dynamics (renamed from 1d_fd_simple_shear)
git clone git://src.adamsgaard.dk/cngf-pf # fast
git clone https://src.adamsgaard.dk/cngf-pf.git # slow
Log | Files | Refs | README | LICENSE Back to index

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:
MMakefile | 2+-
Msimulation.h | 4++--
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;