Emdee
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
lennardjonesforce.h
Go to the documentation of this file.
1 #ifndef LENNARDJONESFORCE_H
2 #define LENNARDJONESFORCE_H
3 
5 
7 {
8 public:
10 
11  virtual void calculateAndApplyForce(Atom *atom1, Atom *atom2);
12  virtual void calculateAndApplyForce(Atom* atom1, Atom* atom2, const Vector3 &atom2Offset);
13 
14  void setPotentialConstant(double potentialConstant);
15  void setEnergyConstant(double energyConstant);
16  void setShift(double shift);
17 
18 protected:
21 
27  double m_shift;
29 };
30 
31 #endif // LENNARDJONESFORCE_H