Gromacs  2022.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Functions
#include "gromacs/math/vec.h"
#include "gromacs/topology/ifunc.h"
#include "gromacs/utility/real.h"
+ Include dependency graph for pairs.h:
+ This graph shows which files directly or indirectly include this file:

Description

This file declares functions for "pair" interactions (i.e. listed non-bonded interactions, e.g. 1-4 interactions)

Author
Mark Abraham mark..nosp@m.j.ab.nosp@m.raham.nosp@m.@gma.nosp@m.il.co.nosp@m.m

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...
 

Function Documentation

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).