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

Comparing trunk/OOPSE/libmdtools/NPTf.cpp (file contents):
Revision 782 by mmeineke, Tue Sep 23 20:34:31 2003 UTC vs.
Revision 829 by gezelter, Tue Oct 28 16:03:37 2003 UTC

# Line 1 | Line 1
1 < #include <cmath>
1 > #include <math.h>
2   #include "Atom.hpp"
3   #include "SRI.hpp"
4   #include "AbstractClasses.hpp"
# Line 244 | Line 244 | template<typename T> double NPTf<T>::getConservedQuant
244  
245    totalEnergy = tStats->getTotalE();
246  
247 <  thermostat_kinetic = fkBT* tt2 * chi * chi /
247 >  thermostat_kinetic = fkBT * tt2 * chi * chi /
248      (2.0 * eConvert);
249  
250    thermostat_potential = fkBT* integralOfChidt / eConvert;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines