From d5d78a49c6b51fb1f6f0661d063034eaf65e02f7 Mon Sep 17 00:00:00 2001 From: Samo Penic <samo.penic@gmail.com> Date: Wed, 25 Sep 2019 09:20:36 +0000 Subject: [PATCH] Constant volume and constant area fix. Removed spherical harmonics calculations in simulations. No ulm2.cvs and state.dat files are produced anymore --- src/initial_distribution.h | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/initial_distribution.h b/src/initial_distribution.h index ef07da9..e54ee08 100644 --- a/src/initial_distribution.h +++ b/src/initial_distribution.h @@ -1,6 +1,9 @@ -/** @brief initial bond length */ -#define A0 1.2 +/* vim: set ts=4 sts=4 sw=4 noet : */ +#include "io.h" + +/** @brief initial bond length */ +#define DEF_A0 1.2 /** @brief Creates initial distribution of vertices * @@ -11,7 +14,9 @@ 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); +ts_bool initial_population_with_c0(ts_vesicle *vesicle, ts_tape *tape); /** Sets the initial position of the vertexes to dipyramid * * @param *vlist is a pointer to list of vertices -- Gitblit v1.9.3