| 13 |
|
Atom(int theIndex, SimState* theConfig ); |
| 14 |
|
virtual ~Atom() {} |
| 15 |
|
|
| 16 |
< |
void setCoords(void); |
| 16 |
> |
virtual void setCoords(void); |
| 17 |
|
|
| 18 |
– |
// void addAtoms(int nAdded, double* Apos, double* Avel, double* Afrc, |
| 19 |
– |
// double* Atrq, double* AAmat, double* Amu, |
| 20 |
– |
// double* Aul); |
| 21 |
– |
// void deleteAtom(int theIndex); |
| 22 |
– |
// void deleteRange(int startIndex, int stopIndex); |
| 23 |
– |
|
| 18 |
|
void getPos( double theP[3] ); |
| 19 |
|
void setPos( double theP[3] ); |
| 20 |
|
|
| 137 |
|
sux = 0.0; |
| 138 |
|
suy = 0.0; |
| 139 |
|
suz = 0.0; |
| 140 |
+ |
myMu = 0.0; |
| 141 |
|
} |
| 142 |
|
virtual ~DirectionalAtom() {} |
| 143 |
|
|
| 144 |
+ |
virtual void setCoords(void); |
| 145 |
+ |
|
| 146 |
|
void printAmatIndex( void ); |
| 147 |
|
|
| 148 |
|
int isDirectional(void) { return 1; } |
| 215 |
|
private: |
| 216 |
|
int dIndex; |
| 217 |
|
|
| 218 |
+ |
double myMu; |
| 219 |
+ |
|
| 220 |
|
double sux, suy, suz; // the standard unit vector ( body fixed ) |
| 221 |
|
double jx, jy, jz; // the angular momentum vector ( body fixed ) |
| 222 |
|
|