Gromacs
2022.2
|
This file declares functions for "pair" interactions (i.e. listed non-bonded interactions, e.g. 1-4 interactions)
Classes | |
class | gmx::ArrayRef< typename > |
STL-like interface to a C array of T (or part of a std container of T). More... | |
Functions | |
void | do_pairs (int ftype, int nbonds, const t_iatom iatoms[], const t_iparams iparams[], const rvec x[], rvec4 f[], rvec fshift[], const struct t_pbc *pbc, const real *lambda, real *dvdl, gmx::ArrayRef< real > chargeA, gmx::ArrayRef< real > chargeB, gmx::ArrayRef< bool > atomIsPerturbed, gmx::ArrayRef< unsigned short > cENER, int numEnergyGroups, const t_forcerec *fr, bool havePerturbedPairs, const gmx::StepWorkload &stepWork, gmx_grppairener_t *grppener, int *global_atom_index) |
Calculate VdW/charge listed pair interactions (usually 1-4 interactions). More... | |
void do_pairs | ( | int | ftype, |
int | nbonds, | ||
const t_iatom | iatoms[], | ||
const t_iparams | iparams[], | ||
const rvec | x[], | ||
rvec4 | f[], | ||
rvec | fshift[], | ||
const struct t_pbc * | pbc, | ||
const real * | lambda, | ||
real * | dvdl, | ||
gmx::ArrayRef< real > | chargeA, | ||
gmx::ArrayRef< real > | chargeB, | ||
gmx::ArrayRef< bool > | atomIsPerturbed, | ||
gmx::ArrayRef< unsigned short > | cENER, | ||
const int | numEnergyGroups, | ||
const t_forcerec * | fr, | ||
const bool | havePerturbedInteractions, | ||
const gmx::StepWorkload & | stepWork, | ||
gmx_grppairener_t * | grppener, | ||
int * | global_atom_index | ||
) |
Calculate VdW/charge listed pair interactions (usually 1-4 interactions).
global_atom_index is only passed for printing error messages.
Calculate VdW/charge listed pair interactions (usually 1-4 interactions).