Loading csl_generator.py +0 −1 Changes for csl_generator.py: 0 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -430,7 +430,6 @@ def Find_Orthogonal_cell(basis, uvw, m, n, GB1): OrthoCell_2.astype(float), Num.astype(int))) elif basis == 'fcc' or basis == 'bcc': ortho1, ortho2 = Ortho_fcc_bcc(basis, OrthoCell_1, OrthoCell_2) Volume_1 = (round(det(ortho1), 5)) Num = Volume_1 * len(Basis(basis)) * 2 Loading gb_generator.py +3 −1 Changes for gb_generator.py: 3 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -18,6 +18,7 @@ import numpy as np from numpy import dot, cross from numpy.linalg import det, norm import csl_generator as cslgen import warnings class GB_character: Loading Loading @@ -199,7 +200,8 @@ class GB_character: Base = cslgen.Basis(str(self.basis)) Atoms = [] tol = 0.001 if V > 5e6: print("Warning! It may take a very long time to produce this cell!") # produce Atoms: for i in range(V): Loading Loading
csl_generator.py +0 −1 Changes for csl_generator.py: 0 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -430,7 +430,6 @@ def Find_Orthogonal_cell(basis, uvw, m, n, GB1): OrthoCell_2.astype(float), Num.astype(int))) elif basis == 'fcc' or basis == 'bcc': ortho1, ortho2 = Ortho_fcc_bcc(basis, OrthoCell_1, OrthoCell_2) Volume_1 = (round(det(ortho1), 5)) Num = Volume_1 * len(Basis(basis)) * 2 Loading
gb_generator.py +3 −1 Changes for gb_generator.py: 3 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -18,6 +18,7 @@ import numpy as np from numpy import dot, cross from numpy.linalg import det, norm import csl_generator as cslgen import warnings class GB_character: Loading Loading @@ -199,7 +200,8 @@ class GB_character: Base = cslgen.Basis(str(self.basis)) Atoms = [] tol = 0.001 if V > 5e6: print("Warning! It may take a very long time to produce this cell!") # produce Atoms: for i in range(V): Loading