Skip to main content

Convert SPR-KKR Heisenberg model to VAMPIRE format

Project description

# KKRtoVAMPIRE

_Convert the Heisenberg Hamiltonian calculated with SPR-KKR to the VAMPIRE format._

` pip install KKRtoVAMPIRE `

If you find this package useful, please cite [Q. Guillet*, L. Vojáček*, _et al._, Phys. Rev. Materials 7, 054005 (2023)](https://journals.aps.org/prmaterials/abstract/10.1103/PhysRevMaterials.7.054005).

## Usage

See ./examples/KKR_to_VAMPIRE_example.ipynb for the example of use.

Needed output files from SPR-KKR are: seedname.pot_new, seedname_SCF.out, seedname_JXC_XCPLTEN_Jij.dat and seedname_JXC_XCPLTEN_Dij.dat, POSCAR_TORQUE.out.

The produced converted input files for VAMPIRE are vampire.mat and vampire.UCF, and eventually vampire.UCF_cropped_<#interactions>_<crop threshold> if interaction cropping was applied.

BSD 3-Clause License

Copyright (c) 2022, liborsold All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

  3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kkrtovampire-0.1.13.tar.gz (12.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

KKRtoVAMPIRE-0.1.13-py3-none-any.whl (12.2 kB view details)

Uploaded Python 3

File details

Details for the file kkrtovampire-0.1.13.tar.gz.

File metadata

  • Download URL: kkrtovampire-0.1.13.tar.gz
  • Upload date:
  • Size: 12.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.0

File hashes

Hashes for kkrtovampire-0.1.13.tar.gz
Algorithm Hash digest
SHA256 e3b967a1ec10dee3ca89067efa6a2c3d4ace4883758c877688b19feebececb2b
MD5 6cb44d471e19e66a8f9eb7644a895b13
BLAKE2b-256 8deb9ac7a5245f198a9acf4a2774ecd7e804640aad19268028b22d4fc2ac54cf

See more details on using hashes here.

File details

Details for the file KKRtoVAMPIRE-0.1.13-py3-none-any.whl.

File metadata

  • Download URL: KKRtoVAMPIRE-0.1.13-py3-none-any.whl
  • Upload date:
  • Size: 12.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.0

File hashes

Hashes for KKRtoVAMPIRE-0.1.13-py3-none-any.whl
Algorithm Hash digest
SHA256 4f280c1e81cde87c3e703db8e7977ba672b1a39aad32aee2f9d8c6217ce052e8
MD5 db839eaaca5137994a9e3009ece33c75
BLAKE2b-256 b9343e8361fd87fbec37e76ded284fa8927e48b487914088767ca3b8f0710f49

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page