From 02d65c3c9baa0e76744ce001c55ec699ab3b956f Mon Sep 17 00:00:00 2001
From: Miha Fošnarič <miha.fosnaric@fe.uni-lj.si>
Date: Mon, 11 Jul 2016 13:09:15 +0000
Subject: [PATCH] A fix in energy.c. Normals are summed now.

---
 src/cell.h |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/cell.h b/src/cell.h
index 76ba105..1623846 100644
--- a/src/cell.h
+++ b/src/cell.h
@@ -1,11 +1,12 @@
+/* vim: set ts=4 sts=4 sw=4 noet : */
 #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_add_vertex(ts_cell *cell, ts_vertex *vtx);
+inline ts_bool cell_add_vertex(ts_cell *cell, ts_vertex *vtx);
+inline ts_bool cell_remove_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);
+inline ts_bool cell_occupation_number_and_internal_proximity(ts_cell_list *clist, ts_uint cellidx, ts_vertex *vtx);
 #endif

--
Gitblit v1.9.3