tmove global defines to granular.h - granular - granular dynamics simulation
(HTM) git clone git://src.adamsgaard.dk/granular
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 1dcf2dc7c9a6fa0c1782f141144002f84d90f4c6
(DIR) parent cef1759a8c1f2ef7b46ee68460f8fa9b4a08c0c4
(HTM) Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Thu, 18 Mar 2021 07:44:24 +0100
move global defines to granular.h
Diffstat:
M granular.h | 2 ++
M simulation.h | 2 --
2 files changed, 2 insertions(+), 2 deletions(-)
---
(DIR) diff --git a/granular.h b/granular.h
t@@ -2,5 +2,7 @@
#define GRANULAR_
#define ND 3
+#define PI 3.14159265358979323846
+#define DEG2RAD(x) (x*PI/180.0)
#endif
(DIR) diff --git a/simulation.h b/simulation.h
t@@ -4,8 +4,6 @@
#include "arrays.h"
#define DEFAULT_SIMULATION_NAME "unnamed_simulation"
-#define PI 3.14159265358979323846
-#define DEG2RAD(x) (x*PI/180.0)
extern struct simulation sim;