From 37d14a0a50ed40f536cc3821b3584552e1b75c5c Mon Sep 17 00:00:00 2001
From: Samo Penic <samo@CAE-linux.(none)>
Date: Mon, 07 Apr 2014 19:55:16 +0000
Subject: [PATCH] added statistics output to the outer loop

---
 src/spherical_trisurf_ff.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/spherical_trisurf_ff.c b/src/spherical_trisurf_ff.c
index 867f37d..00a4cc0 100644
--- a/src/spherical_trisurf_ff.c
+++ b/src/spherical_trisurf_ff.c
@@ -44,10 +44,11 @@
 preparationSh(vesicle,r0);
 calculateYlmi(vesicle);
 calculateUlm(vesicle);
+ts_double vmsr,bfsr;
 for(i=0;i<500;i++){
 	cell_occupation(vesicle);
 	for(j=0;j<1000;j++){
-		single_timestep(vesicle);
+		single_timestep(vesicle,&vmsr,&bfsr);
 	}	
 	centermass(vesicle);
 	fprintf(stderr, "Preloop %d completed.\n",i+1);
@@ -62,7 +63,7 @@
 for(i=0;i<10000;i++){
 	cell_occupation(vesicle);
 	for(j=0;j<1000;j++){
-		single_timestep(vesicle);
+		single_timestep(vesicle,&vmsr,&bfsr);
 	}	
 	centermass(vesicle);
     vesicle_volume(vesicle);

--
Gitblit v1.9.3