Is there any way to numerically solve the following two-dimensional equation:\begin{equation}\nabla_{xy} \cdot \vec{f}(x,y) = a(x,y)\end{equation}on a rectangular grid, knowing that $\vec{f}(x,y)$ is zero on the boundaries?
Numerical solution to 2D divergence equation
pde;numerical