NAMD
Public Member Functions | List of all members
CpuPmeAtomStorage Class Reference
Inheritance diagram for CpuPmeAtomStorage:
PmeAtomStorage

Public Member Functions

 CpuPmeAtomStorage (const bool useIndex)
 
 ~CpuPmeAtomStorage ()
 
- Public Member Functions inherited from PmeAtomStorage
 PmeAtomStorage (const bool useIndex)
 
virtual ~PmeAtomStorage ()
 
int addAtoms (const int natom, const CudaAtom *src)
 
int addAtomsWithIndex (const int natom, const CudaAtom *src, const int *index)
 
void finish ()
 
void clear ()
 
CudaAtomgetAtoms ()
 
int * getPatchPos ()
 
int getNumPatches ()
 
int getNumAtoms ()
 
int * getAtomIndex ()
 

Additional Inherited Members

- Protected Attributes inherited from PmeAtomStorage
CudaAtomatom
 
int * atomIndex
 
CudaAtomoverflowAtom
 
int * overflowAtomIndex
 

Detailed Description

Definition at line 68 of file ComputePmeCUDAMgr.C.

Constructor & Destructor Documentation

CpuPmeAtomStorage::CpuPmeAtomStorage ( const bool  useIndex)
inline

Definition at line 70 of file ComputePmeCUDAMgr.C.

70 : PmeAtomStorage(useIndex) {}
PmeAtomStorage(const bool useIndex)
CpuPmeAtomStorage::~CpuPmeAtomStorage ( )
inline

Definition at line 71 of file ComputePmeCUDAMgr.C.

References PmeAtomStorage::atom, PmeAtomStorage::atomIndex, PmeAtomStorage::overflowAtom, and PmeAtomStorage::overflowAtomIndex.

71  {
72  if (atom != NULL) dealloc_((void *)atom);
73  if (atomIndex != NULL) dealloc_((void *)atomIndex);
74  if (overflowAtom != NULL) dealloc_((void *)overflowAtom);
75  if (overflowAtomIndex != NULL) dealloc_((void *)overflowAtomIndex);
76  }
CudaAtom * overflowAtom

The documentation for this class was generated from the following file: