From 7169f14c2110f02320e3f438b1ae0881bd93440d Mon Sep 17 00:00:00 2001
From: Samo Penic <samo.penic@gmail.com>
Date: Tue, 14 Jun 2016 18:40:36 +0000
Subject: [PATCH] Updated trisurfmanager file. Added remote computer capabilities. Added web interface. Added networked example configuration.

---
 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