NAMD
|
#include <CudaPmeSolverUtil.h>
Public Member Functions | |
CudaPmeKSpaceCompute (PmeGrid pmeGrid, const int permutation, const int jblock, const int kblock, double kappa, int deviceID, cudaStream_t stream) | |
~CudaPmeKSpaceCompute () | |
void | solve (Lattice &lattice, const bool doEnergy, const bool doVirial, float *data) |
double | getEnergy () |
void | getVirial (double *virial) |
void | energyAndVirialSetCallback (CudaPmePencilXYZ *pencilPtr) |
void | energyAndVirialSetCallback (CudaPmePencilZ *pencilPtr) |
![]() | |
PmeKSpaceCompute (PmeGrid pmeGrid, const int permutation, const int jblock, const int kblock, double kappa) | |
virtual | ~PmeKSpaceCompute () |
Additional Inherited Members | |
![]() | |
PmeGrid | pmeGrid |
double * | bm1 |
double * | bm2 |
double * | bm3 |
double | kappa |
const int | permutation |
const int | jblock |
const int | kblock |
int | size1 |
int | size2 |
int | size3 |
int | j0 |
int | k0 |
Definition at line 86 of file CudaPmeSolverUtil.h.
CudaPmeKSpaceCompute::CudaPmeKSpaceCompute | ( | PmeGrid | pmeGrid, |
const int | permutation, | ||
const int | jblock, | ||
const int | kblock, | ||
double | kappa, | ||
int | deviceID, | ||
cudaStream_t | stream | ||
) |
Definition at line 332 of file CudaPmeSolverUtil.C.
References PmeKSpaceCompute::bm1, PmeKSpaceCompute::bm2, PmeKSpaceCompute::bm3, cudaCheck, PmeGrid::K1, PmeGrid::K2, and PmeGrid::K3.
CudaPmeKSpaceCompute::~CudaPmeKSpaceCompute | ( | ) |
void CudaPmeKSpaceCompute::energyAndVirialSetCallback | ( | CudaPmePencilXYZ * | pencilPtr | ) |
Definition at line 522 of file CudaPmeSolverUtil.C.
References CcdCallBacksReset(), and cudaCheck.
void CudaPmeKSpaceCompute::energyAndVirialSetCallback | ( | CudaPmePencilZ * | pencilPtr | ) |
Definition at line 532 of file CudaPmeSolverUtil.C.
References CcdCallBacksReset(), and cudaCheck.
|
virtual |
Implements PmeKSpaceCompute.
Definition at line 542 of file CudaPmeSolverUtil.C.
|
virtual |
Implements PmeKSpaceCompute.
Definition at line 546 of file CudaPmeSolverUtil.C.
References Perm_cX_Y_Z, Perm_Z_cX_Y, and PmeKSpaceCompute::permutation.
|
virtual |
Implements PmeKSpaceCompute.
Definition at line 372 of file CudaPmeSolverUtil.C.
References Lattice::a(), Lattice::a_r(), Lattice::b(), Lattice::b_r(), Lattice::c(), Lattice::c_r(), cudaCheck, PmeKSpaceCompute::j0, PmeKSpaceCompute::k0, PmeGrid::K1, PmeGrid::K2, PmeGrid::K3, PmeKSpaceCompute::kappa, NAMD_bug(), Perm_cX_Y_Z, Perm_Z_cX_Y, PmeKSpaceCompute::permutation, PmeKSpaceCompute::pmeGrid, scalar_sum(), PmeKSpaceCompute::size1, PmeKSpaceCompute::size2, PmeKSpaceCompute::size3, Lattice::volume(), Vector::x, Vector::y, and Vector::z.