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 778 by mmeineke, Fri Sep 19 20:00:27 2003 UTC vs.
Revision 780 by mmeineke, Mon Sep 22 21:23:25 2003 UTC

# Line 66 | Line 66 | template<typename T> void NPT<T>::moveA() {
66    double COM[3];
67  
68    instaTemp = tStats->getTemperature();
69 <  instaPress = tStats->getPressure();
69 >  tStats->getPressureTensor( press );
70 >  instaPress = p_convert * (press[0][0] + press[1][1] + press[2][2]) / 3.0;
71    instaVol = tStats->getVolume();
72    
73    tStats->getCOM(COM);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines