Page 1 of 1

Right Hand Side (RHS)

Posted: Thu Jun 07, 2012 5:04 pm
by roybens
Hello,
I am trying to implement a cell with a fork morphology using HH in Matlab.
I am having problems in computing the RHS from fmatrix(). Where can i find the components that make up the RHS (such as cm*dv/dt ion currents and stimulus)?
Best Regards
Roy

Re: Right Hand Side (RHS)

Posted: Fri Jun 08, 2012 11:51 am
by hines
That would be in
void nrn_rhs(NrnThread* _nt) {
of nrn/src/nrnoc/treeset.c
There are voluminous comments above that function.