From 5c64e2bc9d28240b5308882af2e6cf7505d444b6 Mon Sep 17 00:00:00 2001 From: Samo Penic <samo.penic@gmail.com> Date: Tue, 07 Jun 2016 19:14:09 +0000 Subject: [PATCH] Fixed energy calculations --- src/timestep.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/timestep.c b/src/timestep.c index 6972015..6328b0f 100644 --- a/src/timestep.c +++ b/src/timestep.c @@ -61,9 +61,9 @@ epochtime=get_epoch(); srand48(epochtime); /*Nir Gov: randomly add spontaneous curvature for some vertices */ - for(i=0;i<200;i++){ + for(i=0;i<20;i++){ int b=rand() % vesicle->vlist->n; - vesicle->vlist->vtx[b]->c=-0.1; + vesicle->vlist->vtx[b]->c=-0.5; } centermass(vesicle); cell_occupation(vesicle); -- Gitblit v1.9.3