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