Trisurf Monte Carlo simulator
Samo Penic
2014-03-11 aab4ad46109f8361d0235a07ba1edbf188ad442f
Fixed counting of iterations when invoked with --reset-iteration-count
2 files modified
10 ■■■■ changed files
src/main.c 2 ●●● patch | view | raw | blame | history
src/tape 8 ●●●● patch | view | raw | blame | history
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){
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!!!