#include <meldKernels.h>
|
| static std::string | Name () |
| |
| virtual void copyParametersToContext |
( |
OpenMM::ContextImpl & |
context, |
|
|
const MeldForce & |
force |
|
) |
| |
|
pure virtual |
| virtual double execute |
( |
OpenMM::ContextImpl & |
context, |
|
|
bool |
includeForces, |
|
|
bool |
includeEnergy |
|
) |
| |
|
pure virtual |
Execute the kernel to calculate the forces and/or energy.
- Parameters
-
| context | the context in which to execute this kernel |
| includeForces | true if forces should be calculated |
| includeEnergy | true if the energy should be calculated |
- Returns
- the potential energy due to the force
| virtual void initialize |
( |
const OpenMM::System & |
system, |
|
|
const MeldForce & |
force |
|
) |
| |
|
pure virtual |
Initialize the kernel.
- Parameters
-
| system | the System this kernel will be applied to |
| force | the MeldForce this kernel will be used for |
| static std::string Name |
( |
| ) |
|
|
inlinestatic |
The documentation for this class was generated from the following file: