Modeling nonlinear pressure fields in inhomogeneous attenuative media using a lossy Green's function and a contrast source