-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathenergy_const.h
33 lines (27 loc) · 919 Bytes
/
energy_const.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#ifndef __VIENNA_RNA_PACKAGE_ENERGY_CONST_H__
#define __VIENNA_RNA_PACKAGE_ENERGY_CONST_H__
#include <limits.h>
/**
* \file energy_const.h
* energy constants
*/
/** The gas constant */
#define GASCONST 1.98717 /* n [cal/K] */
/** 0 deg Celsius in Kelvin */
#define K0 273.15
/** Infinity as used in minimization routines */
#define INF 10000000 /* INT_MAX/10) */
#define EMAX (INF/10)
/** forbidden */
#define FORBIDDEN 9999
/** bonus contribution */
#define BONUS 10000
/** The number of distinguishable base pairs */
#define NBPAIRS 7
/** The minimum loop length */
#define TURN 3
/** The maximum loop length */
#define MAXLOOP 30
#define VRNA_GQUAD_MISMATCH_PENALTY 300 /* enalty for incompatible nucleotides in an alignment that destruct a gquad layer */
#define VRNA_GQUAD_MISMATCH_NUM_ALI 1 /* aximum number of mismatching sequences in the alignment when gquad should be formed */
#endif