NAMD
|
#include <PmeSolverUtil.h>
Public Member Functions | |
PmeRealSpaceCompute (PmeGrid pmeGrid, const int jblock, const int kblock) | |
virtual | ~PmeRealSpaceCompute () |
virtual void | copyAtoms (const int numAtoms, const CudaAtom *atoms)=0 |
virtual void | spreadCharge (Lattice &lattice)=0 |
virtual void | gatherForce (Lattice &lattice, CudaForce *force)=0 |
float * | getData () |
int | getDataSize () |
Static Public Member Functions | |
static double | calcGridCoord (const double x, const double recip11, const int nfftx) |
static void | calcGridCoord (const double x, const double y, const double z, const double recip11, const double recip22, const double recip33, const int nfftx, const int nffty, const int nfftz, double &frx, double &fry, double &frz) |
static void | calcGridCoord (const float x, const float y, const float z, const float recip11, const float recip22, const float recip33, const int nfftx, const int nffty, const int nfftz, float &frx, float &fry, float &frz) |
static void | calcGridCoord (const float x, const float y, const float z, const int nfftx, const int nffty, const int nfftz, float &frx, float &fry, float &frz) |
static void | calcGridCoord (const double x, const double y, const double z, const int nfftx, const int nffty, const int nfftz, double &frx, double &fry, double &frz) |
Protected Attributes | |
int | numAtoms |
PmeGrid | pmeGrid |
int | y0 |
int | z0 |
int | xsize |
int | ysize |
int | zsize |
int | dataSize |
float * | data |
const int | jblock |
const int | kblock |
Definition at line 309 of file PmeSolverUtil.h.
|
inline |
Definition at line 326 of file PmeSolverUtil.h.
References dataSize, getPencilDim(), Perm_X_Y_Z, xsize, y0, ysize, z0, and zsize.
|
inlinevirtual |
Definition at line 339 of file PmeSolverUtil.h.
|
inlinestatic |
|
inlinestatic |
Definition at line 360 of file PmeSolverUtil.h.
|
inlinestatic |
Definition at line 373 of file PmeSolverUtil.h.
|
inlinestatic |
Definition at line 386 of file PmeSolverUtil.h.
|
inlinestatic |
Definition at line 393 of file PmeSolverUtil.h.
|
pure virtual |
Implemented in CudaPmeRealSpaceCompute.
Referenced by ComputePmeCUDADevice::spreadCharge().
Implemented in CudaPmeRealSpaceCompute.
Referenced by ComputePmeCUDADevice::gatherForce().
|
inline |
Definition at line 351 of file PmeSolverUtil.h.
References data.
Referenced by ComputePmeCUDADevice::activate_pencils().
|
inline |
Definition at line 352 of file PmeSolverUtil.h.
References dataSize.
Referenced by ComputePmeCUDADevice::activate_pencils().
Implemented in CudaPmeRealSpaceCompute.
Referenced by ComputePmeCUDADevice::spreadCharge().
|
protected |
Definition at line 322 of file PmeSolverUtil.h.
Referenced by CudaPmeRealSpaceCompute::CudaPmeRealSpaceCompute(), getData(), CudaPmeRealSpaceCompute::spreadCharge(), and CudaPmeRealSpaceCompute::~CudaPmeRealSpaceCompute().
|
protected |
Definition at line 321 of file PmeSolverUtil.h.
Referenced by CudaPmeRealSpaceCompute::CudaPmeRealSpaceCompute(), getDataSize(), and PmeRealSpaceCompute().
|
protected |
Definition at line 324 of file PmeSolverUtil.h.
|
protected |
Definition at line 324 of file PmeSolverUtil.h.
|
protected |
Definition at line 313 of file PmeSolverUtil.h.
Referenced by CudaPmeRealSpaceCompute::copyAtoms(), CudaPmeRealSpaceCompute::gatherForce(), and CudaPmeRealSpaceCompute::spreadCharge().
|
protected |
Definition at line 315 of file PmeSolverUtil.h.
Referenced by CudaPmeRealSpaceCompute::gatherForce(), and CudaPmeRealSpaceCompute::spreadCharge().
|
protected |
Definition at line 319 of file PmeSolverUtil.h.
Referenced by CudaPmeRealSpaceCompute::CudaPmeRealSpaceCompute(), CudaPmeRealSpaceCompute::gatherForce(), PmeRealSpaceCompute(), and CudaPmeRealSpaceCompute::spreadCharge().
|
protected |
Definition at line 317 of file PmeSolverUtil.h.
Referenced by CudaPmeRealSpaceCompute::gatherForce(), PmeRealSpaceCompute(), and CudaPmeRealSpaceCompute::spreadCharge().
|
protected |
Definition at line 319 of file PmeSolverUtil.h.
Referenced by CudaPmeRealSpaceCompute::CudaPmeRealSpaceCompute(), CudaPmeRealSpaceCompute::gatherForce(), PmeRealSpaceCompute(), and CudaPmeRealSpaceCompute::spreadCharge().
|
protected |
Definition at line 317 of file PmeSolverUtil.h.
Referenced by CudaPmeRealSpaceCompute::gatherForce(), PmeRealSpaceCompute(), and CudaPmeRealSpaceCompute::spreadCharge().
|
protected |
Definition at line 319 of file PmeSolverUtil.h.
Referenced by CudaPmeRealSpaceCompute::CudaPmeRealSpaceCompute(), CudaPmeRealSpaceCompute::gatherForce(), PmeRealSpaceCompute(), and CudaPmeRealSpaceCompute::spreadCharge().