The crystal structure described by BaMgAl3P2(HO7)2 crystallizes in the triclinic P1 space group. Ba(1) is bonded in a 3-coordinate geometry to one O(13), one O(14), one O(4), one O(5), and one O(6) atom. Mg(1) is bonded to one O(1), one O(3), one O(7), one O(8), and one O(9) atom to form distorted MgO5 trigonal bipyramids that share  a cornercorner with one Al(1)O6 octahedra, corners with two equivalent P(2)O4 tetrahedra,  an edgeedge with one Al(2)O6 octahedra,  an edgeedge with one Al(3)O6 octahedra, and  an edgeedge with one P(1)O4 tetrahedra. The corner-sharing octahedral tilt angles are 26°. There are three inequivalent Al sites. In the first Al site, Al(1) is bonded to one O(11), one O(12), one O(13), one O(14), one O(3), and one O(4) atom to form distorted AlO6 octahedra that share corners with two equivalent Al(2)O6 octahedra, corners with two equivalent Al(3)O6 octahedra,  a cornercorner with one P(1)O4 tetrahedra,  a cornercorner with one P(2)O4 tetrahedra, and  a cornercorner with one Mg(1)O5 trigonal bipyramid. The corner-sharing octahedral tilt angles range from 36-41°. In the second Al site, Al(2) is bonded to one O(10), one O(11), one O(14), one O(6), one O(7), and one O(9) atom to form AlO6 octahedra that share corners with two equivalent Al(1)O6 octahedra, corners with two equivalent Al(3)O6 octahedra,  a cornercorner with one P(1)O4 tetrahedra,  a cornercorner with one P(2)O4 tetrahedra, and  an edgeedge with one Mg(1)O5 trigonal bipyramid. The corner-sharing octahedral tilt angles range from 36-59°. In the third Al site, Al(3) is bonded to one O(10), one O(12), one O(13), one O(5), one O(8), and one O(9) atom to form AlO6 octahedra that share corners with two equivalent Al(1)O6 octahedra, corners with two equivalent Al(2)O6 octahedra,  a cornercorner with one P(1)O4 tetrahedra,  a cornercorner with one P(2)O4 tetrahedra, and  an edgeedge with one Mg(1)O5 trigonal bipyramid. The corner-sharing octahedral tilt angles range from 36-59°. There are two inequivalent P sites. In the first P site, P(1) is bonded to one O(1), one O(3), one O(5), and one O(6) atom to form PO4 tetrahedra that share  a cornercorner with one Al(1)O6 octahedra,  a cornercorner with one Al(2)O6 octahedra,  a cornercorner with one Al(3)O6 octahedra, and  an edgeedge with one Mg(1)O5 trigonal bipyramid. The corner-sharing octahedral tilt angles range from 49-57°. In the second P site, P(2) is bonded to one O(2), one O(4), one O(7), and one O(8) atom to form PO4 tetrahedra that share  a cornercorner with one Al(1)O6 octahedra,  a cornercorner with one Al(2)O6 octahedra,  a cornercorner with one Al(3)O6 octahedra, and corners with two equivalent Mg(1)O5 trigonal bipyramids. The corner-sharing octahedral tilt angles range from 47-58°. There are two inequivalent H sites. In the first H site, H(1) is bonded in a single-bond geometry to one O(9) atom. In the second H site, H(2) is bonded in a single-bond geometry to one O(10) atom. There are fourteen inequivalent O sites. In the first O site, O(1) is bonded in an L-shaped geometry to one Mg(1) and one P(1) atom. In the second O site, O(2) is bonded in a single-bond geometry to one P(2) atom. In the third O site, O(3) is bonded in a 3-coordinate geometry to one Mg(1), one Al(1), and one P(1) atom. In the fourth O site, O(4) is bonded in a distorted trigonal planar geometry to one Ba(1), one Al(1), and one P(2) atom. In the fifth O site, O(5) is bonded in a 3-coordinate geometry to one Ba(1), one Al(3), and one P(1) atom. In the sixth O site, O(6) is bonded in a 3-coordinate geometry to one Ba(1), one Al(2), and one P(1) atom. In the seventh O site, O(7) is bonded in a 3-coordinate geometry to one Mg(1), one Al(2), and one P(2) atom. In the eighth O site, O(8) is bonded in a 3-coordinate geometry to one Mg(1), one Al(3), and one P(2) atom. In the ninth O site, O(9) is bonded in a distorted tetrahedral geometry to one Mg(1), one Al(2), one Al(3), and one H(1) atom. In the tenth O site, O(10) is bonded in a distorted trigonal planar geometry to one Al(2), one Al(3), and one H(2) atom. In the eleventh O site, O(11) is bonded in a distorted bent 150 degrees geometry to one Al(1) and one Al(2) atom. In the twelfth O site, O(12) is bonded in a distorted bent 150 degrees geometry to one Al(1) and one Al(3) atom. In the thirteenth O site, O(13) is bonded in a 4-coordinate geometry to one Ba(1), one Al(1), one Al(3), and one O(14) atom. In the fourteenth O site, O(14) is bonded in a 4-coordinate geometry to one Ba(1), one Al(1), one Al(2), and one O(13) atom. is represented by the CIF file [CIF]
data_BaMgAl3P2(HO7)2
_symmetry_space_group_name_H-M   'P 1'
_cell_length_a   7.228
_cell_length_b   7.230
_cell_length_c   7.650
_cell_angle_alpha   61.565
_cell_angle_beta   118.459
_cell_angle_gamma   125.243
_symmetry_Int_Tables_number   1
_cell_volume   275.534
_cell_formula_units_Z   1
loop_
 _symmetry_equiv_pos_site_id
 _symmetry_equiv_pos_as_xyz
  1  'x, y, z'
