objectvar save_window_, rvp_
objectvar scene_vector_[3]
objectvar ocbox_, ocbox_list_, scene_, scene_list_
{ocbox_list_ = new List() scene_list_ = new List()}
{
xpanel("RunControl", 0)
v_init = 0
xvalue("Init","v_init", 1,"stdinit()", 1, 1 )
xbutton("Init & Run","run()")
xbutton("Stop","stoprun=1")
runStopAt = 5
xvalue("Continue til","runStopAt", 1,"{continuerun(runStopAt) stoprun=1}", 1, 1 )
runStopIn = 1
xvalue("Continue for","runStopIn", 1,"{continuerun(t + runStopIn) stoprun=1}", 1, 1 )
xbutton("Single Step","steprun()")
t = 2
xvalue("t","t", 2 )
tstop = 2
xvalue("Tstop","tstop", 1,"tstop_changed()", 0, 1 )
dt = 0.2329
xvalue("dt","dt", 1,"setdt()", 0, 1 )
steps_per_ms = 40
xvalue("Points plotted/ms","steps_per_ms", 1,"setdt()", 0, 1 )
screen_update_invl = 0.05
xvalue("Scrn update invl","screen_update_invl", 1,"", 0, 1 )
realtime = 0.00999999
xvalue("Real Time","realtime", 0,"", 0, 1 )
xpanel(0,98)
}
{
save_window_ = new Graph(0)
save_window_.size(0,2,2.32831e-10,0.031)
scene_vector_[2] = save_window_
{save_window_.view(0, 2.32831e-10, 2, 0.031, 349, 0, 300.6, 200.8)}
graphList[0].append(save_window_)
save_window_.save_name("graphList[0].")
save_window_.label(0.801917, 0.5, "Fig. 8", 2, 1, 0, 0, 1)
save_window_.addexpr("soma.v(0.5)", 1, 1, 0.38147, 0.933547, 2)
}
//Begin VariableTimeStep
{
ocbox_ = NumericalMethodPanel[0]
}
{object_push(ocbox_)}
{
atol_ = 0.001 CVode[0].atol(atol_)
restore(301, 1)
atoltool_ = new AtolTool()
ats("v", 0.1)
ats("Vector", -1)
atoltool_.scales()
}
{object_pop()}
{
ocbox_.map("VariableTimeStep", 348, 565, 287.1, 80)
}
objref ocbox_
//End VariableTimeStep
objectvar scene_vector_[1]
{doNotify()}