Gromacs  2016.6
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
anonymous_namespace{listed-forces.cpp} Namespace Reference

Functions

bool isPairInteraction (int ftype)
 Return true if ftype is an explicit pair-listed LJ or COULOMB interaction type: bonded LJ (usually 1-4), or special listed non-bonded for FEP.
 
static void zero_thread_output (struct bonded_threading_t *bt, int thread)
 Zero thread-local output buffers.
 
static void reduce_thread_forces (int n, rvec *f, struct bonded_threading_t *bt, int nthreads)
 Reduce thread-local force buffers.
 
static void reduce_thread_output (int n, rvec *f, rvec *fshift, real *ener, gmx_grppairener_t *grpp, real *dvdl, struct bonded_threading_t *bt, gmx_bool bCalcEnerVir, gmx_bool bDHDL)
 Reduce thread-local forces, shift forces and energies.
 
real calc_one_bond (int thread, int ftype, const t_idef *idef, const rvec x[], rvec4 f[], rvec fshift[], t_forcerec *fr, const t_pbc *pbc, const t_graph *g, gmx_grppairener_t *grpp, t_nrnb *nrnb, real *lambda, real *dvdl, const t_mdatoms *md, t_fcdata *fcd, gmx_bool bCalcEnerVir, int *global_atom_index)
 Calculate one element of the list of bonded interactions for this thread.