Trisurf Monte Carlo simulator
Samo Penic
2010-12-04 bb77ca8f6e18e5a3ee2996095db5394dcd49197a
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 */
11 ts_bool initial_distribution(ts_vesicle *vesicle);
12
13
14
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
23 /** Finds the neighbouring vertices and add them to a list of each vertex
24  *
25  *      @param *vlist is a pointer to a ts_vertex_list
26  *      @returns TS_SUCCESS if successful, TS_FAIL otherwise
27  */
28 ts_bool init_vertex_neighbours(ts_vertex_list *vlist);
29
30 /** interior sites and their neighbours in circ. order + the triangles they are holding together */
31 ts_bool init_sort_neighbours(ts_vertex_list *vlist);
32 ts_bool init_bonds(ts_vesicle *vesicle);
33 ts_bool init_triangles(ts_vesicle *vesicle);
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