1 #include <../../nrnconf.h> 10 : m_(mat), plen_(0), ptree_(
NULL), pm_(
NULL) {
45 vector<int> nonzero_i, nonzero_j;
46 m_.nonzeros(nonzero_i, nonzero_j);
47 pm_ =
new double*[nonzero_i.size()];
48 ptree_ =
new double*[nonzero_i.size()];
49 for (
int k = 0;
k < nonzero_i.size();
k++) {
50 const int i = nonzero_i[
k];
51 const int j = nonzero_j[
k];
54 it = nodes[
i] -> eqn_index_ + layer[
i];
56 if (layer[i] > 0 && !nodes[i] ->
extnode) {
60 it = start + i -
nnode;
65 jt = nodes[
j] -> eqn_index_ + layer[
j];
66 if (layer[j] > 0 && !nodes[j] ->
extnode) {
70 jt = start + j -
nnode;
Represent main neuron object computed by single thread.
static philox4x32_key_t k
void alloc(int, int, Node **, int *)
spREAL * spGetElement(char *, int, int)