# Periodic boundaries with surfaces graphics opengl graphic_iter 10 enable_threading 30 dim 2 species A B C max_mol 2100 difc A 1 difc B 1 difc C 1 color A 1 0 0 color B 0 1 0 color C 0 0 1 time_start 0 time_stop 2000 time_step 0.01 boundaries 0 0 100 p boundaries 1 0 100 p mol 200 A 10 50 mol 200 B 90 50 max_surface 2 start_surface ball action both all reflect color both 0 0.5 0 thickness 1 max_panels sphere 1 panel sphere 50 50 20 50 end_surface start_surface sides action front all jump action back all reflect color front 0.2 0 0 color back 0 0 0.5 thickness 1 max_panels rect 4 panel rect +0 0 0 100 r1 panel rect -0 100 0 100 r2 panel rect +1 0 0 100 r3 panel rect -1 0 100 100 r4 jump r1 front <-> r2 front jump r3 front <-> r4 front end_surface start_reaction 1 max_rxn 1 reactant C revrxn rate revrxn 0.2 product revrxn A + B product_param revrxn x 0.2 end_reaction start_reaction 2 max_rxn 1 reactant A + B fwdrxn rate fwdrxn 1 product fwdrxn C end_reaction end_file