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

Comparing branches/development/src/integrators/NVT.cpp (file contents):
Revision 1665 by gezelter, Tue Nov 22 20:38:56 2011 UTC vs.
Revision 1710 by gezelter, Fri May 18 21:44:02 2012 UTC

# Line 182 | Line 182 | namespace OpenMD {
182      for (mol = info_->beginMolecule(i); mol != NULL; mol = info_->nextMolecule(i)) {
183        for (integrableObject = mol->beginIntegrableObject(j); integrableObject != NULL;
184             integrableObject = mol->nextIntegrableObject(j)) {
185        oldVel_[index] = integrableObject->getVel();
186        oldJi_[index] = integrableObject->getJ();                
185  
186 +        oldVel_[index] = integrableObject->getVel();
187 +        
188 +        if (integrableObject->isDirectional())
189 +          oldJi_[index] = integrableObject->getJ();                
190 +        
191          ++index;    
192 <      }
190 <          
192 >      }          
193      }
194  
195      // do the iteration:

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines