1 #ifndef OPENMM_AMOEBA_BOND_FORCE_H_ 
    2 #define OPENMM_AMOEBA_BOND_FORCE_H_ 
   35 #include "openmm/Force.h" 
   36 #include "openmm/Vec3.h" 
   37 #include "internal/windowsExportAmoeba.h" 
   74     void setAmoebaGlobalBondCubic(
double cubicK);
 
   81     double getAmoebaGlobalBondCubic() 
const;
 
   88     void setAmoebaGlobalBondQuartic(
double quarticK);
 
   95     double getAmoebaGlobalBondQuartic() 
const;
 
  107     int addBond(
int particle1, 
int particle2, 
double length, 
double quadraticK);
 
  119     void getBondParameters(
int index, 
int& particle1, 
int& particle2, 
double& length, 
double& quadraticK) 
const;
 
  130     void setBondParameters(
int index, 
int particle1, 
int particle2, 
double length, 
double quadraticK);
 
  140     void updateParametersInContext(
Context& context);
 
  152     ForceImpl* createImpl() 
const;
 
  155     std::vector<BondInfo> bonds;
 
  162 class AmoebaBondForce::BondInfo {
 
  164     int particle1, particle2;
 
  165     double length, quadraticK;
 
  167         particle1 = particle2    = -1;
 
  168         length    = quadraticK   = 0.0;
 
  170     BondInfo(
int particle1, 
int particle2, 
double length, 
double  quadraticK) :
 
  171         particle1(particle1), particle2(particle2), length(length), quadraticK(quadraticK) {
 
double _globalQuarticK
Definition: AmoebaBondForce.h:151
A Context stores the complete state of a simulation. 
Definition: Context.h:67
This class implements an interaction between pairs of particles that varies with the distance between...
Definition: AmoebaBondForce.h:54
Force objects apply forces to the particles in a System, or alter their behavior in other ways...
Definition: Force.h:65
int getNumBonds() const 
Get the number of bond stretch terms in the potential function. 
Definition: AmoebaBondForce.h:65
bool usesPeriodicBoundaryConditions() const 
Returns whether or not this force makes use of periodic boundary conditions. 
Definition: AmoebaBondForce.h:147
Definition: AndersenThermostat.h:40