| 2 | 
  | 
 | 
| 3 | 
  | 
#include "Atom.hpp" | 
| 4 | 
  | 
 | 
| 5 | 
– | 
double* Atom::pos; // the position array | 
| 6 | 
– | 
double* Atom::vel; // the velocity array | 
| 7 | 
– | 
double* Atom::frc; // the forc array | 
| 8 | 
– | 
double* Atom::trq; // the torque vector  ( space fixed ) | 
| 9 | 
– | 
double* Atom::Amat; // the rotation matrix | 
| 10 | 
– | 
double* Atom::mu;   // the array of dipole moments | 
| 11 | 
– | 
double* Atom::ul;   // the lab frame unit directional vector | 
| 5 | 
  | 
 | 
| 6 | 
+ | 
 | 
| 7 | 
  | 
void DirectionalAtom::setA( double the_A[3][3] ){ | 
| 8 | 
  | 
   | 
| 9 | 
  | 
  Amat[Axx] = the_A[0][0]; Amat[Axy] = the_A[0][1]; Amat[Axz] = the_A[0][2]; |