5#include "ff/energybuffer.h"
6#include "ff/timescale.h"
7#include "tool/darray.h"
#define TINKER_EXTERN
Definition: macro.h:108
grad_prec * gy
Gradient of valence terms; also works as total gradient array.
VirialBuffer vir_buf_elec
Virial buffer for the electrostatic terms.
VirialBuffer vir_buf_vdw
Virial buffer for the vdw terms.
void energy_core(int vers, unsigned tsflag, const TimeScaleConfig &tsconfig)
std::map< std::string, int > TimeScaleConfig
Definition: timescale.h:40
void energyData(RcOp)
Entry point to the setup functions of all the potential energy terms.
EnergyBuffer eng_buf
Energy buffer for the valence terms.
energy_prec energy_elec
Total electrostatic energy.
grad_prec * gx_elec
Gradient of electrostatic terms.
bool useEnergyElec()
Logical flag for use of electrostatic terms.
virial_prec virial_valence[9]
Total valence virial tensor.
energy_prec energy_vdw
Total vdw energy.
grad_prec * gy_vdw
Gradient of VDW, repulsion, dispersion, etc. terms.
EnergyBuffer eng_buf_elec
Energy buffer for the electrostatic terms.
energy_prec esum
Total potential energy.
grad_prec * gz_vdw
Gradient of VDW, repulsion, dispersion, etc. terms.
energy_prec energy_valence
Total valence energy.
virial_prec virial_elec[9]
Total electrostatic virial tensor.
grad_prec * gx_vdw
Gradient of VDW, repulsion, dispersion, etc. terms.
grad_prec * gy_elec
Gradient of electrostatic terms.
EnergyBuffer eng_buf_vdw
Energy buffer for the vdw terms.
bool useEnergyVdw()
Logical flag for use of VDW, repulsion, dispersion, etc. terms.
virial_prec virial_vdw[9]
Total vdw virial tensor.
virial_prec vir[9]
Total potential virial tensor.
void egvData(RcOp)
Sets up data on device.
grad_prec * gx
Gradient of valence terms; also works as total gradient array.
grad_prec * gz_elec
Gradient of electrostatic terms.
VirialBuffer vir_buf
Virial buffer for the valence terms.
grad_prec * gz
Gradient of valence terms; also works as total gradient array.
EnergyBufferTraits::type * EnergyBuffer
Definition: energybuffer.h:93
VirialBufferTraits::type(* VirialBuffer)[VirialBufferTraits::value]
Definition: energybuffer.h:94
mixed virial_prec
Definition: precision.h:98
fixed grad_prec
Definition: precision.h:103
mixed energy_prec
Floating-point type for total energies.
Definition: precision.h:97
ResourceOperation
Definition: rcman.h:46