![]() |
PandA-2024.02
|
#include <stdlib.h>#include <stdio.h>#include <string.h>#include <sys/types.h>#include <sys/stat.h>#include <fcntl.h>#include <unistd.h>#include <assert.h>#include "md.h"
Go to the source code of this file.
Data Structures | |
| struct | neighbor_t |
Macros | |
| #define | domainEdge 20.0 |
| #define | van_der_Waals_thresh (1.049*1.049) |
Functions | |
| static TYPE | dist_sq (TYPE x1, TYPE y1, TYPE z1, TYPE x2, TYPE y2, TYPE z2) |
| int | neighbor_compar (const void *v_lhs, const void *v_rhs) |
| int | main (int argc, char **argv) |
| #define domainEdge 20.0 |
Definition at line 12 of file generate.c.
Referenced by main().
| #define van_der_Waals_thresh (1.049*1.049) |
Definition at line 14 of file generate.c.
Referenced by main().
Definition at line 16 of file generate.c.
References TYPE.
Referenced by main().

| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 35 of file generate.c.
References data_to_input(), dist_sq(), neighbor_t::dist_sq, domainEdge, prng_rand_t::i, neighbor_t::index, maxNeighbors, nAtoms, neighbor_compar(), bench_args_t::NL, bench_args_t::position_x, bench_args_t::position_y, bench_args_t::position_z, prng_rand(), PRNG_RAND_MAX, prng_srand(), qsort(), TYPE, van_der_Waals_thresh, and x.

| int neighbor_compar | ( | const void * | v_lhs, |
| const void * | v_rhs | ||
| ) |
Definition at line 29 of file generate.c.
References neighbor_t::dist_sq.
Referenced by main().

1.8.13