From 3de2893d882d2c407375146376fbf9bb54f33e8b Mon Sep 17 00:00:00 2001 From: Samo Penic <samo.penic@fe.uni-lj.si> Date: Wed, 30 Apr 2014 13:44:12 +0000 Subject: [PATCH] Constant volume works. CAVEAT: in centermass I had to recalculate all normals of triangles again! This could influence behaviour of the system. --- src/initial_distribution.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/initial_distribution.c b/src/initial_distribution.c index bff9f05..35d533d 100644 --- a/src/initial_distribution.c +++ b/src/initial_distribution.c @@ -42,6 +42,7 @@ ts_vertex *vtx; vesicle=initial_distribution_dipyramid(tape->nshell,tape->ncxmax,tape->ncymax,tape->nczmax,tape->stepsize); + vesicle->tape=tape; // Nucleus: vesicle->R_nucleus=tape->R_nucleus*tape->R_nucleus; -- Gitblit v1.9.3