SAMBA-ilum 1.0.0.523__tar.gz → 1.0.0.524__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.
Files changed (67) hide show
  1. {samba_ilum-1.0.0.523 → samba_ilum-1.0.0.524}/PKG-INFO +1 -1
  2. {samba_ilum-1.0.0.523 → samba_ilum-1.0.0.524}/SAMBA_ilum.egg-info/PKG-INFO +1 -1
  3. {samba_ilum-1.0.0.523 → samba_ilum-1.0.0.524}/SAMBA_ilum.egg-info/SOURCES.txt +1 -0
  4. {samba_ilum-1.0.0.523 → samba_ilum-1.0.0.524}/samba_ilum/__main__.py +1 -1
  5. {samba_ilum-1.0.0.523 → samba_ilum-1.0.0.524}/samba_ilum/src/HeteroStructure_Generator.py +84 -85
  6. samba_ilum-1.0.0.524/samba_ilum/src/data-base_json_fix.py +880 -0
  7. {samba_ilum-1.0.0.523 → samba_ilum-1.0.0.524}/setup.py +1 -1
  8. {samba_ilum-1.0.0.523 → samba_ilum-1.0.0.524}/LICENSE.txt +0 -0
  9. {samba_ilum-1.0.0.523 → samba_ilum-1.0.0.524}/README.md +0 -0
  10. {samba_ilum-1.0.0.523 → samba_ilum-1.0.0.524}/SAMBA_ilum.egg-info/dependency_links.txt +0 -0
  11. {samba_ilum-1.0.0.523 → samba_ilum-1.0.0.524}/SAMBA_ilum.egg-info/entry_points.txt +0 -0
  12. {samba_ilum-1.0.0.523 → samba_ilum-1.0.0.524}/SAMBA_ilum.egg-info/requires.txt +0 -0
  13. {samba_ilum-1.0.0.523 → samba_ilum-1.0.0.524}/SAMBA_ilum.egg-info/top_level.txt +0 -0
  14. {samba_ilum-1.0.0.523 → samba_ilum-1.0.0.524}/samba_ilum/__init__.py +0 -0
  15. {samba_ilum-1.0.0.523 → samba_ilum-1.0.0.524}/samba_ilum/src/BZ_2D.py +0 -0
  16. {samba_ilum-1.0.0.523 → samba_ilum-1.0.0.524}/samba_ilum/src/INPUTS/Hubbard_U_values.txt +0 -0
  17. {samba_ilum-1.0.0.523 → samba_ilum-1.0.0.524}/samba_ilum/src/INPUTS/INCAR_a-scan +0 -0
  18. {samba_ilum-1.0.0.523 → samba_ilum-1.0.0.524}/samba_ilum/src/INPUTS/INCAR_bader +0 -0
  19. {samba_ilum-1.0.0.523 → samba_ilum-1.0.0.524}/samba_ilum/src/INPUTS/INCAR_bader.SO +0 -0
  20. {samba_ilum-1.0.0.523 → samba_ilum-1.0.0.524}/samba_ilum/src/INPUTS/INCAR_bands +0 -0
  21. {samba_ilum-1.0.0.523 → samba_ilum-1.0.0.524}/samba_ilum/src/INPUTS/INCAR_bands.SO +0 -0
  22. {samba_ilum-1.0.0.523 → samba_ilum-1.0.0.524}/samba_ilum/src/INPUTS/INCAR_dos +0 -0
  23. {samba_ilum-1.0.0.523 → samba_ilum-1.0.0.524}/samba_ilum/src/INPUTS/INCAR_dos.SO +0 -0
  24. {samba_ilum-1.0.0.523 → samba_ilum-1.0.0.524}/samba_ilum/src/INPUTS/INCAR_relax +0 -0
  25. {samba_ilum-1.0.0.523 → samba_ilum-1.0.0.524}/samba_ilum/src/INPUTS/INCAR_scf +0 -0
  26. {samba_ilum-1.0.0.523 → samba_ilum-1.0.0.524}/samba_ilum/src/INPUTS/INCAR_scf.SO +0 -0
  27. {samba_ilum-1.0.0.523 → samba_ilum-1.0.0.524}/samba_ilum/src/INPUTS/INCAR_xy-scan +0 -0
  28. {samba_ilum-1.0.0.523 → samba_ilum-1.0.0.524}/samba_ilum/src/INPUTS/INCAR_xyz-scan +0 -0
  29. {samba_ilum-1.0.0.523 → samba_ilum-1.0.0.524}/samba_ilum/src/INPUTS/INCAR_z-scan +0 -0
  30. {samba_ilum-1.0.0.523 → samba_ilum-1.0.0.524}/samba_ilum/src/INPUTS/SAMBA_HeteroStructure.input +0 -0
  31. {samba_ilum-1.0.0.523 → samba_ilum-1.0.0.524}/samba_ilum/src/INPUTS/SAMBA_WorkFlow.input +0 -0
  32. {samba_ilum-1.0.0.523 → samba_ilum-1.0.0.524}/samba_ilum/src/INPUTS/inputs_VASProcar/input.vasprocar.bands +0 -0
  33. {samba_ilum-1.0.0.523 → samba_ilum-1.0.0.524}/samba_ilum/src/INPUTS/inputs_VASProcar/input.vasprocar.chgcar +0 -0
  34. {samba_ilum-1.0.0.523 → samba_ilum-1.0.0.524}/samba_ilum/src/INPUTS/inputs_VASProcar/input.vasprocar.dos +0 -0
  35. {samba_ilum-1.0.0.523 → samba_ilum-1.0.0.524}/samba_ilum/src/INPUTS/inputs_VASProcar/input.vasprocar.location +0 -0
  36. {samba_ilum-1.0.0.523 → samba_ilum-1.0.0.524}/samba_ilum/src/INPUTS/inputs_VASProcar/input.vasprocar.locpot +0 -0
  37. {samba_ilum-1.0.0.523 → samba_ilum-1.0.0.524}/samba_ilum/src/INPUTS/inputs_VASProcar/input.vasprocar.orbitals +0 -0
  38. {samba_ilum-1.0.0.523 → samba_ilum-1.0.0.524}/samba_ilum/src/INPUTS/inputs_VASProcar/input.vasprocar.spin +0 -0
  39. {samba_ilum-1.0.0.523 → samba_ilum-1.0.0.524}/samba_ilum/src/INPUTS/vdw_kernel.bindat +0 -0
  40. {samba_ilum-1.0.0.523 → samba_ilum-1.0.0.524}/samba_ilum/src/_info_pseudo.py +0 -0
  41. {samba_ilum-1.0.0.523 → samba_ilum-1.0.0.524}/samba_ilum/src/a-scan.py +0 -0
  42. {samba_ilum-1.0.0.523 → samba_ilum-1.0.0.524}/samba_ilum/src/a-scan_analysis.py +0 -0
  43. {samba_ilum-1.0.0.523 → samba_ilum-1.0.0.524}/samba_ilum/src/bader +0 -0
  44. {samba_ilum-1.0.0.523 → samba_ilum-1.0.0.524}/samba_ilum/src/bader_poscar.py +0 -0
  45. {samba_ilum-1.0.0.523 → samba_ilum-1.0.0.524}/samba_ilum/src/bader_update.py +0 -0
  46. {samba_ilum-1.0.0.523 → samba_ilum-1.0.0.524}/samba_ilum/src/cell_check.py +0 -0
  47. {samba_ilum-1.0.0.523 → samba_ilum-1.0.0.524}/samba_ilum/src/charge_transfer.py +0 -0
  48. {samba_ilum-1.0.0.523 → samba_ilum-1.0.0.524}/samba_ilum/src/chgsum.pl +0 -0
  49. {samba_ilum-1.0.0.523 → samba_ilum-1.0.0.524}/samba_ilum/src/contcar_update.py +0 -0
  50. {samba_ilum-1.0.0.523 → samba_ilum-1.0.0.524}/samba_ilum/src/data-base_json.py +0 -0
  51. {samba_ilum-1.0.0.523 → samba_ilum-1.0.0.524}/samba_ilum/src/data-base_union.py +0 -0
  52. {samba_ilum-1.0.0.523 → samba_ilum-1.0.0.524}/samba_ilum/src/energy_scan.py +0 -0
  53. {samba_ilum-1.0.0.523 → samba_ilum-1.0.0.524}/samba_ilum/src/hubbard_correction.py +0 -0
  54. {samba_ilum-1.0.0.523 → samba_ilum-1.0.0.524}/samba_ilum/src/job.py +0 -0
  55. {samba_ilum-1.0.0.523 → samba_ilum-1.0.0.524}/samba_ilum/src/kpoints.py +0 -0
  56. {samba_ilum-1.0.0.523 → samba_ilum-1.0.0.524}/samba_ilum/src/lattice_plot3d.py +0 -0
  57. {samba_ilum-1.0.0.523 → samba_ilum-1.0.0.524}/samba_ilum/src/make_files.py +0 -0
  58. {samba_ilum-1.0.0.523 → samba_ilum-1.0.0.524}/samba_ilum/src/output.py +0 -0
  59. {samba_ilum-1.0.0.523 → samba_ilum-1.0.0.524}/samba_ilum/src/potcar.py +0 -0
  60. {samba_ilum-1.0.0.523 → samba_ilum-1.0.0.524}/samba_ilum/src/vdW_DF.py +0 -0
  61. {samba_ilum-1.0.0.523 → samba_ilum-1.0.0.524}/samba_ilum/src/xy-scan.py +0 -0
  62. {samba_ilum-1.0.0.523 → samba_ilum-1.0.0.524}/samba_ilum/src/xy-scan_analysis.py +0 -0
  63. {samba_ilum-1.0.0.523 → samba_ilum-1.0.0.524}/samba_ilum/src/xyz-scan.py +0 -0
  64. {samba_ilum-1.0.0.523 → samba_ilum-1.0.0.524}/samba_ilum/src/xyz-scan_analysis.py +0 -0
  65. {samba_ilum-1.0.0.523 → samba_ilum-1.0.0.524}/samba_ilum/src/z-scan.py +0 -0
  66. {samba_ilum-1.0.0.523 → samba_ilum-1.0.0.524}/samba_ilum/src/z-scan_analysis.py +0 -0
  67. {samba_ilum-1.0.0.523 → samba_ilum-1.0.0.524}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: SAMBA_ilum
