I am attempting to solve the following differential equation: $$c^2 \nabla^2 u(\vec{r}, t)-\ddot{u}(\vec{r}, t)=f(\vec{r}, t)$$ ... where the forcing function $f(\vec{r}, t)= R_f(\vec{r})T_f(t)$ is known. My attempts have led me towards the Helmholtz equation, but I'm not sure what to do with it (or if it even is actually applicable in this scenario) given the presence of forcing.
If the DE was homogeneous, the strategy would be to take the Fourier transform of both sides, which would result in the second time derivative being replaced like so: $$c^2 \nabla^2 U(\vec{r}, \omega)+{\omega}^2U(\vec{r}, \omega)=0$$ ... in which case we rearrange to obtain the Helmholtz equation with $k=\omega/c$: $$\nabla^2 U = -k^2U$$ This can then be solved using the methods detailed on https://en.wikipedia.org/wiki/Helmholtz_equation.
My next thought after this was to try the same procedure on the nonhomogeneous form, i.e. take the Fourier Transform of both sides, netting us: $$c^2 \nabla^2 U(\vec{r}, \omega)+{\omega}^2U(\vec{r}, \omega)=R_f(\vec{r})\:\mathcal{F}\{T_f(t)\}(\omega)$$ I would then try the solution detailed in the same article (here's the specific section to look at), but our RHS's continued dependence on $\omega$ throws a wrench in those plans. Intuition says this is still the right direction to go in, but I'm not sure how to move forward from here, and I'd greatly appreciate any help towards the goal of solving this. Thank you in advance!
The Green (or Green's) function, $G(t,\vec r|t',\vec r')$, for the wave equation $\nabla^2 G-\frac1{c^2}\frac{\partial^2}{\partial t^2}G=\delta(t-t')\delta(\vec r-\vec r')$ is given by
$$G(t,\vec r|t',\vec r')=\frac{\delta(t-t'-|\vec r-\vec r'|/c)}{4\pi |\vec r-\vec r'|}$$
Therefore, the solution $\psi(\vec r,t)$ to the inhomogeneous wave equation with forcing function $R_f(\vec r)T_f(t)$ is
$$\begin{align} \psi(\vec r,t)&=\int_{-\infty}^\infty \int_{\mathbb{R}} R_f(\vec r')T_f(t')G(t,\vec r|t',\vec r')\,dt'\,d^3\vec r'\\\\ &=\int_{-\infty}^\infty \int_{\mathbb{R}} R_f(\vec r')T_f(t')\frac{\delta(t-t'-|\vec r-\vec r'|/c)}{4\pi |\vec r-\vec r'|}\,dt'\,d^3\vec r'\\\\ &=\int_{\mathbb{R}} R_f(\vec r')T_f(t-|\vec r-\vec r'|/c)\frac{1}{4\pi |\vec r-\vec r'|}\,d^3\vec r' \end{align}$$
Finally, $u=c^2\psi$.