--- trunk/src/primitives/DirectionalAtom.cpp 2009/11/25 20:02:06 1390 +++ branches/development/src/primitives/DirectionalAtom.cpp 2010/07/09 23:08:25 1465 @@ -134,10 +134,14 @@ namespace OpenMD { ephi[1] = 0.0; ephi[2] = 1.0; - etheta[0] = -sphi; - etheta[1] = cphi; - etheta[2] = 0.0; + //etheta[0] = -sphi; + //etheta[1] = cphi; + //etheta[2] = 0.0; + etheta[0] = cphi; + etheta[1] = sphi; + etheta[2] = 0.0; + epsi[0] = stheta * cphi; epsi[1] = stheta * sphi; epsi[2] = ctheta;