1 #ifndef OPENMM_AMOEBA_OUT_OF_PLANE_BEND_FORCE_H_
2 #define OPENMM_AMOEBA_OUT_OF_PLANE_BEND_FORCE_H_
35 #include "openmm/Force.h"
36 #include "internal/windowsExportAmoeba.h"
62 return outOfPlaneBends.size();
70 void setAmoebaGlobalOutOfPlaneBendCubic(
double cubicK);
77 double getAmoebaGlobalOutOfPlaneBendCubic(
void)
const;
84 void setAmoebaGlobalOutOfPlaneBendQuartic(
double quarticK);
91 double getAmoebaGlobalOutOfPlaneBendQuartic(
void)
const;
98 void setAmoebaGlobalOutOfPlaneBendPentic(
double penticK);
105 double getAmoebaGlobalOutOfPlaneBendPentic(
void)
const;
112 void setAmoebaGlobalOutOfPlaneBendSextic(
double sexticK);
119 double getAmoebaGlobalOutOfPlaneBendSextic(
void)
const;
131 int addOutOfPlaneBend(
int particle1,
int particle2,
int particle3,
int particle4,
double k);
143 void getOutOfPlaneBendParameters(
int index,
int& particle1,
int& particle2,
int& particle3,
int& particle4,
double& k)
const;
155 void setOutOfPlaneBendParameters(
int index,
int particle1,
int particle2,
int particle3,
int particle4,
double k);
165 void updateParametersInContext(
Context& context);
171 class OutOfPlaneBendInfo;
172 std::vector<OutOfPlaneBendInfo> outOfPlaneBends;
179 class AmoebaOutOfPlaneBendForce::OutOfPlaneBendInfo {
181 int particle1, particle2, particle3, particle4;
183 OutOfPlaneBendInfo() {
184 particle1 = particle2 = particle3 = particle4 = -1;
187 OutOfPlaneBendInfo(
int particle1,
int particle2,
int particle3,
int particle4,
189 particle1(particle1), particle2(particle2), particle3(particle3), particle4(particle4), k(k) {
A Context stores the complete state of a simulation.
Definition: Context.h:67
int getNumOutOfPlaneBends() const
Get the number of out-of-plane bend terms in the potential function.
Definition: AmoebaOutOfPlaneBendForce.h:61
Force objects apply forces to the particles in a System, or alter their behavior in other ways...
Definition: Force.h:65
This class implements the Amoeba out-of-plane bend interaction.
Definition: AmoebaOutOfPlaneBendForce.h:49
A ForceImpl provides the internal implementation of a Force.
Definition: ForceImpl.h:57
double _globalSexticK
Definition: AmoebaOutOfPlaneBendForce.h:169