Page 1 of 1
Access to the set of linear equations / Hines matrix
Posted: Wed May 09, 2012 1:56 pm
by roybens
Hello,
Is there any way to access the Hines matrix in hoc?
That is, the almost tridiagonal set of linear equation, used in, e.g. the cnexp model.
Best regards,
Roy
Re: Access to the set of linear equations / Hines matrix
Posted: Thu May 10, 2012 7:34 am
by hines
http://www.neuron.yale.edu/neuron/stati ... ml#fmatrix
One should call fcurrent() prior to fmatrix() to ensure the matrix is setup.
The matrix printed is for thread 0.
The 4 numbers printed on each line are
compartment index
jacobian element for parent in node equation (ClassicalNODEB)
jacobian element for node in parent equation (ClassicalNODEA)
diagonal element (NODED)
right hand side (NODERHS)
See nrn/src/nrnoc/fadvance.c
Re: Access to the set of linear equations / Hines matrix
Posted: Thu May 10, 2012 12:58 pm
by roybens
Thanks a lot it is very helpfull