From 513ff3c518155a6861914a70e815c11e6b3e53fd Mon Sep 17 00:00:00 2001 From: scemama Date: Fri, 18 Jun 2021 10:11:36 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20TREX-CoE?= =?UTF-8?q?/trexio@bf44792d1ece66b4e3dfc9f1a7e3f7425cb130d2=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.html | 4 +- Sparse.html | 16 +- index.html | 4 +- templator_front.html | 174 +++++++++++----------- templator_hdf5.html | 52 +++---- templator_text.html | 112 +++++++------- trex.html | 337 ++++++++++++++++++------------------------- 7 files changed, 320 insertions(+), 379 deletions(-) diff --git a/README.html b/README.html index 90f16dc..447b2a9 100644 --- a/README.html +++ b/README.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> - + TREXIO source code documentation @@ -342,7 +342,7 @@ and bug reports should be submitted at

Author: TREX-CoE

-

Created: 2021-06-18 Fri 10:05

+

Created: 2021-06-18 Fri 10:11

Validate

diff --git a/Sparse.html b/Sparse.html index 78499de..9a4bfbb 100644 --- a/Sparse.html +++ b/Sparse.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> - + @@ -232,8 +232,8 @@ for the JavaScript code in this tag.

Table of Contents

@@ -241,8 +241,8 @@ for the JavaScript code in this tag. See templatorfront.org

-
-

1 Text back end

+
+

1 Text back end

As the size of the dataset should be extensible, the simplest @@ -256,8 +256,8 @@ The offset can be used with fseek(69L*offset, SEEK_SET)

-
-

2 HDF5 Back end

+
+

2 HDF5 Back end

We need to declare the number of rows of the dataset as @@ -278,7 +278,7 @@ If the offset+num > nmax, we need to extend the dataset.

-

Created: 2021-06-18 Fri 10:05

+

Created: 2021-06-18 Fri 10:11

Validate

diff --git a/index.html b/index.html index 90f16dc..447b2a9 100644 --- a/index.html +++ b/index.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> - + TREXIO source code documentation @@ -342,7 +342,7 @@ and bug reports should be submitted at

Author: TREX-CoE

-

Created: 2021-06-18 Fri 10:05

+

Created: 2021-06-18 Fri 10:11

Validate

diff --git a/templator_front.html b/templator_front.html index aacb2cd..5efc3f9 100644 --- a/templator_front.html +++ b/templator_front.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> - + Front end API @@ -333,61 +333,61 @@ for the JavaScript code in this tag.

Table of Contents

-
-

1 Coding conventions

+
+

1 Coding conventions

  • integer types will be defined using types given in stdint.h
  • @@ -402,8 +402,8 @@ for the JavaScript code in this tag.
-
-

1.1 Memory allocation

+
+

1.1 Memory allocation

Memory allocation of structures can be facilitated by using the @@ -438,8 +438,8 @@ The maximum string size for the filenames is 4096 characters.

-
-

2 Front end

+
+

2 Front end

All calls to TREXIO are thread-safe. @@ -447,10 +447,10 @@ TREXIO front end is modular, which simplifies implementation of new back ends.

-
-

2.1 Error handling

+
+

2.1 Error handling

- +
@@ -750,8 +750,8 @@ The text strings are extracted from the previous table. -
-

2.2 Back ends

+
+

2.2 Back ends

