Gromacs
2018.8
|
#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. | |