PandA-2024.02
|
#include "md.h"
Go to the source code of this file.
Functions | |
TYPE | distance (TYPE position_x[nAtoms], TYPE position_y[nAtoms], TYPE position_z[nAtoms], int i, int j) |
void | insertInOrder (TYPE currDist[maxNeighbors], int currList[maxNeighbors], int j, TYPE distIJ) |
int | buildNeighborList (TYPE position_x[nAtoms], TYPE position_y[nAtoms], TYPE position_z[nAtoms], int NL[nAtoms][maxNeighbors]) |
int | populateNeighborList (TYPE currDist[maxNeighbors], int currList[maxNeighbors], const int i, int NL[nAtoms][maxNeighbors]) |
int | main () |
int buildNeighborList | ( | TYPE | position_x[nAtoms], |
TYPE | position_y[nAtoms], | ||
TYPE | position_z[nAtoms], | ||
int | NL[nAtoms][maxNeighbors] | ||
) |
Definition at line 44 of file md_kernel_test.c.
References distance(), k, maxNeighbors, nAtoms, NL, populateNeighborList(), and TYPE.
Referenced by main().
TYPE distance | ( | TYPE | position_x[nAtoms], |
TYPE | position_y[nAtoms], | ||
TYPE | position_z[nAtoms], | ||
int | i, | ||
int | j | ||
) |
Definition at line 3 of file md_kernel_test.c.
References TYPE.
Referenced by __attribute__(), liveness::are_in_conflict(), buildNeighborList(), cxa_prefix_mangled(), cxa_rename_mangled(), GetCallStmt(), NaturalVersionOrder(), ResolvePointerAlias(), and port_swapping::vertex_distance().
|
inline |
Definition at line 18 of file md_kernel_test.c.
References TYPE.
int main | ( | void | ) |
Definition at line 87 of file md_kernel_test.c.
References buildNeighborList(), L, MAX_ITERATION, maxNeighbors, md_kernel(), nAtoms, NL, and TYPE.
int populateNeighborList | ( | TYPE | currDist[maxNeighbors], |
int | currList[maxNeighbors], | ||
const int | i, | ||
int | NL[nAtoms][maxNeighbors] | ||
) |
Definition at line 73 of file md_kernel_test.c.
References maxNeighbors, and NL.
Referenced by buildNeighborList().