1 #ifndef OPENMM_HARMONICANGLEFORCE_H_
2 #define OPENMM_HARMONICANGLEFORCE_H_
39 #include "internal/windowsExport.h"
72 int addAngle(
int particle1,
int particle2,
int particle3,
double angle,
double k);
83 void getAngleParameters(
int index,
int& particle1,
int& particle2,
int& particle3,
double& angle,
double& k)
const;
94 void setAngleParameters(
int index,
int particle1,
int particle2,
int particle3,
double angle,
double k);
104 void updateParametersInContext(
Context& context);
109 std::vector<AngleInfo> angles;
116 class HarmonicAngleForce::AngleInfo {
118 int particle1, particle2, particle3;
121 particle1 = particle2 = particle3 = -1;
124 AngleInfo(
int particle1,
int particle2,
int particle3,
double angle,
double k) :
125 particle1(particle1), particle2(particle2), particle3(particle3), angle(angle), k(k) {