From 759169c7cead24a05533f78058c5a7ebdda319c5 Mon Sep 17 00:00:00 2001 From: Samo Penic <samo.penic@gmail.com> Date: Sun, 03 Jul 2016 22:17:37 +0000 Subject: [PATCH] Tried to made all functionality for clustering. Not debugged and will probably fail miserably --- src/timestep.c | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/src/timestep.c b/src/timestep.c index 9f40e1c..6972015 100644 --- a/src/timestep.c +++ b/src/timestep.c @@ -60,7 +60,11 @@ /* RANDOM SEED SET BY CURRENT TIME */ epochtime=get_epoch(); srand48(epochtime); - +/*Nir Gov: randomly add spontaneous curvature for some vertices */ + for(i=0;i<200;i++){ + int b=rand() % vesicle->vlist->n; + vesicle->vlist->vtx[b]->c=-0.1; + } centermass(vesicle); cell_occupation(vesicle); vesicle_volume(vesicle); //needed for constant volume at this moment -- Gitblit v1.9.3