6 #define EPSILON ((TYPE)1.0e-6) 111 TYPE diff_x, diff_y, diff_z;
113 for( i=0; i<
nAtoms; i++ ) {
void data_to_input(int fd, void *vdata)
int32_t NL[nAtoms *maxNeighbors]
int check_data(void *vdata, void *vref)
int write_int32_t_array(int fd, int32_t *arr, int n)
#define STAC(f_pfx, t, f_sfx)
int parse_int32_t_array(char *s, int32_t *arr, int n)
void data_to_output(int fd, void *vdata)
int write_section_header(int fd)
void output_to_data(int fd, void *vdata)
void md_kernel(TYPE force_x[nAtoms], TYPE force_y[nAtoms], TYPE force_z[nAtoms], TYPE position_x[nAtoms], TYPE position_y[nAtoms], TYPE position_z[nAtoms], int32_t NL[nAtoms *maxNeighbors])
void input_to_data(int fd, void *vdata)
char * find_section_start(char *s, int n)
void run_benchmark(void *vargs)