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 a7fa9171eb
this is not working
2 months ago
docs trying module docstrings 2 months ago
src/grogupy this is not working 2 months ago
tests WARNING: this may break things, a bunch of stuff changed 2 months ago
.coverage copy pasted grogu 3 months ago
.gitignore added vscode workspace 3 months ago
.pickle ran simple test, fdf input works 2 months ago
.pre-commit-config.yaml cleaning up repository and trying packaging 2 months ago
.readthedocs.yaml working on documentation 2 months ago
Fe3GeTe2_fdf_test.pickle added slurm job id print 2 months ago
Fe3GeTe2_notebook.pickle added globals, off-diagonal anysotropy and todo 2 months ago
L-HEADER cleaning up repository and trying packaging 2 months ago
LICENSE cleaning up repository and trying packaging 2 months ago
README.md this is not working 2 months ago
Relativistic magnetic interactions from non-orthogonal basis sets.pdf added article 2 months ago
grgoupy_comondor.py valami elromlott menet közben!!! 2 months ago
input.fdf ran simple test, fdf input works 2 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 created documentation based on sisl 2 months ago
requirements-dev.txt almost ready for packaging 2 months ago
requirements.txt threadpoolctl is needed for numpy thread management 2 months ago
test.ipynb this is not working 2 months ago
test_module.ipynb this is not working 2 months ago

README.md

Relativistic magnetic interactions from non-orthogonal basis sets

More on the theoretical background can be seen on arXiv.

TODO

Testing

  • Test on varcell
  • Test on varcell_myrun
  • Test on varcell_myrun_2

Developing

  • Use ReadThe Docs addons
  • Add more tests!!
  • orbital indexing must be checked and bad values should raise an error
  • check on the validity of magnetic entities input
  • create a module instead of a script
  • add eset-kset-directions parallelization
  • there is a sign problem in J_symm

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. Be aware that this is not up to date yet!!!

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

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. Then autogenerate the documentation and build. After this the html page can be found in docs/source/_build/html. Follow the commands below.

cd docs/source
sphinx-apidoc -o ./implementation/ ../../src/ 
make clean
make html

To build a pdf containing the documentation instead of make, first navigate to the docs/source folder, then use the rst2pdf extension.

cd docs/source
sphinx-apidoc -o ./implementation/ ../../src/ 
sphinx-build -b pdf . _build/pdf