Skip to content

Finite differences toolbox to compute the magneto-electric tensor

Notifications You must be signed in to change notification settings

maxmarkov/FDToolbox_py3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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