# Simulation file of basic diffusion and reaction
# This file is used to test and demonstrate integer command timing

graphics opengl
graphic_iter 1
graphic_delay 10
accuracy 5

dim 3
boundaries x 0 100 r
boundaries y 0 100 r
boundaries z 0 100 r

species red blue
molperbox 4

time_start 0
time_stop 10
time_step 0.2

output_files stdout

cmd B molcountheader
cmd A echo stdout "simulation finished\n"
cmd & 25 echo stdout "time step number 25\n"
cmd e molcount
cmd n 10 molpos blue
cmd I 4 30 7 echo stdout "test of j timing\n"

difc red 1
difc blue 1
color red red
color blue blue

mol 100 red u u u
mol 1 blue 50 50 50

reaction rxn red -> 0 0.1

end_file

