SAMBA-ilum 1.0.0.425__tar.gz → 1.0.0.427__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {samba_ilum-1.0.0.425 → samba_ilum-1.0.0.427}/PKG-INFO +1 -1
- {samba_ilum-1.0.0.425 → samba_ilum-1.0.0.427}/SAMBA_ilum.egg-info/PKG-INFO +1 -1
- {samba_ilum-1.0.0.425 → samba_ilum-1.0.0.427}/samba_ilum/__main__.py +1 -1
- {samba_ilum-1.0.0.425 → samba_ilum-1.0.0.427}/samba_ilum/src/HeteroStructure_Generator.py +72 -73
- {samba_ilum-1.0.0.425 → samba_ilum-1.0.0.427}/setup.py +1 -1
- {samba_ilum-1.0.0.425 → samba_ilum-1.0.0.427}/LICENSE.txt +0 -0
- {samba_ilum-1.0.0.425 → samba_ilum-1.0.0.427}/README.md +0 -0
- {samba_ilum-1.0.0.425 → samba_ilum-1.0.0.427}/SAMBA_ilum.egg-info/SOURCES.txt +0 -0
- {samba_ilum-1.0.0.425 → samba_ilum-1.0.0.427}/SAMBA_ilum.egg-info/dependency_links.txt +0 -0
- {samba_ilum-1.0.0.425 → samba_ilum-1.0.0.427}/SAMBA_ilum.egg-info/entry_points.txt +0 -0
- {samba_ilum-1.0.0.425 → samba_ilum-1.0.0.427}/SAMBA_ilum.egg-info/requires.txt +0 -0
- {samba_ilum-1.0.0.425 → samba_ilum-1.0.0.427}/SAMBA_ilum.egg-info/top_level.txt +0 -0
- {samba_ilum-1.0.0.425 → samba_ilum-1.0.0.427}/samba_ilum/__init__.py +0 -0
- {samba_ilum-1.0.0.425 → samba_ilum-1.0.0.427}/samba_ilum/src/BZ_2D.py +0 -0
- {samba_ilum-1.0.0.425 → samba_ilum-1.0.0.427}/samba_ilum/src/HeteroStructure_Generator_backup.py +0 -0
- {samba_ilum-1.0.0.425 → samba_ilum-1.0.0.427}/samba_ilum/src/INPUTS/INCAR_a-scan +0 -0
- {samba_ilum-1.0.0.425 → samba_ilum-1.0.0.427}/samba_ilum/src/INPUTS/INCAR_bader +0 -0
- {samba_ilum-1.0.0.425 → samba_ilum-1.0.0.427}/samba_ilum/src/INPUTS/INCAR_bader.SO +0 -0
- {samba_ilum-1.0.0.425 → samba_ilum-1.0.0.427}/samba_ilum/src/INPUTS/INCAR_bands +0 -0
- {samba_ilum-1.0.0.425 → samba_ilum-1.0.0.427}/samba_ilum/src/INPUTS/INCAR_bands.SO +0 -0
- {samba_ilum-1.0.0.425 → samba_ilum-1.0.0.427}/samba_ilum/src/INPUTS/INCAR_dos +0 -0
- {samba_ilum-1.0.0.425 → samba_ilum-1.0.0.427}/samba_ilum/src/INPUTS/INCAR_dos.SO +0 -0
- {samba_ilum-1.0.0.425 → samba_ilum-1.0.0.427}/samba_ilum/src/INPUTS/INCAR_relax +0 -0
- {samba_ilum-1.0.0.425 → samba_ilum-1.0.0.427}/samba_ilum/src/INPUTS/INCAR_scf +0 -0
- {samba_ilum-1.0.0.425 → samba_ilum-1.0.0.427}/samba_ilum/src/INPUTS/INCAR_scf.SO +0 -0
- {samba_ilum-1.0.0.425 → samba_ilum-1.0.0.427}/samba_ilum/src/INPUTS/INCAR_xy-scan +0 -0
- {samba_ilum-1.0.0.425 → samba_ilum-1.0.0.427}/samba_ilum/src/INPUTS/INCAR_xyz-scan +0 -0
- {samba_ilum-1.0.0.425 → samba_ilum-1.0.0.427}/samba_ilum/src/INPUTS/INCAR_z-scan +0 -0
- {samba_ilum-1.0.0.425 → samba_ilum-1.0.0.427}/samba_ilum/src/INPUTS/SAMBA_HeteroStructure.input +0 -0
- {samba_ilum-1.0.0.425 → samba_ilum-1.0.0.427}/samba_ilum/src/INPUTS/SAMBA_WorkFlow.input +0 -0
- {samba_ilum-1.0.0.425 → samba_ilum-1.0.0.427}/samba_ilum/src/INPUTS/inputs_VASProcar/input.vasprocar.bands +0 -0
- {samba_ilum-1.0.0.425 → samba_ilum-1.0.0.427}/samba_ilum/src/INPUTS/inputs_VASProcar/input.vasprocar.chgcar +0 -0
- {samba_ilum-1.0.0.425 → samba_ilum-1.0.0.427}/samba_ilum/src/INPUTS/inputs_VASProcar/input.vasprocar.dos +0 -0
- {samba_ilum-1.0.0.425 → samba_ilum-1.0.0.427}/samba_ilum/src/INPUTS/inputs_VASProcar/input.vasprocar.location +0 -0
- {samba_ilum-1.0.0.425 → samba_ilum-1.0.0.427}/samba_ilum/src/INPUTS/inputs_VASProcar/input.vasprocar.locpot +0 -0
- {samba_ilum-1.0.0.425 → samba_ilum-1.0.0.427}/samba_ilum/src/INPUTS/inputs_VASProcar/input.vasprocar.orbitals +0 -0
- {samba_ilum-1.0.0.425 → samba_ilum-1.0.0.427}/samba_ilum/src/INPUTS/inputs_VASProcar/input.vasprocar.spin +0 -0
- {samba_ilum-1.0.0.425 → samba_ilum-1.0.0.427}/samba_ilum/src/INPUTS/vdw_kernel.bindat +0 -0
- {samba_ilum-1.0.0.425 → samba_ilum-1.0.0.427}/samba_ilum/src/_info_pseudo.py +0 -0
- {samba_ilum-1.0.0.425 → samba_ilum-1.0.0.427}/samba_ilum/src/a-scan.py +0 -0
- {samba_ilum-1.0.0.425 → samba_ilum-1.0.0.427}/samba_ilum/src/a-scan_analysis.py +0 -0
- {samba_ilum-1.0.0.425 → samba_ilum-1.0.0.427}/samba_ilum/src/bader +0 -0
- {samba_ilum-1.0.0.425 → samba_ilum-1.0.0.427}/samba_ilum/src/bader_poscar.py +0 -0
- {samba_ilum-1.0.0.425 → samba_ilum-1.0.0.427}/samba_ilum/src/bader_update.py +0 -0
- {samba_ilum-1.0.0.425 → samba_ilum-1.0.0.427}/samba_ilum/src/charge_transfer.py +0 -0
- {samba_ilum-1.0.0.425 → samba_ilum-1.0.0.427}/samba_ilum/src/chgsum.pl +0 -0
- {samba_ilum-1.0.0.425 → samba_ilum-1.0.0.427}/samba_ilum/src/contcar_update.py +0 -0
- {samba_ilum-1.0.0.425 → samba_ilum-1.0.0.427}/samba_ilum/src/data-base_json.py +0 -0
- {samba_ilum-1.0.0.425 → samba_ilum-1.0.0.427}/samba_ilum/src/data-base_union.py +0 -0
- {samba_ilum-1.0.0.425 → samba_ilum-1.0.0.427}/samba_ilum/src/energy_scan.py +0 -0
- {samba_ilum-1.0.0.425 → samba_ilum-1.0.0.427}/samba_ilum/src/job.py +0 -0
- {samba_ilum-1.0.0.425 → samba_ilum-1.0.0.427}/samba_ilum/src/kpoints.py +0 -0
- {samba_ilum-1.0.0.425 → samba_ilum-1.0.0.427}/samba_ilum/src/lattice_plot3d.py +0 -0
- {samba_ilum-1.0.0.425 → samba_ilum-1.0.0.427}/samba_ilum/src/make_files.py +0 -0
- {samba_ilum-1.0.0.425 → samba_ilum-1.0.0.427}/samba_ilum/src/output.py +0 -0
- {samba_ilum-1.0.0.425 → samba_ilum-1.0.0.427}/samba_ilum/src/potcar.py +0 -0
- {samba_ilum-1.0.0.425 → samba_ilum-1.0.0.427}/samba_ilum/src/vdW_DF.py +0 -0
- {samba_ilum-1.0.0.425 → samba_ilum-1.0.0.427}/samba_ilum/src/xy-scan.py +0 -0
- {samba_ilum-1.0.0.425 → samba_ilum-1.0.0.427}/samba_ilum/src/xy-scan_analysis.py +0 -0
- {samba_ilum-1.0.0.425 → samba_ilum-1.0.0.427}/samba_ilum/src/xyz-scan.py +0 -0
- {samba_ilum-1.0.0.425 → samba_ilum-1.0.0.427}/samba_ilum/src/xyz-scan_analysis.py +0 -0
- {samba_ilum-1.0.0.425 → samba_ilum-1.0.0.427}/samba_ilum/src/z-scan.py +0 -0
- {samba_ilum-1.0.0.425 → samba_ilum-1.0.0.427}/samba_ilum/src/z-scan_analysis.py +0 -0
- {samba_ilum-1.0.0.425 → samba_ilum-1.0.0.427}/setup.cfg +0 -0
|
@@ -742,6 +742,7 @@ for s in range(len(files)):
|
|
|
742
742
|
SLattice2 = np.loadtxt(diret + 'cells_Lattice2' + '/' + files[s]); SLattice2.shape
|
|
743
743
|
#---------------------------------------------------------------------------------
|
|
744
744
|
|
|
745
|
+
#-----------------------------------------------------------------
|
|
745
746
|
temp_area = files[s].replace('.dat', '').replace('_', ' ').split()
|
|
746
747
|
area_min = temp_area[2]; area_max = temp_area[3]
|
|
747
748
|
#-------------------------------------------------------------------------------------------------------------------------------------
|
|
@@ -758,7 +759,7 @@ for s in range(len(files)):
|
|
|
758
759
|
#-------------------------
|
|
759
760
|
for i in range(len(A1x)):
|
|
760
761
|
for j in range(len(A2x)):
|
|
761
|
-
|
|
762
|
+
|
|
762
763
|
#---------------------------------------------------------
|
|
763
764
|
# Criterio: Variação do ângulo de abertura das Lattice ---
|
|
764
765
|
#---------------------------------------------------------
|
|
@@ -812,91 +813,89 @@ for s in range(len(files)):
|
|
|
812
813
|
|
|
813
814
|
|
|
814
815
|
if (n_Lattice == 3):
|
|
815
|
-
cont = 0
|
|
816
|
-
#-------
|
|
817
|
-
if os.path.isfile(diret + 'cells_Lattice1' + '/' + files[s]):
|
|
818
|
-
if os.path.isfile(diret + 'cells_Lattice2' + '/' + files[s]):
|
|
819
|
-
if os.path.isfile(diret + 'cells_Lattice3' + '/' + files[s]):
|
|
820
|
-
cont = 1
|
|
821
|
-
#-------
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
if (cont == 1 and n_Lattice == 3):
|
|
825
816
|
n += 1
|
|
826
|
-
|
|
817
|
+
#----------
|
|
827
818
|
print(f' ')
|
|
828
819
|
print(f'=================================================================')
|
|
829
820
|
print(f'Passo {n}: Analisando os casamentos de rede (1º e 3º materiais) ===')
|
|
830
821
|
print(f'=================================================================')
|
|
831
822
|
|
|
832
|
-
files = os.listdir(diret + 'cells_Lattice1')
|
|
833
823
|
#===========================================
|
|
824
|
+
files = os.listdir(diret + 'cells_Lattice1')
|
|
834
825
|
for s in range(len(files)):
|
|
826
|
+
cont = 0
|
|
827
|
+
#-------
|
|
828
|
+
if os.path.isfile(diret + 'cells_Lattice1' + '/' + files[s]):
|
|
829
|
+
if os.path.isfile(diret + 'cells_Lattice2' + '/' + files[s]):
|
|
830
|
+
if os.path.isfile(diret + 'cells_Lattice3' + '/' + files[s]):
|
|
831
|
+
cont = 1
|
|
832
|
+
#-------
|
|
833
|
+
|
|
835
834
|
#---------------------------------
|
|
836
835
|
print(f'etapa {s+1}/{len(files)}')
|
|
837
836
|
#---------------------------------
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
#--------------------------------------------------------------------------
|
|
875
|
-
if (abs(var_area_cell1) <= crit_area and abs(var_area_cell3) <= crit_area):
|
|
837
|
+
if (cont == 1):
|
|
838
|
+
#-----------------------------------------------------------------------------------------------------------------------------------
|
|
839
|
+
SLattice1 = np.loadtxt(diret + 'Matching_Lattices' + '/Matching_Lattices_' + area_min + '_' + area_max + '_12.dat'); SLattice1.shape
|
|
840
|
+
SLattice3 = np.loadtxt(diret + 'cells_Lattice3' + '/' + files[s]); SLattice3.shape
|
|
841
|
+
#---------------------------------------------------------------------------------------------------------------
|
|
842
|
+
Structures = open(diret + 'Matching_Lattices' + '/Matching_Lattices_' + area_min + '_' + area_max + '.dat', "w")
|
|
843
|
+
#---------------------------------------------------------------------------------------------------------------
|
|
844
|
+
temp_area = files[s].replace('.dat', '').replace('_', ' ').split()
|
|
845
|
+
area_min = temp_area[2]; area_max = temp_area[3]
|
|
846
|
+
#-----------------------------------------------------------------------------------------------------------------------------------------------------------
|
|
847
|
+
A1x = SLattice1[:,0]; A1y = SLattice1[:,1]; dA1 = SLattice1[:,2]; B1x = SLattice1[:,3]; B1y = SLattice1[:,4]; dB1 = SLattice1[:,5]; ang1 = SLattice1[:,6]
|
|
848
|
+
A2x = SLattice1[:,7]; A2y = SLattice1[:,8]; dA2 = SLattice1[:,9]; B2x = SLattice1[:,10]; B2y = SLattice1[:,11]; dB2 = SLattice1[:,12]; ang2 = SLattice1[:,13]
|
|
849
|
+
A3x = SLattice3[:,0]; A3y = SLattice3[:,1]; dA3 = SLattice3[:,2]; B3x = SLattice3[:,3]; B3y = SLattice3[:,4]; dB3 = SLattice3[:,5]; ang3 = SLattice3[:,6]
|
|
850
|
+
#-----------------------------------------------------------------------------------------------------------------------------------------------------------
|
|
851
|
+
MT3_00 = SLattice3[:,7]; MT3_01 = SLattice3[:,8]; MT3_10 = SLattice3[:,9]; MT3_11 = SLattice3[:,10]
|
|
852
|
+
#-----------------------------------------------------------------------------------------------------
|
|
853
|
+
|
|
854
|
+
#-------------------------
|
|
855
|
+
for i in range(len(A1x)):
|
|
856
|
+
for j in range(len(A3x)):
|
|
857
|
+
|
|
858
|
+
#---------------------------------------------------------
|
|
859
|
+
# Criterio: Variação do ângulo de abertura das Lattice ---
|
|
860
|
+
#---------------------------------------------------------
|
|
861
|
+
var_angle_1 = ((ang3[j] -ang1[i])/ang1[i])*100; var_angle_1 = round(var_angle_1, 4)
|
|
862
|
+
var_angle_3 = ((ang1[i] -ang3[j])/ang3[j])*100; var_angle_3 = round(var_angle_3, 4)
|
|
863
|
+
ang_diff = (ang1[i] -ang3[j])
|
|
864
|
+
#---------------------------------------------------------------------------------------------------------------------
|
|
865
|
+
if (abs(var_angle_1) <= crit_angle_perc and abs(var_angle_3) <= crit_angle_diff and abs(ang_diff) <= crit_angle_diff):
|
|
866
|
+
#--------------------------------------------
|
|
867
|
+
# Criterio: mismatch da área ----------------
|
|
868
|
+
#--------------------------------------------
|
|
869
|
+
A1 = np.array([A1x[i], A1y[i]]); B1 = np.array([B1x[i], B1y[i]]); area_cell1 = np.linalg.norm(np.cross(A1, B1))
|
|
870
|
+
A3 = np.array([A3x[j], A3y[j]]); B3 = np.array([B3x[j], B3y[j]]); area_cell3 = np.linalg.norm(np.cross(A3, B3))
|
|
871
|
+
var_area_cell1 = ((area_cell3 -area_cell1)/area_cell1)*100; var_area_cell1 = round(var_area_cell1, 4)
|
|
872
|
+
var_area_cell3 = ((area_cell1 -area_cell3)/area_cell3)*100; var_area_cell3 = round(var_area_cell3, 4)
|
|
876
873
|
#--------------------------------------------------------------------------
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
var_A3 = ((dA1[i] -dA3[j])/dA3[j])*100; var_A3 = round(var_A3, 4)
|
|
884
|
-
var_B3 = ((dB1[i] -dB3[j])/dB3[j])*100; var_B3 = round(var_B3, 4)
|
|
874
|
+
if (abs(var_area_cell1) <= crit_area and abs(var_area_cell3) <= crit_area):
|
|
875
|
+
#--------------------------------------------------------------------------
|
|
876
|
+
# Cálculo do mismatch do módulo dos vetores A e B -------------------------
|
|
877
|
+
#--------------------------------------------------------------------------
|
|
878
|
+
var_A1 = ((dA3[j] -dA1[i])/dA1[i])*100; var_A1 = round(var_A1, 4)
|
|
879
|
+
var_B1 = ((dB3[j] -dB1[i])/dB1[i])*100; var_B1 = round(var_B1, 4)
|
|
885
880
|
#-----------------------------------------------------------------
|
|
886
|
-
if (abs(
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
881
|
+
if (abs(var_A1) <= crit_mod_vector and abs(var_B1) <= crit_mod_vector):
|
|
882
|
+
var_A3 = ((dA1[i] -dA3[j])/dA3[j])*100; var_A3 = round(var_A3, 4)
|
|
883
|
+
var_B3 = ((dB1[i] -dB3[j])/dB3[j])*100; var_B3 = round(var_B3, 4)
|
|
884
|
+
#-----------------------------------------------------------------
|
|
885
|
+
if (abs(var_A3) <= crit_mod_vector and abs(var_B3) <= crit_mod_vector):
|
|
886
|
+
#============================================================================================
|
|
887
|
+
Structures.write(f'{A1x[i]:>14,.9f} {A1y[i]:>14,.9f} {B1x[i]:>14,.9f} {B1y[i]:>14,.9f} ')
|
|
888
|
+
Structures.write(f'{A2x[i]:>14,.9f} {A2y[i]:>14,.9f} {B2x[i]:>14,.9f} {B2y[i]:>14,.9f} ')
|
|
889
|
+
Structures.write(f'{A3x[j]:>14,.9f} {A3y[j]:>14,.9f} {B3x[j]:>14,.9f} {B3y[j]:>14,.9f} ')
|
|
890
|
+
Structures.write(f'0.0 0.0 0.0 ') ### ????????????????? Desatualizado ?????????????????
|
|
891
|
+
Structures.write(f'0.0 0.0 0.0 ') ### ????????????????? Desatualizado ?????????????????
|
|
892
|
+
Structures.write(f'{MT1_00[i]} {MT1_01[i]} {MT1_10[i]} {MT1_11[i]} ')
|
|
893
|
+
Structures.write(f'{MT2_00[i]} {MT2_01[i]} {MT2_10[i]} {MT2_11[i]} ')
|
|
894
|
+
Structures.write(f'{MT3_00[j]} {MT3_01[j]} {MT3_10[j]} {MT3_11[j]} \n')
|
|
895
|
+
#======================================================================
|
|
896
|
+
#-----------------
|
|
897
|
+
Structures.close()
|
|
898
|
+
#-----------------
|
|
900
899
|
|
|
901
900
|
|
|
902
901
|
#==============================================
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{samba_ilum-1.0.0.425 → samba_ilum-1.0.0.427}/samba_ilum/src/HeteroStructure_Generator_backup.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{samba_ilum-1.0.0.425 → samba_ilum-1.0.0.427}/samba_ilum/src/INPUTS/SAMBA_HeteroStructure.input
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|