The Helmholtz decomposition for a vector field B contains both volume integrals and two boundary integrals (https://en.wikipedia.org/wiki/Helmholtz_decomposition). For brevity I show just one of the boundary integrals here ($\mathbf{r}$ is a point in the volume $V$, $\delta V$ is the boundary of $V$, and $\mathbf{r'}$ is a point on the boundary $\delta V$) $$ \mathbf{B}(\mathbf{r}) = \int_{\delta V}\mathbf{B}(\mathbf{r'})\cdot\mathbf{n'}\frac{\mathbf{r}-\mathbf{r'}}{|\mathbf{r}-\mathbf{r'}|^{3}}dS' $$ where the gradient has been taken inside the integral and applied to the free space Green's function.
Clearly the integrand is singular when $\mathbf{r}=\mathbf{r'}$.
My main problem is not having the mathematical vocabulary to help my search for numerical techniques. Can someone please provide some guidance on the type of problem this is, to help with my search for numerical methods to deal with it?
Simple 3D integration techniques won't cut it close to the singularity, as the integrand won't behave like polynomials. I can't recall where I found this, but I have seen that adding a small $\delta^{2}$ (where $\delta < dx$ ($dx$ being the discretaization of the simple integration scheme I have) inside the $||$ in the denominator will remove the singularity for the discrete point $\mathbf{r}=\mathbf{r}'$. This obviosuly doesn't help with accuracy close to the singularity though.
Appreciate any help!