SAMBA-ilum 1.0.0.489__tar.gz → 1.0.0.491__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.489 → samba_ilum-1.0.0.491}/PKG-INFO +1 -1
- {samba_ilum-1.0.0.489 → samba_ilum-1.0.0.491}/SAMBA_ilum.egg-info/PKG-INFO +1 -1
- {samba_ilum-1.0.0.489 → samba_ilum-1.0.0.491}/samba_ilum/__main__.py +2 -2
- {samba_ilum-1.0.0.489 → samba_ilum-1.0.0.491}/samba_ilum/src/HeteroStructure_Generator.py +27 -23
- {samba_ilum-1.0.0.489 → samba_ilum-1.0.0.491}/setup.py +1 -1
- {samba_ilum-1.0.0.489 → samba_ilum-1.0.0.491}/LICENSE.txt +0 -0
- {samba_ilum-1.0.0.489 → samba_ilum-1.0.0.491}/README.md +0 -0
- {samba_ilum-1.0.0.489 → samba_ilum-1.0.0.491}/SAMBA_ilum.egg-info/SOURCES.txt +0 -0
- {samba_ilum-1.0.0.489 → samba_ilum-1.0.0.491}/SAMBA_ilum.egg-info/dependency_links.txt +0 -0
- {samba_ilum-1.0.0.489 → samba_ilum-1.0.0.491}/SAMBA_ilum.egg-info/entry_points.txt +0 -0
- {samba_ilum-1.0.0.489 → samba_ilum-1.0.0.491}/SAMBA_ilum.egg-info/requires.txt +0 -0
- {samba_ilum-1.0.0.489 → samba_ilum-1.0.0.491}/SAMBA_ilum.egg-info/top_level.txt +0 -0
- {samba_ilum-1.0.0.489 → samba_ilum-1.0.0.491}/samba_ilum/__init__.py +0 -0
- {samba_ilum-1.0.0.489 → samba_ilum-1.0.0.491}/samba_ilum/src/BZ_2D.py +0 -0
- {samba_ilum-1.0.0.489 → samba_ilum-1.0.0.491}/samba_ilum/src/HeteroStructure_Generator_OLD_1.py +0 -0
- {samba_ilum-1.0.0.489 → samba_ilum-1.0.0.491}/samba_ilum/src/HeteroStructure_Generator_OLD_2.py +0 -0
- {samba_ilum-1.0.0.489 → samba_ilum-1.0.0.491}/samba_ilum/src/INPUTS/INCAR_a-scan +0 -0
- {samba_ilum-1.0.0.489 → samba_ilum-1.0.0.491}/samba_ilum/src/INPUTS/INCAR_bader +0 -0
- {samba_ilum-1.0.0.489 → samba_ilum-1.0.0.491}/samba_ilum/src/INPUTS/INCAR_bader.SO +0 -0
- {samba_ilum-1.0.0.489 → samba_ilum-1.0.0.491}/samba_ilum/src/INPUTS/INCAR_bands +0 -0
- {samba_ilum-1.0.0.489 → samba_ilum-1.0.0.491}/samba_ilum/src/INPUTS/INCAR_bands.SO +0 -0
- {samba_ilum-1.0.0.489 → samba_ilum-1.0.0.491}/samba_ilum/src/INPUTS/INCAR_dos +0 -0
- {samba_ilum-1.0.0.489 → samba_ilum-1.0.0.491}/samba_ilum/src/INPUTS/INCAR_dos.SO +0 -0
- {samba_ilum-1.0.0.489 → samba_ilum-1.0.0.491}/samba_ilum/src/INPUTS/INCAR_relax +0 -0
- {samba_ilum-1.0.0.489 → samba_ilum-1.0.0.491}/samba_ilum/src/INPUTS/INCAR_scf +0 -0
- {samba_ilum-1.0.0.489 → samba_ilum-1.0.0.491}/samba_ilum/src/INPUTS/INCAR_scf.SO +0 -0
- {samba_ilum-1.0.0.489 → samba_ilum-1.0.0.491}/samba_ilum/src/INPUTS/INCAR_xy-scan +0 -0
- {samba_ilum-1.0.0.489 → samba_ilum-1.0.0.491}/samba_ilum/src/INPUTS/INCAR_xyz-scan +0 -0
- {samba_ilum-1.0.0.489 → samba_ilum-1.0.0.491}/samba_ilum/src/INPUTS/INCAR_z-scan +0 -0
- {samba_ilum-1.0.0.489 → samba_ilum-1.0.0.491}/samba_ilum/src/INPUTS/SAMBA_HeteroStructure.input +0 -0
- {samba_ilum-1.0.0.489 → samba_ilum-1.0.0.491}/samba_ilum/src/INPUTS/SAMBA_WorkFlow.input +0 -0
- {samba_ilum-1.0.0.489 → samba_ilum-1.0.0.491}/samba_ilum/src/INPUTS/inputs_VASProcar/input.vasprocar.bands +0 -0
- {samba_ilum-1.0.0.489 → samba_ilum-1.0.0.491}/samba_ilum/src/INPUTS/inputs_VASProcar/input.vasprocar.chgcar +0 -0
- {samba_ilum-1.0.0.489 → samba_ilum-1.0.0.491}/samba_ilum/src/INPUTS/inputs_VASProcar/input.vasprocar.dos +0 -0
- {samba_ilum-1.0.0.489 → samba_ilum-1.0.0.491}/samba_ilum/src/INPUTS/inputs_VASProcar/input.vasprocar.location +0 -0
- {samba_ilum-1.0.0.489 → samba_ilum-1.0.0.491}/samba_ilum/src/INPUTS/inputs_VASProcar/input.vasprocar.locpot +0 -0
- {samba_ilum-1.0.0.489 → samba_ilum-1.0.0.491}/samba_ilum/src/INPUTS/inputs_VASProcar/input.vasprocar.orbitals +0 -0
- {samba_ilum-1.0.0.489 → samba_ilum-1.0.0.491}/samba_ilum/src/INPUTS/inputs_VASProcar/input.vasprocar.spin +0 -0
- {samba_ilum-1.0.0.489 → samba_ilum-1.0.0.491}/samba_ilum/src/INPUTS/vdw_kernel.bindat +0 -0
- {samba_ilum-1.0.0.489 → samba_ilum-1.0.0.491}/samba_ilum/src/_info_pseudo.py +0 -0
- {samba_ilum-1.0.0.489 → samba_ilum-1.0.0.491}/samba_ilum/src/a-scan.py +0 -0
- {samba_ilum-1.0.0.489 → samba_ilum-1.0.0.491}/samba_ilum/src/a-scan_analysis.py +0 -0
- {samba_ilum-1.0.0.489 → samba_ilum-1.0.0.491}/samba_ilum/src/bader +0 -0
- {samba_ilum-1.0.0.489 → samba_ilum-1.0.0.491}/samba_ilum/src/bader_poscar.py +0 -0
- {samba_ilum-1.0.0.489 → samba_ilum-1.0.0.491}/samba_ilum/src/bader_update.py +0 -0
- {samba_ilum-1.0.0.489 → samba_ilum-1.0.0.491}/samba_ilum/src/charge_transfer.py +0 -0
- {samba_ilum-1.0.0.489 → samba_ilum-1.0.0.491}/samba_ilum/src/chgsum.pl +0 -0
- {samba_ilum-1.0.0.489 → samba_ilum-1.0.0.491}/samba_ilum/src/contcar_update.py +0 -0
- {samba_ilum-1.0.0.489 → samba_ilum-1.0.0.491}/samba_ilum/src/data-base_json.py +0 -0
- {samba_ilum-1.0.0.489 → samba_ilum-1.0.0.491}/samba_ilum/src/data-base_union.py +0 -0
- {samba_ilum-1.0.0.489 → samba_ilum-1.0.0.491}/samba_ilum/src/energy_scan.py +0 -0
- {samba_ilum-1.0.0.489 → samba_ilum-1.0.0.491}/samba_ilum/src/hubbard_correction.py +0 -0
- {samba_ilum-1.0.0.489 → samba_ilum-1.0.0.491}/samba_ilum/src/job.py +0 -0
- {samba_ilum-1.0.0.489 → samba_ilum-1.0.0.491}/samba_ilum/src/kpoints.py +0 -0
- {samba_ilum-1.0.0.489 → samba_ilum-1.0.0.491}/samba_ilum/src/lattice_plot3d.py +0 -0
- {samba_ilum-1.0.0.489 → samba_ilum-1.0.0.491}/samba_ilum/src/make_files.py +0 -0
- {samba_ilum-1.0.0.489 → samba_ilum-1.0.0.491}/samba_ilum/src/output.py +0 -0
- {samba_ilum-1.0.0.489 → samba_ilum-1.0.0.491}/samba_ilum/src/potcar.py +0 -0
- {samba_ilum-1.0.0.489 → samba_ilum-1.0.0.491}/samba_ilum/src/rotation_axis_check.py +0 -0
- {samba_ilum-1.0.0.489 → samba_ilum-1.0.0.491}/samba_ilum/src/vdW_DF.py +0 -0
- {samba_ilum-1.0.0.489 → samba_ilum-1.0.0.491}/samba_ilum/src/xy-scan.py +0 -0
- {samba_ilum-1.0.0.489 → samba_ilum-1.0.0.491}/samba_ilum/src/xy-scan_analysis.py +0 -0
- {samba_ilum-1.0.0.489 → samba_ilum-1.0.0.491}/samba_ilum/src/xyz-scan.py +0 -0
- {samba_ilum-1.0.0.489 → samba_ilum-1.0.0.491}/samba_ilum/src/xyz-scan_analysis.py +0 -0
- {samba_ilum-1.0.0.489 → samba_ilum-1.0.0.491}/samba_ilum/src/z-scan.py +0 -0
- {samba_ilum-1.0.0.489 → samba_ilum-1.0.0.491}/samba_ilum/src/z-scan_analysis.py +0 -0
- {samba_ilum-1.0.0.489 → samba_ilum-1.0.0.491}/setup.cfg +0 -0
|
@@ -16,7 +16,7 @@ dir_samba = os.path.dirname(os.path.realpath(__file__))
|
|
|
16
16
|
print(f'{dir_samba}')
|
|
17
17
|
#--------------------
|
|
18
18
|
|
|
19
|
-
version = '1.0.0.
|
|
19
|
+
version = '1.0.0.491'
|
|
20
20
|
|
|
21
21
|
print(" ")
|
|
22
22
|
print("=============================================================")
|
|
@@ -125,7 +125,7 @@ if (tarefa == 1):
|
|
|
125
125
|
# Checagem da estrutura dos arquivos POSCAR, com relação
|
|
126
126
|
# ao ângulo de rotação em relação ao eixo-z ============
|
|
127
127
|
#=======================================================
|
|
128
|
-
|
|
128
|
+
exec(open(dir_codes + '/rotation_axis_check.py').read())
|
|
129
129
|
#=======================================================
|
|
130
130
|
|
|
131
131
|
|
|
@@ -7,19 +7,19 @@ print("==================================")
|
|
|
7
7
|
print("")
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
from pymatgen.io.vasp import Poscar
|
|
11
|
-
from pymatgen.core import Structure
|
|
12
|
-
from pymatgen.analysis.structure_matcher import StructureMatcher
|
|
13
|
-
from pymatgen.symmetry.analyzer import SpacegroupAnalyzer
|
|
10
|
+
# from pymatgen.io.vasp import Poscar
|
|
11
|
+
# from pymatgen.core import Structure
|
|
12
|
+
# from pymatgen.analysis.structure_matcher import StructureMatcher
|
|
13
|
+
# from pymatgen.symmetry.analyzer import SpacegroupAnalyzer
|
|
14
14
|
#---------------------------------------------------------------
|
|
15
|
-
import numpy as np
|
|
15
|
+
# import numpy as np
|
|
16
16
|
import filecmp
|
|
17
17
|
import hashlib
|
|
18
18
|
import shutil
|
|
19
19
|
import math
|
|
20
20
|
import uuid
|
|
21
|
-
import sys
|
|
22
|
-
import os
|
|
21
|
+
# import sys
|
|
22
|
+
# import os
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
#---------------------------------------------
|
|
@@ -64,7 +64,10 @@ if (mismatch_type < 0 or mismatch_type > 3): mismatch_type = 0
|
|
|
64
64
|
fator_n = 1 -(crit_area/100); fator_p = 1 +(crit_area/100)
|
|
65
65
|
area_unit_cell = [0]*3
|
|
66
66
|
vector_areas = []
|
|
67
|
-
|
|
67
|
+
#-----------------
|
|
68
|
+
d_origin_x = [0]*3
|
|
69
|
+
d_origin_y = [0]*3
|
|
70
|
+
#-----------------
|
|
68
71
|
|
|
69
72
|
|
|
70
73
|
#---------------------------------------------------
|
|
@@ -485,6 +488,9 @@ for k in range(n_Lattice):
|
|
|
485
488
|
if (dist <= temp_d):
|
|
486
489
|
temp_d = dist
|
|
487
490
|
new_center_x = coord_x; new_center_y = coord_y; new_center_z = 0.0
|
|
491
|
+
#----------------------------------
|
|
492
|
+
d_origin_x[k] = (center_x -coord_x)
|
|
493
|
+
d_origin_y[k] = (center_y -coord_y)
|
|
488
494
|
#-------------
|
|
489
495
|
poscar.close()
|
|
490
496
|
#-------------
|
|
@@ -704,9 +710,9 @@ for i in range(len(formula)):
|
|
|
704
710
|
if (i < (len(formula) -1)): formula_bilayer += '+'
|
|
705
711
|
|
|
706
712
|
|
|
707
|
-
#=====================================================
|
|
708
|
-
# Analisando todos os possíveis casamentos de Rede ===
|
|
709
|
-
#=====================================================
|
|
713
|
+
#=====================================================
|
|
714
|
+
# Analisando todos os possíveis casamentos de Rede ===
|
|
715
|
+
#=====================================================
|
|
710
716
|
for k in range(n_Lattice):
|
|
711
717
|
files = os.listdir(diret + 'cells_Lattice' + str(k+1))
|
|
712
718
|
for s in range(len(files)):
|
|
@@ -832,12 +838,12 @@ for s in range(len(files)):
|
|
|
832
838
|
Structures.write(f'0.0 0.0 0.0 0.0 \n')
|
|
833
839
|
#======================================
|
|
834
840
|
if (n_Lattice == 3):
|
|
835
|
-
#====================================================================================================================
|
|
836
|
-
Structures.write(f'{A1x[i]:>14,.9f} {A1y[i]:>14,.9f} {dA1[i]} {B1x[i]:>14,.9f} {B1y[i]:>14,.9f} {dB1[i]} {ang1[i]} ')
|
|
837
|
-
Structures.write(f'{A2x[j]:>14,.9f} {A2y[j]:>14,.9f} {dA2[j]} {B2x[j]:>14,.9f} {B2y[j]:>14,.9f} {dB2[j]} {ang2[j]} ')
|
|
838
|
-
Structures.write(f'{MT1_00[i]} {MT1_01[i]} {MT1_10[i]} {MT1_11[i]} ')
|
|
839
|
-
Structures.write(f'{MT2_00[j]} {MT2_01[j]} {MT2_10[j]} {MT2_11[j]} \n')
|
|
840
|
-
#======================================================================
|
|
841
|
+
#==================================================================================================================== #?????????????????????????????
|
|
842
|
+
Structures.write(f'{A1x[i]:>14,.9f} {A1y[i]:>14,.9f} {dA1[i]} {B1x[i]:>14,.9f} {B1y[i]:>14,.9f} {dB1[i]} {ang1[i]} ') #?????????????????????????????
|
|
843
|
+
Structures.write(f'{A2x[j]:>14,.9f} {A2y[j]:>14,.9f} {dA2[j]} {B2x[j]:>14,.9f} {B2y[j]:>14,.9f} {dB2[j]} {ang2[j]} ') #?????????????????????????????
|
|
844
|
+
Structures.write(f'{MT1_00[i]} {MT1_01[i]} {MT1_10[i]} {MT1_11[i]} ') #?????????????????????????????
|
|
845
|
+
Structures.write(f'{MT2_00[j]} {MT2_01[j]} {MT2_10[j]} {MT2_11[j]} \n') #?????????????????????????????
|
|
846
|
+
#====================================================================== #?????????????????????????????
|
|
841
847
|
#-----------------
|
|
842
848
|
Structures.close()
|
|
843
849
|
#-----------------
|
|
@@ -1042,21 +1048,19 @@ if (n_test == 1):
|
|
|
1042
1048
|
VTemp = poscar1.readline()
|
|
1043
1049
|
poscar_new.write(f'{VTemp}')
|
|
1044
1050
|
#---------------------------------------------
|
|
1045
|
-
for i in range(3):
|
|
1046
|
-
VTemp = poscar1.readline()
|
|
1051
|
+
for i in range(3): VTemp = poscar1.readline()
|
|
1047
1052
|
#---------------------------------------------
|
|
1048
1053
|
poscar_new.write(f' {x1:>28,.21f} {y1:>28,.21f} {null:>28,.21f} \n')
|
|
1049
1054
|
poscar_new.write(f' {x2:>28,.21f} {y2:>28,.21f} {null:>28,.21f} \n')
|
|
1050
1055
|
poscar_new.write(f' {null:>28,.21f} {null:>28,.21f} {d:>28,.21f} \n')
|
|
1051
1056
|
#---------------------------------------------
|
|
1052
1057
|
VTemp = poscar1.readline()
|
|
1053
|
-
poscar_new.write(f'{VTemp}')
|
|
1058
|
+
poscar_new.write(f'{VTemp}')
|
|
1054
1059
|
#---------------------------------------------
|
|
1055
1060
|
passo = 0
|
|
1056
1061
|
VTemp = poscar1.readline().split()
|
|
1057
1062
|
for i in range(len(VTemp)):
|
|
1058
1063
|
passo += int(VTemp[i])
|
|
1059
|
-
|
|
1060
1064
|
#--------------
|
|
1061
1065
|
poscar1.close()
|
|
1062
1066
|
#--------------
|
|
@@ -1071,8 +1075,8 @@ if (n_test == 1):
|
|
|
1071
1075
|
#-------------------------------------------------------------------------------------------
|
|
1072
1076
|
for i in range(passo):
|
|
1073
1077
|
VTemp = poscar2.readline().split()
|
|
1074
|
-
x = float(VTemp[0])
|
|
1075
|
-
y = float(VTemp[1])
|
|
1078
|
+
x = float(VTemp[0]) + float(d_origin_x[k])
|
|
1079
|
+
y = float(VTemp[1]) + float(d_origin_y[k])
|
|
1076
1080
|
z = float(VTemp[2])
|
|
1077
1081
|
l = str(VTemp[4])
|
|
1078
1082
|
|
|
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.489 → samba_ilum-1.0.0.491}/samba_ilum/src/HeteroStructure_Generator_OLD_1.py
RENAMED
|
File without changes
|
{samba_ilum-1.0.0.489 → samba_ilum-1.0.0.491}/samba_ilum/src/HeteroStructure_Generator_OLD_2.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.489 → samba_ilum-1.0.0.491}/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
|
|
File without changes
|
|
File without changes
|