From 2674335f295ac1edaac3b5455685db0776657e65 Mon Sep 17 00:00:00 2001 From: Miha <miha.fosnaric@fe.uni-lj.si> Date: Wed, 10 Sep 2014 07:25:15 +0000 Subject: [PATCH] Just comment added in tape. --- src/timestep.c | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/src/timestep.c b/src/timestep.c index d4b13c3..98b47dc 100644 --- a/src/timestep.c +++ b/src/timestep.c @@ -38,11 +38,16 @@ } - +/* RANDOM SEED SET BY CURRENT TIME */ + epochtime=get_epoch(); + srand48(epochtime); centermass(vesicle); cell_occupation(vesicle); vesicle_volume(vesicle); //needed for constant volume at this moment + V0=vesicle->volume; + epsvol=4.0*sqrt(2.0*M_PI)/pow(3.0,3.0/4.0)*V0/pow(vesicle->tlist->n,3.0/2.0); + // fprintf(stderr, "DVol=%1.16f (%1.16f), V0=%1.16f\n", epsvol,0.003e-2*V0,V0); if(start_iteration<inititer) ts_fprintf(stdout, "Starting simulation (first %d x %d MC sweeps will not be recorded on disk)\n", inititer, mcsweeps); for(i=start_iteration;i<inititer+iterations;i++){ vmsr=0.0; -- Gitblit v1.9.3