From 06afc729f9061c1cfa14c78728d61d518324c2f0 Mon Sep 17 00:00:00 2001
From: Samo Penic <samo.penic@gmail.com>
Date: Wed, 04 May 2022 05:46:43 +0000
Subject: [PATCH] Moved all global variables to separate file and defined extern keyword where appropriate

---
 src/general.h |   11 ++---------
 1 files changed, 2 insertions(+), 9 deletions(-)

diff --git a/src/general.h b/src/general.h
index c9cc537..2f15c50 100644
--- a/src/general.h
+++ b/src/general.h
@@ -158,6 +158,7 @@
         ts_double solAngle;
 		struct ts_poly *grafted_poly;
 		struct ts_cluster *cluster;
+	ts_double direct_interaction_force;
 };
 typedef struct ts_vertex ts_vertex;
 
@@ -219,7 +220,7 @@
     ts_cell **cell;
     ts_double dcell;
     ts_double shift;
-    ts_double max_occupancy;
+    ts_uint max_occupancy;
 	ts_double dmin_interspecies;
 } ts_cell_list;
 
@@ -351,14 +352,6 @@
 	ts_cluster **cluster;
 } ts_cluster_list;
 
-
-/* GLOBAL VARIABLES */
-
-int quiet;
-ts_double V0;
-ts_double A0;
-ts_double epsvol;
-ts_double epsarea;
 /* FUNCTIONS */
 
 /** Non-fatal error function handler:

--
Gitblit v1.9.3