3
- Version: 1.0.0.523
3
+ Version: 1.0.0.524
4
4
  Summary: ...
5
5
  Author: Augusto de Lelis Araujo
6
6
  Author-email: augusto-lelis@outlook.com
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: SAMBA_ilum
3
- Version: 1.0.0.523
3
+ Version: 1.0.0.524
4
4
  Summary: ...
5
5
  Author: Augusto de Lelis Araujo
6
6
  Author-email: augusto-lelis@outlook.com
@@ -23,6 +23,7 @@ samba_ilum/src/charge_transfer.py
23
23
  samba_ilum/src/chgsum.pl
24
24
  samba_ilum/src/contcar_update.py
25
25
  samba_ilum/src/data-base_json.py
26
+ samba_ilum/src/data-base_json_fix.py
26
27
  samba_ilum/src/data-base_union.py
27
28
  samba_ilum/src/energy_scan.py
28
29
  samba_ilum/src/hubbard_correction.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.0.0.523'
19
+ version = '1.0.0.524'
20
20
 
21
21
  print(" ")
22
22
  print("=============================================================")
@@ -1842,91 +1842,6 @@ for i in range(len(files0)):
1842
1842
  #--------------------------------
1843
1843
 
1844
1844
 
1845
- #=====================================================================
1846
- # Renaming POSCAR files for better data organization =================
1847
- #=====================================================================
1848
- # coord_direct = [0.0, 0.1, (2/9), (1/6), 0.2, (2/9), 0.25, 0.3, (1/3), 0.4, (4/9), 0.5, (5/9), 0.6, (2/3), 0.7, (7/9), 0.75, 0.8, (8/9), (5/6), 0.9, (9/9), 1.0]
1849
- files = os.listdir(diret2)
1850
- #--------------------------
1851
- for i in range(len(files)):
1852
- #------------------------------------
1853
- poscar = open(diret2 + files[i], "r")
1854
- #------------------------------------
1855
- VTemp = poscar.readline().split()
1856
- if (n_Lattice == 2):
1857
- var_area = str(VTemp[11])
1858
- rotation_angle = str(VTemp[27])
1859
- if (n_Lattice == 3):
1860
- var_area = str(VTemp[12])
1861
- rotation_angle = str(VTemp[28])
1862
-
1863
- #-------------------------
1864
- VTemp1 = VTemp[-1].split()
1865
- #-------------------------
1866
-
1867
- #-------------------------------------------------------
1868
- VTemp = poscar.readline()
1869
- param = float(VTemp)
1870
- #-------------------------------------------------------
1871
- A = poscar.readline().split()
1872
- B = poscar.readline().split()
1873
-
1874
- for ii in range(3): VTemp = poscar.readline().split()
1875
- nion = 0
1876
- for j in range(len(VTemp)): nion += int(VTemp[j])
1877
- if (nion < 10): n_ion = '00' + str(nion) + 'atoms'
1878
- if (nion >= 10 and nion < 100): n_ion = '0' + str(nion) + 'atoms'
1879
- if (nion >= 100): n_ion = '' + str(nion) + 'atoms'
1880
- #------------------------------------------------------------------
1881
- poscar.close()
1882
- #-------------
1883
-
1884
- #-------------------------------------------------------------
1885
- if ((i+1) < 10): number = '000' + str(i+1)
1886
- if ((i+1) >= 10 and (i+1) < 100): number = '00' + str(i+1)
1887
- if ((i+1) >= 100 and (i+1) < 1000): number = '0' + str(i+1)
1888
- if ((i+1) >= 1000): number = '' + str(i+1)
1889
- #-------------------------------------------------------------
1890
-
1891
- #-------------------------------------
1892
- current_name = diret2 + files[i]
1893
- if (n_Lattice == 2):
1894
- new_name = diret2 + n_ion + '_' + var_area + '_' + rotation_angle + '_' + str(VTemp1[-1]) + '+' + number + '.vasp'
1895
- if (n_Lattice == 3):
1896
- new_name = diret2 + n_ion + '_' + var_area + '_' + rotation_angle + '_'+ str(VTemp1[-1]) + '+' + number + '.vasp'
1897
- os.rename(current_name, new_name)
1898
- #--------------------------------
1899
-
1900
- #---------------------------
1901
- poscar = open(new_name, "r")
1902
- VTemp = poscar.readline().split()
1903
- poscar.close()
1904
- #-------------
1905
- t_VTemp = ''
1906
- for ii in range(len(VTemp) -1):
1907
- t_VTemp += str(VTemp[ii]) + ' '
1908
- if (n_Lattice > 1):
1909
- for ii in range(n_Lattice): t_VTemp += id_materials[ii] + ' '
1910
- t_VTemp += str(VTemp[len(VTemp)-1])
1911
- #=-------------------------------------------------------
1912
- with open(new_name, 'r') as file: line = file.readlines()
1913
- #=-------------------------------------------------------
1914
- line[0] = t_VTemp + '+' + number + '\n'
1915
- #--------------------------------------
1916
- """
1917
- for ii in range(nion):
1918
- VTemp = line[8+ii].split()
1919
- for ij in range(3):
1920
- VTemp[ij] = float(VTemp[ij])
1921
- for ik in range(len(coord_direct)):
1922
- if (abs(VTemp[ij] -coord_direct[ik]) < 0.0001): VTemp[ij] = coord_direct[ik]
1923
- line[8+ii] = str(VTemp[0]) + ' ' + str(VTemp[1]) + ' ' + str(VTemp[2]) + '\n'
1924
- """
1925
- #------------------------------------------------------
1926
- with open(new_name, 'w') as file: file.writelines(line)
1927
- #------------------------------------------------------
1928
-
1929
-
1930
1845
  #=====================================================================
