From 3a018d380395889059bf582015fb2935a9a20fb0 Mon Sep 17 00:00:00 2001
From: mihaf <miha.fosnaric@gmail.com>
Date: Thu, 27 Feb 2014 14:55:13 +0000
Subject: [PATCH] Bug found and removed: polys now also translated when origin moves to the center of mass. All seems OK after firt testing. :)

---
 src/main.c |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/src/main.c b/src/main.c
index 7e12c1c..53f4b0e 100644
--- a/src/main.c
+++ b/src/main.c
@@ -10,6 +10,7 @@
 #include "initial_distribution.h"
 #include "frame.h"
 #include "timestep.h"
+#include "poly.h"
 
 /** Entrance function to the program
   * @param argv is a number of parameters used in program call (including the program name
@@ -64,6 +65,13 @@
 printf("Tests complete.\n");
 */
 vesicle=parsetape(&mcsweeps, &inititer, &iterations);
+
+/*Testing */
+//vesicle->poly_list=init_poly_list(1400,20,vesicle->vlist);
+
+//poly_list_free(vesicle->poly_list);
+/*End testing*/
+
 run_simulation(vesicle, mcsweeps, inititer, iterations);
 
 write_master_xml_file("test.pvd");

--
Gitblit v1.9.3