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

Comparing trunk/OOPSE/libmdtools/NPT.cpp (file contents):
Revision 837 by tim, Wed Oct 29 00:19:10 2003 UTC vs.
Revision 857 by mmeineke, Fri Nov 7 17:09:48 2003 UTC

# Line 1 | Line 1
1   #include <math.h>
2 +
3   #include "Atom.hpp"
4   #include "SRI.hpp"
5   #include "AbstractClasses.hpp"
# Line 97 | Line 98 | template<typename T> void NPT<T>::moveA() {
98    tStats->getCOM(COM);
99  
100    //evolve velocity half step
101 +
102 +  calcVelScale();
103 +  
104    for( i=0; i<nAtoms; i++ ){
105  
106      atoms[i]->getVel( vel );
# Line 223 | Line 227 | template<typename T> void NPT<T>::moveB( void ){
227  
228      this->evolveChiB();
229      this->evolveEtaB();
230 +    this->calcVelScale();
231  
232      for( i=0; i<nAtoms; i++ ){
233  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines