NAMD
SortAtoms.h
Go to the documentation of this file.
1 
7 #ifndef SORTATOMS_H
8 #define SORTATOMS_H
9 
10 struct FullAtom;
11 
12 void sortAtomsForCUDA(int *order, const FullAtom *atoms, int nfree, int n);
13 
14 void sortAtomsForPatches(int *order, int *breaks,
15  const FullAtom *atoms, int nmgrps, int natoms,
16  int ni, int nj, int nk);
17 
18 
20  int * __restrict order,
21  int * __restrict unorder,
22  const double * __restrict ax,
23  const double * __restrict ay,
24  const double * __restrict az,
25  int nfree, int n
26  );
27 
28 
29 #endif // SORTATOMS_H
30 
void sortAtomsForCUDA_SOA(int *__restrict order, int *__restrict unorder, const double *__restrict ax, const double *__restrict ay, const double *__restrict az, int nfree, int n)
Definition: SortAtoms.C:317
#define order
Definition: PmeRealSpace.C:235
void sortAtomsForPatches(int *order, int *breaks, const FullAtom *atoms, int nmgrps, int natoms, int ni, int nj, int nk)
Definition: SortAtoms.C:135
void sortAtomsForCUDA(int *order, const FullAtom *atoms, int nfree, int n)
Definition: SortAtoms.C:123