Skip to content

Commit

Permalink
Add Madelung
Browse files Browse the repository at this point in the history
  • Loading branch information
scemama committed Dec 7, 2024
1 parent 3d76eab commit 9e8b2e9
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions trex.org
Original file line number Diff line number Diff line change
Expand Up @@ -130,12 +130,13 @@


#+NAME: pbc
| Variable | Type | Row-major Dimensions | Column-major Dimensions | Description |
|------------------+---------+----------------------+-------------------------+-------------------------|
| ~periodic~ | ~int~ | | | ~1~: true or ~0~: false |
| ~k_point_num~ | ~dim~ | | | Number of $k$-points |
| ~k_point~ | ~float~ | ~[3]~ | ~(3)~ | $k$-point sampling |
| ~k_point_weight~ | ~float~ | ~[pbc.k_point_num]~ | ~(pbc.k_point_num)~ | $k$-point weight |
| Variable | Type | Row-major Dimensions | Column-major Dimensions | Description |
|------------------+---------+----------------------+-------------------------+------------------------------------------------------|
| ~periodic~ | ~int~ | | | ~1~: true or ~0~: false |
| ~k_point_num~ | ~dim~ | | | Number of $k$-points |
| ~k_point~ | ~float~ | ~[3]~ | ~(3)~ | $k$-point sampling |
| ~k_point_weight~ | ~float~ | ~[pbc.k_point_num]~ | ~(pbc.k_point_num)~ | $k$-point weight |
| ~madelung~ | ~float~ | | | Madelung correction of the Ewald probe charge method |

#+CALL: json(data=pbc, title="pbc")

Expand All @@ -147,6 +148,7 @@
, "k_point_num" : [ "dim" , [] ]
, "k_point" : [ "float", [ "3" ] ]
, "k_point_weight" : [ "float", [ "pbc.k_point_num" ] ]
, "madelung" : [ "float", [] ]
} ,
#+end_src
:end:
Expand Down

0 comments on commit 9e8b2e9

Please sign in to comment.