TB2J 0.8.2.3__tar.gz → 0.8.2.4__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.
- {TB2J-0.8.2.3 → TB2J-0.8.2.4}/PKG-INFO +1 -1
- TB2J-0.8.2.4/TB2J/__init__.py +1 -0
- {TB2J-0.8.2.3 → TB2J-0.8.2.4}/TB2J/io_exchange/io_exchange.py +0 -2
- {TB2J-0.8.2.3 → TB2J-0.8.2.4}/TB2J/manager.py +2 -3
- {TB2J-0.8.2.3 → TB2J-0.8.2.4}/TB2J/sisl_wrapper.py +5 -3
- {TB2J-0.8.2.3 → TB2J-0.8.2.4}/TB2J.egg-info/PKG-INFO +1 -1
- {TB2J-0.8.2.3 → TB2J-0.8.2.4}/setup.py +1 -1
- TB2J-0.8.2.3/TB2J/__init__.py +0 -1
- {TB2J-0.8.2.3 → TB2J-0.8.2.4}/LICENSE +0 -0
- {TB2J-0.8.2.3 → TB2J-0.8.2.4}/README.md +0 -0
- {TB2J-0.8.2.3 → TB2J-0.8.2.4}/TB2J/Jdownfolder.py +0 -0
- {TB2J-0.8.2.3 → TB2J-0.8.2.4}/TB2J/Jtensor.py +0 -0
- {TB2J-0.8.2.3 → TB2J-0.8.2.4}/TB2J/Oiju.py +0 -0
- {TB2J-0.8.2.3 → TB2J-0.8.2.4}/TB2J/Oiju_epc.py +0 -0
- {TB2J-0.8.2.3 → TB2J-0.8.2.4}/TB2J/abacus/__init__.py +0 -0
- {TB2J-0.8.2.3 → TB2J-0.8.2.4}/TB2J/abacus/abacus_api.py +0 -0
- {TB2J-0.8.2.3 → TB2J-0.8.2.4}/TB2J/abacus/abacus_wrapper.py +0 -0
- {TB2J-0.8.2.3 → TB2J-0.8.2.4}/TB2J/abacus/gen_exchange_abacus.py +0 -0
- {TB2J-0.8.2.3 → TB2J-0.8.2.4}/TB2J/abacus/orbital_api.py +0 -0
- {TB2J-0.8.2.3 → TB2J-0.8.2.4}/TB2J/abacus/stru_api.py +0 -0
- {TB2J-0.8.2.3 → TB2J-0.8.2.4}/TB2J/abacus/test_read_HRSR.py +0 -0
- {TB2J-0.8.2.3 → TB2J-0.8.2.4}/TB2J/abacus/test_read_stru.py +0 -0
- {TB2J-0.8.2.3 → TB2J-0.8.2.4}/TB2J/basis.py +0 -0
- {TB2J-0.8.2.3 → TB2J-0.8.2.4}/TB2J/citation.py +0 -0
- {TB2J-0.8.2.3 → TB2J-0.8.2.4}/TB2J/contour.py +0 -0
- {TB2J-0.8.2.3 → TB2J-0.8.2.4}/TB2J/density_matrix.py +0 -0
- {TB2J-0.8.2.3 → TB2J-0.8.2.4}/TB2J/epc.py +0 -0
- {TB2J-0.8.2.3 → TB2J-0.8.2.4}/TB2J/exchange.py +0 -0
- {TB2J-0.8.2.3 → TB2J-0.8.2.4}/TB2J/exchangeCL2.py +0 -0
- {TB2J-0.8.2.3 → TB2J-0.8.2.4}/TB2J/exchange_pert.py +0 -0
- {TB2J-0.8.2.3 → TB2J-0.8.2.4}/TB2J/exchange_qspace.py +0 -0
- {TB2J-0.8.2.3 → TB2J-0.8.2.4}/TB2J/external/__init__.py +0 -0
- {TB2J-0.8.2.3 → TB2J-0.8.2.4}/TB2J/external/p_tqdm.py +0 -0
- {TB2J-0.8.2.3 → TB2J-0.8.2.4}/TB2J/gpaw_wrapper.py +0 -0
- {TB2J-0.8.2.3 → TB2J-0.8.2.4}/TB2J/green.py +0 -0
- {TB2J-0.8.2.3 → TB2J-0.8.2.4}/TB2J/greentest.py +0 -0
- {TB2J-0.8.2.3 → TB2J-0.8.2.4}/TB2J/io_exchange/__init__.py +0 -0
- {TB2J-0.8.2.3 → TB2J-0.8.2.4}/TB2J/io_exchange/io_multibinit.py +0 -0
- {TB2J-0.8.2.3 → TB2J-0.8.2.4}/TB2J/io_exchange/io_tomsasd.py +0 -0
- {TB2J-0.8.2.3 → TB2J-0.8.2.4}/TB2J/io_exchange/io_txt.py +0 -0
- {TB2J-0.8.2.3 → TB2J-0.8.2.4}/TB2J/io_exchange/io_uppasd.py +0 -0
- {TB2J-0.8.2.3 → TB2J-0.8.2.4}/TB2J/io_exchange/io_vampire.py +0 -0
- {TB2J-0.8.2.3 → TB2J-0.8.2.4}/TB2J/io_merge.py +0 -0
- {TB2J-0.8.2.3 → TB2J-0.8.2.4}/TB2J/kpoints.py +0 -0
- {TB2J-0.8.2.3 → TB2J-0.8.2.4}/TB2J/mathutils.py +0 -0
- {TB2J-0.8.2.3 → TB2J-0.8.2.4}/TB2J/myTB.py +0 -0
- {TB2J-0.8.2.3 → TB2J-0.8.2.4}/TB2J/orbmap.py +0 -0
- {TB2J-0.8.2.3 → TB2J-0.8.2.4}/TB2J/pauli.py +0 -0
- {TB2J-0.8.2.3 → TB2J-0.8.2.4}/TB2J/pert.py +0 -0
- {TB2J-0.8.2.3 → TB2J-0.8.2.4}/TB2J/plot.py +0 -0
- {TB2J-0.8.2.3 → TB2J-0.8.2.4}/TB2J/rotate_atoms.py +0 -0
- {TB2J-0.8.2.3 → TB2J-0.8.2.4}/TB2J/spinham/__init__.py +0 -0
- {TB2J-0.8.2.3 → TB2J-0.8.2.4}/TB2J/spinham/base_parser.py +0 -0
- {TB2J-0.8.2.3 → TB2J-0.8.2.4}/TB2J/spinham/constants.py +0 -0
- {TB2J-0.8.2.3 → TB2J-0.8.2.4}/TB2J/spinham/hamiltonian.py +0 -0
- {TB2J-0.8.2.3 → TB2J-0.8.2.4}/TB2J/spinham/hamiltonian_terms.py +0 -0
- {TB2J-0.8.2.3 → TB2J-0.8.2.4}/TB2J/spinham/plot.py +0 -0
- {TB2J-0.8.2.3 → TB2J-0.8.2.4}/TB2J/spinham/qsolver.py +0 -0
- {TB2J-0.8.2.3 → TB2J-0.8.2.4}/TB2J/spinham/spin_api.py +0 -0
- {TB2J-0.8.2.3 → TB2J-0.8.2.4}/TB2J/spinham/spin_xml.py +0 -0
- {TB2J-0.8.2.3 → TB2J-0.8.2.4}/TB2J/spinham/supercell.py +0 -0
- {TB2J-0.8.2.3 → TB2J-0.8.2.4}/TB2J/tensor_rotate.py +0 -0
- {TB2J-0.8.2.3 → TB2J-0.8.2.4}/TB2J/utest.py +0 -0
- {TB2J-0.8.2.3 → TB2J-0.8.2.4}/TB2J/utils.py +0 -0
- {TB2J-0.8.2.3 → TB2J-0.8.2.4}/TB2J/versioninfo.py +0 -0
- {TB2J-0.8.2.3 → TB2J-0.8.2.4}/TB2J/wannier/__init__.py +0 -0
- {TB2J-0.8.2.3 → TB2J-0.8.2.4}/TB2J/wannier/w90_parser.py +0 -0
- {TB2J-0.8.2.3 → TB2J-0.8.2.4}/TB2J/wannier/w90_tb_parser.py +0 -0
- {TB2J-0.8.2.3 → TB2J-0.8.2.4}/TB2J.egg-info/SOURCES.txt +0 -0
- {TB2J-0.8.2.3 → TB2J-0.8.2.4}/TB2J.egg-info/dependency_links.txt +0 -0
- {TB2J-0.8.2.3 → TB2J-0.8.2.4}/TB2J.egg-info/requires.txt +0 -0
- {TB2J-0.8.2.3 → TB2J-0.8.2.4}/TB2J.egg-info/top_level.txt +0 -0
- {TB2J-0.8.2.3 → TB2J-0.8.2.4}/scripts/TB2J_downfold.py +0 -0
- {TB2J-0.8.2.3 → TB2J-0.8.2.4}/scripts/TB2J_eigen.py +0 -0
- {TB2J-0.8.2.3 → TB2J-0.8.2.4}/scripts/TB2J_magnon.py +0 -0
- {TB2J-0.8.2.3 → TB2J-0.8.2.4}/scripts/TB2J_magnon_dos.py +0 -0
- {TB2J-0.8.2.3 → TB2J-0.8.2.4}/scripts/TB2J_merge.py +0 -0
- {TB2J-0.8.2.3 → TB2J-0.8.2.4}/scripts/TB2J_rotate.py +0 -0
- {TB2J-0.8.2.3 → TB2J-0.8.2.4}/scripts/abacus2J.py +0 -0
- {TB2J-0.8.2.3 → TB2J-0.8.2.4}/scripts/siesta2J.py +0 -0
- {TB2J-0.8.2.3 → TB2J-0.8.2.4}/scripts/wann2J.py +0 -0
- {TB2J-0.8.2.3 → TB2J-0.8.2.4}/setup.cfg +0 -0
@@ -0,0 +1 @@
|
|
1
|
+
__version__ = "0.8.2.4"
|
@@ -322,8 +322,6 @@ Generation time: {now.strftime("%y/%m/%d %H:%M:%S")}
|
|
322
322
|
returns:
|
323
323
|
Jmat: (3*nspin,3*nspin) matrix.
|
324
324
|
"""
|
325
|
-
i = self.i_spin(i)
|
326
|
-
j = self.i_spin(j)
|
327
325
|
n3 = self.nspin * 3
|
328
326
|
Jmat = np.zeros((n3, n3), dtype=float)
|
329
327
|
for i in range(self.nspin):
|
@@ -296,12 +296,11 @@ def gen_exchange_siesta(
|
|
296
296
|
else:
|
297
297
|
include_orbs[element] = None
|
298
298
|
magnetic_elements = list(include_orbs.keys())
|
299
|
-
print(magnetic_elements)
|
300
|
-
print(include_orbs)
|
301
299
|
|
302
300
|
fdf = sisl.get_sile(fdf_fname)
|
303
|
-
geom = fdf.read_geometry()
|
301
|
+
# geom = fdf.read_geometry()
|
304
302
|
H = fdf.read_hamiltonian()
|
303
|
+
geom = H.geometry
|
305
304
|
if H.spin.is_colinear:
|
306
305
|
print("Reading Siesta hamiltonian: colinear spin.")
|
307
306
|
tbmodel_up = SislWrapper(H, spin=0, geom=geom)
|
@@ -33,7 +33,7 @@ class SislWrapper(AbstractTB):
|
|
33
33
|
self.positions = g.xyz
|
34
34
|
self.cell = np.array(g.sc.cell)
|
35
35
|
for ia, a in enumerate(_atoms):
|
36
|
-
atomic_numbers.append(a.Z)
|
36
|
+
atomic_numbers.append(a.Z % 200)
|
37
37
|
self.atoms = Atoms(
|
38
38
|
numbers=atomic_numbers, cell=self.cell, positions=self.positions
|
39
39
|
)
|
@@ -276,9 +276,11 @@ class SislWFSXWrapper(SislWrapper):
|
|
276
276
|
energy shift to be applied to all energies. If `None` no shift is applied. (default: None)
|
277
277
|
"""
|
278
278
|
|
279
|
-
def __init__(
|
279
|
+
def __init__(
|
280
|
+
self, sisl_hamiltonian, geom, wfsx_sile, spin, ispin=None, shift_fermi=None
|
281
|
+
):
|
280
282
|
# super().__init__(geom, spin=spin, ispin=ispin, shift_fermi=shift_fermi)
|
281
|
-
super().__init__(sisl_hamiltonian, geom=
|
283
|
+
super().__init__(sisl_hamiltonian, geom=geom, spin=spin)
|
282
284
|
self.geom = geom
|
283
285
|
self.wfsx_sile = wfsx_sile
|
284
286
|
self.read_all()
|
@@ -1,7 +1,7 @@
|
|
1
1
|
#!/usr/bin/env python
|
2
2
|
from setuptools import setup, find_packages
|
3
3
|
|
4
|
-
__version__ = "0.8.2.
|
4
|
+
__version__ = "0.8.2.4"
|
5
5
|
|
6
6
|
long_description = """TB2J is a Python package aimed to compute automatically the magnetic interactions (superexchange and Dzyaloshinskii-Moriya) between atoms of magnetic crystals from DFT Hamiltonian based on Wannier functions or Linear combination of atomic orbitals. It uses the Green's function method and take the local rigid spin rotation as a perturbation. The package can take the output from Wannier90, which is interfaced with many density functional theory codes or from codes based on localised orbitals. A minimal user input is needed, which allows for an easily integration into a high-throughput workflows. """
|
7
7
|
|
TB2J-0.8.2.3/TB2J/__init__.py
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
__version__ = "0.8.2.3"
|
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
|
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
|