forked from wannier-developers/wannier90
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request wannier-developers#483 from qiaojunfeng/mdlint
Add markdownlint to pre-commit
- Loading branch information
Showing
58 changed files
with
2,636 additions
and
2,355 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# config file markdownlint-cli2 | ||
|
||
# MD007/ul-indent : Unordered list indentation : https://github.com/DavidAnson/markdownlint/blob/main/doc/md007.md | ||
# this is to make sure mkdocs can correctly render nested lists | ||
MD007: | ||
# Spaces for indent | ||
indent: 4 | ||
|
||
# MD033/no-inline-html : Inline HTML : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/doc/md033.md | ||
MD033: | ||
allowed_elements: | ||
- br | ||
- figure | ||
- table | ||
- figcaption | ||
- em | ||
- sub | ||
- a | ||
- sup | ||
- code |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,54 +1,52 @@ | ||
# 10: Graphite {#graphite .unnumbered} | ||
# 10: Graphite | ||
|
||
- Outline: *Obtain MLWFs for graphite (AB, Bernal)* | ||
- Outline: *Obtain MLWFs for graphite (AB, Bernal)* | ||
|
||
- Directory: `tutorials/tutorial10/` *Files can be downloaded from | ||
- Directory: `tutorials/tutorial10/` *Files can be downloaded from | ||
[here](https://github.com/wannier-developers/wannier90/tree/develop/tutorials/tutorial10)* | ||
|
||
- Input Files | ||
- Input Files | ||
|
||
- `graphite.scf` *The `pwscf` input file for ground | ||
- `graphite.scf` *The `pwscf` input file for ground | ||
state calculation* | ||
|
||
- `graphite.nscf` *The `pwscf` input file to obtain | ||
- `graphite.nscf` *The `pwscf` input file to obtain | ||
Bloch states on a uniform grid* | ||
|
||
- `graphite.pw2wan` *Input file for `pw2wannier90`* | ||
- `graphite.pw2wan` *Input file for `pw2wannier90`* | ||
|
||
- `graphite.win` *The `wannier90` input file* | ||
- `graphite.win` *The `wannier90` input file* | ||
|
||
1. Run `pwscf` to obtain the ground state of graphite | ||
1. Run `pwscf` to obtain the ground state of graphite | ||
|
||
```bash title="Terminal" | ||
pw.x < graphite.scf > scf.out | ||
``` | ||
|
||
2. Run `pwscf` to obtain the Bloch states on a uniform | ||
2. Run `pwscf` to obtain the Bloch states on a uniform | ||
k-point grid | ||
|
||
```bash title="Terminal" | ||
pw.x < graphite.nscf > nscf.out | ||
``` | ||
|
||
3. Run `wannier90` to generate a list of the required overlaps (written | ||
3. Run `wannier90` to generate a list of the required overlaps (written | ||
into the `graphite.nnkp` file). | ||
|
||
```bash title="Terminal" | ||
wannier90.x -pp graphite | ||
``` | ||
|
||
4. Run `pw2wannier90` to compute the overlap between Bloch states and | ||
4. Run `pw2wannier90` to compute the overlap between Bloch states and | ||
the projections for the starting guess (written in the | ||
`graphite.mmn` and `graphite.amn` files). | ||
|
||
```bash title="Terminal" | ||
pw2wannier90.x < graphite.pw2wan > pw2wan.out | ||
``` | ||
|
||
5. Run `wannier90` to compute the MLWFs. | ||
5. Run `wannier90` to compute the MLWFs. | ||
|
||
```bash title="Terminal" | ||
wannier90.x graphite | ||
``` | ||
|
||
|
Oops, something went wrong.