--- trunk/OOPSE/libmdtools/NPT.cpp 2003/09/21 05:09:16 779 +++ trunk/OOPSE/libmdtools/NPT.cpp 2003/09/22 21:23:25 780 @@ -66,7 +66,8 @@ template void NPT::moveA() { double COM[3]; instaTemp = tStats->getTemperature(); - instaPress = tStats->getPressure(); + tStats->getPressureTensor( press ); + instaPress = p_convert * (press[0][0] + press[1][1] + press[2][2]) / 3.0; instaVol = tStats->getVolume(); tStats->getCOM(COM);