NAMD
|
Go to the source code of this file.
Classes | |
struct | sortop_base |
struct | sortop_x |
struct | sortop_y |
struct | sortop_z |
Macros | |
#define | PARTWIDTH 32 |
#define | NTH_ELEMENT(BEGIN, SPLIT, END, OP) std::nth_element(BEGIN,SPLIT,END,OP) |
Functions | |
static void | partition (int *order, const FullAtom *atoms, int begin, int end) |
void | sortAtomsForCUDA (int *order, const FullAtom *atoms, int nfree, int n) |
void | sortAtomsForPatches (int *order, int *breaks, const FullAtom *atoms, int nmgrps, int natoms, int ni, int nj, int nk) |
#define NTH_ELEMENT | ( | BEGIN, | |
SPLIT, | |||
END, | |||
OP | |||
) | std::nth_element(BEGIN,SPLIT,END,OP) |
Referenced by partition().
#define PARTWIDTH 32 |
Referenced by partition().
Definition at line 41 of file SortAtoms.C.
References NTH_ELEMENT, PARTWIDTH, CompAtom::position, split(), Vector::x, Vector::y, and Vector::z.
Referenced by Sequencer::calcKineticEnergy(), HomePatch::hardWallDrude(), Sequencer::langevinVelocities(), Sequencer::langevinVelocitiesBBK2(), Sequencer::multigratorPressure(), HomePatch::rattle1old(), Sequencer::reassignVelocities(), Sequencer::reinitVelocities(), sortAtomsForCUDA(), Sequencer::submitHalfstep(), and Sequencer::submitReductions().
Definition at line 119 of file SortAtoms.C.
References partition().
Referenced by HomePatch::positionsReady().
void sortAtomsForPatches | ( | int * | order, |
int * | breaks, | ||
const FullAtom * | atoms, | ||
int | nmgrps, | ||
int | natoms, | ||
int | ni, | ||
int | nj, | ||
int | nk | ||
) |
Definition at line 131 of file SortAtoms.C.
References FullAtom::migrationGroupSize, and sort.
Referenced by WorkDistrib::createAtomLists().