34 |
|
#define TYPES_BENDTYPE_HPP |
35 |
|
|
36 |
|
namespace oopse { |
37 |
< |
|
38 |
< |
/** |
39 |
< |
* @class BendType BendType.hpp "types/BendType.hpp" |
40 |
< |
*/ |
41 |
< |
class BendType { |
42 |
< |
public: |
43 |
< |
BendType(); |
44 |
< |
virtual ~BendType() {} |
45 |
< |
|
46 |
< |
virtual void calcForce(double angle, double& force, double& potential); |
47 |
< |
|
48 |
< |
double getPotential(); |
49 |
< |
|
50 |
< |
protected: |
51 |
< |
|
52 |
< |
double potential; |
53 |
< |
}; |
37 |
> |
|
38 |
> |
/** |
39 |
> |
* @class BendType BendType.hpp "types/BendType.hpp" |
40 |
> |
*/ |
41 |
> |
class BendType { |
42 |
> |
public: |
43 |
> |
BendType(); |
44 |
> |
virtual ~BendType() {} |
45 |
> |
|
46 |
> |
virtual void calcForce(double theta, double& V, double& dVdTheta); |
47 |
> |
|
48 |
> |
protected: |
49 |
> |
|
50 |
> |
}; |
51 |
|
} |
52 |
|
#endif //TYPES_BENDTYPE_HPP |