Symptom: calling run() changes dt

Anything that doesn't fit elsewhere.
Post Reply
ted
Site Admin
Posts: 5770
Joined: Wed May 18, 2005 4:50 pm
Location: Yale University School of Medicine
Contact:

Symptom: calling run() changes dt

Post by ted »

A NEURON user reported the following:
> I set the dt to 0.1, when I use run() in a prcedure written by me
> the progrm writes me 'dt changed' and use dt=0.025.
> What is the best way to make it run with dt=0.1 ?
> (I'm not using the RunControl Panel)

On 5/4/2005 Michael Hines <michael.hines@yale.edu> wrote:
> dt has to be consistent with steps_per_ms.
> So
> steps_per_ms = 10
> dt=.1
>
> See the implementation of
> proc setdt()
> in nrn/lib/hoc/stdrun.hoc

Post Reply