34 |
|
#ifndef PRIMITIVES_BEND_HPP |
35 |
|
#define PRIMITIVES_BEND_HPP |
36 |
|
|
37 |
+ |
#include "types/BendType.hpp" |
38 |
+ |
|
39 |
|
namespace oopse { |
40 |
|
|
41 |
|
class Bend { |
45 |
|
void calcForce(); |
46 |
|
|
47 |
|
double getPotential() { |
48 |
< |
return potential; |
48 |
> |
return potential_; |
49 |
|
} |
50 |
|
|
51 |
< |
private: |
51 |
> |
protected: |
52 |
> |
//virtual BendType* getBendType() { |
53 |
> |
// return bendType_; |
54 |
> |
//} |
55 |
> |
|
56 |
|
BendType* bendType_; /**< bend type */ |
57 |
< |
Atom* atom1; |
58 |
< |
Atom* atom2; |
59 |
< |
Atom* atom3; |
60 |
< |
double potential; |
57 |
> |
Atom* atom1_; |
58 |
> |
Atom* atom2_; |
59 |
> |
Atom* atom3_; |
60 |
> |
double potential_; |
61 |
|
}; |
62 |
|
|
63 |
|
|