An efficient and low-divergence method for generating inhomogeneous and anisotropic turbulence with arbitrary spectra | Synapse