Gromacs  2019-beta2
 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>

Description

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 gmx::ForceProviderInput &forceProviderInput, gmx::ForceProviderOutput *forceProviderOutput) const
 Computes forces.
 

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