Skip to content

Commit

Permalink
print missing emin in non-collinear calculations
Browse files Browse the repository at this point in the history
  • Loading branch information
mailhexu committed Apr 5, 2024
1 parent 68ecf7c commit e7eb4a2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion TB2J/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.8.2.4"
__version__ = "0.8.2.5"
1 change: 1 addition & 0 deletions TB2J/exchange.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ def _prepare_Jorb_file(self):

def _adjust_emin(self):
self.emin = self.G.find_energy_ingap(rbound=self.efermi - 5.0) - self.efermi
print(f"A gap is found at {self.emin}, set emin to it.")

def set_tbmodels(self, tbmodels):
pass
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python
from setuptools import setup, find_packages

__version__ = "0.8.2.4"
__version__ = "0.8.2.5"

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. """

Expand Down

0 comments on commit e7eb4a2

Please sign in to comment.