ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE/libmdtools/ForceFields.cpp
(Generate patch)

Comparing trunk/OOPSE/libmdtools/ForceFields.cpp (file contents):
Revision 1097 by gezelter, Mon Apr 12 20:32:20 2004 UTC vs.
Revision 1144 by tim, Sat May 1 18:52:38 2004 UTC

# Line 78 | Line 78 | void ForceFields::doForces( int calcPot, int calcStres
78    double* pos;
79    double* trq;
80    double* A;
81 <  double* u_l;;
81 >  double* u_l;
82 >  double* rc;
83 >  double* massRatio;
84    SimState* config;
85  
86    short int passedCalcPot = (short int)calcPot;
# Line 112 | Line 114 | void ForceFields::doForces( int calcPot, int calcStres
114    trq = config->getTrqArray();
115    A   = config->getAmatArray();
116    u_l = config->getUlArray();
117 +  rc = config->getRcArray();
118 +  massRatio = config->getMassRatioArray();
119  
120    isError = 0;
121    entry_plug->lrPot = 0.0;
# Line 126 | Line 130 | void ForceFields::doForces( int calcPot, int calcStres
130   #endif
131  
132    fortranForceLoop( pos,
133 +                    rc,
134                      A,
135                      u_l,
136                      frc,
# Line 136 | Line 141 | void ForceFields::doForces( int calcPot, int calcStres
141                      &passedCalcStress,
142                      &isError );
143  
144 +
145   #ifdef PROFILE
146    endProfile(pro8);
147   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines