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

commit b5b2b53da978c70da923317e45e51d1414a7faa0
parent 3f3eab4837248c63a8d4b499551ec2d3c596a8b8
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Thu, 12 Dec 2019 22:14:24 +0100

Define M_PI if not already defined

Diffstat:
Mmax_depth_simple_shear.c | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/max_depth_simple_shear.c b/max_depth_simple_shear.c @@ -20,6 +20,10 @@ /* uncomment to print time spent per time step to stdout */ /* #define BENCHMARK_PERFORMANCE */ +#ifndef M_PI +#define M_PI 3.1415926535897932384626433832795028841971693993751058209749445923078164062 +#endif + static void usage(void) {