1 #ifndef VIENNA_RNA_PACKAGE_PARAMS_CONSTANTS_H 2 #define VIENNA_RNA_PACKAGE_PARAMS_CONSTANTS_H 3 4 #include <limits.h> 5 6 /** 7 * @file ViennaRNA/params/constants.h 8 * @ingroup energy_parameters 9 * @brief Energy parameter constants 10 */ 11 12 /** The gas constant */ 13 #define GASCONST 1.98717 /* in [cal/K] */ 14 /** 0 deg Celsius in Kelvin */ 15 #define K0 273.15 16 /** Infinity as used in minimization routines */ 17 #define INF 10000000 /* (INT_MAX/10) */ 18 19 #define EMAX (INF/10) 20 /** forbidden */ 21 #define FORBIDDEN 9999 22 /** bonus contribution */ 23 #define BONUS 10000 24 /** The number of distinguishable base pairs */ 25 #define NBPAIRS 7 26 /** The minimum loop length */ 27 #define TURN 3 28 /** The maximum loop length */ 29 #define MAXLOOP 30 30 31 #define UNIT 100 32 33 #define MINPSCORE -2 * UNIT 34 35 #endif 36