Trisurf Monte Carlo simulator
Samo Penic
2014-03-08 1ab449a2d9d4433794736566014f5c311d5a9317
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
1ab449 13 ts_vesicle *create_vesicle_from_tape(ts_tape *tape);
d7639a 14
SP 15 /** Sets the initial position of the vertexes to dipyramid
16  *
17  *      @param *vlist is a pointer to list of vertices
18  *      @returns TS_SUCCESS on success, TS_FAIL otherwise
19  */
20 ts_bool pentagonal_dipyramid_vertex_distribution(ts_vertex_list *vlist);
21
22 /** Finds the neighbouring vertices and add them to a list of each vertex
23  *
24  *      @param *vlist is a pointer to a ts_vertex_list
25  *      @returns TS_SUCCESS if successful, TS_FAIL otherwise
26  */
27 ts_bool init_vertex_neighbours(ts_vertex_list *vlist);
7958e9 28 //ts_bool init_vertex_neighbours(ts_vertex_list *vlist);
d7639a 29
SP 30 /** interior sites and their neighbours in circ. order + the triangles they are holding together */
b01cc1 31 ts_vertex_list *init_sort_neighbours(ts_bond_list *blist,ts_vertex_list *vlist);
7958e9 32 ts_bool init_vesicle_bonds(ts_vesicle *vesicle);
d7639a 33 ts_bool init_triangles(ts_vesicle *vesicle);
SP 34 ts_bool init_triangle_neighbours(ts_vesicle *vesicle);
35 ts_bool init_common_vertex_triangle_neighbours(ts_vesicle *vesicle);
36 ts_bool init_normal_vectors(ts_triangle_list *tlist);
37