Say we have a 3D function, p(x,y,z) and we define it in terms of another function f(x,y,z) via,
\nabla ^2 p = f.
I know that if we are working in R^3 space (with no boundaries) we can say that,
p= \frac{-1}{4\pi}\iiint \limits_R \frac{f(x',y',z')}{\sqrt{(x-x')^2 +(y-y')^2+(z-z')^2}} dx'...