From 2f74e41cf5706334fcde64ae0e86a33c4fef884f Mon Sep 17 00:00:00 2001 From: Samo Penic <samo.penic@gmail.com> Date: Sat, 28 May 2016 21:13:20 +0000 Subject: [PATCH] A small fix. If a continuation of simulation with a starting snapshot is requested, the last known vtk from the directory is used as a snapshot. --- src/initial_distribution.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/src/initial_distribution.c b/src/initial_distribution.c index 4c82b35..ae7de0b 100644 --- a/src/initial_distribution.c +++ b/src/initial_distribution.c @@ -52,7 +52,9 @@ ts_vertex *vtx; ts_tape *tape=vesicle->tape; vesicle->R_nucleus=tape->R_nucleus*tape->R_nucleus; - + vesicle->R_nucleusX=tape->R_nucleusX*tape->R_nucleusX; + vesicle->R_nucleusY=tape->R_nucleusY*tape->R_nucleusY; + vesicle->R_nucleusZ=tape->R_nucleusZ*tape->R_nucleusZ; vesicle->clist->dmin_interspecies = tape->dmin_interspecies*tape->dmin_interspecies; //Initialize grafted polymers (brush): -- Gitblit v1.9.3