SAMBA-ilum 1.1.0.109__tar.gz → 1.1.0.112__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.1.0.109 → samba_ilum-1.1.0.112}/PKG-INFO +1 -1
- {samba_ilum-1.1.0.109 → samba_ilum-1.1.0.112}/SAMBA_ilum.egg-info/PKG-INFO +1 -1
- {samba_ilum-1.1.0.109 → samba_ilum-1.1.0.112}/SAMBA_ilum.egg-info/SOURCES.txt +0 -3
- {samba_ilum-1.1.0.109 → samba_ilum-1.1.0.112}/samba_ilum/__main__.py +6 -3
- {samba_ilum-1.1.0.109 → samba_ilum-1.1.0.112}/samba_ilum/src/INPUTS/SAMBA_HeteroStructure.input +1 -1
- {samba_ilum-1.1.0.109 → samba_ilum-1.1.0.112}/samba_ilum/src/cell_check.py +4 -5
- {samba_ilum-1.1.0.109 → samba_ilum-1.1.0.112}/samba_ilum/src/poscar_fix_direct_coord.py +8 -4
- {samba_ilum-1.1.0.109 → samba_ilum-1.1.0.112}/setup.py +1 -1
- samba_ilum-1.1.0.109/samba_ilum/src/HeteroStructure_Generator_Backup_001.py +0 -1881
- samba_ilum-1.1.0.109/samba_ilum/src/HeteroStructure_Generator_Backup_002.py +0 -2089
- samba_ilum-1.1.0.109/samba_ilum/src/HeteroStructure_Generator_OLD.py +0 -2196
- {samba_ilum-1.1.0.109 → samba_ilum-1.1.0.112}/LICENSE.txt +0 -0
- {samba_ilum-1.1.0.109 → samba_ilum-1.1.0.112}/README.md +0 -0
- {samba_ilum-1.1.0.109 → samba_ilum-1.1.0.112}/SAMBA_ilum.egg-info/dependency_links.txt +0 -0
- {samba_ilum-1.1.0.109 → samba_ilum-1.1.0.112}/SAMBA_ilum.egg-info/entry_points.txt +0 -0
- {samba_ilum-1.1.0.109 → samba_ilum-1.1.0.112}/SAMBA_ilum.egg-info/requires.txt +0 -0
- {samba_ilum-1.1.0.109 → samba_ilum-1.1.0.112}/SAMBA_ilum.egg-info/top_level.txt +0 -0
- {samba_ilum-1.1.0.109 → samba_ilum-1.1.0.112}/samba_ilum/__init__.py +0 -0
- {samba_ilum-1.1.0.109 → samba_ilum-1.1.0.112}/samba_ilum/src/BZ_2D.py +0 -0
- {samba_ilum-1.1.0.109 → samba_ilum-1.1.0.112}/samba_ilum/src/HeteroStructure_Generator.py +0 -0
- {samba_ilum-1.1.0.109 → samba_ilum-1.1.0.112}/samba_ilum/src/INPUTS/Hubbard_U_values.txt +0 -0
- {samba_ilum-1.1.0.109 → samba_ilum-1.1.0.112}/samba_ilum/src/INPUTS/INCAR_a-scan +0 -0
- {samba_ilum-1.1.0.109 → samba_ilum-1.1.0.112}/samba_ilum/src/INPUTS/INCAR_bader +0 -0
- {samba_ilum-1.1.0.109 → samba_ilum-1.1.0.112}/samba_ilum/src/INPUTS/INCAR_bader.SO +0 -0
- {samba_ilum-1.1.0.109 → samba_ilum-1.1.0.112}/samba_ilum/src/INPUTS/INCAR_bands +0 -0
- {samba_ilum-1.1.0.109 → samba_ilum-1.1.0.112}/samba_ilum/src/INPUTS/INCAR_bands.SO +0 -0
- {samba_ilum-1.1.0.109 → samba_ilum-1.1.0.112}/samba_ilum/src/INPUTS/INCAR_dos +0 -0
- {samba_ilum-1.1.0.109 → samba_ilum-1.1.0.112}/samba_ilum/src/INPUTS/INCAR_dos.SO +0 -0
- {samba_ilum-1.1.0.109 → samba_ilum-1.1.0.112}/samba_ilum/src/INPUTS/INCAR_relax +0 -0
- {samba_ilum-1.1.0.109 → samba_ilum-1.1.0.112}/samba_ilum/src/INPUTS/INCAR_scf +0 -0
- {samba_ilum-1.1.0.109 → samba_ilum-1.1.0.112}/samba_ilum/src/INPUTS/INCAR_scf.SO +0 -0
- {samba_ilum-1.1.0.109 → samba_ilum-1.1.0.112}/samba_ilum/src/INPUTS/INCAR_xy-scan +0 -0
- {samba_ilum-1.1.0.109 → samba_ilum-1.1.0.112}/samba_ilum/src/INPUTS/INCAR_xyz-scan +0 -0
- {samba_ilum-1.1.0.109 → samba_ilum-1.1.0.112}/samba_ilum/src/INPUTS/INCAR_z-scan +0 -0
- {samba_ilum-1.1.0.109 → samba_ilum-1.1.0.112}/samba_ilum/src/INPUTS/SAMBA_WorkFlow.input +0 -0
- {samba_ilum-1.1.0.109 → samba_ilum-1.1.0.112}/samba_ilum/src/INPUTS/inputs_VASProcar/input.vasprocar.bands +0 -0
- {samba_ilum-1.1.0.109 → samba_ilum-1.1.0.112}/samba_ilum/src/INPUTS/inputs_VASProcar/input.vasprocar.chgcar +0 -0
- {samba_ilum-1.1.0.109 → samba_ilum-1.1.0.112}/samba_ilum/src/INPUTS/inputs_VASProcar/input.vasprocar.dos +0 -0
- {samba_ilum-1.1.0.109 → samba_ilum-1.1.0.112}/samba_ilum/src/INPUTS/inputs_VASProcar/input.vasprocar.location +0 -0
- {samba_ilum-1.1.0.109 → samba_ilum-1.1.0.112}/samba_ilum/src/INPUTS/inputs_VASProcar/input.vasprocar.locpot +0 -0
- {samba_ilum-1.1.0.109 → samba_ilum-1.1.0.112}/samba_ilum/src/INPUTS/inputs_VASProcar/input.vasprocar.orbitals +0 -0
- {samba_ilum-1.1.0.109 → samba_ilum-1.1.0.112}/samba_ilum/src/INPUTS/inputs_VASProcar/input.vasprocar.spin +0 -0
- {samba_ilum-1.1.0.109 → samba_ilum-1.1.0.112}/samba_ilum/src/INPUTS/vdw_kernel.bindat +0 -0
- {samba_ilum-1.1.0.109 → samba_ilum-1.1.0.112}/samba_ilum/src/_info_pseudo.py +0 -0
- {samba_ilum-1.1.0.109 → samba_ilum-1.1.0.112}/samba_ilum/src/a-scan.py +0 -0
- {samba_ilum-1.1.0.109 → samba_ilum-1.1.0.112}/samba_ilum/src/a-scan_analysis.py +0 -0
- {samba_ilum-1.1.0.109 → samba_ilum-1.1.0.112}/samba_ilum/src/bader +0 -0
- {samba_ilum-1.1.0.109 → samba_ilum-1.1.0.112}/samba_ilum/src/bader_poscar.py +0 -0
- {samba_ilum-1.1.0.109 → samba_ilum-1.1.0.112}/samba_ilum/src/bader_update.py +0 -0
- {samba_ilum-1.1.0.109 → samba_ilum-1.1.0.112}/samba_ilum/src/charge_transfer.py +0 -0
- {samba_ilum-1.1.0.109 → samba_ilum-1.1.0.112}/samba_ilum/src/chgsum.pl +0 -0
- {samba_ilum-1.1.0.109 → samba_ilum-1.1.0.112}/samba_ilum/src/contcar_update.py +0 -0
- {samba_ilum-1.1.0.109 → samba_ilum-1.1.0.112}/samba_ilum/src/data-base_json.py +0 -0
- {samba_ilum-1.1.0.109 → samba_ilum-1.1.0.112}/samba_ilum/src/data-base_union.py +0 -0
- {samba_ilum-1.1.0.109 → samba_ilum-1.1.0.112}/samba_ilum/src/energy_scan.py +0 -0
- {samba_ilum-1.1.0.109 → samba_ilum-1.1.0.112}/samba_ilum/src/hubbard_correction.py +0 -0
- {samba_ilum-1.1.0.109 → samba_ilum-1.1.0.112}/samba_ilum/src/job.py +0 -0
- {samba_ilum-1.1.0.109 → samba_ilum-1.1.0.112}/samba_ilum/src/kpoints.py +0 -0
- {samba_ilum-1.1.0.109 → samba_ilum-1.1.0.112}/samba_ilum/src/lattice_plot3d.py +0 -0
- {samba_ilum-1.1.0.109 → samba_ilum-1.1.0.112}/samba_ilum/src/make_files.py +0 -0
- {samba_ilum-1.1.0.109 → samba_ilum-1.1.0.112}/samba_ilum/src/output.py +0 -0
- {samba_ilum-1.1.0.109 → samba_ilum-1.1.0.112}/samba_ilum/src/potcar.py +0 -0
- {samba_ilum-1.1.0.109 → samba_ilum-1.1.0.112}/samba_ilum/src/vdW_DF.py +0 -0
- {samba_ilum-1.1.0.109 → samba_ilum-1.1.0.112}/samba_ilum/src/xy-scan.py +0 -0
- {samba_ilum-1.1.0.109 → samba_ilum-1.1.0.112}/samba_ilum/src/xy-scan_analysis.py +0 -0
- {samba_ilum-1.1.0.109 → samba_ilum-1.1.0.112}/samba_ilum/src/xyz-scan.py +0 -0
- {samba_ilum-1.1.0.109 → samba_ilum-1.1.0.112}/samba_ilum/src/xyz-scan_analysis.py +0 -0
- {samba_ilum-1.1.0.109 → samba_ilum-1.1.0.112}/samba_ilum/src/z-scan.py +0 -0
- {samba_ilum-1.1.0.109 → samba_ilum-1.1.0.112}/samba_ilum/src/z-scan_analysis.py +0 -0
- {samba_ilum-1.1.0.109 → samba_ilum-1.1.0.112}/setup.cfg +0 -0
|
@@ -12,9 +12,6 @@ samba_ilum/__init__.py
|
|
|
12
12
|
samba_ilum/__main__.py
|
|
13
13
|
samba_ilum/src/BZ_2D.py
|
|
14
14
|
samba_ilum/src/HeteroStructure_Generator.py
|
|
15
|
-
samba_ilum/src/HeteroStructure_Generator_Backup_001.py
|
|
16
|
-
samba_ilum/src/HeteroStructure_Generator_Backup_002.py
|
|
17
|
-
samba_ilum/src/HeteroStructure_Generator_OLD.py
|
|
18
15
|
samba_ilum/src/_info_pseudo.py
|
|
19
16
|
samba_ilum/src/a-scan.py
|
|
20
17
|
samba_ilum/src/a-scan_analysis.py
|
|
@@ -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.1.0.
|
|
19
|
+
version = '1.1.0.112'
|
|
20
20
|
|
|
21
21
|
print(" ")
|
|
22
22
|
print("=============================================================")
|
|
@@ -123,7 +123,11 @@ if (tarefa == 1):
|
|
|
123
123
|
#------------------------------------------------------------
|
|
124
124
|
separacao1 = separation_1
|
|
125
125
|
separacao2 = separation_2
|
|
126
|
-
|
|
126
|
+
#------------------------------------------------
|
|
127
|
+
Lattice1 = Lattice1.replace(".vasp","") + ".vasp"
|
|
128
|
+
Lattice2 = Lattice2.replace(".vasp","") + ".vasp"
|
|
129
|
+
Lattice3 = Lattice3.replace(".vasp","") + ".vasp"
|
|
130
|
+
#------------------------------------------------
|
|
127
131
|
|
|
128
132
|
#=============================================================
|
|
129
133
|
# Fixing the coordinates of POSCAR files in direct form ======
|
|
@@ -137,7 +141,6 @@ if (tarefa == 1):
|
|
|
137
141
|
exec(open(dir_codes + '/cell_check.py').read())
|
|
138
142
|
#=============================================================
|
|
139
143
|
|
|
140
|
-
|
|
141
144
|
if (loop_ht == 1):
|
|
142
145
|
#--------------
|
|
143
146
|
n_Lattice = 2
|
{samba_ilum-1.1.0.109 → samba_ilum-1.1.0.112}/samba_ilum/src/INPUTS/SAMBA_HeteroStructure.input
RENAMED
|
@@ -37,7 +37,7 @@ separation_1 = 3.00 # Separation distance (in Angs.) between
|
|
|
37
37
|
separation_2 = 3.00 # Separation distance (in Angs.) between the 2nd and 3rd material.
|
|
38
38
|
vacuum = 15.0 # Vacuum (in Angs.) to be introduced into the Heterostructure cell.
|
|
39
39
|
#----------------------------------
|
|
40
|
-
cell_fator = [10, 10] #
|
|
40
|
+
cell_fator = [10, 10] # Ranges of the loop on the linear combination of vectors A1 and A2.
|
|
41
41
|
# Note: Very high values can lead to excessive code slowness.
|
|
42
42
|
#----------------------------------
|
|
43
43
|
crit_mod_vector = 3 # Percentage variation % of the module between the vectors (A and B) of the lattices: A1_with_A2 and B1_with_B2
|
|
@@ -42,7 +42,6 @@ delete_hidden_files(poscar_dir_path)
|
|
|
42
42
|
files0 = [name for name in os.listdir(poscar_dir_path) if os.path.isfile(os.path.join(poscar_dir_path, name))]
|
|
43
43
|
|
|
44
44
|
|
|
45
|
-
|
|
46
45
|
#============================================
|
|
47
46
|
# Testing POSCAR file compatibility =========
|
|
48
47
|
#============================================
|
|
@@ -64,16 +63,16 @@ for k in range(len(files0)):
|
|
|
64
63
|
#--------------------------------------------------------------------------------------------------------------------------
|
|
65
64
|
A1x0.append(A1x); A1y0.append(A1y); A2x0.append(A2x); A2y0.append(A2y) # Storing the vectors A1 and A2 of each lattice
|
|
66
65
|
#--------------------------------------------------------------------------------------------------------------------------
|
|
67
|
-
if ((A1z != 0.0) or (A2z != 0.0) or (A3x != 0.0) or (A3y != 0.0)):
|
|
66
|
+
if ((A1z != 0.0) or (A2z != 0.0) or (A3x != 0.0) or (A3y != 0.0) or (A3z <= 0.0)):
|
|
68
67
|
print(f'====================================')
|
|
69
68
|
print(f'Check the POSCAR files used ! ')
|
|
70
69
|
print(f'Code incompatibility detected ! ')
|
|
71
70
|
print(f'Only 2D lattices in the XY plane are accepted')
|
|
72
71
|
print(f'------------------------------------')
|
|
73
72
|
print(f'The lattice vectors must have the form')
|
|
74
|
-
print(f'A1 = [A1x,
|
|
75
|
-
print(f'A2 = [A2x,
|
|
76
|
-
print(f'A3 = [0.0,
|
|
73
|
+
print(f'A1 = [A1x, A1y, 0.0]')
|
|
74
|
+
print(f'A2 = [A2x, A2y, 0.0]')
|
|
75
|
+
print(f'A3 = [0.0, 0.0, +A3z]')
|
|
77
76
|
print(f'====================================')
|
|
78
77
|
print(f' ')
|
|
79
78
|
#-------------
|
|
@@ -40,7 +40,9 @@ os.makedirs(poscar_dir_path, exist_ok=True)
|
|
|
40
40
|
#------------------------------------------
|
|
41
41
|
files1 = [name for name in os.listdir(poscar_backup_dir_path) if os.path.isfile(os.path.join(poscar_backup_dir_path, name))]
|
|
42
42
|
for file_in in files1:
|
|
43
|
-
|
|
43
|
+
#-----------------------------------------------
|
|
44
|
+
file_out = file_in.replace(".vasp","") + '.vasp'
|
|
45
|
+
#-----------------------------------------------
|
|
44
46
|
type_poscar = 'none'
|
|
45
47
|
poscar_in = open(poscar_backup_dir_path + '/' + file_in, "r")
|
|
46
48
|
for i in range(8): VTemp = poscar_in.readline().split()
|
|
@@ -50,13 +52,13 @@ for file_in in files1:
|
|
|
50
52
|
poscar_in.close()
|
|
51
53
|
#----------------
|
|
52
54
|
|
|
53
|
-
if (type_poscar != 'cartesian'): shutil.copy2(poscar_backup_dir_path + '/' + file_in, poscar_dir_path + '/' +
|
|
55
|
+
if (type_poscar != 'cartesian'): shutil.copy2(poscar_backup_dir_path + '/' + file_in, poscar_dir_path + '/' + file_out)
|
|
54
56
|
|
|
55
57
|
if (type_poscar == 'cartesian'):
|
|
56
58
|
#-------------------------------------------------------------
|
|
57
59
|
poscar_in = open(poscar_backup_dir_path + '/' + file_in, "r")
|
|
58
|
-
poscar_out = open(poscar_dir_path + '/' +
|
|
59
|
-
|
|
60
|
+
poscar_out = open(poscar_dir_path + '/' + file_out, "w")
|
|
61
|
+
#-------------------------------------------------------
|
|
60
62
|
VTemp = poscar_in.readline()
|
|
61
63
|
poscar_out.write(f'{VTemp}')
|
|
62
64
|
#------------------------------------------------------------
|
|
@@ -123,6 +125,8 @@ delete_hidden_files(poscar_dir_path)
|
|
|
123
125
|
# creating IDs for POSCAR files =============
|
|
124
126
|
#============================================
|
|
125
127
|
id_poscar_files = open(dir_files + '/ID_POSCAR_Files.txt', 'w')
|
|
128
|
+
files0 = [name for name in os.listdir(poscar_dir_path) if os.path.isfile(os.path.join(poscar_dir_path, name))]
|
|
129
|
+
#---------------------------
|
|
126
130
|
for i in range(len(files0)):
|
|
127
131
|
#--------------------------------------------
|
|
128
132
|
Lattice0 = dir_files + '/' + dir_files_in + '/'
|