TB2J 0.8.2.5__py3-none-any.whl → 0.8.2.7__py3-none-any.whl
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.
- TB2J/Oiju.py +0 -12
- TB2J/Oiju_epc.py +0 -8
- TB2J/__init__.py +1 -1
- TB2J/exchange.py +32 -54
- TB2J/exchangeCL2.py +11 -16
- TB2J/exchange_pert.py +1 -1
- TB2J/green.py +0 -3
- TB2J/manager.py +0 -20
- {TB2J-0.8.2.5.data → TB2J-0.8.2.7.data}/scripts/siesta2J.py +0 -10
- {TB2J-0.8.2.5.data → TB2J-0.8.2.7.data}/scripts/wann2J.py +0 -22
- {TB2J-0.8.2.5.dist-info → TB2J-0.8.2.7.dist-info}/METADATA +1 -1
- {TB2J-0.8.2.5.dist-info → TB2J-0.8.2.7.dist-info}/RECORD +22 -22
- {TB2J-0.8.2.5.data → TB2J-0.8.2.7.data}/scripts/TB2J_downfold.py +0 -0
- {TB2J-0.8.2.5.data → TB2J-0.8.2.7.data}/scripts/TB2J_eigen.py +0 -0
- {TB2J-0.8.2.5.data → TB2J-0.8.2.7.data}/scripts/TB2J_magnon.py +0 -0
- {TB2J-0.8.2.5.data → TB2J-0.8.2.7.data}/scripts/TB2J_magnon_dos.py +0 -0
- {TB2J-0.8.2.5.data → TB2J-0.8.2.7.data}/scripts/TB2J_merge.py +0 -0
- {TB2J-0.8.2.5.data → TB2J-0.8.2.7.data}/scripts/TB2J_rotate.py +0 -0
- {TB2J-0.8.2.5.data → TB2J-0.8.2.7.data}/scripts/abacus2J.py +0 -0
- {TB2J-0.8.2.5.dist-info → TB2J-0.8.2.7.dist-info}/LICENSE +0 -0
- {TB2J-0.8.2.5.dist-info → TB2J-0.8.2.7.dist-info}/WHEEL +0 -0
- {TB2J-0.8.2.5.dist-info → TB2J-0.8.2.7.dist-info}/top_level.txt +0 -0
TB2J/Oiju.py
CHANGED
@@ -45,10 +45,6 @@ def gen_exchange_Oiju(
|
|
45
45
|
kmesh=[5, 5, 5],
|
46
46
|
emin=-12.0,
|
47
47
|
emax=0.0,
|
48
|
-
height=0.2,
|
49
|
-
nz1=50,
|
50
|
-
nz2=200,
|
51
|
-
nz3=50,
|
52
48
|
exclude_orbs=[],
|
53
49
|
Rmesh=[1, 1, 1],
|
54
50
|
description="",
|
@@ -93,10 +89,6 @@ def gen_exchange_Oiju(
|
|
93
89
|
kmesh=kmesh,
|
94
90
|
emin=emin,
|
95
91
|
emax=emax,
|
96
|
-
height=height,
|
97
|
-
nz1=nz1,
|
98
|
-
nz2=nz2,
|
99
|
-
nz3=nz3,
|
100
92
|
exclude_orbs=exclude_orbs,
|
101
93
|
Rmesh=Rmesh,
|
102
94
|
description=description,
|
@@ -123,10 +115,6 @@ if __name__ == "__main__":
|
|
123
115
|
kmesh=[4, 4, 4],
|
124
116
|
emin=-12.0,
|
125
117
|
emax=0.0,
|
126
|
-
height=0.1,
|
127
|
-
nz1=50,
|
128
|
-
nz2=200,
|
129
|
-
nz3=50,
|
130
118
|
exclude_orbs=[],
|
131
119
|
Rmesh=[1, 1, 1],
|
132
120
|
description="",
|
TB2J/Oiju_epc.py
CHANGED
@@ -19,10 +19,6 @@ class OijuWannEPC(ExchangeCL2):
|
|
19
19
|
kmesh=[4, 4, 4],
|
20
20
|
emin=-15, # integration lower bound, relative to fermi energy
|
21
21
|
emax=0.05, # integration upper bound. Should be 0 (fermi energy). But DFT codes define Fermi energy in various ways.
|
22
|
-
height=0.5, # the delta in the (i delta) in green's function to prevent divergence
|
23
|
-
nz1=150, # grid from emin to emin+(i delta)
|
24
|
-
nz2=300, # grid from emin +(i delta) to emax+(i delta)
|
25
|
-
nz3=150, # grid from emax + (i delta) to emax
|
26
22
|
exclude_orbs=[], #
|
27
23
|
Rmesh=[0, 0, 0], # Rmesh.
|
28
24
|
description="",
|
@@ -40,10 +36,6 @@ class OijuWannEPC(ExchangeCL2):
|
|
40
36
|
emin=-15, # integration lower bound, relative to fermi energy
|
41
37
|
emax=0.05, # integration upper bound. Should be 0 (fermi energy).
|
42
38
|
# But DFT codes define Fermi energy in various ways.
|
43
|
-
height=0.5, # the delta in the (i delta) in green's function.
|
44
|
-
nz1=150, # grid from emin to emin+(i delta)
|
45
|
-
nz2=300, # grid from emin +(i delta) to emax+(i delta)
|
46
|
-
nz3=150, # grid from emax + (i delta) to emax
|
47
39
|
exclude_orbs=[], #
|
48
40
|
Rmesh=[0, 0, 0], # Rmesh.
|
49
41
|
description="",
|
TB2J/__init__.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
__version__ = "0.8.2.
|
1
|
+
__version__ = "0.8.2.7"
|
TB2J/exchange.py
CHANGED
@@ -26,10 +26,6 @@ class ExchangeParams:
|
|
26
26
|
emax=0.05,
|
27
27
|
nz=100,
|
28
28
|
# the delta in the (i delta) in green's function to prevent divergence
|
29
|
-
height=0.5,
|
30
|
-
nz1=150, # grid from emin to emin+(i delta)
|
31
|
-
nz2=300, # grid from emin +(i delta) to emax+(i delta)
|
32
|
-
nz3=150, # grid from emax + (i delta) to emax
|
33
29
|
exclude_orbs=[], #
|
34
30
|
ne=None, # number of electrons in Wannier function.
|
35
31
|
Rcut=None, # Rcut.
|
@@ -44,12 +40,6 @@ class ExchangeParams:
|
|
44
40
|
self.emin = emin
|
45
41
|
self.emax = emax
|
46
42
|
self.nz = nz
|
47
|
-
self.height = height
|
48
|
-
self.nz1 = nz1
|
49
|
-
self.nz2 = nz2
|
50
|
-
self.nz3 = nz3
|
51
|
-
if nz is None:
|
52
|
-
self.nz = nz1 + nz2 + nz3
|
53
43
|
self.Rcut = Rcut
|
54
44
|
self.basis = basis
|
55
45
|
self.magnetic_elements = magnetic_elements
|
@@ -81,10 +71,6 @@ class Exchange(ExchangeParams):
|
|
81
71
|
emax=0.05,
|
82
72
|
nz=100,
|
83
73
|
# the delta in the (i delta) in green's function to prevent divergence
|
84
|
-
height=0.5,
|
85
|
-
nz1=150, # grid from emin to emin+(i delta)
|
86
|
-
nz2=300, # grid from emin +(i delta) to emax+(i delta)
|
87
|
-
nz3=150, # grid from emax + (i delta) to emax
|
88
74
|
exclude_orbs=[], #
|
89
75
|
ne=None, # number of electrons in Wannier function.
|
90
76
|
Rcut=None, # Rcut.
|
@@ -105,10 +91,6 @@ class Exchange(ExchangeParams):
|
|
105
91
|
emin=emin,
|
106
92
|
emax=emax,
|
107
93
|
nz=nz,
|
108
|
-
height=height,
|
109
|
-
nz1=nz1,
|
110
|
-
nz2=nz2,
|
111
|
-
nz3=nz3,
|
112
94
|
exclude_orbs=exclude_orbs,
|
113
95
|
ne=ne,
|
114
96
|
Rcut=Rcut,
|
@@ -164,11 +146,11 @@ class Exchange(ExchangeParams):
|
|
164
146
|
emin --1-> emin + 1j*height --2-> emax+1j*height --3-> emax
|
165
147
|
"""
|
166
148
|
self.contour = Contour(self.emin, self.emax)
|
167
|
-
if method.lower() == "rectangle":
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
149
|
+
# if method.lower() == "rectangle":
|
150
|
+
# self.contour.build_path_rectangle(
|
151
|
+
# height=self.height, nz1=self.nz1, nz2=self.nz2, nz3=self.nz3
|
152
|
+
# )
|
153
|
+
if method.lower() == "semicircle":
|
172
154
|
self.contour.build_path_semicircle(npoints=self.nz, endpoint=True)
|
173
155
|
elif method.lower() == "legendre":
|
174
156
|
self.contour.build_path_legendre(npoints=self.nz, endpoint=True)
|
@@ -362,7 +344,8 @@ class ExchangeNCL(Exchange):
|
|
362
344
|
)
|
363
345
|
self.norb = self.G.norb
|
364
346
|
self.nbasis = self.G.nbasis
|
365
|
-
self.rho = np.zeros((self.nbasis, self.nbasis), dtype=complex)
|
347
|
+
# self.rho = np.zeros((self.nbasis, self.nbasis), dtype=complex)
|
348
|
+
self.rho = self.G.get_density_matrix().real
|
366
349
|
self.A_ijR_list = defaultdict(lambda: [])
|
367
350
|
self.A_ijR = defaultdict(lambda: np.zeros((4, 4), dtype=complex))
|
368
351
|
self.A_ijR_orb = dict()
|
@@ -595,22 +578,22 @@ class ExchangeNCL(Exchange):
|
|
595
578
|
B = np.imag(val[3, 3])
|
596
579
|
self.B[keyspin] = Jprime, B
|
597
580
|
|
598
|
-
def get_N_e(self, GR, de):
|
599
|
-
|
600
|
-
|
601
|
-
|
602
|
-
|
603
|
-
|
604
|
-
|
581
|
+
# def get_N_e(self, GR, de):
|
582
|
+
# """
|
583
|
+
# calcualte density matrix for all R,i, j
|
584
|
+
# """
|
585
|
+
# self.N = defaultdict(lambda: 0.0)
|
586
|
+
# for R, G in GR.items():
|
587
|
+
# self.N[R] += -1.0 / np.pi * np.imag(G * de)
|
605
588
|
|
606
|
-
def get_rho_e(self, rhoR):
|
607
|
-
|
608
|
-
|
609
|
-
|
610
|
-
|
589
|
+
# def get_rho_e(self, rhoR):
|
590
|
+
# """add component to density matrix from a green's function
|
591
|
+
# :param GR: Green's funciton in real space.
|
592
|
+
# """
|
593
|
+
# return -1.0 / np.pi * rhoR[0, 0, 0]
|
611
594
|
|
612
|
-
def get_total_charges(self):
|
613
|
-
|
595
|
+
# def get_total_charges(self):
|
596
|
+
# return np.sum(np.imag(np.diag(self.rho)))
|
614
597
|
|
615
598
|
def get_rho_atom(self):
|
616
599
|
"""
|
@@ -623,9 +606,9 @@ class ExchangeNCL(Exchange):
|
|
623
606
|
iorb = self.iorb(iatom)
|
624
607
|
tmp = self.rho[np.ix_(iorb, iorb)]
|
625
608
|
# *2 because there is a 1/2 in the paui_block_all function
|
626
|
-
rho[iatom] = np.array([np.trace(x) * 2 for x in pauli_block_all(tmp)])
|
627
|
-
self.charges[iatom] =
|
628
|
-
self.spinat[iatom, :] =
|
609
|
+
rho[iatom] = np.array([np.trace(x) * 2 for x in pauli_block_all(tmp)]).real
|
610
|
+
self.charges[iatom] = rho[iatom][0]
|
611
|
+
self.spinat[iatom, :] = rho[iatom][1:]
|
629
612
|
self.rho_dict = rho
|
630
613
|
return self.rho_dict
|
631
614
|
|
@@ -676,7 +659,7 @@ class ExchangeNCL(Exchange):
|
|
676
659
|
self.Ddict_NJT = Ddict_NJT
|
677
660
|
return Ddict_NJT
|
678
661
|
|
679
|
-
def integrate(self,
|
662
|
+
def integrate(self, AijRs, AijRs_orb=None, method="simpson"):
|
680
663
|
"""
|
681
664
|
AijRs: a list of AijR,
|
682
665
|
wherer AijR: array of ((nR, n, n, 4,4), dtype=complex)
|
@@ -686,7 +669,7 @@ class ExchangeNCL(Exchange):
|
|
686
669
|
elif method == "simpson":
|
687
670
|
integrate = simpson_nonuniform
|
688
671
|
|
689
|
-
self.rho = integrate(self.contour.path, rhoRs)
|
672
|
+
# self.rho = integrate(self.contour.path, rhoRs)
|
690
673
|
for iR, R in enumerate(self.R_ijatom_dict):
|
691
674
|
for iatom, jatom in self.R_ijatom_dict[R]:
|
692
675
|
f = AijRs[(R, iatom, jatom)]
|
@@ -696,10 +679,10 @@ class ExchangeNCL(Exchange):
|
|
696
679
|
self.contour.path, AijRs_orb[(R, iatom, jatom)]
|
697
680
|
)
|
698
681
|
|
699
|
-
def
|
700
|
-
GR
|
682
|
+
def get_AijR(self, e):
|
683
|
+
GR = self.G.get_GR(self.short_Rlist, energy=e, get_rho=False)
|
701
684
|
AijR, AijR_orb = self.get_all_A(GR)
|
702
|
-
return AijR, AijR_orb
|
685
|
+
return AijR, AijR_orb
|
703
686
|
|
704
687
|
def save_AijR(self, AijRs, fname):
|
705
688
|
result = dict(path=self.contour.path, AijRs=AijRs)
|
@@ -717,7 +700,6 @@ class ExchangeNCL(Exchange):
|
|
717
700
|
"""
|
718
701
|
print("Green's function Calculation started.")
|
719
702
|
|
720
|
-
rhoRs = []
|
721
703
|
AijRs = {}
|
722
704
|
|
723
705
|
AijRs_orb = {}
|
@@ -726,11 +708,9 @@ class ExchangeNCL(Exchange):
|
|
726
708
|
|
727
709
|
npole = len(self.contour.path)
|
728
710
|
if self.np > 1:
|
729
|
-
|
730
|
-
# results = executor.map(self.get_AijR_rhoR, self.contour.path)
|
731
|
-
results = p_map(self.get_AijR_rhoR, self.contour.path, num_cpus=self.np)
|
711
|
+
results = p_map(self.get_AijR, self.contour.path, num_cpus=self.np)
|
732
712
|
else:
|
733
|
-
results = map(self.
|
713
|
+
results = map(self.get_AijR, tqdm(self.contour.path, total=npole))
|
734
714
|
|
735
715
|
for i, result in enumerate(results):
|
736
716
|
for iR, R in enumerate(self.R_ijatom_dict):
|
@@ -750,7 +730,6 @@ class ExchangeNCL(Exchange):
|
|
750
730
|
AijRs_orb[(R, iatom, jatom)].append(
|
751
731
|
result[1][R, iatom, jatom]
|
752
732
|
)
|
753
|
-
rhoRs.append(result[2])
|
754
733
|
if self.np > 1:
|
755
734
|
# executor.close()
|
756
735
|
# executor.join()
|
@@ -758,8 +737,7 @@ class ExchangeNCL(Exchange):
|
|
758
737
|
pass
|
759
738
|
|
760
739
|
# self.save_AijRs(AijRs)
|
761
|
-
self.integrate(
|
762
|
-
|
740
|
+
self.integrate(AijRs, AijRs_orb)
|
763
741
|
self.get_rho_atom()
|
764
742
|
self.A_to_Jtensor()
|
765
743
|
self.A_to_Jtensor_orb()
|
TB2J/exchangeCL2.py
CHANGED
@@ -42,10 +42,10 @@ class ExchangeCL2(ExchangeCL):
|
|
42
42
|
)
|
43
43
|
self.norb = self.Gup.norb
|
44
44
|
self.nbasis = self.Gup.nbasis + self.Gdn.nbasis
|
45
|
-
self.rho_up_list = []
|
46
|
-
self.rho_dn_list = []
|
47
|
-
self.rho_up =
|
48
|
-
self.rho_dn =
|
45
|
+
# self.rho_up_list = []
|
46
|
+
# self.rho_dn_list = []
|
47
|
+
self.rho_up = self.Gup.get_density_matrix()
|
48
|
+
self.rho_dn = self.Gdn.get_density_matrix()
|
49
49
|
self.Jorb_list = defaultdict(lambda: [])
|
50
50
|
self.JJ_list = defaultdict(lambda: [])
|
51
51
|
self.JJ = defaultdict(lambda: 0.0j)
|
@@ -225,8 +225,6 @@ class ExchangeCL2(ExchangeCL):
|
|
225
225
|
integrate = trapezoidal_nonuniform
|
226
226
|
elif method == "simpson":
|
227
227
|
integrate = simpson_nonuniform
|
228
|
-
self.rho_up = np.imag(integrate(self.contour.path, self.rho_up_list))
|
229
|
-
self.rho_dn = np.imag(integrate(self.contour.path, self.rho_dn_list))
|
230
228
|
for R, ijpairs in self.R_ijatom_dict.items():
|
231
229
|
for iatom, jatom in ijpairs:
|
232
230
|
self.Jorb[(R, iatom, jatom)] = integrate(
|
@@ -236,12 +234,11 @@ class ExchangeCL2(ExchangeCL):
|
|
236
234
|
self.contour.path, self.JJ_list[(R, iatom, jatom)]
|
237
235
|
)
|
238
236
|
|
239
|
-
def
|
240
|
-
GR_up
|
241
|
-
GR_dn
|
242
|
-
rup, rdn = self.get_rho_e(rho_up, rho_dn)
|
237
|
+
def get_AijR(self, e):
|
238
|
+
GR_up = self.Gup.get_GR(self.short_Rlist, energy=e, get_rho=False)
|
239
|
+
GR_dn = self.Gdn.get_GR(self.short_Rlist, energy=e, get_rho=False)
|
243
240
|
Jorb_list, JJ_list = self.get_all_A(GR_up, GR_dn)
|
244
|
-
return
|
241
|
+
return Jorb_list, JJ_list
|
245
242
|
|
246
243
|
def calculate_all(self):
|
247
244
|
"""
|
@@ -251,15 +248,13 @@ class ExchangeCL2(ExchangeCL):
|
|
251
248
|
|
252
249
|
npole = len(self.contour.path)
|
253
250
|
if self.np == 1:
|
254
|
-
results = map(self.
|
251
|
+
results = map(self.get_AijR, tqdm(self.contour.path, total=npole))
|
255
252
|
else:
|
256
253
|
# pool = ProcessPool(nodes=self.np)
|
257
254
|
# results = pool.map(self.get_AijR_rhoR ,self.contour.path)
|
258
|
-
results = p_map(self.
|
255
|
+
results = p_map(self.get_AijR, self.contour.path, num_cpus=self.np)
|
259
256
|
for i, result in enumerate(results):
|
260
|
-
|
261
|
-
self.rho_up_list.append(rup)
|
262
|
-
self.rho_dn_list.append(rdn)
|
257
|
+
Jorb_list, JJ_list = result
|
263
258
|
for iR, R in enumerate(self.R_ijatom_dict):
|
264
259
|
for iatom, jatom in self.R_ijatom_dict[R]:
|
265
260
|
key = (R, iatom, jatom)
|
TB2J/exchange_pert.py
CHANGED
@@ -194,7 +194,7 @@ class ExchangePert(ExchangeNCL):
|
|
194
194
|
e = self.contour.elist[ie]
|
195
195
|
de = self.contour.de[ie]
|
196
196
|
GR, dGdx = self.G.get_GR_and_dGRdx(self.Rlist, energy=e, dHdx=self.dHdx)
|
197
|
-
self.get_rho_e(GR, de)
|
197
|
+
# self.get_rho_e(GR, de)
|
198
198
|
self.get_all_A(GR, dGdx, de)
|
199
199
|
if self.calc_NJt:
|
200
200
|
self.get_N_e(GR, de)
|
TB2J/green.py
CHANGED
@@ -238,9 +238,6 @@ class TBGreen:
|
|
238
238
|
rho_R = np.zeros((nR, self.nbasis, self.nbasis), dtype=complex)
|
239
239
|
for ik, kpt in enumerate(self.kpts):
|
240
240
|
evec = self.get_evecs(ik)
|
241
|
-
# rhok=(evec * fermi(self.evals[ik], self.efermi)
|
242
|
-
# ) @ evec.T.conj()
|
243
|
-
# print(fermi(self.evals[ik] , self.efermi))
|
244
241
|
rhok = np.einsum(
|
245
242
|
"ib,b, bj-> ij", evec, fermi(self.evals[ik], self.efermi), evec.conj().T
|
246
243
|
)
|
TB2J/manager.py
CHANGED
@@ -27,10 +27,6 @@ def gen_exchange(
|
|
27
27
|
emin=-12.0,
|
28
28
|
emax=0.0,
|
29
29
|
nz=100,
|
30
|
-
height=0.2,
|
31
|
-
nz1=50,
|
32
|
-
nz2=200,
|
33
|
-
nz3=50,
|
34
30
|
exclude_orbs=[],
|
35
31
|
Rcut=None,
|
36
32
|
ne=None,
|
@@ -113,10 +109,6 @@ Warning: Please check if the noise level of Wannier function Hamiltonian to make
|
|
113
109
|
emin=emin,
|
114
110
|
emax=emax,
|
115
111
|
nz=nz,
|
116
|
-
height=height,
|
117
|
-
nz1=nz1,
|
118
|
-
nz2=nz2,
|
119
|
-
nz3=nz3,
|
120
112
|
exclude_orbs=exclude_orbs,
|
121
113
|
Rcut=Rcut,
|
122
114
|
ne=ne,
|
@@ -137,10 +129,6 @@ Warning: Please check if the noise level of Wannier function Hamiltonian to make
|
|
137
129
|
emin=emin,
|
138
130
|
emax=emax,
|
139
131
|
nz=nz,
|
140
|
-
height=height,
|
141
|
-
nz1=nz1,
|
142
|
-
nz2=nz2,
|
143
|
-
nz3=nz3,
|
144
132
|
exclude_orbs=exclude_orbs,
|
145
133
|
Rcut=Rcut,
|
146
134
|
ne=ne,
|
@@ -185,10 +173,6 @@ Warning: Please check if the noise level of Wannier function Hamiltonian to make
|
|
185
173
|
emin=emin,
|
186
174
|
emax=emax,
|
187
175
|
nz=nz,
|
188
|
-
height=height,
|
189
|
-
nz1=nz1,
|
190
|
-
nz2=nz2,
|
191
|
-
nz3=nz3,
|
192
176
|
exclude_orbs=exclude_orbs,
|
193
177
|
Rcut=Rcut,
|
194
178
|
ne=ne,
|
@@ -237,10 +221,6 @@ Warning: Please check if the noise level of Wannier function Hamiltonian to make
|
|
237
221
|
emin=emin,
|
238
222
|
emax=emax,
|
239
223
|
nz=nz,
|
240
|
-
height=height,
|
241
|
-
nz1=nz1,
|
242
|
-
nz2=nz2,
|
243
|
-
nz3=nz3,
|
244
224
|
exclude_orbs=exclude_orbs,
|
245
225
|
Rcut=Rcut,
|
246
226
|
ne=ne,
|
@@ -54,19 +54,9 @@ def run_siesta2J():
|
|
54
54
|
action="store_true",
|
55
55
|
default=False,
|
56
56
|
)
|
57
|
-
# parser.add_argument(
|
58
|
-
# '--height',
|
59
|
-
# help=
|
60
|
-
# 'energy contour, a small number (often between 0.1 to 0.5, default 0.2)',
|
61
|
-
# type=float,
|
62
|
-
# default=0.1)
|
63
57
|
parser.add_argument(
|
64
58
|
"--nz", help="number of integration steps. Default: 50", default=50, type=int
|
65
59
|
)
|
66
|
-
# parser.add_argument(
|
67
|
-
# '--nz2', help='number of steps 2, default: 200', default=200, type=int)
|
68
|
-
# parser.add_argument(
|
69
|
-
# '--nz3', help='number of steps 3, default: 50', default=50, type=int)
|
70
60
|
parser.add_argument(
|
71
61
|
"--cutoff",
|
72
62
|
help="The minimum of J amplitude to write, (in eV). Default: 1e-5 eV",
|
@@ -86,24 +86,6 @@ def run_wann2J():
|
|
86
86
|
default=100,
|
87
87
|
type=int,
|
88
88
|
)
|
89
|
-
# parser.add_argument(
|
90
|
-
# '--height',
|
91
|
-
# help=
|
92
|
-
# 'energy contour, a small number (often between 0.1 to 0.5, default 0.1)',
|
93
|
-
# type=float,
|
94
|
-
# default=0.1)
|
95
|
-
# parser.add_argument('--nz1',
|
96
|
-
# help='number of steps 1, default: 50',
|
97
|
-
# default=50,
|
98
|
-
# type=int)
|
99
|
-
# parser.add_argument('--nz2',
|
100
|
-
# help='number of steps 2, default: 200',
|
101
|
-
# default=200,
|
102
|
-
# type=int)
|
103
|
-
# parser.add_argument('--nz3',
|
104
|
-
# help='number of steps 3, default: 50',
|
105
|
-
# default=50,
|
106
|
-
# type=int)
|
107
89
|
parser.add_argument(
|
108
90
|
"--cutoff",
|
109
91
|
help="The minimum of J amplitude to write, (in eV), default is 1e-5 eV",
|
@@ -196,10 +178,6 @@ def run_wann2J():
|
|
196
178
|
emin=args.emin,
|
197
179
|
emax=args.emax,
|
198
180
|
nz=args.nz,
|
199
|
-
# height=args.height,
|
200
|
-
# nz1=args.nz1,
|
201
|
-
# nz2=args.nz2,
|
202
|
-
# nz3=args.nz3,
|
203
181
|
use_cache=args.use_cache,
|
204
182
|
np=args.np,
|
205
183
|
description=args.description,
|
@@ -1,24 +1,24 @@
|
|
1
1
|
TB2J/Jdownfolder.py,sha256=Nw2ixvn2Uq-o1wficz6rdaYHjfRN3U_kQCvrNJGNb68,6980
|
2
2
|
TB2J/Jtensor.py,sha256=0fhfOcfVQGu75gytEnApKWTJZfg9ksKJ0anJgco5wRQ,3179
|
3
|
-
TB2J/Oiju.py,sha256=
|
4
|
-
TB2J/Oiju_epc.py,sha256=
|
5
|
-
TB2J/__init__.py,sha256=
|
3
|
+
TB2J/Oiju.py,sha256=cNGv8N5uH_swGq7cnAt2OyiDfqtjLlLrwseGu0E4iaM,3383
|
4
|
+
TB2J/Oiju_epc.py,sha256=oytM3NYW7nWmklrGgNlqwIpI_JYv_hb7ZnR4o9nYNog,6809
|
5
|
+
TB2J/__init__.py,sha256=SgNb_x-EiSsKRMJsfDX9rLKVaPFJDAj-eBAlhqvvaFM,24
|
6
6
|
TB2J/basis.py,sha256=DFo6_QUwjBwisP6zGxvoO0lpGTMDPAOkiL9giNCjOjA,1558
|
7
7
|
TB2J/citation.py,sha256=gcQeyJZaT1Qrtsl8Y3s4neOH3-vvgmIcCvXeV2o3vj0,2891
|
8
8
|
TB2J/contour.py,sha256=aw8LX6wVFCRPhcpkzuI0jGnHisvk4cezvUhkF_6Yx94,2633
|
9
9
|
TB2J/cut_cell.py,sha256=kr9WeQhBQLm8QXL2B3NcsSYmSw-OAtJk3f9wksAOZbs,2952
|
10
10
|
TB2J/density_matrix.py,sha256=D5k8Oe21OCiLVORNYbo4TZOFG0slrQSbj91kJ3TMFjs,1514
|
11
11
|
TB2J/epc.py,sha256=zLbtqZJhDr8DnnGN6YENcXwrMb3Qxu6KB08mLy9Pw20,3474
|
12
|
-
TB2J/exchange.py,sha256=
|
13
|
-
TB2J/exchangeCL2.py,sha256=
|
14
|
-
TB2J/exchange_pert.py,sha256=
|
12
|
+
TB2J/exchange.py,sha256=UmZU5h91BPql3ylNALvzMJWTxkfzObZ1OVMxj2Hmp7A,29570
|
13
|
+
TB2J/exchangeCL2.py,sha256=TIr-d2X56AiGe4qEhyXyZhRuwXvQG6clJMwDmjnTOaE,10985
|
14
|
+
TB2J/exchange_pert.py,sha256=jmFMtQbYa_uczM4VAeS6TijkIHRFIqEzZJswzE9Wfuo,8523
|
15
15
|
TB2J/exchange_qspace.py,sha256=ZL68qBGFUaQ9BsSPsJaaoWOr9RssPiqX34R_9I3nk_8,8436
|
16
16
|
TB2J/gpaw_wrapper.py,sha256=aJ--9Dtyq7jOP1Hkh-Sh1nWcfXm6zKcljOCO0DNCAr0,6890
|
17
|
-
TB2J/green.py,sha256=
|
17
|
+
TB2J/green.py,sha256=UCDIkpH2HNVglvZZKnxigOOBMLdRBUpkiOqC13fitQE,13011
|
18
18
|
TB2J/greentest.py,sha256=2ISSfhor9ecSEOi_E6b4Cv26wEIQlwlzca0ru8z44_E,1603
|
19
19
|
TB2J/io_merge.py,sha256=2dYrQFHSnb_8fwbQiVod9GyaT-BotawA26eagXWUyMg,15265
|
20
20
|
TB2J/kpoints.py,sha256=6XK2KqTncidEq3o9GuO6VEZRPNTRtWeXg9QfcV-9smI,532
|
21
|
-
TB2J/manager.py,sha256=
|
21
|
+
TB2J/manager.py,sha256=4-4x9jJRHpUEqJuhc5HqpXfh2-Ze5G9Wg8gOtn-AqR4,15372
|
22
22
|
TB2J/mathutils.py,sha256=tHA6q3KPDpXLIbZHdDZ2NU5s886VVM_oEG490zQ6Ris,300
|
23
23
|
TB2J/myTB.py,sha256=cm9Kkyzi686QyoxrR3lm4rsSnE6Imee3-j2xM78XnGI,17721
|
24
24
|
TB2J/orbmap.py,sha256=RCMJkOPGbfPrcZzcc5ia1ZMKBQWxGcyj8W1ve8BJaEw,6669
|
@@ -63,17 +63,17 @@ TB2J/spinham/supercell.py,sha256=y17uUC6r3gQb278FhxIW4CABihfLTvKFj6flyXrCPR8,122
|
|
63
63
|
TB2J/wannier/__init__.py,sha256=7ojCbM84PYv1X1Tbo4NHI-d3gWmQsZB_xiYqbfxVV1E,80
|
64
64
|
TB2J/wannier/w90_parser.py,sha256=dbd63LuKyv2DVUzqRINGsbDzEsOxsQyE8_Ear_LQIRg,4620
|
65
65
|
TB2J/wannier/w90_tb_parser.py,sha256=qt8pnuprmPp9iIAYwPkPbmEzk6ZPgMq2xognoQp7vwc,4610
|
66
|
-
TB2J-0.8.2.
|
67
|
-
TB2J-0.8.2.
|
68
|
-
TB2J-0.8.2.
|
69
|
-
TB2J-0.8.2.
|
70
|
-
TB2J-0.8.2.
|
71
|
-
TB2J-0.8.2.
|
72
|
-
TB2J-0.8.2.
|
73
|
-
TB2J-0.8.2.
|
74
|
-
TB2J-0.8.2.
|
75
|
-
TB2J-0.8.2.
|
76
|
-
TB2J-0.8.2.
|
77
|
-
TB2J-0.8.2.
|
78
|
-
TB2J-0.8.2.
|
79
|
-
TB2J-0.8.2.
|
66
|
+
TB2J-0.8.2.7.data/scripts/TB2J_downfold.py,sha256=F9oImXFysejCMP7eIBjbCX2jdHFOCvDW5beF1sG-UM8,1854
|
67
|
+
TB2J-0.8.2.7.data/scripts/TB2J_eigen.py,sha256=Qs9v2hnMm2Tpfoa4h53muUKty2dZjwx8948MBoQooNg,1128
|
68
|
+
TB2J-0.8.2.7.data/scripts/TB2J_magnon.py,sha256=q7UwAmorRcFNk4tfE7gl_ny05l6p7pbD9Wm_LkIpKEw,3101
|
69
|
+
TB2J-0.8.2.7.data/scripts/TB2J_magnon_dos.py,sha256=TMXQvD2dIbO5FZ4tUMmxJgCgH2O2hDAPUNfEKO4z-x4,110
|
70
|
+
TB2J-0.8.2.7.data/scripts/TB2J_merge.py,sha256=uZKLM__EyCHwxrQvx3Wd73dOEADp_SqfYC8KQvA-N9g,1622
|
71
|
+
TB2J-0.8.2.7.data/scripts/TB2J_rotate.py,sha256=XPacPb7-DaFafBXFdWuNW_eNbjd5XPdNhBRNYhge_cg,634
|
72
|
+
TB2J-0.8.2.7.data/scripts/abacus2J.py,sha256=M4B07lvTCDczTPTqvnDh_PERzCARAd09TLKv4aIdSQM,4408
|
73
|
+
TB2J-0.8.2.7.data/scripts/siesta2J.py,sha256=hBzS7ZgoHM3oXlTCQd-xVA07Ks2FiIwyRpQWUFITRPE,4303
|
74
|
+
TB2J-0.8.2.7.data/scripts/wann2J.py,sha256=2t2hWwyELskYCwkGDziCgiIAnfr6odLLJ6cQBJ2RQwQ,5714
|
75
|
+
TB2J-0.8.2.7.dist-info/LICENSE,sha256=CbZI-jyRTjiqIcWa244cRSHJdjjtUNqGR4HeJkgEwJw,1332
|
76
|
+
TB2J-0.8.2.7.dist-info/METADATA,sha256=VwLdf9LlN_meROiv7NTa47fBvw1fwVf97mrz4RqWc-c,1464
|
77
|
+
TB2J-0.8.2.7.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
|
78
|
+
TB2J-0.8.2.7.dist-info/top_level.txt,sha256=whYa5ByLYhl5XnTPBHSWr-IGD6VWmr5Ql2bye2qwV_s,5
|
79
|
+
TB2J-0.8.2.7.dist-info/RECORD,,
|
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
|