tDefine M_PI if not already defined - 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 b5b2b53da978c70da923317e45e51d1414a7faa0 (DIR) parent 3f3eab4837248c63a8d4b499551ec2d3c596a8b8 (HTM) Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Thu, 12 Dec 2019 22:14:24 +0100 Define M_PI if not already defined Diffstat: M max_depth_simple_shear.c | 4 ++++ 1 file changed, 4 insertions(+), 0 deletions(-) --- (DIR) diff --git a/max_depth_simple_shear.c b/max_depth_simple_shear.c t@@ -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) {