Trisurf Monte Carlo simulator
Samo Penic
2013-11-23 50f10f120936a429dc450f58a40951fa5d59458a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef _TIMESTEP_H
#define _TIMESTEP_H
#include<pthread.h>
 
typedef struct str_thdata
{
    ts_uint thread_no;
    ts_uint threads;
    ts_vesicle *vesicle;
    pthread_mutex_t *vtx_tainting_lock;
    pthread_mutex_t *vtx_untainting_lock;
} thdata;
 
 
void * single_timestep(void *thread_data);
ts_bool run_simulation(ts_vesicle *vesicle, ts_uint mcsweeps, ts_uint inititer, ts_uint iterations);
#endif