ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/branches/development/src/flucq/FluctuatingChargeLangevin.cpp
(Generate patch)

Comparing branches/development/src/flucq/FluctuatingChargeLangevin.cpp (file contents):
Revision 1766 by gezelter, Thu Jul 5 17:08:25 2012 UTC vs.
Revision 1768 by gezelter, Sat Jul 7 03:59:27 2012 UTC

# Line 127 | Line 127 | namespace OpenMD {
127    }
128  
129    void FluctuatingChargeLangevin::applyConstraints() {
130 +
131 +    if (!hasFlucQ_) return;
132 +
133      SimInfo::MoleculeIterator i;
134      Molecule::FluctuatingChargeIterator  j;
135      Molecule* mol;
136      Atom* atom;
137 <    RealType cvel, cpos, cfrc, cmass, randomForce, frictionForce, velstep;
137 >    RealType cvel, cpos, cfrc, cmass, randomForce, frictionForce;
138      RealType velStep, oldFF;  // used to test for convergence
139  
140      for (mol = info_->beginMolecule(i); mol != NULL;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines