From d5d78a49c6b51fb1f6f0661d063034eaf65e02f7 Mon Sep 17 00:00:00 2001
From: Samo Penic <samo.penic@gmail.com>
Date: Wed, 25 Sep 2019 09:20:36 +0000
Subject: [PATCH] Constant volume and constant area fix. Removed spherical harmonics calculations in simulations. No ulm2.cvs and state.dat files are produced anymore

---
 src/general.h |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/src/general.h b/src/general.h
index c530a68..2dd63d8 100644
--- a/src/general.h
+++ b/src/general.h
@@ -195,11 +195,13 @@
 	ts_double znorm;
     ts_double area; // firstly needed for sh.c
     ts_double volume; // firstly needed for sh.c
+	ts_double energy;
 };
 typedef struct ts_triangle ts_triangle;
 
 struct ts_triangle_list{
     ts_uint n;
+	ts_double a0;
     ts_triangle **tria;
 };
 typedef struct ts_triangle_list ts_triangle_list;
@@ -217,7 +219,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;
 
@@ -273,6 +275,8 @@
 	long int pswitch;
     long int constvolswitch;
     long int constareaswitch;
+	long int stretchswitch;
+	ts_double xkA0;
     ts_double constvolprecision;
     	char *multiprocessing;
    	long int brezveze0;

--
Gitblit v1.9.3