What are the basic requirments to change the source code?

Anything that doesn't fit elsewhere.
Post Reply
Keivan
Posts: 127
Joined: Sat Apr 22, 2006 4:28 am

What are the basic requirments to change the source code?

Post by Keivan »

I want to know if I want to change the neuron source code what I must know? and where is the starting point?
hines
Site Admin
Posts: 1710
Joined: Wed May 18, 2005 3:32 pm

Post by hines »

For additions that are analogous to something already there, I normally copy
the analogous blocks of code and change
names.

If the change is an additional function, use VERBATIM blocks in mod files and look at nrn/src/ivoc/oc2iv.h and nrn/src/nrniv/nrnoc2iv.h

To see when things are called and what the relevant state is add printf statements.

Ask specific questions.
Post Reply