From 84af719f37b54185ddd7daf0627421143874905c Mon Sep 17 00:00:00 2001
From: Samo Penic <samo.penic@gmail.com>
Date: Sun, 24 Nov 2013 12:05:41 +0000
Subject: [PATCH] ASK MIHAparaview ! Bug fixed, by removing cell change.

---
 src/timestep.h |   19 ++++++++++++-------
 1 files changed, 12 insertions(+), 7 deletions(-)

diff --git a/src/timestep.h b/src/timestep.h
index 53c5ed1..645535e 100644
--- a/src/timestep.h
+++ b/src/timestep.h
@@ -1,10 +1,15 @@
-ts_bool single_timestep(ts_vesicle *vesicle);
+#ifndef _TIMESTEP_H
+#define _TIMESTEP_H
+#include<pthread.h>
 
-ts_bool single_verticle_timestep(ts_vesicle *vesicle,ts_vertex *vtx,ts_double
-*rn);
+typedef struct str_thdata
+{
+    ts_uint thread_no;
+	ts_uint threads;
+    ts_vesicle *vesicle;
+} thdata;
 
-ts_bool single_bondflip_timestep(ts_vesicle *vesicle, ts_bond *bond, ts_double
-*rn);
 
-ts_bool ts_flip_bond(ts_vertex *k,ts_vertex *it,ts_vertex *km, ts_vertex *kp,
-ts_bond *bond);
+void * single_timestep(void *thread_data);
+ts_bool run_simulation(ts_vesicle *vesicle, ts_uint mcsweeps, ts_uint inititer, ts_uint iterations);
+#endif

--
Gitblit v1.9.3