1 #ifndef OPENMM_ANDERSENTHERMOSTATIMPL_H_
2 #define OPENMM_ANDERSENTHERMOSTATIMPL_H_
35 #include "ForceImpl.h"
36 #include "openmm/AndersenThermostat.h"
37 #include "openmm/Kernel.h"
60 std::map<std::string, double> getDefaultParameters();
61 std::vector<std::string> getKernelNames();
66 static std::vector<std::vector<int> > calcParticleGroups(
const System& system);
68 static void tagParticlesInGroup(
int particle,
int group, std::vector<int>& particleGroup, std::vector<std::vector<int> >& particleConstraints);
This is the internal implementation of a Context.
Definition: ContextImpl.h:53
This class uses the Andersen method to maintain constant temperature.
Definition: AndersenThermostat.h:45
const AndersenThermostat & getOwner() const
Get the Force object from which this ForceImpl was created.
Definition: AndersenThermostatImpl.h:52
This is the internal implementation of AndersenThermostat.
Definition: AndersenThermostatImpl.h:48
This class represents a molecular system.
Definition: System.h:66
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
double calcForcesAndEnergy(ContextImpl &context, bool includeForces, bool includeEnergy, int groups)
Calculate the force on each particle generated by this ForceImpl and/or this ForceImpl's contribution...
Definition: AndersenThermostatImpl.h:56