| | |
| | | ts_bool single_timestep(ts_vesicle *vesicle); |
| | | #ifndef _TIMESTEP_H |
| | | #define _TIMESTEP_H |
| | | #include<pthread.h> |
| | | |
| | | ts_bool single_verticle_timestep(ts_vesicle *vesicle,ts_vertex *vtx,ts_double |
| | | *rn); |
| | | typedef struct str_thdata |
| | | { |
| | | ts_uint thread_no; |
| | | ts_uint threads; |
| | | ts_vesicle *vesicle; |
| | | } thdata; |
| | | |
| | | ts_bool single_bondflip_timestep(ts_vesicle *vesicle, ts_bond *bond, ts_double |
| | | *rn); |
| | | |
| | | ts_bool ts_flip_bond(ts_vertex *k,ts_vertex *it,ts_vertex *km, ts_vertex *kp, |
| | | ts_bond *bond); |
| | | void * single_timestep(void *thread_data); |
| | | ts_bool run_simulation(ts_vesicle *vesicle, ts_uint mcsweeps, ts_uint inititer, ts_uint iterations); |
| | | #endif |