Skip to content

Latest commit

 

History

History
106 lines (75 loc) · 2.83 KB

finitialize_handler.rst

File metadata and controls

106 lines (75 loc) · 2.83 KB

FIinitializeHandler

Syntax

Description

Install an initialization handler statement to be called during a call to finitialize. The default type is 1. The statement will be executed at the top level of the interpreter or else in the context of the optional obj arg.

Type 0 handlers are called before the mechanism INITIAL blocks.

Type 1 handlers are called after the mechanism INITIAL blocks. This is the best place to change state values.

Type 2 handlers are called just before return from finitialize. This is the best place to record values at t=0.

Type 3 handlers are called at the beginning of finitialize. At this point it is allowed to change the structure of the model.

See finitialize for more details about the order of initialization processes within that function.

FInitializeHandler

This class helps alleviate the administrative problems of maintaining variations of the proc Init <runcontrol_initrun>.

Examples

execute following example <data/finithnd1.hoc.txt>

Syntax

Description

Prints all the FInitializeHandler statements along with their object context in the order they will be executed during an finitialize call.