Routine Name: check Description:

advertisement
Routine Name:
check
Description:
Checks various aspects of simulation to catch
specification
errors.
Usage:
Example:
check
check
genesis >
genesis >
** Error ** Error -
Notes:
for
setfield /soma Rm -5000 Cm 0
check
Compartment : Invalid Rm. '/soma'
Compartment : Invalid Cm. '/soma'
The check routine sends the CHECK action to the handlers
all enabled elements. The CHECK action should verify the
consistency and well being of the element and report any
problems with it to the user. (Each element which supports
self-checking will be invoked with the CHECK action and
report
any problems.)
In the example above, the CHECK action of the compartment
checks to be sure that the Rm and Cm fields are set to
positive values, and running a check prints an error message.
See also:
addtask, setclock, enable, reset
Download