1 #ifndef AMOEBA_OPENMM_GK_FORCE_FIELD_H_
2 #define AMOEBA_OPENMM_GK_FORCE_FIELD_H_
35 #include "openmm/Force.h"
36 #include "internal/windowsExportAmoeba.h"
65 return particles.size();
77 int addParticle(
double charge,
double radius,
double scalingFactor);
87 void getParticleParameters(
int index,
double& charge,
double& radius,
double& scalingFactor)
const;
97 void setParticleParameters(
int index,
double charge,
double radius,
double scalingFactor);
103 return solventDielectric;
110 solventDielectric = dielectric;
117 return soluteDielectric;
124 soluteDielectric = dielectric;
130 int getIncludeCavityTerm()
const;
135 void setIncludeCavityTerm(
int includeCavityTerm);
140 double getProbeRadius()
const;
145 void setProbeRadius(
double probeRadius);
150 double getSurfaceAreaFactor()
const;
155 void setSurfaceAreaFactor(
double surfaceAreaFactor);
165 void updateParametersInContext(
Context& context);
176 ForceImpl* createImpl()
const;
179 int includeCavityTerm;
180 double solventDielectric, soluteDielectric, dielectricOffset,
181 probeRadius, surfaceAreaFactor;
182 std::vector<ParticleInfo> particles;
189 class AmoebaGeneralizedKirkwoodForce::ParticleInfo {
191 double charge, radius, scalingFactor;
193 charge = radius = scalingFactor = 0.0;
195 ParticleInfo(
double charge,
double radius,
double scalingFactor) :
196 charge(charge), radius(radius), scalingFactor(scalingFactor) {
bool usesPeriodicBoundaryConditions() const
Returns whether or not this force makes use of periodic boundary conditions.
Definition: AmoebaGeneralizedKirkwoodForce.h:172
A Context stores the complete state of a simulation.
Definition: Context.h:67
void setSoluteDielectric(double dielectric)
Set the dielectric constant for the solute.
Definition: AmoebaGeneralizedKirkwoodForce.h:123
void setSolventDielectric(double dielectric)
Set the dielectric constant for the solvent.
Definition: AmoebaGeneralizedKirkwoodForce.h:109
Force objects apply forces to the particles in a System, or alter their behavior in other ways...
Definition: Force.h:65
double getSolventDielectric() const
Get the dielectric constant for the solvent.
Definition: AmoebaGeneralizedKirkwoodForce.h:102
This class implements an implicit solvation force using the generalized Kirkwood/Grycuk model...
Definition: AmoebaGeneralizedKirkwoodForce.h:52
double getSoluteDielectric() const
Get the dielectric constant for the solute.
Definition: AmoebaGeneralizedKirkwoodForce.h:116
int getNumParticles() const
Get the number of particles in the system.
Definition: AmoebaGeneralizedKirkwoodForce.h:64
Definition: AndersenThermostat.h:40