7 |
|
|
8 |
|
#include "SimState.hpp" |
9 |
|
#include "StuntDouble.hpp" |
10 |
+ |
#include "BaseVisitor.hpp" |
11 |
|
|
12 |
|
class Atom : public StuntDouble { |
13 |
|
public: |
51 |
|
void setHasCharge(int value) {has_charge = value;} |
52 |
|
int hasCharge(void) {return has_charge;} |
53 |
|
|
54 |
+ |
|
55 |
+ |
virtual void accept(BaseVisitor* v) {v->visit(this);} |
56 |
+ |
|
57 |
|
protected: |
58 |
|
|
59 |
|
SimState* myConfig; |
66 |
|
double* mu; // the array of dipole moments |
67 |
|
double* ul; // the lab frame unit directional vector |
68 |
|
|
69 |
+ |
double zAngle; // the rotation about the z-axis ( body-fixed ) |
70 |
+ |
|
71 |
|
double c_mass; /* the mass of the atom in amu */ |
72 |
|
|
73 |
|
int index; /* set the atom's index */ |