loop_
 _atom_site_type_symbol
 _atom_site_label
 _atom_site_symmetry_multiplicity
 _atom_site_fract_x
 _atom_site_fract_y
 _atom_site_fract_z
 _atom_site_occupancy
  Ba  Ba0  1  0.943  0.058  0.974  1.0
  Mg  Mg1  1  0.238  0.761  0.151  1.0
  Al  Al2  1  0.990  0.009  0.515  1.0
  Al  Al3  1  0.504  0.008  0.493  1.0
  Al  Al4  1  0.991  0.496  0.492  1.0
  P  P5  1  0.280  0.720  0.857  1.0
  P  P6  1  0.717  0.283  0.113  1.0
  H  H7  1  0.393  0.607  0.545  1.0
  H  H8  1  0.660  0.339  0.621  1.0
  O  O9  1  0.366  0.633  0.094  1.0
  O  O10  1  0.656  0.343  0.882  1.0
  O  O11  1  0.144  0.856  0.810  1.0
  O  O12  1  0.860  0.140  0.226  1.0
  O  O13  1  0.113  0.508  0.767  1.0
  O  O14  1  0.492  0.887  0.767  1.0
  O  O15  1  0.485  0.119  0.195  1.0
  O  O16  1  0.881  0.515  0.195  1.0
  O  O17  1  0.303  0.697  0.451  1.0
  O  O18  1  0.686  0.313  0.520  1.0
  O  O19  1  0.742  0.925  0.587  1.0
  O  O20  1  0.075  0.258  0.587  1.0
  O  O21  1  0.974  0.794  0.409  1.0
  O  O22  1  0.205  0.025  0.410  1.0
