/*
 * File ghk_struct.h   Subba Shankar 8/26/91
 *    defines the structure for the goldman hodgkin
 *    katz equation solver object.
 */



#include "struct_defs.h"

struct ghk_type {
    ELEMENT_TYPE
    double	Ek;   /* reversal potential */
    double      Gk; /* chord conductance  */
    double      Ik;       /* current for this ion */
    float	T;       /* temperature, deg C */
    double       p;       /* permeability */    
    double	Vm;      /* membrane potential */
    float	Cin;     /* concentration inside cell */
    float	Cout;    /* concentration outside cell */
    short	valency; /* valence of ion */
    float	voltage_scale; /* use 1 = Volts, 1E-3 = mV */
    float	current_scale; /* use 1 = Amps, 1E3 = mA, 1E9 = nA */
    float	conc_scale ;   /* use 1 = Molar, 1E-3 = mM */
    float	perm_scale;   /* use 1 = meter^3/sec, 1E3 = liter/sec */
};


