File: README.md

package info (click to toggle)
phonopy 2.44.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 29,136 kB
  • sloc: python: 42,934; xml: 12,080; ansic: 3,227; cpp: 525; sh: 213; makefile: 20
file content (41 lines) | stat: -rw-r--r-- 872 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# 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

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

`FORSE_SETS` is obtained by

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

Band structure is plotted by

```bash
% 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:

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

Both are plotted together by:

```bash
% 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.,

```bash
% python NaCl.py
```