106 |
|
|
107 |
|
void DirectionalAtom::setA(const RotMat3x3d& a) { |
108 |
|
((snapshotMan_->getCurrentSnapshot())->*storage_).aMat[localIndex_] = a; |
109 |
< |
|
109 |
> |
|
110 |
|
if (atomType_->isMultipole()) { |
111 |
|
RotMat3x3d atrans = a.transpose(); |
112 |
< |
|
112 |
> |
|
113 |
|
if (atomType_->isDipole()) { |
114 |
|
((snapshotMan_->getCurrentSnapshot())->*storage_).dipole[localIndex_] = atrans * dipole_; |
115 |
|
} |
147 |
|
Vector3d force; |
148 |
|
Vector3d torque; |
149 |
|
Vector3d myEuler; |
150 |
< |
RealType phi, theta, psi; |
150 |
> |
RealType phi, theta; |
151 |
> |
// RealType psi; |
152 |
|
RealType cphi, sphi, ctheta, stheta; |
153 |
|
Vector3d ephi; |
154 |
|
Vector3d etheta; |
160 |
|
|
161 |
|
phi = myEuler[0]; |
162 |
|
theta = myEuler[1]; |
163 |
< |
psi = myEuler[2]; |
163 |
> |
// psi = myEuler[2]; |
164 |
|
|
165 |
|
cphi = cos(phi); |
166 |
|
sphi = sin(phi); |