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);
176 ForceImpl* createImpl()
const;
179 class OutOfPlaneBendInfo;
180 std::vector<OutOfPlaneBendInfo> outOfPlaneBends;
187 class AmoebaOutOfPlaneBendForce::OutOfPlaneBendInfo {
189 int particle1, particle2, particle3, particle4;
191 OutOfPlaneBendInfo() {
192 particle1 = particle2 = particle3 = particle4 = -1;
195 OutOfPlaneBendInfo(
int particle1,
int particle2,
int particle3,
int particle4,
197 particle1(particle1), particle2(particle2), particle3(particle3), particle4(particle4), k(k) {
A Context stores the complete state of a simulation.
Definition: Context.h:67
bool usesPeriodicBoundaryConditions() const
Returns whether or not this force makes use of periodic boundary conditions.
Definition: AmoebaOutOfPlaneBendForce.h:172
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
Definition: AndersenThermostat.h:40
double _globalSexticK
Definition: AmoebaOutOfPlaneBendForce.h:177