CdMgS2 is Caswellsilverite-like structured and crystallizes in the tetragonal P4/mmm space group. Mg(1) is bonded to two equivalent S(2) and four equivalent S(1) atoms to form MgS6 octahedra that share corners with six equivalent Mg(1)S6 octahedra, edges with four equivalent Mg(1)S6 octahedra, and edges with eight equivalent Cd(1)S6 octahedra. The corner-sharing octahedra are not tilted. Cd(1) is bonded to two equivalent S(1) and four equivalent S(2) atoms to form CdS6 octahedra that share corners with six equivalent Cd(1)S6 octahedra, edges with four equivalent Cd(1)S6 octahedra, and edges with eight equivalent Mg(1)S6 octahedra. The corner-sharing octahedra are not tilted. There are two inequivalent S sites. In the first S site, S(1) is bonded to four equivalent Mg(1) and two equivalent Cd(1) atoms to form SMg4Cd2 octahedra that share corners with six equivalent S(1)Mg4Cd2 octahedra, edges with four equivalent S(1)Mg4Cd2 octahedra, and edges with eight equivalent S(2)Mg2Cd4 octahedra. The corner-sharing octahedra are not tilted. In the second S site, S(2) is bonded to two equivalent Mg(1) and four equivalent Cd(1) atoms to form SMg2Cd4 octahedra that share corners with six equivalent S(2)Mg2Cd4 octahedra, edges with four equivalent S(2)Mg2Cd4 octahedra, and edges with eight equivalent S(1)Mg4Cd2 octahedra. The corner-sharing octahedra are not tilted.
CdMgS2 is Caswellsilverite-like structured and crystallizes in the tetragonal P4/mmm space group. Mg(1) is bonded to two equivalent S(2) and four equivalent S(1) atoms to form MgS6 octahedra that share corners with six equivalent Mg(1)S6 octahedra, edges with four equivalent Mg(1)S6 octahedra, and edges with eight equivalent Cd(1)S6 octahedra. The corner-sharing octahedra are not tilted. Both Mg(1)-S(2) bond lengths are 2.69 Å. All Mg(1)-S(1) bond lengths are 2.69 Å. Cd(1) is bonded to two equivalent S(1) and four equivalent S(2) atoms to form CdS6 octahedra that share corners with six equivalent Cd(1)S6 octahedra, edges with four equivalent Cd(1)S6 octahedra, and edges with eight equivalent Mg(1)S6 octahedra. The corner-sharing octahedra are not tilted. Both Cd(1)-S(1) bond lengths are 2.69 Å. All Cd(1)-S(2) bond lengths are 2.69 Å. There are two inequivalent S sites. In the first S site, S(1) is bonded to four equivalent Mg(1) and two equivalent Cd(1) atoms to form SMg4Cd2 octahedra that share corners with six equivalent S(1)Mg4Cd2 octahedra, edges with four equivalent S(1)Mg4Cd2 octahedra, and edges with eight equivalent S(2)Mg2Cd4 octahedra. The corner-sharing octahedra are not tilted. In the second S site, S(2) is bonded to two equivalent Mg(1) and four equivalent Cd(1) atoms to form SMg2Cd4 octahedra that share corners with six equivalent S(2)Mg2Cd4 octahedra, edges with four equivalent S(2)Mg2Cd4 octahedra, and edges with eight equivalent S(1)Mg4Cd2 octahedra. The corner-sharing octahedra are not tilted.