Figure 5. The spatial kinetic Monte Carlo algorithm, as implemented in the CSNSA.
This algorithm differs from the original algorithm of Mayawala et al [46] in the time update, which occurs recursively until a successful event is selected. Time is not updated when a null event occurs. A detailed description is provided in the text.