| | |
| | | |
| | | #include<stdarg.h> |
| | | #include<stdio.h> |
| | | |
| | | #include<pthread.h> |
| | | /* @brief This is a header file, defining general constants and structures. |
| | | * @file header.h |
| | | * @author Samo Penic |
| | |
| | | ts_double projArea; |
| | | ts_double relR; |
| | | ts_double solAngle; |
| | | ts_uint *locked; |
| | | }; |
| | | typedef struct ts_vertex ts_vertex; |
| | | |
| | |
| | | ts_vertex *vtx2; |
| | | ts_double bond_length; |
| | | ts_double bond_length_dual; |
| | | ts_bool tainted; |
| | | }; |
| | | typedef struct ts_bond ts_bond; |
| | | |
| | |
| | | typedef struct { |
| | | ts_uint l; |
| | | ts_double **ulm; |
| | | ts_double **sumUlm2; |
| | | ts_uint N; |
| | | ts_double **co; |
| | | ts_double ***Ylmi; |
| | | } ts_spharm; |
| | | |
| | | |
| | | typedef struct { |
| | | pthread_mutex_t vtx_taint; |
| | | pthread_mutex_t vtx_untaint; |
| | | pthread_mutex_t cell_modify; |
| | | } ts_mutex; |
| | | |
| | | typedef struct { |
| | | ts_vertex_list *vlist; |
| | |
| | | ts_double cm[3]; |
| | | ts_double volume; |
| | | ts_spharm *sphHarmonics; |
| | | ts_uint threads; |
| | | ts_mutex *mutex; |
| | | } ts_vesicle; |
| | | |
| | | |