From 3006183b769f2e126b1a96e6bf697c2b7f657df7 Mon Sep 17 00:00:00 2001 From: Samo Penic <samo.penic@gmail.com> Date: Sun, 26 Apr 2020 17:35:26 +0000 Subject: [PATCH] Code for incremental adding of inclusions done --- src/initial_distribution.h | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/src/initial_distribution.h b/src/initial_distribution.h index c5184a6..8af71f8 100644 --- a/src/initial_distribution.h +++ b/src/initial_distribution.h @@ -3,7 +3,7 @@ /** @brief initial bond length */ -#define A0 1.2 +#define DEF_A0 1.2 /** @brief Creates initial distribution of vertices * @@ -15,11 +15,15 @@ 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 * @returns TS_SUCCESS on success, TS_FAIL otherwise */ +ts_bool add_vertices_with_c0(ts_vesicle *vesicle, ts_int n, ts_double c0, ts_double w); + ts_bool pentagonal_dipyramid_vertex_distribution(ts_vertex_list *vlist); /** Finds the neighbouring vertices and add them to a list of each vertex -- Gitblit v1.9.3