1 /* Bonnie Berger, David Wilson and Theodore Tonchev 1992 */
2 /* C Header File: modified Ethan Wolf 1995 */
3 /* scconst.h contains constants used throughout the program and for */
4 /* defining array sizes. */
5 #include "options.h" /* Need this since use ifdef COMPUTE_GAUSSIAN_VERSION */
8 #define __scconst_h__ 1
13 /* HUGE_VAL should be defined in math.h. This value here is a different */
18 #define HUGE_VAL 32767
23 /* Default value for functnum = number of pair distances to use. */
24 #define DEFAULT_FUNCTNUM 3
26 /* Table Calc Constants */
29 /* Window sizes in scscore.c determine how big a window to consider. */
31 #define STOCKWINDOW 28
37 /** For giving 0 frequency events a non-zero estimated prob. **/
38 #define DEFAULT_SCALE0 3
44 /* #define AnyRes AANUM */
47 #define MAXSEQLEN 8000
49 #define MAXNUMCOILS 120
51 /* General Constants */
54 #define MAX_NUM_SCORE_DIM 6
56 #define MAX_NUM_SCORE_DIM 14
59 #define NUM_DIM_IN_ORIG_MATRIX 14
61 #define NUMBER_TABLES 2
62 #define MAX_TABLE_NUMBER 2 /* Same as NUMBER_TABLES. **/
63 #define MAX_CLASS_NUMBER 3
64 #define NUMBER_CLASSES 3
66 /** This stuff is used when trying to choose optimal init_prob of di/trimers */
67 #define GRID_SIZE_DIMER 30
68 #define GRID_SIZE_TRIMER 30
69 #define DIMER_GRID_STEP .0015
70 #define TRIMER_GRID_STEP .001
71 #define MIN_DIMER_PROB 0
72 #define MIN_TRIMER_PROB 0
74 #define MIN(A,B) ((A)<(B)?(A):(B))
75 #define MAX(A,B) ((A)>(B)?(A):(B))
77 /* The residues in the order that the tables use, the order that Stock used. */
104 #define NUM_RES_TYPE Undefined
106 #endif /* __scconst_h__ */