1 #ifndef OPENMM_CMAPTORSIONFORCE_H_ 
    2 #define OPENMM_CMAPTORSIONFORCE_H_ 
   38 #include "internal/windowsExport.h" 
   71         return torsions.size();
 
   83     int addMap(
int size, 
const std::vector<double>& energy);
 
   94     void getMapParameters(
int index, 
int& size, std::vector<double>& energy) 
const;
 
  105     void setMapParameters(
int index, 
int size, 
const std::vector<double>& energy);
 
  120     int addTorsion(
int map, 
int a1, 
int a2, 
int a3, 
int a4, 
int b1, 
int b2, 
int b3, 
int b4);
 
  135     void getTorsionParameters(
int index, 
int& map, 
int& a1, 
int& a2, 
int& a3, 
int& a4, 
int& b1, 
int& b2, 
int& b3, 
int& b4) 
const;
 
  150     void setTorsionParameters(
int index, 
int map, 
int a1, 
int a2, 
int a3, 
int a4, 
int b1, 
int b2, 
int b3, 
int b4);
 
  161     void updateParametersInContext(
Context& context);
 
  172     ForceImpl* createImpl() 
const;
 
  175     class CMAPTorsionInfo;
 
  176     std::vector<MapInfo> maps;
 
  177     std::vector<CMAPTorsionInfo> torsions;
 
  184 class CMAPTorsionForce::MapInfo {
 
  187     std::vector<double> energy;
 
  191     MapInfo(
int size, 
const std::vector<double>& energy) :
 
  192         size(size), energy(energy) {
 
  200 class CMAPTorsionForce::CMAPTorsionInfo {
 
  202     int map, a1, a2, a3, a4, b1, b2, b3, b4;
 
  204         map = a1 = a2 = a3 = a4 = b1 = b2 = b3 = b4 = -1;
 
  206     CMAPTorsionInfo(
int map, 
int a1, 
int a2, 
int a3, 
int a4, 
int b1, 
int b2, 
int b3, 
int b4) :
 
  207         map(map), a1(a1), a2(a2), a3(a3), a4(a4), b1(b1), b2(b2), b3(b3), b4(b4) {
 
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: CMAPTorsionForce.h:168
Force objects apply forces to the particles in a System, or alter their behavior in other ways...
Definition: Force.h:65
int getNumMaps() const 
Get the number of maps that have been defined. 
Definition: CMAPTorsionForce.h:64
This class implements an interaction between pairs of dihedral angles. 
Definition: CMAPTorsionForce.h:55
int getNumTorsions() const 
Get the number of CMAP torsion terms in the potential function. 
Definition: CMAPTorsionForce.h:70
Definition: AndersenThermostat.h:40