Computer simulation of partially diffusion-controlled reactions