I have a crystal structure of an organic compound which is ionic. So I know the precise positions of all anions and cations within the unit cell.
I am interested in determining the Madelung constant of that compound. Unfortunately, it converges far too slowly and I can't do it by hand. Would you know of a software that allows to calculate that constant ?
How could I calculate it ?
Thank you