Gromacs  2026.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Attributes
gmx::NBAtomDataGpu Struct Reference

#include <gromacs/nbnxm/gpu_types_common.h>

Description

Nonbonded atom data - both inputs and outputs.

Public Attributes

int numAtoms
 number of atoms
 
int numAtomsLocal
 number of local atoms
 
int numAtomsAlloc
 allocation size for the atom data (xq, f)
 
DeviceBuffer< Float4xq
 atom coordinates + charges, size numAtoms
 
DeviceBuffer< Float4q4
 atom charge(A&B), size numAtoms, only in FEP, use Float4 for coalesencing
 
DeviceBuffer< Float3f
 force output array, size numAtoms
 
DeviceBuffer< float > eLJ
 LJ energy output, size 1.
 
DeviceBuffer< float > eElec
 Electrostatics energy input, size 1.
 
DeviceBuffer< float > dvdlLJ
 DVDL LJ output, size 1.
 
DeviceBuffer< float > dvdlElec
 DVDL Electrostatics input, size 1.
 
DeviceBuffer< float > eLJForeign
 Foreign LJ energy output, size nLambda+1.
 
DeviceBuffer< float > eElecForeign
 Foreign Elec energy output, size nLambda1.
 
DeviceBuffer< float > dvdlLJForeign
 Foreign DVDL LJ output, size nLambda+1.
 
DeviceBuffer< float > dvdlElecForeign
 Foreign DVDL Elec output, size nLambda+1.
 
DeviceBuffer< Float3fShift
 shift forces
 
int numTypes
 number of atom types
 
DeviceBuffer< int > atomTypes
 atom type indices, size numAtoms
 
DeviceBuffer< Float2ljComb
 sqrt(c6),sqrt(c12) size numAtoms
 
DeviceBuffer< Int4atomTypes4
 atom typeA&B indices, size numAtoms, only in FEP, use Int4 for coalesencing
 
DeviceBuffer< Float4ljComb4
 sqrt(c6),sqrt(c12) for stateA&B, size numAtoms, only in FEP, use Float4 for coalesencing
 
DeviceBuffer< Float3shiftVec
 shifts
 
bool shiftVecUploaded
 true if the shift vector has been uploaded
 

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