ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE-4/src/utils/OOPSEConstant.hpp
(Generate patch)

Comparing trunk/OOPSE-4/src/utils/OOPSEConstant.hpp (file contents):
Revision 2236 by tim, Fri May 20 16:01:38 2005 UTC vs.
Revision 3478 by gezelter, Mon Nov 24 22:01:12 2008 UTC

# Line 45 | Line 45 | namespace oopse {
45   namespace oopse {
46  
47    namespace OOPSEConstant {
48 <    const double kb = 1.9872156E-3; // boltzman's constant in kcal/(mol K)
49 <    const double kB = 8.31451e-7;// boltzmann constant amu*Ang^2*fs^-2/K
50 <    const double energyConvert = 4.184E-4; // convert kcal/mol -> (amu A^2)/fs^2
51 <    const double pressureConvert = 1.63882576e8; // //converts amu*fs^-2*Ang^-1 -> atm
52 <    const double surfaceTensorConvert = 1.43936; // convert N/m to kcal/mol*Ang^-2
48 >    const RealType kb = 1.9872156E-3; // boltzman's constant in kcal/(mol K)
49 >    const RealType kB = 8.31451e-7;   // boltzmann constant amu*Ang^2*fs^-2/K
50 >    const RealType energyConvert = 4.184E-4; // convert kcal/mol -> (amu A^2)/fs^2
51 >    const RealType rotationalEnergyConvert = energyConvert*2.0*M_PI;
52 >    const RealType pressureConvert = 1.63882576e8; // converts amu*fs^-2*Ang^-1 -> atm
53 >    const RealType surfaceTensorConvert = 1.43936; // convert N/m to kcal/mol*Ang^-2
54 >    
55 >    /*
56 >     *  viscoConvert  
57 >     *    used for products of:
58 >     *      viscosity (Poise) * distance (Angstroms) * velocity (Angstrom / fs)
59 >     *    returns values of:
60 >     *      force in (kcal mol^-1 Angstrom^-1)
61 >     */
62 >    const RealType viscoConvert = 1.439326479e4;
63    }
64   }
65   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines