1 #ifndef OPENMM_AMOEBA_PI_TORSION_FORCE_H_
2 #define OPENMM_AMOEBA_PI_TORSION_FORCE_H_
35 #include "openmm/Force.h"
36 #include "internal/windowsExportAmoeba.h"
62 return piTorsions.size();
77 int addPiTorsion(
int particle1,
int particle2,
int particle3,
int particle4,
int particle5,
int particle6,
double k);
91 void getPiTorsionParameters(
int index,
int& particle1,
int& particle2,
int& particle3,
int& particle4,
int& particle5,
int& particle6,
double& k)
const;
105 void setPiTorsionParameters(
int index,
int particle1,
int particle2,
int particle3,
int particle4,
int particle5,
int particle6,
double k);
115 void updateParametersInContext(
Context& context);
126 ForceImpl* createImpl()
const;
129 std::vector<PiTorsionInfo> piTorsions;
136 class AmoebaPiTorsionForce::PiTorsionInfo {
138 int particle1, particle2, particle3, particle4, particle5, particle6;
141 particle1 = particle2 = particle3 = particle4 = particle5 = particle6 = -1;
144 PiTorsionInfo(
int particle1,
int particle2,
int particle3,
int particle4,
int particle5,
int particle6,
double k) :
145 particle1(particle1), particle2(particle2), particle3(particle3), particle4(particle4), particle5(particle5), particle6(particle6), k(k) {
A Context stores the complete state of a simulation.
Definition: Context.h:67
Force objects apply forces to the particles in a System, or alter their behavior in other ways...
Definition: Force.h:65
bool usesPeriodicBoundaryConditions() const
Returns whether or not this force makes use of periodic boundary conditions.
Definition: AmoebaPiTorsionForce.h:122
This class implements the Amoeba pi-torsion interaction.
Definition: AmoebaPiTorsionForce.h:49
int getNumPiTorsions() const
Get the number of pi torsion terms in the potential function.
Definition: AmoebaPiTorsionForce.h:61
Definition: AndersenThermostat.h:40