Simbody
|
In each case here, given a value in the units mentioned first in the name, you should multiply by the given constant to produce the equivalent quantity measured in the units that appear second in the name. More...
Defines | |
#define | SimTK_RADIAN_TO_DEGREE 5.729577951308232087679815481410517033240547246656432154916024386e+1L |
Convert radians to degrees. | |
#define | SimTK_DEGREE_TO_RADIAN 1.745329251994329576923690768488612713442871888541725456097191440e-2L |
Convert degrees to radians. | |
#define | SimTK_NS_TO_S 1e-9L |
Convert nanoseconds to seconds. | |
#define | SimTK_S_TO_NS 1e9L |
Convert seconds to nanoseconds. | |
#define | SimTK_KCAL_TO_KJOULE 4.184L |
Convert Kcal to Kjoule (also Kcal/mol to Kjoule/mol). | |
#define | SimTK_KJOULE_TO_KCAL 2.390057361376673040152963671128107074569789674952198852772466539e-1L |
Convert Kjoule to Kcal (also Kjoule/mol to Kcal/mol). | |
#define | SimTK_DALTON_TO_GRAM 1.66053886e-24L |
Convert atomic mass unit (amu, Dalton) to g. | |
#define | SimTK_E_TO_COULOMB SimTK_CHARGE_OF_PROTON_IN_SI |
Convert proton charge units to Coulombs. | |
#define | SimTK_EV_TO_JOULE SimTK_CHARGE_OF_PROTON_IN_SI |
Convert electron volts to Joules. |
In each case here, given a value in the units mentioned first in the name, you should multiply by the given constant to produce the equivalent quantity measured in the units that appear second in the name.
You can perform the reverse conversion by dividing by the constant, or by using another conversion constant with the names reversed if one is supplied here.
#define SimTK_RADIAN_TO_DEGREE 5.729577951308232087679815481410517033240547246656432154916024386e+1L |
Convert radians to degrees.
#define SimTK_DEGREE_TO_RADIAN 1.745329251994329576923690768488612713442871888541725456097191440e-2L |
Convert degrees to radians.
#define SimTK_NS_TO_S 1e-9L |
#define SimTK_S_TO_NS 1e9L |
#define SimTK_KCAL_TO_KJOULE 4.184L |
Convert Kcal to Kjoule (also Kcal/mol to Kjoule/mol).
#define SimTK_KJOULE_TO_KCAL 2.390057361376673040152963671128107074569789674952198852772466539e-1L |
Convert Kjoule to Kcal (also Kjoule/mol to Kcal/mol).
#define SimTK_DALTON_TO_GRAM 1.66053886e-24L |
Convert atomic mass unit (amu, Dalton) to g.
This is 1/NA (NA=avogadro's number).
#define SimTK_E_TO_COULOMB SimTK_CHARGE_OF_PROTON_IN_SI |
Convert proton charge units to Coulombs.
This is the same as the conversion from electron volts to Joules, and both are just the charge of a proton in SI units.
#define SimTK_EV_TO_JOULE SimTK_CHARGE_OF_PROTON_IN_SI |
Convert electron volts to Joules.
This is the same as the conversion from proton charge units to Coulombs, and both are just the charge of a proton in SI units.