A Green’s function used in diffusion Monte Carlo