From 7958e9880911c822dcb78d3e1ac743a0ccdc1e03 Mon Sep 17 00:00:00 2001
From: Samo Penic <samo@andromeda>
Date: Sat, 04 Dec 2010 20:56:15 +0000
Subject: [PATCH] The initial distribution file has been rewritten. The structure of dipyramid should be accurately recreated using new datastructure. While rewritting the new datastructure proved to be very easy to understand and no memory leaks occured. Still, some questions remains unanswered -- whether the vertex neighbours and links to bonds should be linked tightly together.

---
 src/cell.h |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/src/cell.h b/src/cell.h
index eb04a61..660792b 100644
--- a/src/cell.h
+++ b/src/cell.h
@@ -1,6 +1,12 @@
 #ifndef _H_CELL
 #define _H_CELL
+ts_cell_list  *init_cell_list(ts_uint ncmax1, ts_uint ncmax2, ts_uint ncmax3, ts_double stepsize);
+ts_bool cell_free(ts_cell* cell);
+ts_bool cell_list_free(ts_cell_list *clist);
 inline ts_uint vertex_self_avoidance(ts_vesicle *vesicle, ts_vertex *vtx);
-ts_bool cell_occupation_number_and_internal_proximity(ts_cell_list *clist,
-ts_uint cellidx, ts_vertex *vtx, ts_vertex *tvtx);
+ts_bool cell_add_vertex(ts_cell *cell, ts_vertex *vtx);
+ts_bool cell_list_cell_occupation_clear(ts_cell_list *clist);
+
+//ts_bool cell_occupation_number_and_internal_proximity(ts_cell_list *clist,
+//ts_uint cellidx, ts_vertex *vtx, ts_vertex *tvtx);
 #endif

--
Gitblit v1.9.3