I want to calculate the g(r) of two liquids that are not miscible. I want the effective potential between the molecules in two liquids. I need the g(r) for using iterative Boltzmann inversion to get the potential. So what is the effective way to calculate the radial distribution?