X-Git-Url: https://hackdaworld.org/gitweb/?a=blobdiff_plain;f=moldyn.h;h=6fda9ceef79e9853c0967c31004a59240e83c820;hb=452a348351ae8a2255809918a05683d2510655ce;hp=31794c898f2eed1e5faf5b4d0146a07892af706b;hpb=45f9190fc7489f3f9ff8f0d917945b1d5bc9d584;p=physik%2Fposic.git diff --git a/moldyn.h b/moldyn.h index 31794c8..6fda9ce 100644 --- a/moldyn.h +++ b/moldyn.h @@ -117,8 +117,12 @@ typedef struct s_moldyn { int (*func3b_j1)(struct s_moldyn *moldyn,t_atom *ai,t_atom *aj,u8 bc); int (*func3b_j2)(struct s_moldyn *moldyn,t_atom *ai,t_atom *aj,u8 bc); int (*func3b_j3)(struct s_moldyn *moldyn,t_atom *ai,t_atom *aj,u8 bc); +#ifdef PTHREADS + void *(*func3b_k1)(void *ptr); +#else int (*func3b_k1)(struct s_moldyn *moldyn, t_atom *ai,t_atom *aj,t_atom *ak,u8 bck); +#endif int (*func3b_k2)(struct s_moldyn *moldyn, t_atom *ai,t_atom *aj,t_atom *ak,u8 bck); void *pot_params;