From aab4ad46109f8361d0235a07ba1edbf188ad442f Mon Sep 17 00:00:00 2001
From: Samo Penic <samo.penic@fe.uni-lj.si>
Date: Tue, 11 Mar 2014 10:52:57 +0000
Subject: [PATCH] Fixed counting of iterations when invoked with --reset-iteration-count

---
 src/main.c |    2 +-
 src/tape   |    8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/main.c b/src/main.c
index 1b97f10..e9685fc 100644
--- a/src/main.c
+++ b/src/main.c
@@ -48,7 +48,7 @@
 		vesicle->pressure=tape->pressure;
 		vesicle->dmax=tape->dmax*tape->dmax;
 
-		if(command_line_args.reset_iteration_count) start_iteration=tape->inititer+1;
+		if(command_line_args.reset_iteration_count) start_iteration=tape->inititer-1;
 		else start_iteration++;
 
 		if(start_iteration>=tape->iterations){
diff --git a/src/tape b/src/tape
index bd02323..4254270 100644
--- a/src/tape
+++ b/src/tape
@@ -12,11 +12,11 @@
 # (pswitch=1: calc. p*dV energy contribution)
 pswitch = 0
 # pressure difference: p_inside - p_outside (in units kT/l_min^3):
-pressure=0.0
+pressure=0.1
 
 ####### Polymer definitions ###########
 # npoly is a number of polymers attached to npoly distinct vertices on vesicle
-npoly=0
+npoly=300
 # nmono is a number of monomers in each polymer
 nmono=10
 # Spring constant between monomers of the polymer
@@ -30,11 +30,11 @@
 
 ####### Program Control ############
 #how many MC sweeps between subsequent records of states to disk
-mcsweeps=5000
+mcsweeps=500
 #how many initial mcsweeps*inititer MC sweeps before recording to disk?
 inititer=1
 #how many records do you want on the disk iteration are there in a run?
-iterations=1000
+iterations=20
 
 
 #shut up if we are using cluster!!!

--
Gitblit v1.9.3