commit | author | age
|
d7639a
|
1 |
/** @brief initial bond length */ |
SP |
2 |
#define A0 1.2 |
|
3 |
|
|
4 |
|
|
5 |
/** @brief Creates initial distribution of vertices |
|
6 |
* |
|
7 |
* @param *vlist is the pointer to vertex list |
|
8 |
* @param N is the number of vertices to be initialized |
|
9 |
* @returns TS_SUCCESS on success, TS_FAIL otherwise. If allocation fails, the execution is terminated, reporting error code to the underlying operating system. |
|
10 |
*/ |
7958e9
|
11 |
ts_vesicle *initial_distribution_dipyramid(ts_uint nshell, ts_uint ncmax1, ts_uint ncmax2, ts_uint ncmax3, ts_double stepsize); |
d7639a
|
12 |
|
SP |
13 |
|
|
14 |
/** Sets the initial position of the vertexes to dipyramid |
|
15 |
* |
|
16 |
* @param *vlist is a pointer to list of vertices |
|
17 |
* @returns TS_SUCCESS on success, TS_FAIL otherwise |
|
18 |
*/ |
|
19 |
ts_bool pentagonal_dipyramid_vertex_distribution(ts_vertex_list *vlist); |
|
20 |
|
|
21 |
/** Finds the neighbouring vertices and add them to a list of each vertex |
|
22 |
* |
|
23 |
* @param *vlist is a pointer to a ts_vertex_list |
|
24 |
* @returns TS_SUCCESS if successful, TS_FAIL otherwise |
|
25 |
*/ |
|
26 |
ts_bool init_vertex_neighbours(ts_vertex_list *vlist); |
7958e9
|
27 |
//ts_bool init_vertex_neighbours(ts_vertex_list *vlist); |
d7639a
|
28 |
|
SP |
29 |
/** interior sites and their neighbours in circ. order + the triangles they are holding together */ |
b01cc1
|
30 |
ts_vertex_list *init_sort_neighbours(ts_bond_list *blist,ts_vertex_list *vlist); |
7958e9
|
31 |
ts_bool init_vesicle_bonds(ts_vesicle *vesicle); |
d7639a
|
32 |
ts_bool init_triangles(ts_vesicle *vesicle); |
SP |
33 |
ts_bool init_triangle_neighbours(ts_vesicle *vesicle); |
|
34 |
ts_bool init_common_vertex_triangle_neighbours(ts_vesicle *vesicle); |
|
35 |
ts_bool init_normal_vectors(ts_triangle_list *tlist); |
|
36 |
|