From 60bc6aa6b61edad39b664939667a1616711d580c Mon Sep 17 00:00:00 2001
From: Miha <mihaf@beti.(none)>
Date: Fri, 13 Jul 2012 15:59:39 +0000
Subject: [PATCH] Added preloop.

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

diff --git a/src/spherical_trisurf.c b/src/spherical_trisurf.c
index 46a2582..7fa40f9 100644
--- a/src/spherical_trisurf.c
+++ b/src/spherical_trisurf.c
@@ -60,6 +60,16 @@
 calculateYlmi(vesicle);
 calculateUlm(vesicle);
 
+//preloop:
+for(i=0;i<1000;i++){
+	cell_occupation(vesicle);
+	for(j=0;j<1000;j++){
+		single_timestep(vesicle);
+	}	
+	centermass(vesicle);
+	fprintf(stderr, "Preloop %d completed.\n",i+1);
+}
+
 nmax=1000;
 for(i=0;i<nmax;i++){
 	for(j=0;j<200;j++){

--
Gitblit v1.9.3