Emdee
Main Page
Related Pages
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
libs
force
constantforce.h
Go to the documentation of this file.
1
#ifndef CONSTANTFORCE_H
2
#define CONSTANTFORCE_H
3
4
#include <
math/vector3.h
>
5
#include <
force/singleparticleforce.h
>
6
7
class
ConstantForce
:
public
SingleParticleForce
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
Generated on Sun Jun 22 2014 13:59:20 for Emdee by
1.8.4