home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS - Coast to Coast / simteldosarchivecoasttocoast2.iso / biology / gsrc208a.zip / GLOBALS.H < prev    next >
C/C++ Source or Header  |  1993-08-26  |  5KB  |  98 lines

  1. /*
  2.     GEPASI - a simulator of metabolic pathways and other dynamical systems
  3.     Copyright (C) 1989, 1992, 1993  Pedro Mendes
  4. */
  5.  
  6. /*************************************/
  7. /*                                   */
  8. /*           Global symbols          */
  9. /*                                   */
  10. /*        Zortech C/C++ 3.0 r4       */
  11. /*          MICROSOFT C 6.00         */
  12. /*          Visual C/C++ 1.0         */
  13. /*           QuickC/WIN 1.0          */
  14. /*             ULTRIX cc             */
  15. /*              GNU gcc              */
  16. /*                                   */
  17. /*   (include here compilers that    */
  18. /*   compiled GWSIM successfully)    */
  19. /*                                   */
  20. /*************************************/
  21.  
  22. /* version tags    */
  23.  
  24. #define VERSION "release 2.08"
  25. #define FILE_VERSION "version 2.08\n"
  26.  
  27. /* numerical symbols */
  28.  
  29. #define INFINITY 1.0e+308              /* largest double                 */
  30.  
  31. /* several limits */
  32.  
  33. #define PWIDTH 150                     /* width of pathnames             */
  34. /* whenever changes are made to NAME_L be sure to change the formating
  35.    strings in: IOTOP.C, (GETALL.C)
  36.    to NAME_L - 1
  37. */
  38. #define NAME_L 21                      /* max. length of metab. names    */
  39. #define MAX_MET 45                     /* maximal number of metabolites  */
  40. #define MAX_STEP 45                    /* maximal number of enzymes      */
  41. #define MAX_MOL 20                       /* maximal molecularity             */
  42. #define STEP_LIM MAX_STEP+1            /* (for programming purposes)     */
  43. #define MAX_VRS 9                      /* maximal number of variables    */
  44. #define MAX_PRM 6                      /* maximal number of parameters   */
  45. #define MAX_FIL 30                     /* maximal number of run files    */
  46. #define MAX_TYP 35                     /* maximal reaction types         */
  47.  
  48. /* include symbols for emergency default values */
  49. #include "default.h"
  50.  
  51. /* symbols for the kinetic models */
  52.  
  53. #define NOT  0
  54. #define I01  1                           /* -> B (zeroth order)             */
  55. #define I10     2                            /* A -> (zeroth order)             */
  56. #define I11  3                         /* A  -> B                        */
  57. #define R11  4                         /* A <-> B                        */
  58. #define I21  5                         /* A + B  -> C                    */
  59. #define R21  6                         /* A + B <-> C                    */
  60. #define I12  7                         /* A  -> B + C                    */
  61. #define R12  8                         /* A <-> B + C                    */
  62. #define I31  9                         /* A + B + C  -> D                */
  63. #define R31 10                         /* A + B + C <-> D                */
  64. #define I13 11                         /* A  -> B + C + D                */
  65. #define R13 12                         /* A <-> B + C + D                */
  66. #define I22 13                         /* A + B  -> C + D                */
  67. #define R22 14                         /* A + B <-> C + D                */
  68. #define I32 15                         /* A + B + C  -> D + E            */
  69. #define R32 16                         /* A + B + C <-> D + E            */
  70. #define I23 17                         /* A + B  -> C + D + E            */
  71. #define R23 18                         /* A + B <-> C + D + E            */
  72. #define I33 19                         /* A + B + C  -> D + E + F        */
  73. #define R33 20                         /* A + B + C <-> D + E + F        */
  74. #define IMM 21                         /* irrev. Henri-Michaelis-Menten  */
  75. #define RMM 22                         /* rev. Henri-Michaelis-Menten    */
  76. #define PSI 23                         /* pure specific inhibition       */
  77. #define PCI 24                         /* pure catalytic inhibition      */
  78. #define MXI 25                         /* mixed inhibitor                */
  79. #define PSA 26                         /* pure specific activation       */
  80. #define PCA 27                         /* pure catalytic activation      */
  81. #define MXA 28                         /* mixed activator                */
  82. #define GOM 29                         /* general one-modifier HMM       */
  83. #define HIL 30                         /* cooperative bind. of S and P   */
  84. #define UBS 31                         /* A = P + Q sequential (UNIBISA) */
  85. #define UBM 32                         /* A = 2P sequential (UNIBISIM)   */
  86. #define RHL 33                           /* reversible hill mechanism         */
  87. #define ALI 34                           /* alosteric inhibition           */
  88.  
  89. /* typedefs */
  90.  
  91. typedef double * PDBL;
  92. typedef int    BOOL;
  93.  
  94. /* boolean values */
  95.  
  96. #define FALSE       0
  97. #define TRUE        1
  98.