1931
1846
  # Filtering/Excluding Similar POSCAR Files ===========================
1932
1847
  #=====================================================================
@@ -2039,6 +1954,90 @@ if (n_structures > 1): print(f'{n_structures} cells were found')
2039
1954
  print(f'============================================')
2040
1955
 
2041
1956
 
1957
+ #=====================================================================
1958
+ # Renaming POSCAR files for better data organization =================
1959
+ #=====================================================================
1960
+ files = os.listdir(diret2)
1961
+ #--------------------------
1962
+ for i in range(len(files)):
1963
+ #------------------------------------
1964
+ poscar = open(diret2 + files[i], "r")
1965
+ #------------------------------------
1966
+ VTemp = poscar.readline().split()
1967
+ if (n_Lattice == 2):
1968
+ var_area = str(VTemp[11])
1969
+ rotation_angle = str(VTemp[27])
1970
+ if (n_Lattice == 3):
1971
+ var_area = str(VTemp[12])
1972
+ rotation_angle = str(VTemp[28])
1973
+
1974
+ #-------------------------
1975
+ VTemp1 = VTemp[-1].split()
1976
+ #-------------------------
1977
+
1978
+ #-------------------------------------------------------
1979
+ VTemp = poscar.readline()
1980
+ param = float(VTemp)
1981
+ #-------------------------------------------------------
1982
+ A = poscar.readline().split()
1983
+ B = poscar.readline().split()
1984
+
1985
+ for ii in range(3): VTemp = poscar.readline().split()
1986
+ nion = 0
1987
+ for j in range(len(VTemp)): nion += int(VTemp[j])
1988
+ if (nion < 10): n_ion = '00' + str(nion) + 'atoms'
1989
+ if (nion >= 10 and nion < 100): n_ion = '0' + str(nion) + 'atoms'
1990
+ if (nion >= 100): n_ion = '' + str(nion) + 'atoms'
1991
+ #------------------------------------------------------------------
1992
+ poscar.close()
1993
+ #-------------
1994
+
1995
+ #-------------------------------------------------------------
1996
+ if ((i+1) < 10): number = '000' + str(i+1)
1997
+ if ((i+1) >= 10 and (i+1) < 100): number = '00' + str(i+1)
1998
+ if ((i+1) >= 100 and (i+1) < 1000): number = '0' + str(i+1)
1999
+ if ((i+1) >= 1000): number = '' + str(i+1)
2000
+ #-------------------------------------------------------------
2001
+
2002
+ #-------------------------------------
2003
+ current_name = diret2 + files[i]
2004
+ if (n_Lattice == 2):
2005
+ new_name = diret2 + n_ion + '_' + var_area + '_' + rotation_angle + '_' + str(VTemp1[-1]) + '+' + number + '.vasp'
2006
+ if (n_Lattice == 3):
2007
+ new_name = diret2 + n_ion + '_' + var_area + '_' + rotation_angle + '_'+ str(VTemp1[-1]) + '+' + number + '.vasp'
2008
+ os.rename(current_name, new_name)
2009
+ #--------------------------------
2010
+
2011
+ #---------------------------
2012
+ poscar = open(new_name, "r")
2013
+ VTemp = poscar.readline().split()
2014
+ poscar.close()
2015
+ #-------------
2016
+ t_VTemp = ''
2017
+ for ii in range(len(VTemp) -1):
2018
+ t_VTemp += str(VTemp[ii]) + ' '
2019
+ if (n_Lattice > 1):
2020
+ for ii in range(n_Lattice): t_VTemp += id_materials[ii] + ' '
2021
+ t_VTemp += str(VTemp[len(VTemp)-1])
2022
+ #=-------------------------------------------------------
2023
+ with open(new_name, 'r') as file: line = file.readlines()
2024
+ #=-------------------------------------------------------
2025
+ line[0] = t_VTemp + '_' + str(nion) + 'atoms' + '+' + number + '\n'
2026
+ #------------------------------------------------------------------
2027
+ """
2028
+ for ii in range(nion):
2029
+ VTemp = line[8+ii].split()
2030
+ for ij in range(3):
2031
+ VTemp[ij] = float(VTemp[ij])
2032
+ for ik in range(len(coord_direct)):
2033
+ if (abs(VTemp[ij] -coord_direct[ik]) < 0.0001): VTemp[ij] = coord_direct[ik]
2034
+ line[8+ii] = str(VTemp[0]) + ' ' + str(VTemp[1]) + ' ' + str(VTemp[2]) + '\n'
2035
+ """
2036
+ #------------------------------------------------------
2037
+ with open(new_name, 'w') as file: file.writelines(line)
2038
+ #------------------------------------------------------
2039
+
2040
+
2042
2041
  #=====================================================================
2043
2042
  # Adjusting direct coordinates of lattices ===========================
2044
2043
  #=====================================================================