The tmax_divisor of spice_run() on a live session: from the next
spice_rerun() on, every .tran card runs with its maximum step
divided by tmax_divisor (NULL restores the cards' own), without
re-building the circuit – a "fine steps" toggle.
Value
spice_set_tmax_divisor(): session, invisibly (modified in
place). spice_tmax_divisor(): the divisor, or NULL.
Examples
s <- spice_session("rc\nv1 1 0 pulse(0 1)\nr1 1 2 1k\nc1 2 0 1u\n.tran 0.1m 5m\n.end")
nrow(spice_tidy(spice_rerun(s)))
#> [1] 189
spice_set_tmax_divisor(s, 10)
nrow(spice_tidy(spice_rerun(s)))
#> [1] 1524
spice_tmax_divisor(s)
#> [1] 10