[/CIF]
.
The crystal structure described by BaMgAl3P2(HO7)2 crystallizes in the triclinic P1 space group. Ba(1) is bonded in a 3-coordinate geometry to one O(13), one O(14), one O(4), one O(5), and one O(6) atom. Mg(1) is bonded to one O(1), one O(3), one O(7), one O(8), and one O(9) atom to form distorted MgO5 trigonal bipyramids that share  a cornercorner with one Al(1)O6 octahedra, corners with two equivalent P(2)O4 tetrahedra,  an edgeedge with one Al(2)O6 octahedra,  an edgeedge with one Al(3)O6 octahedra, and  an edgeedge with one P(1)O4 tetrahedra. The corner-sharing octahedral tilt angles are 26°. There are three inequivalent Al sites. In the first Al site, Al(1) is bonded to one O(11), one O(12), one O(13), one O(14), one O(3), and one O(4) atom to form distorted AlO6 octahedra that share corners with two equivalent Al(2)O6 octahedra, corners with two equivalent Al(3)O6 octahedra,  a cornercorner with one P(1)O4 tetrahedra,  a cornercorner with one P(2)O4 tetrahedra, and  a cornercorner with one Mg(1)O5 trigonal bipyramid. The corner-sharing octahedral tilt angles range from 36-41°. In the second Al site, Al(2) is bonded to one O(10), one O(11), one O(14), one O(6), one O(7), and one O(9) atom to form AlO6 octahedra that share corners with two equivalent Al(1)O6 octahedra, corners with two equivalent Al(3)O6 octahedra,  a cornercorner with one P(1)O4 tetrahedra,  a cornercorner with one P(2)O4 tetrahedra, and  an edgeedge with one Mg(1)O5 trigonal bipyramid. The corner-sharing octahedral tilt angles range from 36-59°. In the third Al site, Al(3) is bonded to one O(10), one O(12), one O(13), one O(5), one O(8), and one O(9) atom to form AlO6 octahedra that share corners with two equivalent Al(1)O6 octahedra, corners with two equivalent Al(2)O6 octahedra,  a cornercorner with one P(1)O4 tetrahedra,  a cornercorner with one P(2)O4 tetrahedra, and  an edgeedge with one Mg(1)O5 trigonal bipyramid. The corner-sharing octahedral tilt angles range from 36-59°. There are two inequivalent P sites. In the first P site, P(1) is bonded to one O(1), one O(3), one O(5), and one O(6) atom to form PO4 tetrahedra that share  a cornercorner with one Al(1)O6 octahedra,  a cornercorner with one Al(2)O6 octahedra,  a cornercorner with one Al(3)O6 octahedra, and  an edgeedge with one Mg(1)O5 trigonal bipyramid. The corner-sharing octahedral tilt angles range from 49-57°. In the second P site, P(2) is bonded to one O(2), one O(4), one O(7), and one O(8) atom to form PO4 tetrahedra that share  a cornercorner with one Al(1)O6 octahedra,  a cornercorner with one Al(2)O6 octahedra,  a cornercorner with one Al(3)O6 octahedra, and corners with two equivalent Mg(1)O5 trigonal bipyramids. The corner-sharing octahedral tilt angles range from 47-58°. There are two inequivalent H sites. In the first H site, H(1) is bonded in a single-bond geometry to one O(9) atom. In the second H site, H(2) is bonded in a single-bond geometry to one O(10) atom. There are fourteen inequivalent O sites. In the first O site, O(1) is bonded in an L-shaped geometry to one Mg(1) and one P(1) atom. In the second O site, O(2) is bonded in a single-bond geometry to one P(2) atom. In the third O site, O(3) is bonded in a 3-coordinate geometry to one Mg(1), one Al(1), and one P(1) atom. In the fourth O site, O(4) is bonded in a distorted trigonal planar geometry to one Ba(1), one Al(1), and one P(2) atom. In the fifth O site, O(5) is bonded in a 3-coordinate geometry to one Ba(1), one Al(3), and one P(1) atom. In the sixth O site, O(6) is bonded in a 3-coordinate geometry to one Ba(1), one Al(2), and one P(1) atom. In the seventh O site, O(7) is bonded in a 3-coordinate geometry to one Mg(1), one Al(2), and one P(2) atom. In the eighth O site, O(8) is bonded in a 3-coordinate geometry to one Mg(1), one Al(3), and one P(2) atom. In the ninth O site, O(9) is bonded in a distorted tetrahedral geometry to one Mg(1), one Al(2), one Al(3), and one H(1) atom. In the tenth O site, O(10) is bonded in a distorted trigonal planar geometry to one Al(2), one Al(3), and one H(2) atom. In the eleventh O site, O(11) is bonded in a distorted bent 150 degrees geometry to one Al(1) and one Al(2) atom. In the twelfth O site, O(12) is bonded in a distorted bent 150 degrees geometry to one Al(1) and one Al(3) atom. In the thirteenth O site, O(13) is bonded in a 4-coordinate geometry to one Ba(1), one Al(1), one Al(3), and one O(14) atom. In the fourteenth O site, O(14) is bonded in a 4-coordinate geometry to one Ba(1), one Al(1), one Al(2), and one O(13) atom. is represented by the CIF file [CIF]
data_BaMgAl3P2(HO7)2
_symmetry_space_group_name_H-M   'P 1'
_cell_length_a   7.228
_cell_length_b   7.230
_cell_length_c   7.650
_cell_angle_alpha   61.565
_cell_angle_beta   118.459
_cell_angle_gamma   125.243
_symmetry_Int_Tables_number   1
_cell_volume   275.534
_cell_formula_units_Z   1
loop_
 _symmetry_equiv_pos_site_id
 _symmetry_equiv_pos_as_xyz
  1  'x, y, z'
loop_
 _atom_site_type_symbol
 _atom_site_label
 _atom_site_symmetry_multiplicity
 _atom_site_fract_x
 _atom_site_fract_y
 _atom_site_fract_z
 _atom_site_occupancy
  Ba  Ba0  1  0.943  0.058  0.974  1.0
  Mg  Mg1  1  0.238  0.761  0.151  1.0
  Al  Al2  1  0.990  0.009  0.515  1.0
  Al  Al3  1  0.504  0.008  0.493  1.0
  Al  Al4  1  0.991  0.496  0.492  1.0
  P  P5  1  0.280  0.720  0.857  1.0
  P  P6  1  0.717  0.283  0.113  1.0
  H  H7  1  0.393  0.607  0.545  1.0
  H  H8  1  0.660  0.339  0.621  1.0
  O  O9  1  0.366  0.633  0.094  1.0
  O  O10  1  0.656  0.343  0.882  1.0
  O  O11  1  0.144  0.856  0.810  1.0
  O  O12  1  0.860  0.140  0.226  1.0
  O  O13  1  0.113  0.508  0.767  1.0
  O  O14  1  0.492  0.887  0.767  1.0
  O  O15  1  0.485  0.119  0.195  1.0
  O  O16  1  0.881  0.515  0.195  1.0
  O  O17  1  0.303  0.697  0.451  1.0
  O  O18  1  0.686  0.313  0.520  1.0
  O  O19  1  0.742  0.925  0.587  1.0
  O  O20  1  0.075  0.258  0.587  1.0
  O  O21  1  0.974  0.794  0.409  1.0
  O  O22  1  0.205  0.025  0.410  1.0
[/CIF]
.