Skip to content

Latest commit

 

History

History
53 lines (40 loc) · 2.05 KB

README.md

File metadata and controls

53 lines (40 loc) · 2.05 KB

FDToolbox_py3

Python3 re-implementation of Finite Differences Toolbox for calculation of magnetic, dielectric, and magnetoelectric response properties of simple materials. The code is interfaced with Pymatgen (Python Materials Genomics) library to facilitate pre- and post-processing.

The methodology for these calculations is described in the following references:

These articles should be cited if you use this code.

Note: the code computes ion- and lattice-mediated contributions to the spin component of magneto-electric response. It does not compute the orbital component and the electronic contribution to the spin component of magneto-electric response.

Computational procedure (example):

We assume that POSCAR file is in the ROOT directory.

STEP 1 (calculation): Generate folders for the noSOC calculations:

python3 examples/generate_nosoc.py

Run all calculations.

STEP 2 (calculation): Generate folders for the polarization (noSOC) and magnetization (SOC) calculations:

python3 examples/compute_polarization_and_magnetization.py

Run all calculations.

STEP 3 (post-processing): Compute the dielectric tensor:

python3 examples/compute_dielectric.py

STEP 4 (post-processing): Compute the magnetoelectric tensor:

python3 examples/compute_magnetoelectric.py