#include <gromacs/mdtypes/iforceprovider.h>
Evaluates forces from a collection of gmx::IForceProvider.
ForceProviders::ForceProviders |
( |
gmx_wallcycle * |
wallCycle = nullptr | ) |
|
Constructor.
- Parameters
-
[in] | wallCycle | Pointer to a wallcycle counter struct, can be nullptr |
void ForceProviders::addForceProvider |
( |
gmx::IForceProvider * |
provider, |
|
|
const std::string & |
cycleCounterName = "" |
|
) |
| |
Adds a provider.
- Parameters
-
[in] | provider | The force provider callback function |
[in] | cycleCounterName | A non-empty string will add a cycle counter with the given name that registers the time spent in the force provider function |
The documentation for this class was generated from the following files: