ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/trunk/src/brains/ForceManager.cpp
(Generate patch)

Comparing trunk/src/brains/ForceManager.cpp (file contents):
Revision 1787 by gezelter, Wed Aug 22 02:28:28 2012 UTC vs.
Revision 1788 by gezelter, Wed Aug 29 20:17:07 2012 UTC

# Line 684 | Line 684 | namespace OpenMD {
684      RealType vpair;
685      RealType dVdFQ1(0.0);
686      RealType dVdFQ2(0.0);
687 +    Vector3d eField1(0.0);
688 +    Vector3d eField2(0.0);
689      potVec longRangePotential(0.0);
690      potVec workPot(0.0);
691      potVec exPot(0.0);
# Line 700 | Line 702 | namespace OpenMD {
702      idat.vpair = &vpair;
703      idat.dVdFQ1 = &dVdFQ1;
704      idat.dVdFQ2 = &dVdFQ2;
705 +    idat.eField1 = &eField1;
706 +    idat.eField2 = &eField2;
707      idat.f1 = &f1;
708      idat.sw = &sw;
709      idat.shiftedPot = (cutoffMethod_ == SHIFTED_POTENTIAL) ? true : false;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines