When NEURON and CoreNEURON were separate repos, we needed callbacks / function-pointer mechanism between NEURON and CoreNEURON: See * https://github.com/neuronsimulator/nrn/blob/d2a76abcdc5f8b8a1a687a52f350e0255d1bd817/src/nrniv/nrncore_write/callbacks/nrncore_callbacks.h * Especially https://github.com/neuronsimulator/nrn/blob/d2a76abcdc5f8b8a1a687a52f350e0255d1bd817/src/nrniv/nrncore_write/callbacks/nrncore_callbacks.h#L195 * https://github.com/neuronsimulator/nrn/blob/d2a76abcdc5f8b8a1a687a52f350e0255d1bd817/src/nrniv/nrncore_write/callbacks/nrncore_callbacks.cpp#L34 With NEURON and CoreNEURON in the same repo, I think all the function-pointers related logic could be removed?
When NEURON and CoreNEURON were separate repos, we needed callbacks / function-pointer mechanism between NEURON and CoreNEURON: See
nrn/src/nrniv/nrncore_write/callbacks/nrncore_callbacks.h
Line 195 in d2a76ab
nrn/src/nrniv/nrncore_write/callbacks/nrncore_callbacks.cpp
Line 34 in d2a76ab
With NEURON and CoreNEURON in the same repo, I think all the function-pointers related logic could be removed?