@@ -1824,7 +1824,7 @@ def _get_IRBZ(self, recip_point_group, W, key_points, face_center_inds, atol):
1824
1824
1825
1825
g = np .dot (W .T , W ) # just using change of basis matrix rather than
1826
1826
# Lattice.get_cartesian_coordinates for conciseness
1827
- ginv = np .linalg .inv (g )
1827
+ g_inv = np .linalg .inv (g )
1828
1828
D = np .linalg .det (W )
1829
1829
1830
1830
primary_orientation = secondary_orientation = tertiary_orientation = None
@@ -1871,7 +1871,7 @@ def _get_IRBZ(self, recip_point_group, W, key_points, face_center_inds, atol):
1871
1871
face_center_found = False
1872
1872
for point in IRBZ_points :
1873
1873
if point [0 ] in face_center_inds :
1874
- cross = D * np .dot (ginv , np .cross (ax , point [1 ]))
1874
+ cross = D * np .dot (g_inv , np .cross (ax , point [1 ]))
1875
1875
if not np .allclose (cross , 0 , atol = atol ):
1876
1876
rot_boundaries = [cross , - 1 * np .dot (op , cross )]
1877
1877
face_center_found = True
@@ -1880,7 +1880,7 @@ def _get_IRBZ(self, recip_point_group, W, key_points, face_center_inds, atol):
1880
1880
if not face_center_found :
1881
1881
print ("face center not found" )
1882
1882
for point in IRBZ_points :
1883
- cross = D * np .dot (ginv , np .cross (ax , point [1 ]))
1883
+ cross = D * np .dot (g_inv , np .cross (ax , point [1 ]))
1884
1884
if not np .allclose (cross , 0 , atol = atol ):
1885
1885
rot_boundaries = [cross , - 1 * np .dot (op , cross )]
1886
1886
used_axes .append (ax )
@@ -1896,7 +1896,7 @@ def _get_IRBZ(self, recip_point_group, W, key_points, face_center_inds, atol):
1896
1896
face_center_found = False
1897
1897
for point in IRBZ_points :
1898
1898
if point [0 ] in face_center_inds :
1899
- cross = D * np .dot (ginv , np .cross (ax , point [1 ]))
1899
+ cross = D * np .dot (g_inv , np .cross (ax , point [1 ]))
1900
1900
if not np .allclose (cross , 0 , atol = atol ):
1901
1901
rot_boundaries = [cross , np .dot (op , cross )]
1902
1902
face_center_found = True
@@ -1905,7 +1905,7 @@ def _get_IRBZ(self, recip_point_group, W, key_points, face_center_inds, atol):
1905
1905
if not face_center_found :
1906
1906
print ("face center not found" )
1907
1907
for point in IRBZ_points :
1908
- cross = D * np .dot (ginv , np .cross (ax , point [1 ]))
1908
+ cross = D * np .dot (g_inv , np .cross (ax , point [1 ]))
1909
1909
if not np .allclose (cross , 0 , atol = atol ):
1910
1910
rot_boundaries = [cross , - 1 * np .dot (op , cross )]
1911
1911
used_axes .append (ax )
@@ -1921,7 +1921,7 @@ def _get_IRBZ(self, recip_point_group, W, key_points, face_center_inds, atol):
1921
1921
face_center_found = False
1922
1922
for point in IRBZ_points :
1923
1923
if point [0 ] in face_center_inds :
1924
- cross = D * np .dot (ginv , np .cross (ax , point [1 ]))
1924
+ cross = D * np .dot (g_inv , np .cross (ax , point [1 ]))
1925
1925
if not np .allclose (cross , 0 , atol = atol ):
1926
1926
rot_boundaries = [cross , - 1 * np .dot (op , cross )]
1927
1927
face_center_found = True
@@ -1930,7 +1930,7 @@ def _get_IRBZ(self, recip_point_group, W, key_points, face_center_inds, atol):
1930
1930
if not face_center_found :
1931
1931
print ("face center not found" )
1932
1932
for point in IRBZ_points :
1933
- cross = D * np .dot (ginv , np .cross (ax , point [1 ]))
1933
+ cross = D * np .dot (g_inv , np .cross (ax , point [1 ]))
1934
1934
if not np .allclose (cross , 0 , atol = atol ):
1935
1935
rot_boundaries = [cross , - 1 * np .dot (op , cross )]
1936
1936
used_axes .append (ax )
@@ -1946,7 +1946,7 @@ def _get_IRBZ(self, recip_point_group, W, key_points, face_center_inds, atol):
1946
1946
face_center_found = False
1947
1947
for point in IRBZ_points :
1948
1948
if point [0 ] in face_center_inds :
1949
- cross = D * np .dot (ginv , np .cross (ax , point [1 ]))
1949
+ cross = D * np .dot (g_inv , np .cross (ax , point [1 ]))
1950
1950
if not np .allclose (cross , 0 , atol = atol ):
1951
1951
rot_boundaries = [
1952
1952
cross ,
@@ -1958,7 +1958,7 @@ def _get_IRBZ(self, recip_point_group, W, key_points, face_center_inds, atol):
1958
1958
if not face_center_found :
1959
1959
print ("face center not found" )
1960
1960
for point in IRBZ_points :
1961
- cross = D * np .dot (ginv , np .cross (ax , point [1 ]))
1961
+ cross = D * np .dot (g_inv , np .cross (ax , point [1 ]))
1962
1962
if not np .allclose (cross , 0 , atol = atol ):
1963
1963
rot_boundaries = [cross , - 1 * np .dot (op , cross )]
1964
1964
used_axes .append (ax )
@@ -1974,7 +1974,7 @@ def _get_IRBZ(self, recip_point_group, W, key_points, face_center_inds, atol):
1974
1974
face_center_found = False
1975
1975
for point in IRBZ_points :
1976
1976
if point [0 ] in face_center_inds :
1977
- cross = D * np .dot (ginv , np .cross (ax , point [1 ]))
1977
+ cross = D * np .dot (g_inv , np .cross (ax , point [1 ]))
1978
1978
if not np .allclose (cross , 0 , atol = atol ):
1979
1979
rot_boundaries = [cross , - 1 * np .dot (op , cross )]
1980
1980
face_center_found = True
@@ -1983,7 +1983,7 @@ def _get_IRBZ(self, recip_point_group, W, key_points, face_center_inds, atol):
1983
1983
if not face_center_found :
1984
1984
print ("face center not found" )
1985
1985
for point in IRBZ_points :
1986
- cross = D * np .dot (ginv , np .cross (ax , point [1 ]))
1986
+ cross = D * np .dot (g_inv , np .cross (ax , point [1 ]))
1987
1987
if not np .allclose (cross , 0 , atol = atol ):
1988
1988
rot_boundaries = [cross , - 1 * np .dot (op , cross )]
1989
1989
used_axes .append (ax )
@@ -1999,7 +1999,7 @@ def _get_IRBZ(self, recip_point_group, W, key_points, face_center_inds, atol):
1999
1999
face_center_found = False
2000
2000
for point in IRBZ_points :
2001
2001
if point [0 ] in face_center_inds :
2002
- cross = D * np .dot (ginv , np .cross (ax , point [1 ]))
2002
+ cross = D * np .dot (g_inv , np .cross (ax , point [1 ]))
2003
2003
if not np .allclose (cross , 0 , atol = atol ):
2004
2004
rot_boundaries = [cross , - 1 * np .dot (op , cross )]
2005
2005
face_center_found = True
@@ -2008,7 +2008,7 @@ def _get_IRBZ(self, recip_point_group, W, key_points, face_center_inds, atol):
2008
2008
if not face_center_found :
2009
2009
print ("face center not found" )
2010
2010
for point in IRBZ_points :
2011
- cross = D * np .dot (ginv , np .cross (ax , point [1 ]))
2011
+ cross = D * np .dot (g_inv , np .cross (ax , point [1 ]))
2012
2012
if not np .allclose (cross , 0 , atol = atol ):
2013
2013
rot_boundaries = [cross , - 1 * np .dot (op , cross )]
2014
2014
used_axes .append (ax )
0 commit comments