Emdee
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
kohenthreeparticleforce.h
Go to the documentation of this file.
1 #ifndef KOHENTHREEPARTICLEFORCE_H
2 #define KOHENTHREEPARTICLEFORCE_H
3 
5 
10 {
11 public:
13 
14  virtual void calculateAndApplyForce(Atom *atom1, Atom *atom2, Atom *atom3, const Vector3 &atom2Offset, const Vector3 &atom3Offset);
15  virtual void calculateAndApplyForce(Atom *atom1, Atom *atom2, Atom *atom3);
16 private:
17  Vector3 rij;
18  Vector3 rik;
19  double force(double Bijk, double drij, double dfdrij, double drik, double dfdrik, double p, double f, double dtheta, double dpdtheta);
20 };
21 
22 #endif // KOHENTHREEPARTICLEFORCE_H