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