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.h | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/initial_distribution.h b/src/initial_distribution.h index 7b3e2ba..c5184a6 100644 --- a/src/initial_distribution.h +++ b/src/initial_distribution.h @@ -1,6 +1,9 @@ +/* vim: set ts=4 sts=4 sw=4 noet : */ +#include "io.h" + + /** @brief initial bond length */ #define A0 1.2 - /** @brief Creates initial distribution of vertices * @@ -10,7 +13,8 @@ */ ts_vesicle *initial_distribution_dipyramid(ts_uint nshell, ts_uint ncmax1, ts_uint ncmax2, ts_uint ncmax3, ts_double stepsize); - +ts_vesicle *create_vesicle_from_tape(ts_tape *tape); +ts_bool set_vesicle_values_from_tape(ts_vesicle *vesicle); /** Sets the initial position of the vertexes to dipyramid * * @param *vlist is a pointer to list of vertices -- Gitblit v1.9.3