A structural investigation of Mg(PO3)2, Zn(PO3)2 and Pb(PO3)2 glasses using molecular dynamics simulation