51 friend void testHHChannel();
52 friend void testHHGateCreation();
53 #endif // DO_UNIT_TESTS
141 const string& gateName,
166 double* assignee,
const string& gateType );
193 double integrate(
double state,
double dt,
double A,
double B );
217 #endif // _HHChannel_h
double vGetZ(const Eref &e) const
HHGate * zGate_
HHGate data structure for the yGate.
void vCreateGate(const Eref &e, string gateType)
static const int INSTANT_Y
double conc_
Conc_ is input variable for Ca-dependent channels.
void vReinit(const Eref &e, ProcPtr p)
HHGate * vGetYgate(unsigned int i) const
void vSetModulation(const Eref &e, double modulation)
HHGate * vGetXgate(unsigned int i) const
bool checkOriginal(Id chanId) const
Returns true if channel is original, false if copy.
double Z_
State variable for Z gate.
double(* takeXpower_)(double, double)
void destroyGate(const Eref &e, string gateType)
static const int INSTANT_Z
int instant_
bitmapped flag for X, Y, Z, to do equil calculation for gate
void vSetUseConcentration(const Eref &e, int value)
double(* takeZpower_)(double, double)
static const Cinfo * initCinfo()
static const double EPSILON
double Y_
State variable for Y gate.
void vSetXpower(const Eref &e, double Xpower)
int vGetInstant(const Eref &e) const
HHGate * yGate_
HHGate data structure for the yGate.
void vSetX(const Eref &e, double X)
void vHandleConc(const Eref &e, double conc)
void vSetZ(const Eref &e, double Z)
double integrate(double state, double dt, double A, double B)
Internal variable used to calculate conductance.
void innerCreateGate(const string &gateName, HHGate **gatePtr, Id chanId, Id gateId)
Inner utility function for creating the gate.
void vSetY(const Eref &e, double Y)
void innerSetXpower(double Xpower)
void vSetInstant(const Eref &e, int Instant)
double vGetY(const Eref &e) const
void innerSetZpower(double Zpower)
void innerDestroyGate(const string &gateName, HHGate **gatePtr, Id chanId)
double(* takeYpower_)(double, double)
double vGetX(const Eref &e) const
static const int INSTANT_X
void innerSetYpower(double Ypower)
void vSetZpower(const Eref &e, double Zpower)
void vSetYpower(const Eref &e, double Ypower)
double vGetModulation(const Eref &e) const
bool setGatePower(const Eref &e, double power, double *assignee, const string &gateType)
HHGate * vGetZgate(unsigned int i) const
void vProcess(const Eref &e, ProcPtr p)