1
0
mirror of https://github.com/TREX-CoE/trexio.git synced 2025-01-09 12:44:11 +01:00

Make zero beta electrons possible

This commit is contained in:
Anthony Scemama 2021-12-07 17:59:48 +01:00
parent d44883f0ea
commit 52a82ea48e

View File

@ -73,16 +73,16 @@ arrays are 0-based. Hence, we introduce the ~index~ type which is an
#+NAME:electron #+NAME:electron
| Variable | Type | Dimensions | Description | | Variable | Type | Dimensions | Description |
|----------+-------+------------+-------------------------------------| |----------+-------+------------+-------------------------------------|
| ~up_num~ | ~dim~ | | Number of \uparrow-spin electrons | | ~up_num~ | ~int~ | | Number of \uparrow-spin electrons |
| ~dn_num~ | ~dim~ | | Number of \downarrow-spin electrons | | ~dn_num~ | ~int~ | | Number of \downarrow-spin electrons |
#+CALL: json(data=electron, title="electron") #+CALL: json(data=electron, title="electron")
#+RESULTS: #+RESULTS:
:RESULTS: :RESULTS:
#+begin_src python :tangle trex.json #+begin_src python :tangle trex.json
"electron": { "electron": {
"up_num" : [ "dim", [] ] "up_num" : [ "int", [] ]
, "dn_num" : [ "dim", [] ] , "dn_num" : [ "int", [] ]
} , } ,
#+end_src #+end_src
:END: :END: