# Simulation file for Lotka-Voltera reaction # This file is functionally identical to the one published in Andrews and Bray, 2004. # However, the notation has been updated some for more modern Smoldyn versions. graphics opengl graphic_iter 5 dim 3 species rabbit fox boundaries x -100 100 p boundaries y -100 100 p boundaries z -10 10 p time_start 0 time_stop 20 time_step 0.001 color rabbit red color fox green display_size rabbit 2 display_size fox 3 molecule_lists rlist flist mol_list rabbit rlist mol_list fox flist molperbox 1 difc all 100 reaction r1 rabbit -> rabbit + rabbit 10 reaction r2 rabbit + fox -> fox + fox 8000 reaction r3 fox -> 0 10 mol 1000 rabbit u u u mol 1000 fox u u u #cmd B pause #output_files lotvoltout.txt #cmd i 0 5 0.01 molcount lotvoltout.txt #output_files stdout #cmd i 0 2 0.1 molcount stdout text_display time rabbit fox end_file