#define LWORK 199 /* N(4*N + 8)+7*/
#define LIWORK 25 /*3*N+7*/
#define LRCONT 28 /*4*N+4*/
#define ENDTIME 20000
#define START_TIME  0
#define N 4
#define C 8
#define G_H 0.1 /*0.1*/
#define G_L 0.05 /* 0.1 */
#define G_SYN 1.0/* 0.1 10.0 */
#define CM 1.0
#define E_CA 50
#define E_H -40 /* -40 FLAG*/
#define E_L -50 /*-50 FLAG*/
#define E_SYN -80 /*-80*/
#define M_HALF -63.0 /* -53.0*/
#define H_HALF -73.0 /* -63.0*/
#define S_HALF -47.3  /*-54 -40*/
#define M_SLOPE 1.5
#define H_SLOPE -9.3 /*FLAG -9.3*/
#define S_SLOPE  0.1 /* 1.5 */
#define TAU_H1 1000 /*  2000 */
#define TAU_H2 1000 /* 2000 */
#define TAU_S 200 /* 200*/
#define TAU_S1 2000 /* 200*/
#define TAU_S2 2000 /* 200*/
#define V_1 0
#define V_2 1
#define H_1 2
#define H_2 3
#define S_1 4
#define S_2 5
#define I_SOMA_1 0
#define I_SOMA_2 1
#define I_L_1 2
#define I_L_2 3
#define I_H_1 4
#define I_H_2 5
#define I_SYN_1 6
#define I_SYN_2 7