RNAlib-2.5.1
units.h File Reference

Physical Units and Functions to convert them into each other. More...

+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  vrna_unit_energy_e {
  VRNA_UNIT_J , VRNA_UNIT_KJ , VRNA_UNIT_CAL_IT , VRNA_UNIT_DACAL_IT ,
  VRNA_UNIT_KCAL_IT , VRNA_UNIT_CAL , VRNA_UNIT_DACAL , VRNA_UNIT_KCAL ,
  VRNA_UNIT_G_TNT , VRNA_UNIT_KG_TNT , VRNA_UNIT_T_TNT , VRNA_UNIT_EV ,
  VRNA_UNIT_WH , VRNA_UNIT_KWH
}
 Energy / Work Units. More...
 
enum  vrna_unit_temperature_e {
  VRNA_UNIT_K , VRNA_UNIT_DEG_C , VRNA_UNIT_DEG_F , VRNA_UNIT_DEG_R ,
  VRNA_UNIT_DEG_N , VRNA_UNIT_DEG_DE , VRNA_UNIT_DEG_RE , VRNA_UNIT_DEG_RO
}
 Temperature Units. More...
 

Functions

double vrna_convert_energy (double energy, vrna_unit_energy_e from, vrna_unit_energy_e to)
 Convert between energy / work units. More...
 
double vrna_convert_temperature (double temp, vrna_unit_temperature_e from, vrna_unit_temperature_e to)
 Convert between temperature units. More...
 
int vrna_convert_kcal_to_dcal (double energy)
 Convert floating point energy value into integer representation. More...
 
double vrna_convert_dcal_to_kcal (int energy)
 Convert an integer representation of free energy in deka-cal/mol to kcal/mol. More...
 

Detailed Description

Physical Units and Functions to convert them into each other.

,