NAMD
|
Go to the source code of this file.
Classes | |
struct | sortop_base |
struct | sortop_x |
struct | sortop_y |
struct | sortop_z |
struct | sortop_SOA |
Macros | |
#define | PARTWIDTH 32 |
#define | NTH_ELEMENT(BEGIN, SPLIT, END, OP) std::nth_element(BEGIN,SPLIT,END,OP) |
#define | NORMAL_SPLIT 32 |
#define | FINAL_SPLIT 8 |
#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) |
static void | partition_SOA (int *__restrict order, const double *__restrict ax, const double *__restrict ay, const double *__restrict az, int begin, int end) |
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) |
#define FINAL_SPLIT 8 |
Definition at line 208 of file SortAtoms.C.
Referenced by partition_SOA().
#define NORMAL_SPLIT 32 |
Definition at line 204 of file SortAtoms.C.
Referenced by partition_SOA().
#define NTH_ELEMENT | ( | BEGIN, | |
SPLIT, | |||
END, | |||
OP | |||
) | std::nth_element(BEGIN,SPLIT,END,OP) |
Referenced by partition(), and partition_SOA().
#define NTH_ELEMENT | ( | BEGIN, | |
SPLIT, | |||
END, | |||
OP | |||
) | std::nth_element(BEGIN,SPLIT,END,OP) |
#define PARTWIDTH 32 |
Referenced by partition().
|
static |
Definition at line 45 of file SortAtoms.C.
References NTH_ELEMENT, order, PARTWIDTH, CompAtom::position, split(), Vector::x, Vector::y, and Vector::z.
Referenced by Sequencer::calcKineticEnergy(), HomePatch::hardWallDrude(), Sequencer::langevinVelocities(), Sequencer::langevinVelocitiesBBK2(), ComputeHomeTuples< TholeElem, Thole, TholeValue >::loadTuples(), Sequencer::multigratorPressure(), HomePatch::positionsReady_SOA(), HomePatch::rattle1old(), Sequencer::reassignVelocities(), Sequencer::reinitVelocities(), sortAtomsForCUDA(), Sequencer::submitHalfstep(), and Sequencer::submitReductions().
|
static |
Definition at line 210 of file SortAtoms.C.
References FINAL_SPLIT, NORMAL_SPLIT, NTH_ELEMENT, order, split(), Vector::x, Vector::y, and Vector::z.
Referenced by sortAtomsForCUDA_SOA().
void sortAtomsForCUDA | ( | int * | order, |
const FullAtom * | atoms, | ||
int | nfree, | ||
int | n | ||
) |
Definition at line 123 of file SortAtoms.C.
References order, and partition().
Referenced by HomePatch::positionsReady().
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 at line 317 of file SortAtoms.C.
References order, and partition_SOA().
Referenced by HomePatch::positionsReady_SOA().
void sortAtomsForPatches | ( | int * | order, |
int * | breaks, | ||
const FullAtom * | atoms, | ||
int | nmgrps, | ||
int | natoms, | ||
int | ni, | ||
int | nj, | ||
int | nk | ||
) |
Definition at line 135 of file SortAtoms.C.
References FullAtom::migrationGroupSize, and order.
Referenced by WorkDistrib::createAtomLists().