TREXIO has several back ends: @@ -783,8 +783,8 @@ lines that correspond to the TREXIO_JSON back end (not implemented

-
-

2.3 Read/write behavior

+
+

2.3 Read/write behavior

Every time a reading function is called, the data is read from the @@ -812,8 +812,8 @@ concurrent programs, the behavior is not specified.

-
-

2.4 TREXIO file type

+
+

2.4 TREXIO file type

trexio_s is the the main type for TREXIO files, visible to the users @@ -846,8 +846,8 @@ TREXIO files will have as a first argument the TREXIO file handle.

-
-

2.5 Polymorphism of the file handle

+
+

2.5 Polymorphism of the file handle

Polymorphism of the trexio_t type is handled by ensuring that the @@ -866,8 +866,8 @@ corresponding types for all back ends can be safely casted to

-
-

2.6 File opening

+
+

2.6 File opening

trexio_open creates a new TREXIO file or opens existing one. @@ -1058,8 +1058,8 @@ know if we need to shift by 1 arrays of indices.

-
-

2.7 File closing

+
+

2.7 File closing

trexio_close closes an existing trexio_t file. @@ -1155,12 +1155,12 @@ output:

-
-

3 Templates for front end

+
+

3 Templates for front end

-
-

3.1 Description

+
+

3.1 Description

Consider the following block of trex.json: @@ -1350,8 +1350,8 @@ or double precision for integer and floating point numbers.

-
-

3.2 Templates for front end has/read/write a single dimensioning variable

+
+

3.2 Templates for front end has/read/write a single dimensioning variable

This section concerns API calls related to dimensioning variables. @@ -1420,8 +1420,8 @@ This section concerns API calls related to dimensioning variables.

-
-

3.2.1 C templates for front end

+
+

3.2.1 C templates for front end

The C templates that correspond to each of the abovementioned @@ -1610,8 +1610,8 @@ precision (see Table above).

-
-

3.2.2 Fortran templates for front end

+
+

3.2.2 Fortran templates for front end

The Fortran templates that provide an access to the C API calls from Fortran. @@ -1697,8 +1697,8 @@ These templates are based on the use of iso_c_binding. Pointers hav

-
-

3.3 Templates for front end has/read/write a dataset of numerical data

+
+

3.3 Templates for front end has/read/write a dataset of numerical data

This section concerns API calls related to datasets. @@ -1767,8 +1767,8 @@ This section concerns API calls related to datasets.

-
-

3.3.1 C templates for front end

+
+

3.3.1 C templates for front end

The C templates that correspond to each of the abovementioned functions can be found below. @@ -2087,8 +2087,8 @@ The basic (non-suffixed) API call on datasets deals with double precision (see T

-
-

3.3.2 Fortran templates for front end

+
+

3.3.2 Fortran templates for front end

The Fortran templates that provide an access to the C API calls from Fortran. @@ -2174,8 +2174,8 @@ These templates are based on the use of iso_c_binding. Pointers hav

-
-

3.4 Sparse data structures

+
+

3.4 Sparse data structures

Sparse data structures are used typically for large tensors such as @@ -2316,12 +2316,12 @@ For the values,

-
-

3.5 Templates for front end has/read/write a dataset of strings

+
+

3.5 Templates for front end has/read/write a dataset of strings

-
-

3.5.1 Introduction

+
+

3.5.1 Introduction

This section concerns API calls related to datasets of strings. @@ -2361,8 +2361,8 @@ This section concerns API calls related to datasets of strings.

-
-

3.5.2 C templates for front end

+
+

3.5.2 C templates for front end

First parameter is the TREXIO file handle. Second parameter is the variable to be written/read @@ -2605,8 +2605,8 @@ to/from the TREXIO file (except for trexio_has_ functi

-
-

3.5.3 Fortran templates for front end

+
+

3.5.3 Fortran templates for front end

The Fortran templates that provide an access to the C API calls from Fortran. @@ -2703,12 +2703,12 @@ These templates are based on the use of iso_c_binding. Pointers hav

-
-

3.6 Templates for front end has/read/write a single string attribute

+
+

3.6 Templates for front end has/read/write a single string attribute

-
-

3.6.1 Introduction

+
+

3.6.1 Introduction

This section concerns API calls related to string attributes. @@ -2748,8 +2748,8 @@ This section concerns API calls related to string attributes.

-
-

3.6.2 C templates for front end

+
+

3.6.2 C templates for front end

trexio_exit_code
@@ -2849,8 +2849,8 @@ This section concerns API calls related to string attributes.
 
-
-

3.6.3 Fortran templates for front end

+
+

3.6.3 Fortran templates for front end

The Fortran templates that provide an access to the C API calls from Fortran. @@ -2929,8 +2929,8 @@ These templates are based on the use of iso_c_binding. Pointers hav

-
-

4 Fortran helper/wrapper functions

+
+

4 Fortran helper/wrapper functions

The function below adapts the original C-based trexio_open for Fortran. @@ -3064,7 +3064,7 @@ two code are identical, i.e. if the assert statement pass.

Author: TREX-CoE

-

Created: 2021-06-18 Fri 10:04

+

Created: 2021-06-18 Fri 10:11

Validate

diff --git a/templator_hdf5.html b/templator_hdf5.html index abef82e..70cdac6 100644 --- a/templator_hdf5.html +++ b/templator_hdf5.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> - + HDF5 back end @@ -311,27 +311,27 @@ for the JavaScript code in this tag.

Table of Contents

-
-

1 HDF5 back end

+
+

1 HDF5 back end

-
-

1.1 Template for HDF5 definitions

+
+

1.1 Template for HDF5 definitions

#define $GROUP$_GROUP_NAME          "$group$"
@@ -343,8 +343,8 @@ for the JavaScript code in this tag.
 
-
-

1.2 Template for HDF5 structures

+
+

1.2 Template for HDF5 structures

typedef struct trexio_hdf5_s {
@@ -359,8 +359,8 @@ for the JavaScript code in this tag.
 
-
-

1.3 Template for HDF5 init/deinit

+
+

1.3 Template for HDF5 init/deinit

trexio_exit_code
@@ -440,8 +440,8 @@ for the JavaScript code in this tag.
 
-
-

1.4 Template for HDF5 has/read/write a single dimensioning variable

+
+

1.4 Template for HDF5 has/read/write a single dimensioning variable

trexio_exit_code
@@ -566,8 +566,8 @@ for the JavaScript code in this tag.
 
-
-

1.5 Template for HDF5 has/read/write a dataset of numerical data

+
+

1.5 Template for HDF5 has/read/write a dataset of numerical data

trexio_exit_code
@@ -696,8 +696,8 @@ for the JavaScript code in this tag.
 
-
-

1.6 Template for HDF5 has/read/write a dataset of strings

+
+

1.6 Template for HDF5 has/read/write a dataset of strings

trexio_exit_code
@@ -901,8 +901,8 @@ for the JavaScript code in this tag.
 
-
-

1.7 Template for HDF5 has/read/write a single string attribute

+
+

1.7 Template for HDF5 has/read/write a single string attribute

trexio_exit_code
@@ -1029,7 +1029,7 @@ for the JavaScript code in this tag.
 

Author: TREX-CoE

-

Created: 2021-06-18 Fri 10:04

+

Created: 2021-06-18 Fri 10:11

Validate

diff --git a/templator_text.html b/templator_text.html index 0caafb8..2e6e454 100644 --- a/templator_text.html +++ b/templator_text.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> - + TEXT back end @@ -311,26 +311,26 @@ for the JavaScript code in this tag.

Table of Contents

-
-

1 TEXT back end

+
+

1 TEXT back end

The "file" produced by the text back end is a directory with one @@ -361,8 +361,8 @@ The file is written when closed, or when the flush function is called.

-
-

1.1 Template for group-related structures in text back end

+
+

1.1 Template for group-related structures in text back end

typedef struct $group$_s {
@@ -380,8 +380,8 @@ The file is written when closed, or when the flush function is called.
 
-
-

1.2 Template for general structure in text back end

+
+

1.2 Template for general structure in text back end

typedef struct rdm_s {
@@ -407,8 +407,8 @@ The file is written when closed, or when the flush function is called.
 
-
-

1.3 Initialize function (constant part)

+
+

1.3 Initialize function (constant part)

trexio_exit_code
@@ -509,8 +509,8 @@ The file is written when closed, or when the flush function is called.
 
-
-

1.4 Deinitialize function (templated part)

+
+

1.4 Deinitialize function (templated part)

trexio_exit_code
@@ -535,8 +535,8 @@ The file is written when closed, or when the flush function is called.
 
-
-

1.5 Template for text read struct

+
+

1.5 Template for text read struct

$group$_t*
@@ -807,8 +807,8 @@ trexio_text_read_$group$ (trexio_text_t* 
 
-
-

1.6 Template for text flush struct

+
+

1.6 Template for text flush struct

trexio_exit_code
@@ -872,8 +872,8 @@ trexio_text_read_$group$ (trexio_text_t* 
 
-
-

1.7 Template for text free memory

+
+

1.7 Template for text free memory

Memory is allocated when reading. The following function frees memory. @@ -918,8 +918,8 @@ Memory is allocated when reading. The following function frees memory.

-
-

1.8 Template for has/read/write the num attribute

+
+

1.8 Template for has/read/write the num attribute

trexio_exit_code
@@ -981,8 +981,8 @@ Memory is allocated when reading. The following function frees memory.
 
-
-

1.9 Template for has/read/write the dataset of numerical data

+
+

1.9 Template for has/read/write the dataset of numerical data

The group_dset array is assumed allocated with the appropriate size. @@ -1078,8 +1078,8 @@ The group_dset array is assumed allocated with the appropriate size

-
-

1.10 Template for has/read/write the dataset of strings

+
+

1.10 Template for has/read/write the dataset of strings

The group_dset array is assumed allocated with the appropriate size. @@ -1181,8 +1181,8 @@ The group_dset array is assumed allocated with the appropriate size

-
-

1.11 Template for has/read/write the string attribute

+
+

1.11 Template for has/read/write the string attribute

trexio_exit_code
@@ -1256,12 +1256,12 @@ The group_dset array is assumed allocated with the appropriate size
 
-
-

1.12 RDM struct (hard-coded)

+
+

1.12 RDM struct (hard-coded)

-
-

1.12.1 Read the complete struct

+
+

1.12.1 Read the complete struct

rdm_t* trexio_text_read_rdm(trexio_text_t* const file);
@@ -1356,8 +1356,8 @@ The group_dset array is assumed allocated with the appropriate size
 
-
-

1.12.2 Flush the complete struct

+
+

1.12.2 Flush the complete struct

trexio_exit_code trexio_text_flush_rdm(trexio_text_t* const file);
@@ -1399,8 +1399,8 @@ The group_dset array is assumed allocated with the appropriate size
 
-
-

1.12.3 Free memory

+
+

1.12.3 Free memory

Memory is allocated when reading. The followig function frees memory. @@ -1436,8 +1436,8 @@ Memory is allocated when reading. The followig function frees memory.

-
-

1.12.4 Read/Write the onee attribute

+
+

1.12.4 Read/Write the onee attribute

The one_e array is assumed allocated with the appropriate size. @@ -1503,8 +1503,8 @@ The one_e array is assumed allocated with the appropriate size.

-
-

1.12.5 Read/Write the twoe attribute

+
+

1.12.5 Read/Write the twoe attribute

two_e is a sparse data structure, which can be too large to fit @@ -1612,7 +1612,7 @@ file for each sparse float structure.

Author: TREX-CoE

-

Created: 2021-06-18 Fri 10:05

+

Created: 2021-06-18 Fri 10:11

Validate

diff --git a/trex.html b/trex.html index f7b2719..4c087ef 100644 --- a/trex.html +++ b/trex.html @@ -3,11 +3,12 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> - + TREX Configuration file + + + + + + -
+
+ UP + | + HOME +

TREX Configuration file

Table of Contents

-
-

1 Metadata

+
+

1 Metadata

As we expect our files to be archived in open-data repositories, we @@ -312,7 +390,7 @@ which have participated to the creation of the file, a list of authors of the file, and a textual description.

- +
@@ -361,29 +439,18 @@ authors of the file, and a textual description.
- -
-
"metadata": {
-       "code_num" : [ "int", []                        ]
-  ,        "code" : [ "str", [ "metadata.code_num" ]   ]
-  ,  "author_num" : [ "int", []                        ]
-  ,      "author" : [ "str", [ "metadata.author_num" ] ]
-  , "description" : [ "str", []                        ]
-} ,
-
-
-
-

2 Electron

+
+

2 Electron

We consider wave functions expressed in the spin-free formalism, where the number of ↑ and ↓ electrons is fixed.

- +
@@ -411,26 +478,18 @@ the number of ↑ and ↓ electrons is fixed.
- -
-
"electron": {
-    "up_num" : [ "int", []  ]
-  , "dn_num" : [ "int", []  ]
-} ,
-
-
-
-

3 Nucleus

+
+

3 Nucleus

The nuclei are considered as fixed point charges. Coordinates are given in Cartesian \((x,y,z)\) format.

- +
@@ -479,22 +538,11 @@ given in Cartesian \((x,y,z)\) format.
- -
-
"nucleus": {
-            "num" : [ "int"  , []                     ]
-  ,      "charge" : [ "float", [ "nucleus.num" ]      ]
-  ,       "coord" : [ "float", [ "nucleus.num", "3" ] ]
-  ,       "label" : [ "str"  , [ "nucleus.num" ]      ]
-  , "point_group" : [ "str"  , []                     ]
-} ,
-
-
-
-

4 TODO Effective core potentials

+
+

4 TODO Effective core potentials

An effective core potential (ECP) \(V_A^{\text{pp}}\) replacing the @@ -539,7 +587,7 @@ letters are parameters.

  • \(\hat{V}_\text{ecp,nl} = \sum_A \hat{V}_A^{\text{nl}}\) : non-local component
  • - +
    @@ -637,29 +685,11 @@ letters are parameters.
    - -
    -
    "ecp": {
    -            "lmax_plus_1" : [ "int"  , [ "nucleus.num" ]                            ]
    -  ,              "z_core" : [ "float", [ "nucleus.num" ]                            ]
    -  ,             "local_n" : [ "int"  , [ "nucleus.num" ]                            ]
    -  ,     "local_num_n_max" : [ "int"  , []                                           ]
    -  ,      "local_exponent" : [ "float", [ "nucleus.num", "ecp.local_num_n_max" ]     ]
    -  ,          "local_coef" : [ "float", [ "nucleus.num", "ecp.local_num_n_max" ]     ]
    -  ,         "local_power" : [ "int"  , [ "nucleus.num", "ecp.local_num_n_max" ]     ]
    -  ,         "non_local_n" : [ "int"  , [ "nucleus.num" ]                            ]
    -  , "non_local_num_n_max" : [ "int"  , []                                           ]
    -  ,  "non_local_exponent" : [ "float", [ "nucleus.num", "ecp.non_local_num_n_max" ] ]
    -  ,      "non_local_coef" : [ "float", [ "nucleus.num", "ecp.non_local_num_n_max" ] ]
    -  ,     "non_local_power" : [ "int"  , [ "nucleus.num", "ecp.non_local_num_n_max" ] ]
    -} ,
    -
    -
    -
    -

    5 Basis set

    +
    +

    5 Basis set

    We consider here basis functions centered on nuclei. Hence, we enable @@ -712,7 +742,7 @@ If the the basis function is not considered normalized, \(\mathcal{N}_s=1\). All the basis set parameters are stored in one-dimensional arrays:

    - +
    @@ -811,24 +841,6 @@ All the basis set parameters are stored in one-dimensional arrays:
    -
    -
    "basis": {
    -                 "type" : [ "str"  , []                   ]
    -  ,               "num" : [ "int"  , []                   ]
    -  ,          "prim_num" : [ "int"  , []                   ]
    -  ,     "nucleus_index" : [ "index", [ "nucleus.num" ]    ]
    -  , "nucleus_shell_num" : [ "int"  , [ "nucleus.num" ]    ]
    -  ,     "shell_ang_mom" : [ "int"  , [ "basis.num" ]      ]
    -  ,    "shell_prim_num" : [ "int"  , [ "basis.num" ]      ]
    -  ,      "shell_factor" : [ "float", [ "basis.num" ]      ]
    -  ,  "shell_prim_index" : [ "index", [ "basis.num" ]      ]
    -  ,          "exponent" : [ "float", [ "basis.prim_num" ] ]
    -  ,       "coefficient" : [ "float", [ "basis.prim_num" ] ]
    -  ,       "prim_factor" : [ "float", [ "basis.prim_num" ] ]
    -} ,
    -
    -
    -

    For example, consider H2 with the following basis set (in GAMESS format), where both the AOs and primitives are considered normalized: @@ -891,8 +903,8 @@ prim_factor =

    -
    -

    6 Atomic orbitals

    +
    +

    6 Atomic orbitals

    Going from the atomic basis set to AOs implies a systematic @@ -940,13 +952,13 @@ shell, as in the GAMESS convention where

    In such a case, one should set the normalization of the shell (in -the Basis set section) to \(\mathcal{N}_{z^2}\), which is the +the Basis set section) to \(\mathcal{N}_{z^2}\), which is the normalization factor of the atomic orbitals in spherical coordinates. The normalization factor of the \(xy\) function which should be introduced here should be \(\frac{\mathcal{N}_{xy}}{\mathcal{N}_{z^2}}\).

    - +
    @@ -988,20 +1000,10 @@ introduced here should be \(\frac{\mathcal{N}_{xy}}{\mathcal{N}_{z^2}}\).
    - -
    -
    "ao": {
    -        "cartesian" : [ "int"  , []           ]
    -  ,           "num" : [ "int"  , []           ]
    -  ,         "shell" : [ "index", [ "ao.num" ] ]
    -  , "normalization" : [ "float", [ "ao.num" ] ]
    -} ,
    -
    -
    -
    -

    6.1 One-electron integrals

    +
    +

    6.1 One-electron integrals

    • \[ \hat{V}_{\text{ne}} = \sum_{A=1}^{N_\text{nucl}} @@ -1019,7 +1021,7 @@ The one-electron integrals for a one-electron operator \(\hat{O}\) are over atomic orbitals.

      - +
      @@ -1075,23 +1077,11 @@ over atomic orbitals.
      - -
      -
      "ao_1e_int": {
      -             "overlap" : [ "float", [ "ao.num", "ao.num" ] ]
      -  ,          "kinetic" : [ "float", [ "ao.num", "ao.num" ] ]
      -  ,    "potential_n_e" : [ "float", [ "ao.num", "ao.num" ] ]
      -  ,        "ecp_local" : [ "float", [ "ao.num", "ao.num" ] ]
      -  ,    "ecp_non_local" : [ "float", [ "ao.num", "ao.num" ] ]
      -  , "core_hamiltonian" : [ "float", [ "ao.num", "ao.num" ] ]
      -} ,
      -
      -
    -
    -

    6.2 Two-electron integrals

    +
    +

    6.2 Two-electron integrals

    The two-electron integrals for a two-electron operator \(\hat{O}\) are @@ -1112,7 +1102,7 @@ notation. \mathbf{r}_j \vert)}{\vert \mathbf{r}_i - \mathbf{r}_j \vert} \] : electron-electron long range potential - +
    @@ -1140,22 +1130,14 @@ notation.
    - -

    -
    "ao_2e_int": {
    -       "eri" : [ "float sparse", [ "ao.num", "ao.num", "ao.num", "ao.num" ] ]
    -  , "eri_lr" : [ "float sparse", [ "ao.num", "ao.num", "ao.num", "ao.num" ] ]
    -} ,
    -
    -
    -
    -

    7 Molecular orbitals

    +
    +

    7 Molecular orbitals

    - +
    @@ -1211,22 +1193,10 @@ notation.
    - -
    -
    "mo": {
    -           "type" : [ "str"  , []                     ]
    -  ,         "num" : [ "int"  , []                     ]
    -  , "coefficient" : [ "float", [ "mo.num", "ao.num" ] ]
    -  ,       "class" : [ "str"  , [ "mo.num" ]           ]
    -  ,    "symmetry" : [ "str"  , [ "mo.num" ]           ]
    -  ,  "occupation" : [ "float", [ "mo.num" ]           ]
    -} ,
    -
    -
    -
    -

    7.1 One-electron integrals

    +
    +

    7.1 One-electron integrals

    The operators as the same as those defined in the @@ -1234,7 +1204,7 @@ The operators as the same as those defined in the the basis of molecular orbitals.

    - +
    @@ -1290,23 +1260,11 @@ the basis of molecular orbitals.
    - -
    -
    "mo_1e_int": {
    -             "overlap" : [ "float", [ "mo.num", "mo.num" ] ]
    -  ,          "kinetic" : [ "float", [ "mo.num", "mo.num" ] ]
    -  ,    "potential_n_e" : [ "float", [ "mo.num", "mo.num" ] ]
    -  ,        "ecp_local" : [ "float", [ "mo.num", "mo.num" ] ]
    -  ,    "ecp_non_local" : [ "float", [ "mo.num", "mo.num" ] ]
    -  , "core_hamiltonian" : [ "float", [ "mo.num", "mo.num" ] ]
    -} ,
    -
    -
    -
    -

    7.2 Two-electron integrals

    +
    +

    7.2 Two-electron integrals

    The operators as the same as those defined in the @@ -1314,7 +1272,7 @@ The operators as the same as those defined in the the basis of molecular orbitals.

    - +
    @@ -1342,25 +1300,17 @@ the basis of molecular orbitals.
    - -
    -
    "mo_2e_int": {
    -       "eri" : [ "float sparse", [ "mo.num", "mo.num", "mo.num", "mo.num" ] ]
    -  , "eri_lr" : [ "float sparse", [ "mo.num", "mo.num", "mo.num", "mo.num" ] ]
    -} ,
    -
    -
    -
    -

    8 TODO Slater determinants

    +
    +

    8 TODO Slater determinants

    -
    -

    9 TODO Reduced density matrices

    +
    +

    9 TODO Reduced density matrices

    - +
    @@ -1396,28 +1346,18 @@ the basis of molecular orbitals.
    - -
    -
    "rdm": {
    -       "one_e" : [ "float"       , [ "mo.num", "mo.num" ]                     ]
    -  , "one_e_up" : [ "float"       , [ "mo.num", "mo.num" ]                     ]
    -  , "one_e_dn" : [ "float"       , [ "mo.num", "mo.num" ]                     ]
    -  ,    "two_e" : [ "float sparse", [ "mo.num", "mo.num", "mo.num", "mo.num" ] ]
    -}
    -
    -
    -
    -

    10 Appendix

    +
    +

    10 Appendix

    -
    -

    10.1 Python script from table to json

    +
    +

    10.1 Python script from table to json

    -
    print("""#+begin_src python :tangle trex.json""")
    +
    print("""#+begin_src python :tangle trex.json""")
     print("""    "%s": {"""%(title))
     indent = "        "
     f1 = 0 ; f2 = 0 ; f3 = 0
    @@ -1475,7 +1415,8 @@ the basis of molecular orbitals.
     
    -

    Created: 2021-06-18 Fri 10:05

    +

    Author: TREX-CoE

    +

    Created: 2021-06-18 Fri 10:11

    Validate