phonopy/example/NaCl
Atsushi Togo f2f7b6a064 Update examples to recommend phonopy-load 2024-08-12 15:30:57 +09:00
..
BORN Commit version 1.6.3 2012-12-11 17:15:20 +09:00
FORCE_SETS Refactoring using formatter 2021-10-17 08:11:06 +09:00
NaCl-band-gv.py Update examples to recommend phonopy-load 2024-08-12 15:30:57 +09:00
NaCl-band.py [pre-commit.ci] auto fixes from pre-commit.com hooks 2024-01-29 21:19:59 +00:00
NaCl-dynmat.py Introduce isort 2021-10-23 12:23:12 +09:00
NaCl-gv.py [pre-commit.ci] auto fixes from pre-commit.com hooks 2024-01-29 21:19:59 +00:00
NaCl-read_write_fc.py [pre-commit.ci] auto fixes from pre-commit.com hooks 2024-01-29 21:19:59 +00:00
NaCl-yaml.py [pre-commit.ci] auto fixes from pre-commit.com hooks 2024-01-29 21:19:59 +00:00
NaCl.py Update examples to recommend phonopy-load 2024-08-12 15:30:57 +09:00
POSCAR-unitcell Refactoring using formatter 2021-10-17 08:11:06 +09:00
README.md Update examples to recommend phonopy-load 2024-08-12 15:30:57 +09:00
phonopy_disp.yaml Updated document, installation, and packaging related files. 2020-07-22 15:40:36 +09:00
vasprun.xml-001 Commit version 1.6.3 2012-12-11 17:15:20 +09:00
vasprun.xml-002 Commit version 1.6.3 2012-12-11 17:15:20 +09:00

README.md

NaCl example

Details are presented on the phonopy document at http://phonopy.github.io/phonopy/examples.html. Shortly the usage is shown here, too.

The supercells with displacements were created by

% phonopy -d --dim 2 2 2 --pa auto -c POSCAR-unitcell

FORSE_SETS is obtained by

% phonopy -f vasprun.xml-001 vasprun.xml-002

Band structure is plotted by

% phonopy-load -p --band "0.0 0.0 0.0  0.5 0.0 0.0  0.5 0.5 0.0  0.0 0.0 0.0  0.5 0.5 0.5"

PDOS is plotted by:

% phonopy-load -p --mesh 15 15 15 --pdos "1, 2"

Both are plotted together by:

% phonopy-load -p --band "0.0 0.0 0.0  0.5 0.0 0.0  0.5 0.5 0.0  0.0 0.0 0.0  0.5 0.5 0.5" --mesh 15 15 15 --pdos "1, 2"

NaCl.py, NaCl-yaml.py, and NaCl-read_write_fc.py are phonopy API examples, which are executed by, e.g.,

% python NaCl.py