Gromacs  2018.8
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions
ForceProviders Struct Reference

#include <gromacs/mdtypes/iforceprovider.h>


Evaluates forces from a collection of gmx::IForceProvider.

This class is a struct outside the gmx namespace to make it possible to forward-declare it in forcerec.h, which still needs to compile when included from the C group kernels.

Public Member Functions

void addForceProvider (gmx::IForceProvider *provider)
 Adds a provider.
bool hasForceProvider () const
 Whether there are modules added.
void calculateForces (const t_commrec *cr, const t_mdatoms *mdatoms, const matrix box, double t, const rvec *x, gmx::ForceWithVirial *forceWithVirial) const
 Computes forces.

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