1 #ifndef OPENMM_DRUDEFORCEIMPL_H_
2 #define OPENMM_DRUDEFORCEIMPL_H_
35 #include "openmm/DrudeForce.h"
36 #include "openmm/internal/ForceImpl.h"
37 #include "openmm/Kernel.h"
61 double calcForcesAndEnergy(
ContextImpl& context,
bool includeForces,
bool includeEnergy,
int groups);
63 return std::map<std::string, double>();
65 std::vector<std::string> getKernelNames();
66 void updateParametersInContext(
ContextImpl& context);
67 std::vector<std::pair<int, int> > getBondedParticles()
const;
This is the internal implementation of a Context.
Definition: ContextImpl.h:53
void updateContextState(ContextImpl &context)
This method is called at the beginning of each time step.
Definition: DrudeForceImpl.h:58
const DrudeForce & getOwner() const
Get the Force object from which this ForceImpl was created.
Definition: DrudeForceImpl.h:55
std::map< std::string, double > getDefaultParameters()
Get a map containing the default values for all adjustable parameters defined by this ForceImpl...
Definition: DrudeForceImpl.h:62
This is the internal implementation of DrudeForce.
Definition: DrudeForceImpl.h:50
A Kernel encapsulates a particular implementation of a calculation that can be performed on the data ...
Definition: Kernel.h:58
A ForceImpl provides the internal implementation of a Force.
Definition: ForceImpl.h:57
This class implements forces that are specific to Drude oscillators.
Definition: DrudeForce.h:55