From f74313919463dd08d93faeefd40900e2917c0157 Mon Sep 17 00:00:00 2001
From: Samo Penic <samo@andromeda>
Date: Sun, 05 Dec 2010 09:00:47 +0000
Subject: [PATCH] Some rewritting done.

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

diff --git a/src/initial_distribution.c b/src/initial_distribution.c
index d5f1e94..4881e11 100644
--- a/src/initial_distribution.c
+++ b/src/initial_distribution.c
@@ -8,6 +8,7 @@
 #include "vertex.h"
 #include "triangle.h"
 #include "initial_distribution.h"
+#include "energy.h"
 
 ts_vesicle *initial_distribution_dipyramid(ts_uint nshell, ts_uint ncmax1, ts_uint ncmax2, ts_uint ncmax3, ts_double stepsize){
     ts_fprintf(stderr,"Starting initial_distribution on vesicle with %u shells!...\n",nshell);
@@ -24,6 +25,7 @@
     retval = init_triangles(vesicle);
     retval = init_triangle_neighbours(vesicle);
     retval = init_common_vertex_triangle_neighbours(vesicle);
+    retval = mean_curvature_and_energy(vesicle);
  ts_fprintf(stderr,"initial_distribution finished!\n");
 	return vesicle;
 } 

--
Gitblit v1.9.3