Gromacs  2021.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Attributes
cu_atomdata Struct Reference

#include <gromacs/nbnxm/cuda/nbnxm_cuda_types.h>


Nonbonded atom data - both inputs and outputs.

Public Attributes

int natoms
 number of atoms
int natoms_local
 number of local atoms
int nalloc
 allocation size for the atom data (xq, f)
DeviceBuffer< float4xq
 atom coordinates + charges, size natoms
DeviceBuffer< float3f
 force output array, size natoms
DeviceBuffer< float > e_lj
 LJ energy output, size 1.
DeviceBuffer< float > e_el
 Electrostatics energy input, size 1.
DeviceBuffer< float3fshift
 shift forces
int ntypes
 number of atom types
DeviceBuffer< int > atom_types
 atom type indices, size natoms
DeviceBuffer< float2lj_comb
 sqrt(c6),sqrt(c12) size natoms
DeviceBuffer< float3shift_vec
bool bShiftVecUploaded
 true if the shift vector has been uploaded

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