12 #include <cuda_runtime.h>      15 #include <hip/hip_runtime.h>    48 #if defined(NAMD_CUDA) || defined(NAMD_HIP)    51     : 
i(input.x), 
j(input.y), 
k(input.z) { ; }
    65 #ifndef USE_NO_BITFIELDS   117 #endif // USE_NO_BITFIELDS   142 #ifndef USE_NO_BITFIELDS   144 #define NAMD_ATOM_ID_MASK      0x3FFFFFFFu   145 #define NAMD_ATOM_FIXED_MASK   0x40000000u   146 #define NAMD_GROUP_FIXED_MASK  0x80000000u   152   #if defined(NAMD_CUDA) || defined(NAMD_MIC) || defined(NAMD_AVXTILES) || defined(NAMD_HIP)   155   #ifdef MEM_OPT_VERSION   172   #if defined(NAMD_CUDA) || defined(NAMD_MIC) || defined(NAMD_AVXTILES) || defined(NAMD_HIP)   175   #ifdef MEM_OPT_VERSION   184 static_assert(
sizeof(
CompAtomExt)==
sizeof(
CompAtomExtCopy), 
"NAMD fails to compile due to sizeof(CompAtomExt) != sizeof(CompAtomExtCopy)");
   192   #if defined(NAMD_CUDA) || defined(NAMD_HIP) || defined(NAMD_MIC)   195   #ifdef MEM_OPT_VERSION   208 #endif // USE_NO_BITFIELDS   221 #ifdef MEM_OPT_VERSION   233 #ifdef MEM_OPT_VERSION   237 #ifdef MEM_OPT_VERSION   246       return hydVal < a.hydVal;
   266 #if !(defined(__CUDACC__) || defined(__HIPCC__))   313 #if NAMD_ComputeNonbonded_SortAtoms != 0   461 #if defined(NAMD_CUDA) || defined(NAMD_HIP) 
ResizeArray< GBReal > GBRealList
 
ResizeArray< Real > RealList
 
ResizeArray< CudaAtom > CudaAtomList
 
proxyTreeNode & operator=(const proxyTreeNode &n)
 
ResizeArray< PatchID > PatchIDList
 
int32 maxAtoms
max number of atoms available, multiple of MAXFACTOR 
 
float * langScalVelBBK2
derived from langevinParam 
 
int32 * migrationGroupSize
 
ResizeArray< Force > ForceList
 
ResizeArray< Velocity > VelocityList
 
ResizeArray< Position > PositionList
 
int32 * hydrogenGroupSize
 
size_t numBytes
number of bytes allocated for soa_buffer 
 
ResizeArray< BigReal > BigRealList
 
proxyTreeNode(const proxyTreeNode &n)
 
float * gaussrand_x
fill with Gaussian distributed random numbers 
 
double * vel_x
Jim recommends double precision velocity. 
 
ResizeArray< FullAtom > FullAtomList
 
ResizeArray< Transform > TransformList
 
struct __sort_entry SortEntry
 
bool operator<(const intpair &lhs, const intpair &rhs)
 
ResizeArray< Compute * > ComputeList
 
ResizeArray< AtomID > AtomIDList
 
int32 status
Atom status bit fields defined in structures.h. 
 
ResizeArray< proxyTreeNode > proxyTreeNodeList
 
SynchronousCollectiveScope
 
double * recipMass
derived from mass 
 
proxyTreeNode(int nid, int numPes_, int *pes)
 
ResizeArray< CompAtom > CompAtomList
 
ResizeArray< CompAtomExt > CompAtomExtList
 
ResizeArray< Patch * > PatchList
 
ResizeArray< int > IntList
 
float * langScalRandBBK2
from langevinParam and recipMass 
 
int32 * nonbondedGroupSize
 
double * velNew_x
temp storage for rigid bond constraints 
 
ResizeArray< InputAtom > InputAtomList
 
ResizeArray< NodeID > NodeIDList
 
int32 numAtoms
number of atoms