International audienceTo give physical meaning to the boundary conditions of parabolic partial differential equation, we introduce a diffusion process in some open set, with different boundary conditions (elastic or non-elastic reflection, stopping) and we give the equation satisfied by the density