| 5 |
|
#include <stdlib.h> |
| 6 |
|
#include <iostream> |
| 7 |
|
|
| 8 |
< |
#include "StuntDouble.hpp" |
| 9 |
< |
#include "Atom.hpp" |
| 8 |
> |
#include "primitives/StuntDouble.hpp" |
| 9 |
> |
#include "primitives/Atom.hpp" |
| 10 |
|
|
| 11 |
|
class DirectionalAtom : public Atom { |
| 12 |
|
|
| 20 |
|
for (int j=0; j < 3; j++) |
| 21 |
|
sU[i][j] = 0.0; |
| 22 |
|
|
| 23 |
+ |
is_linear = false; |
| 24 |
+ |
linear_axis = -1; |
| 25 |
+ |
momIntTol = 1e-6; |
| 26 |
|
} |
| 27 |
|
virtual ~DirectionalAtom() {} |
| 28 |
|
|
| 53 |
|
|
| 54 |
|
void setI( double the_I[3][3] ); |
| 55 |
|
void getI( double the_I[3][3] ); |
| 56 |
+ |
|
| 57 |
+ |
bool isLinear() {return is_linear;} |
| 58 |
+ |
int linearAxis() {return linear_axis;} |
| 59 |
|
|
| 60 |
|
void lab2Body( double r[3] ); |
| 61 |
|
void body2Lab( double r[3] ); |
| 86 |
|
double Iyx, Iyy, Iyz; |
| 87 |
|
double Izx, Izy, Izz; |
| 88 |
|
|
| 89 |
+ |
bool is_linear; |
| 90 |
+ |
int linear_axis; |
| 91 |
+ |
double momIntTol; |
| 92 |
+ |
|
| 93 |
|
}; |
| 94 |
|
|
| 95 |
|
#endif |