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/restore.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/restore.c b/src/restore.c
index 24f98fb..a490d53 100644
--- a/src/restore.c
+++ b/src/restore.c
@@ -85,6 +85,7 @@
 
 	init_normal_vectors(vesicle->tlist);
 	mean_curvature_and_energy(vesicle);
+	sweep_attraction_bond_energy(vesicle);
 
 /* TODO: filaments */
 
@@ -186,7 +187,6 @@
 
 	vesicle->tape=tape;
 	set_vesicle_values_from_tape(vesicle);
-
 	return vesicle;
 }
 

--
Gitblit v1.9.3