Emdee
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
constantforce.h
Go to the documentation of this file.
1 #ifndef CONSTANTFORCE_H
2 #define CONSTANTFORCE_H
3 
4 #include <math/vector3.h>
6 
8 {
9 public:
10  ConstantForce();
11 
12  void apply(Atom *atom);
13  void setForceVector(Vector3 forceVector);
14 private:
15  Vector3 m_forceVector;
16 };
17 
18 inline void ConstantForce::setForceVector(Vector3 forceVector) {
19  m_forceVector = forceVector;
20 }
21 
22 #endif // CONSTANTFORCE_H