Testing for grogu
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Daniel Pozsar 9769e76c5d
output of run with multiple pairs and single pair to check if there is mixing of pairs in the code somehow --> the output of a single pair is the same, when there are multiple pairs
3 months ago
Jij_for_Marci_6p45ang comparing results with grogu on Jij_for_Marci_6p45ang/CrBr.fdf 3 months ago
docs a bunch of things and proper documentation and build 3 months ago
lat3_791 changed pre-commit 3 months ago
src/grogu_magn enclosed in main function and correcte d useful import 3 months ago
tests commented testing from pre-commit 3 months ago
.coverage copy pasted grogu 3 months ago
.gitignore a bunch of things and proper documentation and build 3 months ago
.pre-commit-config.yaml Had to disable check-added-large-files pre-commit hook for siesta data and now I turn it back on 3 months ago
Fe3GeTe2_3-791lat_short-1.txt added grogu results from Fe3GeTe2 3 months ago
L-HEADER copy pasted grogu 3 months ago
LICENSE copy pasted grogu 3 months ago
README.md added TODO dictionary output and rewrite output printing with that information 3 months ago
all_atoms.txt changed pre-commit 3 months ago
local_operator.ipynb added black:jupyter to pre-commit, made the output nicer so it is easier to debug code, experimented with no results... :'( 3 months ago
pyproject.toml a bunch of things and proper documentation and build 3 months ago
requirements-dev.txt added requirements for sisl.viz 3 months ago
requirements.txt a bunch of things and proper documentation and build 3 months ago
simmetries.txt changed pre-commit 3 months ago
test.ipynb output of run with multiple pairs and single pair to check if there is mixing of pairs in the code somehow --> the output of a single pair is the same, when there are multiple pairs 3 months ago

README.md

Relativistic magnetic interactions from non-orthogonal basis sets

More on the theoretical background can be seen on arXiv.

TODO

Testing

  • Run tests on different magnetic materials and compare it to Grogu Matlab
  • Change order in:
    • magnetic entities
    • pairs
  • Check behavior by distance to test symmetry and Green function phase
  • Check behavior by orbital indexing

Developing

  • Add documentation to useful functions
  • Parallel or serial energy integral to reduce memory overhead
  • Check the symmetrization of the Hamiltonian and overlap matrix to make them hermitian
  • Check if exchange field has scalar part
  • Output dictionary and rewrite output printing with the information
  • Add more tests!!

Building wheel

See detailed documentation on PYPI.

  • First you need some API Tokens for Test PYPI ,to be able to upload. You can read about it here. I own the current project, so you have to contact me.

Use the following commands for a quick setup:

  • Build wheel
python -m build
  • Push to PYPI test repository
python -m twine upload --repository testpypi dist/*

Usage

For end users

Download and install from PYPI test repository.

python3 -m pip install --index-url https://test.pypi.org/simple/ grogu_magn

For developers

  • Clone repository from Gitea
git clone https://gitea.vo.elte.hu/et209d/grogu.git
  • Create a virtual environment (.venv) (for example with VsCode)

    • Use python 3.9.6
    • install dependencies from:
      • requirements.txt
      • requirements-dev.txt
      • /docs/requirements.txt
  • Install and run pre-commit

pre-commit install
pre-commit run --all-files

To build the documentation navigate to the docs/source folder and run make clean and make html. After this the html page can be found in docs/source/_build/html.

cd docs/source
make clean
make html