--- trunk/src/brains/ForceManager.cpp 2012/08/22 02:28:28 1782 +++ trunk/src/brains/ForceManager.cpp 2012/08/29 20:17:07 1788 @@ -684,6 +684,8 @@ namespace OpenMD { RealType vpair; RealType dVdFQ1(0.0); RealType dVdFQ2(0.0); + Vector3d eField1(0.0); + Vector3d eField2(0.0); potVec longRangePotential(0.0); potVec workPot(0.0); potVec exPot(0.0); @@ -700,6 +702,8 @@ namespace OpenMD { idat.vpair = &vpair; idat.dVdFQ1 = &dVdFQ1; idat.dVdFQ2 = &dVdFQ2; + idat.eField1 = &eField1; + idat.eField2 = &eField2; idat.f1 = &f1; idat.sw = &sw; idat.shiftedPot = (cutoffMethod_ == SHIFTED_POTENTIAL) ? true : false;