To clarify my question, I am trying to construct a coarse-grained modeling of an fcc system using the iterative Boltzmann inversion method to compute the pair potential interactions. However, in order to be able to start the iterative process, I first need to use V0(r)=-KBTln(g(r)) as an initial guess for the pair interactions among my CG beads. the g(r) values used in this relation are those computed from the all-atom system. However, as you know the rdf values of a crystalline structure is not continuous and it contains zero values between the peaks where the crystall lattices lie and I have no idea what to do with these zero values as they cannot be used in this relation as ln(0) is meaningless.
Another problem that I have is that I am using lammps software for my simulations and I have used lammps to compute these rdf values but the values do not match the values that I obtained manually using this relation: g(r)=V*dn(r)/4pi*r^2*N*dr
I really appreciate your help and suggestions.