1
0
mirror of https://github.com/TREX-CoE/trexio.git synced 2024-11-03 20:54:07 +01:00

Deploying to gh-pages from @ TREX-CoE/trexio@effc14cb7d 🚀

This commit is contained in:
scemama 2024-05-23 15:59:43 +00:00
parent 852ee2a75d
commit fb79f0b8ed
9 changed files with 670 additions and 670 deletions

View File

@ -3,7 +3,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<!-- 2024-05-14 Tue 13:54 -->
<!-- 2024-05-23 Thu 15:59 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>TREXIO source code documentation</title>
@ -406,7 +406,7 @@ The TREXIO library is licensed under the open-source 3-clause BSD license.
</div>
<div id="postamble" class="status">
<p class="author">Author: TREX-CoE</p>
<p class="date">Created: 2024-05-14 Tue 13:54</p>
<p class="date">Created: 2024-05-23 Thu 15:59</p>
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
</div>
</body>

View File

@ -3,7 +3,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<!-- 2024-05-14 Tue 13:54 -->
<!-- 2024-05-23 Thu 15:59 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Examples</title>
@ -346,61 +346,61 @@ for the JavaScript code in this tag.
<h2>Table of Contents</h2>
<div id="text-table-of-contents">
<ul>
<li><a href="#org6c42de4">1. Writing nuclear coordinates</a>
<li><a href="#orgee46d69">1. Writing nuclear coordinates</a>
<ul>
<li><a href="#org13227e2">1.1. C</a></li>
<li><a href="#org7610624">1.2. Python</a></li>
<li><a href="#orgb4cb64a">1.3. Fortran</a></li>
<li><a href="#org09177d1">1.1. C</a></li>
<li><a href="#org04b83ac">1.2. Python</a></li>
<li><a href="#org806e552">1.3. Fortran</a></li>
</ul>
</li>
<li><a href="#org701c9c0">2. Accessing sparse quantities (integrals)</a>
<li><a href="#org74323d6">2. Accessing sparse quantities (integrals)</a>
<ul>
<li><a href="#org5debf4d">2.1. Fortran</a>
<li><a href="#org008edde">2.1. Fortran</a>
<ul>
<li><a href="#orga98aed4">2.1.1. Declare Temporary variables</a></li>
<li><a href="#org7163b3b">2.1.2. Obtain the name of the TREXIO file from the command line, and open it for reading</a></li>
<li><a href="#orga37e703">2.1.3. Read the nuclear repulsion energy</a></li>
<li><a href="#org09557e2">2.1.4. Read the number of molecular orbitals</a></li>
<li><a href="#orgb5ba610">2.1.5. Allocate memory</a></li>
<li><a href="#org0cad22c">2.1.6. Read one-electron quantities</a></li>
<li><a href="#org8934129">2.1.7. Read two-electron quantities</a>
<li><a href="#orgde8159a">2.1.1. Declare Temporary variables</a></li>
<li><a href="#orgdc4188a">2.1.2. Obtain the name of the TREXIO file from the command line, and open it for reading</a></li>
<li><a href="#org87526cf">2.1.3. Read the nuclear repulsion energy</a></li>
<li><a href="#org45ed6bb">2.1.4. Read the number of molecular orbitals</a></li>
<li><a href="#org19fe4e2">2.1.5. Allocate memory</a></li>
<li><a href="#orgff246db">2.1.6. Read one-electron quantities</a></li>
<li><a href="#org967627c">2.1.7. Read two-electron quantities</a>
<ul>
<li><a href="#orgc460135">2.1.7.1. Electron repulsion integrals</a></li>
<li><a href="#org823d4fe">2.1.7.2. Reduced density matrix</a></li>
<li><a href="#org7d8e4cb">2.1.7.1. Electron repulsion integrals</a></li>
<li><a href="#orgfa37a3c">2.1.7.2. Reduced density matrix</a></li>
</ul>
</li>
<li><a href="#orga629d8c">2.1.8. Compute the energy</a></li>
<li><a href="#orgb3d9e9a">2.1.9. Terminate</a></li>
<li><a href="#orgbaddf55">2.1.8. Compute the energy</a></li>
<li><a href="#org248a43b">2.1.9. Terminate</a></li>
</ul>
</li>
<li><a href="#org24556e4">2.2. Python</a>
<li><a href="#orge2e3b55">2.2. Python</a>
<ul>
<li><a href="#org8451607">2.2.1. Obtain the name of the TREXIO file from the command line, and open it for reading</a></li>
<li><a href="#org91e11b9">2.2.2. Read the nuclear repulsion energy</a></li>
<li><a href="#org7cf5932">2.2.3. Read the number of molecular orbitals</a></li>
<li><a href="#org66aba92">2.2.4. Read one-electron quantities</a></li>
<li><a href="#orgf9a4cc8">2.2.5. Read two-electron quantities</a>
<li><a href="#orge08ddf3">2.2.1. Obtain the name of the TREXIO file from the command line, and open it for reading</a></li>
<li><a href="#org3a688f2">2.2.2. Read the nuclear repulsion energy</a></li>
<li><a href="#org508892d">2.2.3. Read the number of molecular orbitals</a></li>
<li><a href="#orgd5fd0de">2.2.4. Read one-electron quantities</a></li>
<li><a href="#org9769983">2.2.5. Read two-electron quantities</a>
<ul>
<li><a href="#org28f919b">2.2.5.1. Electron repulsion integrals</a></li>
<li><a href="#org768121e">2.2.5.2. Reduced density matrix</a></li>
<li><a href="#org69fb2e0">2.2.5.1. Electron repulsion integrals</a></li>
<li><a href="#org907ab3c">2.2.5.2. Reduced density matrix</a></li>
</ul>
</li>
<li><a href="#org8c494ac">2.2.6. Compute the energy</a></li>
<li><a href="#orgcbf7765">2.2.6. Compute the energy</a></li>
</ul>
</li>
</ul>
</li>
<li><a href="#org6c2d17d">3. Reading determinants</a>
<li><a href="#org8774d61">3. Reading determinants</a>
<ul>
<li><a href="#org3f5c94d">3.1. Fortran</a></li>
<li><a href="#orgcf0094f">3.1. Fortran</a></li>
</ul>
</li>
</ul>
</div>
</div>
<div id="outline-container-org6c42de4" class="outline-2">
<h2 id="org6c42de4"><span class="section-number-2">1</span> Writing nuclear coordinates</h2>
<div id="outline-container-orgee46d69" class="outline-2">
<h2 id="orgee46d69"><span class="section-number-2">1</span> Writing nuclear coordinates</h2>
<div class="outline-text-2" id="text-1">
<p>
Here is a demonstration of how to use TREXIO to write the nuclear
@ -410,8 +410,8 @@ as well as the necessary TREXIO functions to perform these actions.
</p>
</div>
<div id="outline-container-org13227e2" class="outline-3">
<h3 id="org13227e2"><span class="section-number-3">1.1</span> C</h3>
<div id="outline-container-org09177d1" class="outline-3">
<h3 id="org09177d1"><span class="section-number-3">1.1</span> C</h3>
<div class="outline-text-3" id="text-1-1">
<div class="org-src-container">
<pre class="src src-c"><span style="color: #483d8b;">#include</span> <span style="color: #8b2252;">&lt;stdio.h&gt;</span>
@ -461,8 +461,8 @@ as well as the necessary TREXIO functions to perform these actions.
</div>
</div>
<div id="outline-container-org7610624" class="outline-3">
<h3 id="org7610624"><span class="section-number-3">1.2</span> Python</h3>
<div id="outline-container-org04b83ac" class="outline-3">
<h3 id="org04b83ac"><span class="section-number-3">1.2</span> Python</h3>
<div class="outline-text-3" id="text-1-2">
<p>
This code uses the TREXIO Python binding to create a new TREXIO file named
@ -509,8 +509,8 @@ coordinates of the system.
</div>
</div>
<div id="outline-container-orgb4cb64a" class="outline-3">
<h3 id="orgb4cb64a"><span class="section-number-3">1.3</span> Fortran</h3>
<div id="outline-container-org806e552" class="outline-3">
<h3 id="org806e552"><span class="section-number-3">1.3</span> Fortran</h3>
<div class="outline-text-3" id="text-1-3">
<div class="org-src-container">
<pre class="src src-f90"><span style="color: #a020f0;">program</span> <span style="color: #0000ff;">trexio_water</span>
@ -567,12 +567,12 @@ coordinates of the system.
</div>
</div>
<div id="outline-container-org701c9c0" class="outline-2">
<h2 id="org701c9c0"><span class="section-number-2">2</span> Accessing sparse quantities (integrals)</h2>
<div id="outline-container-org74323d6" class="outline-2">
<h2 id="org74323d6"><span class="section-number-2">2</span> Accessing sparse quantities (integrals)</h2>
<div class="outline-text-2" id="text-2">
</div>
<div id="outline-container-org5debf4d" class="outline-3">
<h3 id="org5debf4d"><span class="section-number-3">2.1</span> Fortran</h3>
<div id="outline-container-org008edde" class="outline-3">
<h3 id="org008edde"><span class="section-number-3">2.1</span> Fortran</h3>
<div class="outline-text-3" id="text-2-1">
<div class="org-src-container">
<pre class="src src-f90"><span style="color: #a020f0;">program</span> <span style="color: #0000ff;">print_energy</span>
@ -618,8 +618,8 @@ One needs to read from the TREXIO file:
</div>
</div>
<div id="outline-container-orga98aed4" class="outline-4">
<h4 id="orga98aed4"><span class="section-number-4">2.1.1</span> Declare Temporary variables</h4>
<div id="outline-container-orgde8159a" class="outline-4">
<h4 id="orgde8159a"><span class="section-number-4">2.1.1</span> Declare Temporary variables</h4>
<div class="outline-text-4" id="text-2-1-1">
<div class="org-src-container">
<pre class="src src-f90"><span style="color: #228b22;">integer</span> ::<span style="color: #a0522d;"> i, j, k, l, m</span>
@ -634,8 +634,8 @@ One needs to read from the TREXIO file:
</div>
</div>
<div id="outline-container-org7163b3b" class="outline-4">
<h4 id="org7163b3b"><span class="section-number-4">2.1.2</span> Obtain the name of the TREXIO file from the command line, and open it for reading</h4>
<div id="outline-container-orgdc4188a" class="outline-4">
<h4 id="orgdc4188a"><span class="section-number-4">2.1.2</span> Obtain the name of the TREXIO file from the command line, and open it for reading</h4>
<div class="outline-text-4" id="text-2-1-2">
<div class="org-src-container">
<pre class="src src-f90"><span style="color: #a020f0;">call</span> <span style="color: #0000ff;">getarg</span>(1, filename)
@ -651,8 +651,8 @@ f = trexio_open (filename, <span style="color: #8b2252;">'r'</span>, TREXIO_AUTO
</div>
</div>
<div id="outline-container-orga37e703" class="outline-4">
<h4 id="orga37e703"><span class="section-number-4">2.1.3</span> Read the nuclear repulsion energy</h4>
<div id="outline-container-org87526cf" class="outline-4">
<h4 id="org87526cf"><span class="section-number-4">2.1.3</span> Read the nuclear repulsion energy</h4>
<div class="outline-text-4" id="text-2-1-3">
<div class="org-src-container">
<pre class="src src-f90">rc = trexio_read_nucleus_repulsion(f, E_nn)
@ -666,8 +666,8 @@ f = trexio_open (filename, <span style="color: #8b2252;">'r'</span>, TREXIO_AUTO
</div>
</div>
<div id="outline-container-org09557e2" class="outline-4">
<h4 id="org09557e2"><span class="section-number-4">2.1.4</span> Read the number of molecular orbitals</h4>
<div id="outline-container-org45ed6bb" class="outline-4">
<h4 id="org45ed6bb"><span class="section-number-4">2.1.4</span> Read the number of molecular orbitals</h4>
<div class="outline-text-4" id="text-2-1-4">
<div class="org-src-container">
<pre class="src src-f90">rc = trexio_read_mo_num(f, n)
@ -681,8 +681,8 @@ f = trexio_open (filename, <span style="color: #8b2252;">'r'</span>, TREXIO_AUTO
</div>
</div>
<div id="outline-container-orgb5ba610" class="outline-4">
<h4 id="orgb5ba610"><span class="section-number-4">2.1.5</span> Allocate memory</h4>
<div id="outline-container-org19fe4e2" class="outline-4">
<h4 id="org19fe4e2"><span class="section-number-4">2.1.5</span> Allocate memory</h4>
<div class="outline-text-4" id="text-2-1-5">
<div class="org-src-container">
<pre class="src src-f90"><span style="color: #a020f0;">allocate</span>( D(n,n), h0(n,n) )
@ -694,8 +694,8 @@ W(:,:,:,:) = 0.d0
</div>
</div>
<div id="outline-container-org0cad22c" class="outline-4">
<h4 id="org0cad22c"><span class="section-number-4">2.1.6</span> Read one-electron quantities</h4>
<div id="outline-container-orgff246db" class="outline-4">
<h4 id="orgff246db"><span class="section-number-4">2.1.6</span> Read one-electron quantities</h4>
<div class="outline-text-4" id="text-2-1-6">
<div class="org-src-container">
<pre class="src src-f90">rc = trexio_has_mo_1e_int_core_hamiltonian(f)
@ -727,8 +727,8 @@ rc = trexio_read_rdm_1e(f, D)
</div>
</div>
<div id="outline-container-org8934129" class="outline-4">
<h4 id="org8934129"><span class="section-number-4">2.1.7</span> Read two-electron quantities</h4>
<div id="outline-container-org967627c" class="outline-4">
<h4 id="org967627c"><span class="section-number-4">2.1.7</span> Read two-electron quantities</h4>
<div class="outline-text-4" id="text-2-1-7">
<p>
Reading is done with OpenMP. Each thread reads its own buffer, and
@ -744,8 +744,8 @@ to be protected in the critical section when modified.
</p>
</div>
<div id="outline-container-orgc460135" class="outline-5">
<h5 id="orgc460135"><span class="section-number-5">2.1.7.1</span> Electron repulsion integrals</h5>
<div id="outline-container-org7d8e4cb" class="outline-5">
<h5 id="org7d8e4cb"><span class="section-number-5">2.1.7.1</span> Electron repulsion integrals</h5>
<div class="outline-text-5" id="text-2-1-7-1">
<div class="org-src-container">
<pre class="src src-f90">rc = trexio_has_mo_2e_int_eri(f)
@ -794,8 +794,8 @@ icount = BUFSIZE
</div>
</div>
<div id="outline-container-org823d4fe" class="outline-5">
<h5 id="org823d4fe"><span class="section-number-5">2.1.7.2</span> Reduced density matrix</h5>
<div id="outline-container-orgfa37a3c" class="outline-5">
<h5 id="orgfa37a3c"><span class="section-number-5">2.1.7.2</span> Reduced density matrix</h5>
<div class="outline-text-5" id="text-2-1-7-2">
<div class="org-src-container">
<pre class="src src-f90">rc = trexio_has_rdm_2e(f)
@ -839,8 +839,8 @@ icount = bufsize
</div>
</div>
<div id="outline-container-orga629d8c" class="outline-4">
<h4 id="orga629d8c"><span class="section-number-4">2.1.8</span> Compute the energy</h4>
<div id="outline-container-orgbaddf55" class="outline-4">
<h4 id="orgbaddf55"><span class="section-number-4">2.1.8</span> Compute the energy</h4>
<div class="outline-text-4" id="text-2-1-8">
<p>
When the orbitals are real, we can use
@ -886,8 +886,8 @@ E = E + E_nn
</div>
</div>
<div id="outline-container-orgb3d9e9a" class="outline-4">
<h4 id="orgb3d9e9a"><span class="section-number-4">2.1.9</span> Terminate</h4>
<div id="outline-container-org248a43b" class="outline-4">
<h4 id="org248a43b"><span class="section-number-4">2.1.9</span> Terminate</h4>
<div class="outline-text-4" id="text-2-1-9">
<div class="org-src-container">
<pre class="src src-f90"> <span style="color: #a020f0;">deallocate</span>( D, h0, G, W )
@ -899,8 +899,8 @@ E = E + E_nn
</div>
</div>
<div id="outline-container-org24556e4" class="outline-3">
<h3 id="org24556e4"><span class="section-number-3">2.2</span> Python</h3>
<div id="outline-container-orge2e3b55" class="outline-3">
<h3 id="orge2e3b55"><span class="section-number-3">2.2</span> Python</h3>
<div class="outline-text-3" id="text-2-2">
<div class="org-src-container">
<pre class="src src-python"><span style="color: #a020f0;">import</span> sys
@ -934,8 +934,8 @@ One needs to read from the TREXIO file:
</dl>
</div>
<div id="outline-container-org8451607" class="outline-4">
<h4 id="org8451607"><span class="section-number-4">2.2.1</span> Obtain the name of the TREXIO file from the command line, and open it for reading</h4>
<div id="outline-container-orge08ddf3" class="outline-4">
<h4 id="orge08ddf3"><span class="section-number-4">2.2.1</span> Obtain the name of the TREXIO file from the command line, and open it for reading</h4>
<div class="outline-text-4" id="text-2-2-1">
<div class="org-src-container">
<pre class="src src-python"><span style="color: #a0522d;">filename</span> = sys.argv[1]
@ -945,8 +945,8 @@ One needs to read from the TREXIO file:
</div>
</div>
<div id="outline-container-org91e11b9" class="outline-4">
<h4 id="org91e11b9"><span class="section-number-4">2.2.2</span> Read the nuclear repulsion energy</h4>
<div id="outline-container-org3a688f2" class="outline-4">
<h4 id="org3a688f2"><span class="section-number-4">2.2.2</span> Read the nuclear repulsion energy</h4>
<div class="outline-text-4" id="text-2-2-2">
<div class="org-src-container">
<pre class="src src-python"><span style="color: #a0522d;">E_nn</span> = trexio.read_nucleus_repulsion(f)
@ -955,8 +955,8 @@ One needs to read from the TREXIO file:
</div>
</div>
<div id="outline-container-org7cf5932" class="outline-4">
<h4 id="org7cf5932"><span class="section-number-4">2.2.3</span> Read the number of molecular orbitals</h4>
<div id="outline-container-org508892d" class="outline-4">
<h4 id="org508892d"><span class="section-number-4">2.2.3</span> Read the number of molecular orbitals</h4>
<div class="outline-text-4" id="text-2-2-3">
<div class="org-src-container">
<pre class="src src-python"><span style="color: #a0522d;">n</span> = trexio.read_mo_num(f)
@ -965,8 +965,8 @@ One needs to read from the TREXIO file:
</div>
</div>
<div id="outline-container-org66aba92" class="outline-4">
<h4 id="org66aba92"><span class="section-number-4">2.2.4</span> Read one-electron quantities</h4>
<div id="outline-container-orgd5fd0de" class="outline-4">
<h4 id="orgd5fd0de"><span class="section-number-4">2.2.4</span> Read one-electron quantities</h4>
<div class="outline-text-4" id="text-2-2-4">
<div class="org-src-container">
<pre class="src src-python"><span style="color: #a020f0;">if</span> <span style="color: #a020f0;">not</span> trexio.has_mo_1e_int_core_hamiltonian(f):
@ -985,12 +985,12 @@ One needs to read from the TREXIO file:
</div>
</div>
<div id="outline-container-orgf9a4cc8" class="outline-4">
<h4 id="orgf9a4cc8"><span class="section-number-4">2.2.5</span> Read two-electron quantities</h4>
<div id="outline-container-org9769983" class="outline-4">
<h4 id="org9769983"><span class="section-number-4">2.2.5</span> Read two-electron quantities</h4>
<div class="outline-text-4" id="text-2-2-5">
</div>
<div id="outline-container-org28f919b" class="outline-5">
<h5 id="org28f919b"><span class="section-number-5">2.2.5.1</span> Electron repulsion integrals</h5>
<div id="outline-container-org69fb2e0" class="outline-5">
<h5 id="org69fb2e0"><span class="section-number-5">2.2.5.1</span> Electron repulsion integrals</h5>
<div class="outline-text-5" id="text-2-2-5-1">
<div class="org-src-container">
<pre class="src src-python"><span style="color: #a020f0;">if</span> <span style="color: #a020f0;">not</span> trexio.has_mo_2e_int_eri(f):
@ -1020,8 +1020,8 @@ One needs to read from the TREXIO file:
</div>
</div>
<div id="outline-container-org768121e" class="outline-5">
<h5 id="org768121e"><span class="section-number-5">2.2.5.2</span> Reduced density matrix</h5>
<div id="outline-container-org907ab3c" class="outline-5">
<h5 id="org907ab3c"><span class="section-number-5">2.2.5.2</span> Reduced density matrix</h5>
<div class="outline-text-5" id="text-2-2-5-2">
<div class="org-src-container">
<pre class="src src-python"><span style="color: #a020f0;">if</span> <span style="color: #a020f0;">not</span> trexio.has_rdm_2e(f):
@ -1043,8 +1043,8 @@ One needs to read from the TREXIO file:
</div>
</div>
<div id="outline-container-org8c494ac" class="outline-4">
<h4 id="org8c494ac"><span class="section-number-4">2.2.6</span> Compute the energy</h4>
<div id="outline-container-orgcbf7765" class="outline-4">
<h4 id="orgcbf7765"><span class="section-number-4">2.2.6</span> Compute the energy</h4>
<div class="outline-text-4" id="text-2-2-6">
<p>
When the orbitals are real, we can use
@ -1073,12 +1073,12 @@ E &=& E_{\text{NN}} + \sum_{ij} \gamma_{ij}\, \langle j | h | i \rangle\,
</div>
</div>
<div id="outline-container-org6c2d17d" class="outline-2">
<h2 id="org6c2d17d"><span class="section-number-2">3</span> Reading determinants</h2>
<div id="outline-container-org8774d61" class="outline-2">
<h2 id="org8774d61"><span class="section-number-2">3</span> Reading determinants</h2>
<div class="outline-text-2" id="text-3">
</div>
<div id="outline-container-org3f5c94d" class="outline-3">
<h3 id="org3f5c94d"><span class="section-number-3">3.1</span> Fortran</h3>
<div id="outline-container-orgcf0094f" class="outline-3">
<h3 id="orgcf0094f"><span class="section-number-3">3.1</span> Fortran</h3>
<div class="outline-text-3" id="text-3-1">
<div class="org-src-container">
<pre class="src src-f90"><span style="color: #a020f0;">program</span> <span style="color: #0000ff;">test</span>
@ -1157,7 +1157,7 @@ end
</div>
<div id="postamble" class="status">
<p class="author">Author: TREX-CoE</p>
<p class="date">Created: 2024-05-14 Tue 13:54</p>
<p class="date">Created: 2024-05-23 Thu 15:59</p>
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
</div>
</body>

View File

@ -3,7 +3,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<!-- 2024-05-14 Tue 13:54 -->
<!-- 2024-05-23 Thu 15:59 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>TREXIO source code documentation</title>
@ -406,7 +406,7 @@ The TREXIO library is licensed under the open-source 3-clause BSD license.
</div>
<div id="postamble" class="status">
<p class="author">Author: TREX-CoE</p>
<p class="date">Created: 2024-05-14 Tue 13:54</p>
<p class="date">Created: 2024-05-23 Thu 15:59</p>
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
</div>
</body>

View File

@ -3,7 +3,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<!-- 2024-05-14 Tue 13:54 -->
<!-- 2024-05-23 Thu 15:59 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Motivation</title>
@ -384,7 +384,7 @@ still lacking, and the purpose of the TREXIO library is to fill this gap.
</div>
<div id="postamble" class="status">
<p class="author">Author: TREX-CoE</p>
<p class="date">Created: 2024-05-14 Tue 13:54</p>
<p class="date">Created: 2024-05-23 Thu 15:59</p>
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
</div>
</body>

View File

@ -3,7 +3,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<!-- 2024-05-14 Tue 13:54 -->
<!-- 2024-05-23 Thu 15:59 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>The TREXIO library</title>
@ -346,19 +346,19 @@ for the JavaScript code in this tag.
<h2>Table of Contents</h2>
<div id="text-table-of-contents">
<ul>
<li><a href="#org52b00db">1. Format specification</a>
<li><a href="#org9303786">1. Format specification</a>
<ul>
<li><a href="#orgf885883">1.1. Organization of the data</a></li>
<li><a href="#org58cab4f">1.2. Data types</a></li>
<li><a href="#org2d2d050">1.1. Organization of the data</a></li>
<li><a href="#org6b3404c">1.2. Data types</a></li>
</ul>
</li>
<li><a href="#org158c378">2. The TREXIO library</a>
<li><a href="#org2dea9dc">2. The TREXIO library</a>
<ul>
<li><a href="#org1d3456f">2.1. The front-end</a></li>
<li><a href="#org417f916">2.2. The back-end</a></li>
<li><a href="#orgef9816d">2.3. Supported languages</a></li>
<li><a href="#org1261795">2.4. Source code generation and documentation</a></li>
<li><a href="#orgf402bcf">2.5. Availability</a></li>
<li><a href="#org1036f23">2.1. The front-end</a></li>
<li><a href="#org69b1c90">2.2. The back-end</a></li>
<li><a href="#org08ee7e8">2.3. Supported languages</a></li>
<li><a href="#org8366c1b">2.4. Source code generation and documentation</a></li>
<li><a href="#org7fae2ac">2.5. Availability</a></li>
</ul>
</li>
</ul>
@ -366,8 +366,8 @@ for the JavaScript code in this tag.
</div>
<div id="outline-container-org52b00db" class="outline-2">
<h2 id="org52b00db"><span class="section-number-2">1</span> Format specification</h2>
<div id="outline-container-org9303786" class="outline-2">
<h2 id="org9303786"><span class="section-number-2">1</span> Format specification</h2>
<div class="outline-text-2" id="text-1">
</td>
<td>
@ -388,8 +388,8 @@ calculation are stored.
</p>
</div>
<div id="outline-container-orgf885883" class="outline-3">
<h3 id="orgf885883"><span class="section-number-3">1.1</span> Organization of the data</h3>
<div id="outline-container-org2d2d050" class="outline-3">
<h3 id="org2d2d050"><span class="section-number-3">1.1</span> Organization of the data</h3>
<div class="outline-text-3" id="text-1-1">
<p>
The data in TREXIO are organized into <b>groups</b>, each containing
@ -405,8 +405,8 @@ number of nuclei.
</div>
</div>
<div id="outline-container-org58cab4f" class="outline-3">
<h3 id="org58cab4f"><span class="section-number-3">1.2</span> Data types</h3>
<div id="outline-container-org6b3404c" class="outline-3">
<h3 id="org6b3404c"><span class="section-number-3">1.2</span> Data types</h3>
<div class="outline-text-3" id="text-1-2">
<p>
So that TREXIO can be used in any language, we use a limited number
@ -473,8 +473,8 @@ with the same name suffixed by <code>_im</code>.
</div>
</div>
<div id="outline-container-org158c378" class="outline-2">
<h2 id="org158c378"><span class="section-number-2">2</span> The TREXIO library</h2>
<div id="outline-container-org2dea9dc" class="outline-2">
<h2 id="org2dea9dc"><span class="section-number-2">2</span> The TREXIO library</h2>
<div class="outline-text-2" id="text-2">
</td>
<td>
@ -497,8 +497,8 @@ interface between the library and the physical storage.
</p>
</div>
<div id="outline-container-org1d3456f" class="outline-3">
<h3 id="org1d3456f"><span class="section-number-3">2.1</span> The front-end</h3>
<div id="outline-container-org1036f23" class="outline-3">
<h3 id="org1036f23"><span class="section-number-3">2.1</span> The front-end</h3>
<div class="outline-text-3" id="text-2-1">
<p>
By using the TREXIO library, users can store and extract data in a
@ -539,8 +539,8 @@ made are safe.
</div>
</div>
<div id="outline-container-org417f916" class="outline-3">
<h3 id="org417f916"><span class="section-number-3">2.2</span> The back-end</h3>
<div id="outline-container-org69b1c90" class="outline-3">
<h3 id="org69b1c90"><span class="section-number-3">2.2</span> The back-end</h3>
<div class="outline-text-3" id="text-2-2">
<p>
At present, TREXIO supports two back-ends: one relying only on the
@ -610,8 +610,8 @@ repositories.
</div>
</div>
<div id="outline-container-orgef9816d" class="outline-3">
<h3 id="orgef9816d"><span class="section-number-3">2.3</span> Supported languages</h3>
<div id="outline-container-org08ee7e8" class="outline-3">
<h3 id="org08ee7e8"><span class="section-number-3">2.3</span> Supported languages</h3>
<div class="outline-text-3" id="text-2-3">
<p>
One of the main benefits of using C as the interface for a library is
@ -668,8 +668,8 @@ via the Binder platform.
</div>
<div id="outline-container-org1261795" class="outline-3">
<h3 id="org1261795"><span class="section-number-3">2.4</span> Source code generation and documentation</h3>
<div id="outline-container-org8366c1b" class="outline-3">
<h3 id="org8366c1b"><span class="section-number-3">2.4</span> Source code generation and documentation</h3>
<div class="outline-text-3" id="text-2-4">
<p>
Source code generation is a valuable technique that can significantly
@ -723,8 +723,8 @@ regardless of their programming skills.
</div>
</div>
<div id="outline-container-orgf402bcf" class="outline-3">
<h3 id="orgf402bcf"><span class="section-number-3">2.5</span> Availability</h3>
<div id="outline-container-org7fae2ac" class="outline-3">
<h3 id="org7fae2ac"><span class="section-number-3">2.5</span> Availability</h3>
<div class="outline-text-3" id="text-2-5">
<p>
The TREXIO library is designed to be portable and easy to install
@ -754,7 +754,7 @@ are available in Ubuntu 23.04.
</div>
<div id="postamble" class="status">
<p class="author">Author: TREX-CoE</p>
<p class="date">Created: 2024-05-14 Tue 13:54</p>
<p class="date">Created: 2024-05-23 Thu 15:59</p>
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
</div>
</body>

File diff suppressed because it is too large Load Diff

View File

@ -3,7 +3,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<!-- 2024-05-14 Tue 13:54 -->
<!-- 2024-05-23 Thu 15:59 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>HDF5 back end</title>
@ -324,25 +324,25 @@ for the JavaScript code in this tag.
<h2>Table of Contents</h2>
<div id="text-table-of-contents">
<ul>
<li><a href="#org1b5f9f4">1. Template for HDF5 definitions</a></li>
<li><a href="#orgda92e50">2. Template for HDF5 structures</a></li>
<li><a href="#org0d11324">3. Template for HDF5 init/deinit</a></li>
<li><a href="#org1b53987">4. Template for HDF5 has a group</a></li>
<li><a href="#orgd7af1c6">5. Template for HDF5 has/read/write a numerical attribute</a></li>
<li><a href="#org13c00a5">6. Template for HDF5 has/read/write a dataset of numerical data</a></li>
<li><a href="#orgfe1a429">7. Template for HDF5 has/read/write a dataset of sparse data</a></li>
<li><a href="#org869cd9f">8. Template for HDF5 has/read/write a dataset of buffered vectors</a></li>
<li><a href="#org703444b">9. Template for HDF5 has/read/write a dataset of strings</a></li>
<li><a href="#org3e3aa89">10. Template for HDF5 has/read/write a string attribute</a></li>
<li><a href="#org4f18e01">11. Template for HDF5 delete a group (UNSAFE mode)</a></li>
<li><a href="#org479042c">12. Source code for the determinant part</a></li>
<li><a href="#orgda3f427">13. Helper functions</a></li>
<li><a href="#orga77cf75">1. Template for HDF5 definitions</a></li>
<li><a href="#org83a183d">2. Template for HDF5 structures</a></li>
<li><a href="#org464c68b">3. Template for HDF5 init/deinit</a></li>
<li><a href="#orgfc3f0a5">4. Template for HDF5 has a group</a></li>
<li><a href="#org8b80a8e">5. Template for HDF5 has/read/write a numerical attribute</a></li>
<li><a href="#orgf6d29e7">6. Template for HDF5 has/read/write a dataset of numerical data</a></li>
<li><a href="#org1a90716">7. Template for HDF5 has/read/write a dataset of sparse data</a></li>
<li><a href="#orge7c7695">8. Template for HDF5 has/read/write a dataset of buffered vectors</a></li>
<li><a href="#org5c3f9b4">9. Template for HDF5 has/read/write a dataset of strings</a></li>
<li><a href="#orgeeb2989">10. Template for HDF5 has/read/write a string attribute</a></li>
<li><a href="#orgc605fb9">11. Template for HDF5 delete a group (UNSAFE mode)</a></li>
<li><a href="#orgbfdd495">12. Source code for the determinant part</a></li>
<li><a href="#orgba23fd5">13. Helper functions</a></li>
</ul>
</div>
</div>
<div id="outline-container-org1b5f9f4" class="outline-2">
<h2 id="org1b5f9f4"><span class="section-number-2">1</span> Template for HDF5 definitions</h2>
<div id="outline-container-orga77cf75" class="outline-2">
<h2 id="orga77cf75"><span class="section-number-2">1</span> Template for HDF5 definitions</h2>
<div class="outline-text-2" id="text-1">
<div class="org-src-container">
<pre class="src src-c"><span style="color: #483d8b;">#define</span> $GROUP$_GROUP_NAME <span style="color: #8b2252;">"$group$"</span>
@ -354,8 +354,8 @@ for the JavaScript code in this tag.
</div>
</div>
<div id="outline-container-orgda92e50" class="outline-2">
<h2 id="orgda92e50"><span class="section-number-2">2</span> Template for HDF5 structures</h2>
<div id="outline-container-org83a183d" class="outline-2">
<h2 id="org83a183d"><span class="section-number-2">2</span> Template for HDF5 structures</h2>
<div class="outline-text-2" id="text-2">
<p>
Polymorphism of the <code>trexio_t</code> type is handled by ensuring that the
@ -375,8 +375,8 @@ corresponding types for all back ends can be safely casted to
</div>
</div>
<div id="outline-container-org0d11324" class="outline-2">
<h2 id="org0d11324"><span class="section-number-2">3</span> Template for HDF5 init/deinit</h2>
<div id="outline-container-org464c68b" class="outline-2">
<h2 id="org464c68b"><span class="section-number-2">3</span> Template for HDF5 init/deinit</h2>
<div class="outline-text-2" id="text-3">
<div class="org-src-container">
<pre class="src src-c"><span style="color: #228b22;">trexio_exit_code</span>
@ -496,8 +496,8 @@ corresponding types for all back ends can be safely casted to
</div>
</div>
<div id="outline-container-org1b53987" class="outline-2">
<h2 id="org1b53987"><span class="section-number-2">4</span> Template for HDF5 has a group</h2>
<div id="outline-container-orgfc3f0a5" class="outline-2">
<h2 id="orgfc3f0a5"><span class="section-number-2">4</span> Template for HDF5 has a group</h2>
<div class="outline-text-2" id="text-4">
<div class="org-src-container">
<pre class="src src-c"><span style="color: #228b22;">trexio_exit_code</span>
@ -527,8 +527,8 @@ corresponding types for all back ends can be safely casted to
</div>
</div>
<div id="outline-container-orgd7af1c6" class="outline-2">
<h2 id="orgd7af1c6"><span class="section-number-2">5</span> Template for HDF5 has/read/write a numerical attribute</h2>
<div id="outline-container-org8b80a8e" class="outline-2">
<h2 id="org8b80a8e"><span class="section-number-2">5</span> Template for HDF5 has/read/write a numerical attribute</h2>
<div class="outline-text-2" id="text-5">
<div class="org-src-container">
<pre class="src src-c"><span style="color: #228b22;">trexio_exit_code</span>
@ -632,8 +632,8 @@ corresponding types for all back ends can be safely casted to
</div>
</div>
<div id="outline-container-org13c00a5" class="outline-2">
<h2 id="org13c00a5"><span class="section-number-2">6</span> Template for HDF5 has/read/write a dataset of numerical data</h2>
<div id="outline-container-orgf6d29e7" class="outline-2">
<h2 id="orgf6d29e7"><span class="section-number-2">6</span> Template for HDF5 has/read/write a dataset of numerical data</h2>
<div class="outline-text-2" id="text-6">
<div class="org-src-container">
<pre class="src src-c"><span style="color: #228b22;">trexio_exit_code</span>
@ -770,8 +770,8 @@ corresponding types for all back ends can be safely casted to
</div>
</div>
<div id="outline-container-orgfe1a429" class="outline-2">
<h2 id="orgfe1a429"><span class="section-number-2">7</span> Template for HDF5 has/read/write a dataset of sparse data</h2>
<div id="outline-container-org1a90716" class="outline-2">
<h2 id="org1a90716"><span class="section-number-2">7</span> Template for HDF5 has/read/write a dataset of sparse data</h2>
<div class="outline-text-2" id="text-7">
<p>
Sparse data is stored using extensible datasets of HDF5. Extensibility is required
@ -976,8 +976,8 @@ due to the fact that the sparse data will be written in chunks of user-defined s
</div>
</div>
<div id="outline-container-org869cd9f" class="outline-2">
<h2 id="org869cd9f"><span class="section-number-2">8</span> Template for HDF5 has/read/write a dataset of buffered vectors</h2>
<div id="outline-container-orge7c7695" class="outline-2">
<h2 id="orge7c7695"><span class="section-number-2">8</span> Template for HDF5 has/read/write a dataset of buffered vectors</h2>
<div class="outline-text-2" id="text-8">
<p>
Chunked I/O in HDF5 for <code>buffered</code> data.
@ -1111,8 +1111,8 @@ Chunked I/O in HDF5 for <code>buffered</code> data.
</div>
</div>
<div id="outline-container-org703444b" class="outline-2">
<h2 id="org703444b"><span class="section-number-2">9</span> Template for HDF5 has/read/write a dataset of strings</h2>
<div id="outline-container-org5c3f9b4" class="outline-2">
<h2 id="org5c3f9b4"><span class="section-number-2">9</span> Template for HDF5 has/read/write a dataset of strings</h2>
<div class="outline-text-2" id="text-9">
<div class="org-src-container">
<pre class="src src-c"><span style="color: #228b22;">trexio_exit_code</span>
@ -1309,8 +1309,8 @@ Chunked I/O in HDF5 for <code>buffered</code> data.
</div>
</div>
<div id="outline-container-org3e3aa89" class="outline-2">
<h2 id="org3e3aa89"><span class="section-number-2">10</span> Template for HDF5 has/read/write a string attribute</h2>
<div id="outline-container-orgeeb2989" class="outline-2">
<h2 id="orgeeb2989"><span class="section-number-2">10</span> Template for HDF5 has/read/write a string attribute</h2>
<div class="outline-text-2" id="text-10">
<div class="org-src-container">
<pre class="src src-c"><span style="color: #228b22;">trexio_exit_code</span>
@ -1437,8 +1437,8 @@ Chunked I/O in HDF5 for <code>buffered</code> data.
</div>
</div>
</div>
<div id="outline-container-org4f18e01" class="outline-2">
<h2 id="org4f18e01"><span class="section-number-2">11</span> Template for HDF5 delete a group (UNSAFE mode)</h2>
<div id="outline-container-orgc605fb9" class="outline-2">
<h2 id="orgc605fb9"><span class="section-number-2">11</span> Template for HDF5 delete a group (UNSAFE mode)</h2>
<div class="outline-text-2" id="text-11">
<p>
<b><b>Note:</b></b> in early versions of the HDF5 library (v &lt; 1.10) unlinking an object was not working as expected
@ -1478,8 +1478,8 @@ Thus, any corrupted/lost file space will remain in the first file. The use of <c
</div>
</div>
<div id="outline-container-org479042c" class="outline-2">
<h2 id="org479042c"><span class="section-number-2">12</span> Source code for the determinant part</h2>
<div id="outline-container-orgbfdd495" class="outline-2">
<h2 id="orgbfdd495"><span class="section-number-2">12</span> Source code for the determinant part</h2>
<div class="outline-text-2" id="text-12">
<p>
Each array is stored in a separate HDF5 dataset due to the fact that determinant I/O has to be decoupled.
@ -1581,8 +1581,8 @@ Size specifies the number of data items (e.g. determinants) to process.
</div>
</div>
<div id="outline-container-orgda3f427" class="outline-2">
<h2 id="orgda3f427"><span class="section-number-2">13</span> Helper functions</h2>
<div id="outline-container-orgba23fd5" class="outline-2">
<h2 id="orgba23fd5"><span class="section-number-2">13</span> Helper functions</h2>
<div class="outline-text-2" id="text-13">
<div class="org-src-container">
<pre class="src src-c"><span style="color: #228b22;">trexio_exit_code</span>
@ -1850,7 +1850,7 @@ Size specifies the number of data items (e.g. determinants) to process.
</div>
<div id="postamble" class="status">
<p class="author">Author: TREX-CoE</p>
<p class="date">Created: 2024-05-14 Tue 13:54</p>
<p class="date">Created: 2024-05-23 Thu 15:59</p>
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
</div>
</body>

View File

@ -3,7 +3,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<!-- 2024-05-14 Tue 13:54 -->
<!-- 2024-05-23 Thu 15:59 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>TEXT back end</title>
@ -324,23 +324,23 @@ for the JavaScript code in this tag.
<h2>Table of Contents</h2>
<div id="text-table-of-contents">
<ul>
<li><a href="#orge8228f0">1. Template for group-related structures in text back end</a></li>
<li><a href="#orgb4b2700">2. Template for general structure in text back end</a></li>
<li><a href="#orgedcba8f">3. Initialize function (constant part)</a></li>
<li><a href="#org034cefe">4. Deinitialize function (templated part)</a></li>
<li><a href="#orgb70484b">5. Flush function (templated part)</a></li>
<li><a href="#org299ea25">6. Template for text read a group</a></li>
<li><a href="#org27b3d4f">7. Template for text has a group</a></li>
<li><a href="#org44f64e3">8. Template for text flush a group</a></li>
<li><a href="#orgc9f726f">9. Template for text free memory</a></li>
<li><a href="#org76d9ea3">10. Template for has/read/write a numerical attribute</a></li>
<li><a href="#org5c9f790">11. Template for has/read/write a dataset of numerical data</a></li>
<li><a href="#orge968df0">12. Template for has/read/write a dataset of strings</a></li>
<li><a href="#org9821599">13. Template for has/read/write a string attribute</a></li>
<li><a href="#orgb847f95">14. Template for has/read/write the dataset of sparse data</a></li>
<li><a href="#orged6ccf3">15. Template for has/read/write a buffered vector</a></li>
<li><a href="#org9198ddd">16. Template for text delete a group (UNSAFE mode)</a></li>
<li><a href="#orgac310ab">17. Source code for the determinant part</a></li>
<li><a href="#org283e72f">1. Template for group-related structures in text back end</a></li>
<li><a href="#org73df39e">2. Template for general structure in text back end</a></li>
<li><a href="#org13d086e">3. Initialize function (constant part)</a></li>
<li><a href="#orga9befe6">4. Deinitialize function (templated part)</a></li>
<li><a href="#org6055deb">5. Flush function (templated part)</a></li>
<li><a href="#org7ec6a8d">6. Template for text read a group</a></li>
<li><a href="#org1b53094">7. Template for text has a group</a></li>
<li><a href="#org7b15175">8. Template for text flush a group</a></li>
<li><a href="#org495372b">9. Template for text free memory</a></li>
<li><a href="#orgd39fdb6">10. Template for has/read/write a numerical attribute</a></li>
<li><a href="#org2e46c75">11. Template for has/read/write a dataset of numerical data</a></li>
<li><a href="#orgd0c0394">12. Template for has/read/write a dataset of strings</a></li>
<li><a href="#orgc02996f">13. Template for has/read/write a string attribute</a></li>
<li><a href="#orgd7b85d7">14. Template for has/read/write the dataset of sparse data</a></li>
<li><a href="#org90068d4">15. Template for has/read/write a buffered vector</a></li>
<li><a href="#org6c6a414">16. Template for text delete a group (UNSAFE mode)</a></li>
<li><a href="#orged5abc5">17. Source code for the determinant part</a></li>
</ul>
</div>
</div>
@ -362,8 +362,8 @@ directory.
The file is written when closed, or when the flush function is called.
</p>
<div id="outline-container-orge8228f0" class="outline-2">
<h2 id="orge8228f0"><span class="section-number-2">1</span> Template for group-related structures in text back end</h2>
<div id="outline-container-org283e72f" class="outline-2">
<h2 id="org283e72f"><span class="section-number-2">1</span> Template for group-related structures in text back end</h2>
<div class="outline-text-2" id="text-1">
<div class="org-src-container">
<pre class="src src-c"><span style="color: #a020f0;">typedef</span> <span style="color: #a020f0;">struct</span> $group$_s {
@ -382,8 +382,8 @@ The file is written when closed, or when the flush function is called.
</div>
</div>
<div id="outline-container-orgb4b2700" class="outline-2">
<h2 id="orgb4b2700"><span class="section-number-2">2</span> Template for general structure in text back end</h2>
<div id="outline-container-org73df39e" class="outline-2">
<h2 id="org73df39e"><span class="section-number-2">2</span> Template for general structure in text back end</h2>
<div class="outline-text-2" id="text-2">
<p>
Polymorphism of the <code>trexio_t</code> type is handled by ensuring that the
@ -403,8 +403,8 @@ corresponding types for all back ends can be safely casted to
</div>
</div>
<div id="outline-container-orgedcba8f" class="outline-2">
<h2 id="orgedcba8f"><span class="section-number-2">3</span> Initialize function (constant part)</h2>
<div id="outline-container-org13d086e" class="outline-2">
<h2 id="org13d086e"><span class="section-number-2">3</span> Initialize function (constant part)</h2>
<div class="outline-text-2" id="text-3">
<div class="org-src-container">
<pre class="src src-c"><span style="color: #228b22;">bool</span>
@ -601,8 +601,8 @@ In that case, we define an alternate one, which is not as safe as the original o
</div>
</div>
<div id="outline-container-org034cefe" class="outline-2">
<h2 id="org034cefe"><span class="section-number-2">4</span> Deinitialize function (templated part)</h2>
<div id="outline-container-orga9befe6" class="outline-2">
<h2 id="orga9befe6"><span class="section-number-2">4</span> Deinitialize function (templated part)</h2>
<div class="outline-text-2" id="text-4">
<div class="org-src-container">
<pre class="src src-c"><span style="color: #228b22;">trexio_exit_code</span>
@ -624,8 +624,8 @@ In that case, we define an alternate one, which is not as safe as the original o
</div>
</div>
<div id="outline-container-orgb70484b" class="outline-2">
<h2 id="orgb70484b"><span class="section-number-2">5</span> Flush function (templated part)</h2>
<div id="outline-container-org6055deb" class="outline-2">
<h2 id="org6055deb"><span class="section-number-2">5</span> Flush function (templated part)</h2>
<div class="outline-text-2" id="text-5">
<div class="org-src-container">
<pre class="src src-c"><span style="color: #228b22;">trexio_exit_code</span>
@ -648,8 +648,8 @@ In that case, we define an alternate one, which is not as safe as the original o
</div>
</div>
<div id="outline-container-org299ea25" class="outline-2">
<h2 id="org299ea25"><span class="section-number-2">6</span> Template for text read a group</h2>
<div id="outline-container-org7ec6a8d" class="outline-2">
<h2 id="org7ec6a8d"><span class="section-number-2">6</span> Template for text read a group</h2>
<div class="outline-text-2" id="text-6">
<div class="org-src-container">
<pre class="src src-c">$group$_t*
@ -875,8 +875,8 @@ trexio_text_read_$group$ (<span style="color: #228b22;">trexio_text_t</span>* <s
</div>
</div>
<div id="outline-container-org27b3d4f" class="outline-2">
<h2 id="org27b3d4f"><span class="section-number-2">7</span> Template for text has a group</h2>
<div id="outline-container-org1b53094" class="outline-2">
<h2 id="org1b53094"><span class="section-number-2">7</span> Template for text has a group</h2>
<div class="outline-text-2" id="text-7">
<div class="org-src-container">
<pre class="src src-c"><span style="color: #228b22;">trexio_exit_code</span>
@ -916,8 +916,8 @@ trexio_text_read_$group$ (<span style="color: #228b22;">trexio_text_t</span>* <s
</div>
</div>
<div id="outline-container-org44f64e3" class="outline-2">
<h2 id="org44f64e3"><span class="section-number-2">8</span> Template for text flush a group</h2>
<div id="outline-container-org7b15175" class="outline-2">
<h2 id="org7b15175"><span class="section-number-2">8</span> Template for text flush a group</h2>
<div class="outline-text-2" id="text-8">
<div class="org-src-container">
<pre class="src src-c"><span style="color: #228b22;">trexio_exit_code</span>
@ -981,8 +981,8 @@ trexio_text_read_$group$ (<span style="color: #228b22;">trexio_text_t</span>* <s
</div>
</div>
<div id="outline-container-orgc9f726f" class="outline-2">
<h2 id="orgc9f726f"><span class="section-number-2">9</span> Template for text free memory</h2>
<div id="outline-container-org495372b" class="outline-2">
<h2 id="org495372b"><span class="section-number-2">9</span> Template for text free memory</h2>
<div class="outline-text-2" id="text-9">
<p>
Memory is allocated when reading. The following function frees memory.
@ -1051,8 +1051,8 @@ This function is called upon the non-successful exit from the <code>trexio_text_
</div>
</div>
<div id="outline-container-org76d9ea3" class="outline-2">
<h2 id="org76d9ea3"><span class="section-number-2">10</span> Template for has/read/write a numerical attribute</h2>
<div id="outline-container-orgd39fdb6" class="outline-2">
<h2 id="orgd39fdb6"><span class="section-number-2">10</span> Template for has/read/write a numerical attribute</h2>
<div class="outline-text-2" id="text-10">
<div class="org-src-container">
<pre class="src src-c"><span style="color: #228b22;">trexio_exit_code</span>
@ -1115,8 +1115,8 @@ This function is called upon the non-successful exit from the <code>trexio_text_
</div>
</div>
<div id="outline-container-org5c9f790" class="outline-2">
<h2 id="org5c9f790"><span class="section-number-2">11</span> Template for has/read/write a dataset of numerical data</h2>
<div id="outline-container-org2e46c75" class="outline-2">
<h2 id="org2e46c75"><span class="section-number-2">11</span> Template for has/read/write a dataset of numerical data</h2>
<div class="outline-text-2" id="text-11">
<p>
The <code>group_dset</code> array is assumed allocated with the appropriate size.
@ -1212,8 +1212,8 @@ The <code>group_dset</code> array is assumed allocated with the appropriate size
</div>
</div>
</div>
<div id="outline-container-orge968df0" class="outline-2">
<h2 id="orge968df0"><span class="section-number-2">12</span> Template for has/read/write a dataset of strings</h2>
<div id="outline-container-orgd0c0394" class="outline-2">
<h2 id="orgd0c0394"><span class="section-number-2">12</span> Template for has/read/write a dataset of strings</h2>
<div class="outline-text-2" id="text-12">
<p>
The <code>group_dset</code> array is assumed allocated with the appropriate size.
@ -1314,8 +1314,8 @@ The <code>group_dset</code> array is assumed allocated with the appropriate size
</div>
</div>
</div>
<div id="outline-container-org9821599" class="outline-2">
<h2 id="org9821599"><span class="section-number-2">13</span> Template for has/read/write a string attribute</h2>
<div id="outline-container-orgc02996f" class="outline-2">
<h2 id="orgc02996f"><span class="section-number-2">13</span> Template for has/read/write a string attribute</h2>
<div class="outline-text-2" id="text-13">
<div class="org-src-container">
<pre class="src src-c"><span style="color: #228b22;">trexio_exit_code</span>
@ -1389,8 +1389,8 @@ The <code>group_dset</code> array is assumed allocated with the appropriate size
</div>
</div>
</div>
<div id="outline-container-orgb847f95" class="outline-2">
<h2 id="orgb847f95"><span class="section-number-2">14</span> Template for has/read/write the dataset of sparse data</h2>
<div id="outline-container-orgd7b85d7" class="outline-2">
<h2 id="orgd7b85d7"><span class="section-number-2">14</span> Template for has/read/write the dataset of sparse data</h2>
<div class="outline-text-2" id="text-14">
<p>
Each sparse array is stored in a separate <code>.txt</code> file due to the fact that sparse I/O has to be decoupled
@ -1680,8 +1680,8 @@ User provides indices and values of the sparse array as two separate variables.
</div>
</div>
<div id="outline-container-orged6ccf3" class="outline-2">
<h2 id="orged6ccf3"><span class="section-number-2">15</span> Template for has/read/write a buffered vector</h2>
<div id="outline-container-org90068d4" class="outline-2">
<h2 id="org90068d4"><span class="section-number-2">15</span> Template for has/read/write a buffered vector</h2>
<div class="outline-text-2" id="text-15">
<p>
Each array is stored in a separate <code>.txt</code> file due to the fact that buffered I/O has to be decoupled
@ -1911,8 +1911,8 @@ Size specifies the number of vector elements to be written.
</div>
</div>
</div>
<div id="outline-container-org9198ddd" class="outline-2">
<h2 id="org9198ddd"><span class="section-number-2">16</span> Template for text delete a group (UNSAFE mode)</h2>
<div id="outline-container-org6c6a414" class="outline-2">
<h2 id="org6c6a414"><span class="section-number-2">16</span> Template for text delete a group (UNSAFE mode)</h2>
<div class="outline-text-2" id="text-16">
<div class="org-src-container">
<pre class="src src-c"><span style="color: #228b22;">trexio_exit_code</span>
@ -1940,8 +1940,8 @@ Size specifies the number of vector elements to be written.
</div>
</div>
<div id="outline-container-orgac310ab" class="outline-2">
<h2 id="orgac310ab"><span class="section-number-2">17</span> Source code for the determinant part</h2>
<div id="outline-container-orged5abc5" class="outline-2">
<h2 id="orged5abc5"><span class="section-number-2">17</span> Source code for the determinant part</h2>
<div class="outline-text-2" id="text-17">
<p>
Each array is stored in a separate <code>.txt</code> file due to the fact that determinant I/O has to be decoupled
@ -2133,7 +2133,7 @@ Size specifies the number of data items, e.g. determinants.
</div>
<div id="postamble" class="status">
<p class="author">Author: TREX-CoE</p>
<p class="date">Created: 2024-05-14 Tue 13:54</p>
<p class="date">Created: 2024-05-23 Thu 15:59</p>
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
</div>
</body>

260
trex.html
View File

@ -3,7 +3,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<!-- 2024-05-14 Tue 13:54 -->
<!-- 2024-05-23 Thu 15:59 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Data stored in TREXIO</title>
@ -346,72 +346,72 @@ for the JavaScript code in this tag.
<h2>Table of Contents</h2>
<div id="text-table-of-contents">
<ul>
<li><a href="#org3d0819a">1. Metadata (metadata group)</a></li>
<li><a href="#orgd7784e3">2. System</a>
<li><a href="#org2c1ee05">1. Metadata (metadata group)</a></li>
<li><a href="#orgda32220">2. System</a>
<ul>
<li><a href="#org9890083">2.1. Nucleus (nucleus group)</a></li>
<li><a href="#org6fd6bd2">2.2. Cell (cell group)</a></li>
<li><a href="#org8cba6d7">2.3. Periodic boundary calculations (pbc group)</a></li>
<li><a href="#org245d93b">2.4. Electron (electron group)</a></li>
<li><a href="#org3b05530">2.5. Ground or excited states (state group)</a></li>
<li><a href="#org4bcae23">2.1. Nucleus (nucleus group)</a></li>
<li><a href="#org879a8b9">2.2. Cell (cell group)</a></li>
<li><a href="#org7cfb589">2.3. Periodic boundary calculations (pbc group)</a></li>
<li><a href="#org780611a">2.4. Electron (electron group)</a></li>
<li><a href="#org1db8dc1">2.5. Ground or excited states (state group)</a></li>
</ul>
</li>
<li><a href="#org8c192a2">3. Basis functions</a>
<li><a href="#org55bacb1">3. Basis functions</a>
<ul>
<li><a href="#org6c97b6b">3.1. Basis set (basis group)</a>
<li><a href="#orgf450770">3.1. Basis set (basis group)</a>
<ul>
<li><a href="#orged4d7ee">3.1.1. Gaussian and Slater-type orbitals</a></li>
<li><a href="#org3c44ddd">3.1.2. Numerical orbitals</a></li>
<li><a href="#org545613b">3.1.3. Plane waves</a></li>
<li><a href="#org7142002">3.1.4. Oscillating orbitals</a></li>
<li><a href="#org7231d1c">3.1.5. Data definitions</a></li>
<li><a href="#org4c661a7">3.1.6. Example</a></li>
<li><a href="#org374d36f">3.1.1. Gaussian and Slater-type orbitals</a></li>
<li><a href="#org6969c98">3.1.2. Numerical orbitals</a></li>
<li><a href="#org72eaab4">3.1.3. Plane waves</a></li>
<li><a href="#orga7389e6">3.1.4. Oscillating orbitals</a></li>
<li><a href="#org5fa3ac0">3.1.5. Data definitions</a></li>
<li><a href="#orgcc8d59b">3.1.6. Example</a></li>
</ul>
</li>
<li><a href="#org82f5fef">3.2. Effective core potentials (ecp group)</a>
<li><a href="#org6c2bbd7">3.2. Effective core potentials (ecp group)</a>
<ul>
<li><a href="#org65241f3">3.2.1. Example</a></li>
<li><a href="#org0622633">3.2.1. Example</a></li>
</ul>
</li>
<li><a href="#orgbbad512">3.3. Numerical integration grid (grid group)</a></li>
<li><a href="#orgb873390">3.3. Numerical integration grid (grid group)</a></li>
</ul>
</li>
<li><a href="#orgf2b4744">4. Orbitals</a>
<li><a href="#org4d14b65">4. Orbitals</a>
<ul>
<li><a href="#org9978a59">4.1. Atomic orbitals (ao group)</a>
<li><a href="#orgaac82c1">4.1. Atomic orbitals (ao group)</a>
<ul>
<li><a href="#ao_one_e">4.1.1. One-electron integrals (<code>ao_1e_int</code> group)</a></li>
<li><a href="#ao_two_e">4.1.2. Two-electron integrals (<code>ao_2e_int</code> group)</a></li>
</ul>
</li>
<li><a href="#orgfa7b832">4.2. Molecular orbitals (mo group)</a>
<li><a href="#orgafb5307">4.2. Molecular orbitals (mo group)</a>
<ul>
<li><a href="#orgb137127">4.2.1. One-electron integrals (<code>mo_1e_int</code> group)</a></li>
<li><a href="#org14d9422">4.2.2. Two-electron integrals (<code>mo_2e_int</code> group)</a></li>
<li><a href="#org1248691">4.2.1. One-electron integrals (<code>mo_1e_int</code> group)</a></li>
<li><a href="#orgb768e69">4.2.2. Two-electron integrals (<code>mo_2e_int</code> group)</a></li>
</ul>
</li>
</ul>
</li>
<li><a href="#org4861aa3">5. Multi-determinant information</a>
<li><a href="#org85dbc10">5. Multi-determinant information</a>
<ul>
<li><a href="#org856da71">5.1. Slater determinants (determinant group)</a></li>
<li><a href="#org92d6e92">5.2. Configuration state functions (csf group)</a></li>
<li><a href="#orga6e76e8">5.3. Amplitudes (amplitude group)</a></li>
<li><a href="#orge39666d">5.4. Reduced density matrices (rdm group)</a></li>
<li><a href="#org47e555b">5.1. Slater determinants (determinant group)</a></li>
<li><a href="#orgde7ef57">5.2. Configuration state functions (csf group)</a></li>
<li><a href="#orgc1fba39">5.3. Amplitudes (amplitude group)</a></li>
<li><a href="#org6515a92">5.4. Reduced density matrices (rdm group)</a></li>
</ul>
</li>
<li><a href="#orgfce4fa0">6. Correlation factors</a>
<li><a href="#orgcfc2c41">6. Correlation factors</a>
<ul>
<li><a href="#org75fca5c">6.1. Jastrow factor (jastrow group)</a>
<li><a href="#orga633b54">6.1. Jastrow factor (jastrow group)</a>
<ul>
<li><a href="#org33e80a5">6.1.1. CHAMP</a></li>
<li><a href="#org4cb0c3c">6.1.2. Mu</a></li>
<li><a href="#org81b35af">6.1.3. Table of values</a></li>
<li><a href="#orgdbf6435">6.1.1. CHAMP</a></li>
<li><a href="#orgbdd5cec">6.1.2. Mu</a></li>
<li><a href="#org00d9d1f">6.1.3. Table of values</a></li>
</ul>
</li>
</ul>
</li>
<li><a href="#org52e8ccd">7. Quantum Monte Carlo data (qmc group)</a></li>
<li><a href="#orge08959a">7. Quantum Monte Carlo data (qmc group)</a></li>
</ul>
</div>
</div>
@ -433,8 +433,8 @@ contiguous in memory. In the row-major representation, <code>A[i,j]</code> and
<code>A[i,j+1]</code> are contiguous.
</p>
<div id="outline-container-org3d0819a" class="outline-2">
<h2 id="org3d0819a"><span class="section-number-2">1</span> Metadata (metadata group)</h2>
<div id="outline-container-org2c1ee05" class="outline-2">
<h2 id="org2c1ee05"><span class="section-number-2">1</span> Metadata (metadata group)</h2>
<div class="outline-text-2" id="text-1">
<p>
As we expect TREXIO files to be archived in open-data repositories,
@ -444,7 +444,7 @@ have participated to the creation of the file, a list of authors of
the file, and a textual description.
</p>
<table id="orgf3b73fa" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
<table id="org7082f98" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
<colgroup>
@ -537,19 +537,19 @@ value can be manually overwritten (in unsafe mode) from <code>1</code> to <code>
</div>
</div>
<div id="outline-container-orgd7784e3" class="outline-2">
<h2 id="orgd7784e3"><span class="section-number-2">2</span> System</h2>
<div id="outline-container-orgda32220" class="outline-2">
<h2 id="orgda32220"><span class="section-number-2">2</span> System</h2>
<div class="outline-text-2" id="text-2">
</div>
<div id="outline-container-org9890083" class="outline-3">
<h3 id="org9890083"><span class="section-number-3">2.1</span> Nucleus (nucleus group)</h3>
<div id="outline-container-org4bcae23" class="outline-3">
<h3 id="org4bcae23"><span class="section-number-3">2.1</span> Nucleus (nucleus group)</h3>
<div class="outline-text-3" id="text-2-1">
<p>
The nuclei are considered as fixed point charges. Coordinates are
given in Cartesian \((x,y,z)\) format.
</p>
<table id="orga0e6cd3" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
<table id="orgf5dd494" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
<colgroup>
@ -634,15 +634,15 @@ given in Cartesian \((x,y,z)\) format.
</div>
</div>
<div id="outline-container-org6fd6bd2" class="outline-3">
<h3 id="org6fd6bd2"><span class="section-number-3">2.2</span> Cell (cell group)</h3>
<div id="outline-container-org879a8b9" class="outline-3">
<h3 id="org879a8b9"><span class="section-number-3">2.2</span> Cell (cell group)</h3>
<div class="outline-text-3" id="text-2-2">
<p>
3 Lattice vectors to define a box containing the system, for example
used in periodic calculations.
</p>
<table id="orgcc57b2c" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
<table id="org01cd2d0" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
<colgroup>
@ -691,7 +691,7 @@ used in periodic calculations.
</tr>
<tr>
<td class="org-left"><code>G_a</code></td>
<td class="org-left"><code>g_a</code></td>
<td class="org-left"><code>float</code></td>
<td class="org-left"><code>[3]</code></td>
<td class="org-left"><code>(3)</code></td>
@ -699,7 +699,7 @@ used in periodic calculations.
</tr>
<tr>
<td class="org-left"><code>G_b</code></td>
<td class="org-left"><code>g_b</code></td>
<td class="org-left"><code>float</code></td>
<td class="org-left"><code>[3]</code></td>
<td class="org-left"><code>(3)</code></td>
@ -707,7 +707,7 @@ used in periodic calculations.
</tr>
<tr>
<td class="org-left"><code>G_c</code></td>
<td class="org-left"><code>g_c</code></td>
<td class="org-left"><code>float</code></td>
<td class="org-left"><code>[3]</code></td>
<td class="org-left"><code>(3)</code></td>
@ -726,10 +726,10 @@ used in periodic calculations.
</div>
</div>
<div id="outline-container-org8cba6d7" class="outline-3">
<h3 id="org8cba6d7"><span class="section-number-3">2.3</span> Periodic boundary calculations (pbc group)</h3>
<div id="outline-container-org7cfb589" class="outline-3">
<h3 id="org7cfb589"><span class="section-number-3">2.3</span> Periodic boundary calculations (pbc group)</h3>
<div class="outline-text-3" id="text-2-3">
<table id="org6144246" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
<table id="orgaa889a6" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
<colgroup>
@ -789,8 +789,8 @@ used in periodic calculations.
</div>
</div>
<div id="outline-container-org245d93b" class="outline-3">
<h3 id="org245d93b"><span class="section-number-3">2.4</span> Electron (electron group)</h3>
<div id="outline-container-org780611a" class="outline-3">
<h3 id="org780611a"><span class="section-number-3">2.4</span> Electron (electron group)</h3>
<div class="outline-text-3" id="text-2-4">
<p>
The chemical system consists of nuclei and electrons, where the
@ -809,7 +809,7 @@ the number of &uarr; and &darr; electrons is fixed.
</p>
<table id="orgafdc3c8" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
<table id="orgc982273" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
<colgroup>
@ -861,8 +861,8 @@ the number of &uarr; and &darr; electrons is fixed.
</div>
</div>
<div id="outline-container-org3b05530" class="outline-3">
<h3 id="org3b05530"><span class="section-number-3">2.5</span> Ground or excited states (state group)</h3>
<div id="outline-container-org1db8dc1" class="outline-3">
<h3 id="org1db8dc1"><span class="section-number-3">2.5</span> Ground or excited states (state group)</h3>
<div class="outline-text-3" id="text-2-5">
<p>
This group contains information about excited states. Since only a
@ -879,7 +879,7 @@ integrals, etc.
The <code>id</code> and <code>current_label</code> attributes need to be specified for each file.
</p>
<table id="org1578d96" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
<table id="org554f714" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
<colgroup>
@ -956,16 +956,16 @@ The <code>id</code> and <code>current_label</code> attributes need to be specifi
</div>
</div>
<div id="outline-container-org8c192a2" class="outline-2">
<h2 id="org8c192a2"><span class="section-number-2">3</span> Basis functions</h2>
<div id="outline-container-org55bacb1" class="outline-2">
<h2 id="org55bacb1"><span class="section-number-2">3</span> Basis functions</h2>
<div class="outline-text-2" id="text-3">
</div>
<div id="outline-container-org6c97b6b" class="outline-3">
<h3 id="org6c97b6b"><span class="section-number-3">3.1</span> Basis set (basis group)</h3>
<div id="outline-container-orgf450770" class="outline-3">
<h3 id="orgf450770"><span class="section-number-3">3.1</span> Basis set (basis group)</h3>
<div class="outline-text-3" id="text-3-1">
</div>
<div id="outline-container-orged4d7ee" class="outline-4">
<h4 id="orged4d7ee"><span class="section-number-4">3.1.1</span> Gaussian and Slater-type orbitals</h4>
<div id="outline-container-org374d36f" class="outline-4">
<h4 id="org374d36f"><span class="section-number-4">3.1.1</span> Gaussian and Slater-type orbitals</h4>
<div class="outline-text-4" id="text-3-1-1">
<p>
We consider here basis functions centered on nuclei. Hence, it is
@ -1019,8 +1019,8 @@ All the basis set parameters are stored in one-dimensional arrays.
</div>
</div>
<div id="outline-container-org3c44ddd" class="outline-4">
<h4 id="org3c44ddd"><span class="section-number-4">3.1.2</span> Numerical orbitals</h4>
<div id="outline-container-org6969c98" class="outline-4">
<h4 id="org6969c98"><span class="section-number-4">3.1.2</span> Numerical orbitals</h4>
<div class="outline-text-4" id="text-3-1-2">
<p>
Trexio supports numerical atom centered orbitals. The implementation is
@ -1084,8 +1084,8 @@ reimplement them with consideration for its specific needs.
</div>
</div>
<div id="outline-container-org545613b" class="outline-4">
<h4 id="org545613b"><span class="section-number-4">3.1.3</span> Plane waves</h4>
<div id="outline-container-org72eaab4" class="outline-4">
<h4 id="org72eaab4"><span class="section-number-4">3.1.3</span> Plane waves</h4>
<div class="outline-text-4" id="text-3-1-3">
<p>
A plane wave is defined as
@ -1106,8 +1106,8 @@ plane waves.
</div>
</div>
<div id="outline-container-org7142002" class="outline-4">
<h4 id="org7142002"><span class="section-number-4">3.1.4</span> Oscillating orbitals</h4>
<div id="outline-container-orga7389e6" class="outline-4">
<h4 id="orga7389e6"><span class="section-number-4">3.1.4</span> Oscillating orbitals</h4>
<div class="outline-text-4" id="text-3-1-4">
<p>
Basis functions can be made oscillating as
@ -1129,10 +1129,10 @@ Oscillation kind can be:
</div>
</div>
<div id="outline-container-org7231d1c" class="outline-4">
<h4 id="org7231d1c"><span class="section-number-4">3.1.5</span> Data definitions</h4>
<div id="outline-container-org5fa3ac0" class="outline-4">
<h4 id="org5fa3ac0"><span class="section-number-4">3.1.5</span> Data definitions</h4>
<div class="outline-text-4" id="text-3-1-5">
<table id="org6539285" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
<table id="org8fdfcf5" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
<colgroup>
@ -1384,8 +1384,8 @@ Oscillation kind can be:
</div>
</div>
<div id="outline-container-org4c661a7" class="outline-4">
<h4 id="org4c661a7"><span class="section-number-4">3.1.6</span> Example</h4>
<div id="outline-container-orgcc8d59b" class="outline-4">
<h4 id="orgcc8d59b"><span class="section-number-4">3.1.6</span> Example</h4>
<div class="outline-text-4" id="text-3-1-6">
<p>
For example, consider H<sub>2</sub> with the following basis set (in GAMESS
@ -1463,8 +1463,8 @@ prim_factor =
</div>
</div>
<div id="outline-container-org82f5fef" class="outline-3">
<h3 id="org82f5fef"><span class="section-number-3">3.2</span> Effective core potentials (ecp group)</h3>
<div id="outline-container-org6c2bbd7" class="outline-3">
<h3 id="org6c2bbd7"><span class="section-number-3">3.2</span> Effective core potentials (ecp group)</h3>
<div class="outline-text-3" id="text-3-2">
<p>
An effective core potential (ECP) \(V_A^{\text{ECP}}\) replacing the
@ -1498,7 +1498,7 @@ where \(Z_\text{eff}\) is the effective nuclear charge of the center.
See <a href="http://dx.doi.org/10.1063/1.4984046">http://dx.doi.org/10.1063/1.4984046</a> or <a href="https://doi.org/10.1063/1.5121006">https://doi.org/10.1063/1.5121006</a> for more info.
</p>
<table id="orgf239145" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
<table id="org5fc2406" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
<colgroup>
@ -1613,8 +1613,8 @@ If you encounter the aforementioned issue, please report it to our
</p>
</div>
<div id="outline-container-org65241f3" class="outline-4">
<h4 id="org65241f3"><span class="section-number-4">3.2.1</span> Example</h4>
<div id="outline-container-org0622633" class="outline-4">
<h4 id="org0622633"><span class="section-number-4">3.2.1</span> Example</h4>
<div class="outline-text-4" id="text-3-2-1">
<p>
For example, consider H<sub>2</sub> molecule with the following
@ -1677,8 +1677,8 @@ power = [
</div>
</div>
<div id="outline-container-orgbbad512" class="outline-3">
<h3 id="orgbbad512"><span class="section-number-3">3.3</span> Numerical integration grid (grid group)</h3>
<div id="outline-container-orgb873390" class="outline-3">
<h3 id="orgb873390"><span class="section-number-3">3.3</span> Numerical integration grid (grid group)</h3>
<div class="outline-text-3" id="text-3-3">
<p>
In some applications, such as DFT calculations, integrals have to
@ -1693,7 +1693,7 @@ The structure of this group is adapted for the <a href="https://github.com/dftli
Feel free to submit a PR if you find missing options/functionalities.
</p>
<table id="org85237d9" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
<table id="org068fbf8" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
<colgroup>
@ -1826,12 +1826,12 @@ Feel free to submit a PR if you find missing options/functionalities.
</div>
</div>
<div id="outline-container-orgf2b4744" class="outline-2">
<h2 id="orgf2b4744"><span class="section-number-2">4</span> Orbitals</h2>
<div id="outline-container-org4d14b65" class="outline-2">
<h2 id="org4d14b65"><span class="section-number-2">4</span> Orbitals</h2>
<div class="outline-text-2" id="text-4">
</div>
<div id="outline-container-org9978a59" class="outline-3">
<h3 id="org9978a59"><span class="section-number-3">4.1</span> Atomic orbitals (ao group)</h3>
<div id="outline-container-orgaac82c1" class="outline-3">
<h3 id="orgaac82c1"><span class="section-number-3">4.1</span> Atomic orbitals (ao group)</h3>
<div class="outline-text-3" id="text-4-1">
<p>
AOs are defined as
@ -1912,7 +1912,7 @@ AO, so the correction factor \(\mathcal{N}_i'\) for \(d_{xy}\) in the
</p>
<table id="orgb1c8d10" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
<table id="org24b89cb" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
<colgroup>
@ -1971,7 +1971,7 @@ AO, so the correction factor \(\mathcal{N}_i'\) for \(d_{xy}\) in the
</table>
</div>
<div id="outline-container-orgea6c34e" class="outline-4">
<div id="outline-container-orge50211c" class="outline-4">
<h4 id="ao_one_e"><span class="section-number-4">4.1.1</span> One-electron integrals (<code>ao_1e_int</code> group)</h4>
<div class="outline-text-4" id="text-ao_one_e">
<ul class="org-ul">
@ -1989,7 +1989,7 @@ The one-electron integrals for a one-electron operator \(\hat{O}\) are
over atomic orbitals.
</p>
<table id="orgdacbf05" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
<table id="org05e17c0" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
<colgroup>
@ -2097,7 +2097,7 @@ over atomic orbitals.
</div>
</div>
<div id="outline-container-org6dd276e" class="outline-4">
<div id="outline-container-orgbc1f1a6" class="outline-4">
<h4 id="ao_two_e"><span class="section-number-4">4.1.2</span> Two-electron integrals (<code>ao_2e_int</code> group)</h4>
<div class="outline-text-4" id="text-ao_two_e">
<p>
@ -2123,7 +2123,7 @@ The Cholesky decomposition of the integrals can also be stored:
\]
</p>
<table id="orgcc68087" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
<table id="org1aa54f5" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
<colgroup>
@ -2200,10 +2200,10 @@ The Cholesky decomposition of the integrals can also be stored:
</div>
</div>
<div id="outline-container-orgfa7b832" class="outline-3">
<h3 id="orgfa7b832"><span class="section-number-3">4.2</span> Molecular orbitals (mo group)</h3>
<div id="outline-container-orgafb5307" class="outline-3">
<h3 id="orgafb5307"><span class="section-number-3">4.2</span> Molecular orbitals (mo group)</h3>
<div class="outline-text-3" id="text-4-2">
<table id="org1492ffb" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
<table id="org86169ec" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
<colgroup>
@ -2319,8 +2319,8 @@ is the number of spin-orbitals, twice the number of spatial orbitals.
</div>
<div id="outline-container-orgb137127" class="outline-4">
<h4 id="orgb137127"><span class="section-number-4">4.2.1</span> One-electron integrals (<code>mo_1e_int</code> group)</h4>
<div id="outline-container-org1248691" class="outline-4">
<h4 id="org1248691"><span class="section-number-4">4.2.1</span> One-electron integrals (<code>mo_1e_int</code> group)</h4>
<div class="outline-text-4" id="text-4-2-1">
<p>
The operators as the same as those defined in the
@ -2328,7 +2328,7 @@ The operators as the same as those defined in the
the basis of molecular orbitals.
</p>
<table id="orgdbf59dd" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
<table id="org2fc0ce2" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
<colgroup>
@ -2436,8 +2436,8 @@ the basis of molecular orbitals.
</div>
</div>
<div id="outline-container-org14d9422" class="outline-4">
<h4 id="org14d9422"><span class="section-number-4">4.2.2</span> Two-electron integrals (<code>mo_2e_int</code> group)</h4>
<div id="outline-container-orgb768e69" class="outline-4">
<h4 id="orgb768e69"><span class="section-number-4">4.2.2</span> Two-electron integrals (<code>mo_2e_int</code> group)</h4>
<div class="outline-text-4" id="text-4-2-2">
<p>
The operators are the same as those defined in the
@ -2445,7 +2445,7 @@ The operators are the same as those defined in the
the basis of molecular orbitals.
</p>
<table id="orga1086d7" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
<table id="org8edef70" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
<colgroup>
@ -2523,12 +2523,12 @@ the basis of molecular orbitals.
</div>
</div>
<div id="outline-container-org4861aa3" class="outline-2">
<h2 id="org4861aa3"><span class="section-number-2">5</span> Multi-determinant information</h2>
<div id="outline-container-org85dbc10" class="outline-2">
<h2 id="org85dbc10"><span class="section-number-2">5</span> Multi-determinant information</h2>
<div class="outline-text-2" id="text-5">
</div>
<div id="outline-container-org856da71" class="outline-3">
<h3 id="org856da71"><span class="section-number-3">5.1</span> Slater determinants (determinant group)</h3>
<div id="outline-container-org47e555b" class="outline-3">
<h3 id="org47e555b"><span class="section-number-3">5.1</span> Slater determinants (determinant group)</h3>
<div class="outline-text-3" id="text-5-1">
<p>
The configuration interaction (CI) wave function \(\Psi\)
@ -2570,7 +2570,7 @@ produced by the code generator.
An illustration on how to read determinants is presented in the <a href="./examples.html">examples</a>.
</p>
<table id="org5c68f36" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
<table id="org6da7a53" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
<colgroup>
@ -2622,8 +2622,8 @@ An illustration on how to read determinants is presented in the <a href="./examp
</div>
</div>
<div id="outline-container-org92d6e92" class="outline-3">
<h3 id="org92d6e92"><span class="section-number-3">5.2</span> Configuration state functions (csf group)</h3>
<div id="outline-container-orgde7ef57" class="outline-3">
<h3 id="orgde7ef57"><span class="section-number-3">5.2</span> Configuration state functions (csf group)</h3>
<div class="outline-text-3" id="text-5-2">
<p>
The configuration interaction (CI) wave function \(\Psi\) can be
@ -2645,7 +2645,7 @@ matrix \(\langle D_I | \psi_J \rangle\) needed to project the CSFs in
the basis of Slater determinants.
</p>
<table id="org2cea7b2" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
<table id="org2055346" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
<colgroup>
@ -2697,8 +2697,8 @@ the basis of Slater determinants.
</div>
</div>
<div id="outline-container-orga6e76e8" class="outline-3">
<h3 id="orga6e76e8"><span class="section-number-3">5.3</span> Amplitudes (amplitude group)</h3>
<div id="outline-container-orgc1fba39" class="outline-3">
<h3 id="orgc1fba39"><span class="section-number-3">5.3</span> Amplitudes (amplitude group)</h3>
<div class="outline-text-3" id="text-5-3">
<p>
The wave function may be expressed in terms of action of the cluster
@ -2769,7 +2769,7 @@ The order of the indices is chosen such that
<li>\(\dots\)</li>
</ul>
<table id="orgdba012d" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
<table id="org9113a90" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
<colgroup>
@ -2861,8 +2861,8 @@ The order of the indices is chosen such that
</div>
</div>
<div id="outline-container-orge39666d" class="outline-3">
<h3 id="orge39666d"><span class="section-number-3">5.4</span> Reduced density matrices (rdm group)</h3>
<div id="outline-container-org6515a92" class="outline-3">
<h3 id="org6515a92"><span class="section-number-3">5.4</span> Reduced density matrices (rdm group)</h3>
<div class="outline-text-3" id="text-5-4">
<p>
The reduced density matrices are defined in the basis of molecular
@ -2934,7 +2934,7 @@ expressed in a basis of a one-electron function
\(g_{ik}(\mathbf{r}_1) = \phi_i(\mathbf{r}_1) \phi_k(\mathbf{r}_1)\).
</p>
<table id="org7158923" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
<table id="org45887de" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
<colgroup>
@ -3099,12 +3099,12 @@ expressed in a basis of a one-electron function
</div>
</div>
<div id="outline-container-orgfce4fa0" class="outline-2">
<h2 id="orgfce4fa0"><span class="section-number-2">6</span> Correlation factors</h2>
<div id="outline-container-orgcfc2c41" class="outline-2">
<h2 id="orgcfc2c41"><span class="section-number-2">6</span> Correlation factors</h2>
<div class="outline-text-2" id="text-6">
</div>
<div id="outline-container-org75fca5c" class="outline-3">
<h3 id="org75fca5c"><span class="section-number-3">6.1</span> Jastrow factor (jastrow group)</h3>
<div id="outline-container-orga633b54" class="outline-3">
<h3 id="orga633b54"><span class="section-number-3">6.1</span> Jastrow factor (jastrow group)</h3>
<div class="outline-text-3" id="text-6-1">
<p>
The Jastrow factor is an $N$-electron function which multiplies the CI
@ -3129,8 +3129,8 @@ following:
</ul>
</div>
<div id="outline-container-org33e80a5" class="outline-4">
<h4 id="org33e80a5"><span class="section-number-4">6.1.1</span> CHAMP</h4>
<div id="outline-container-orgdbf6435" class="outline-4">
<h4 id="orgdbf6435"><span class="section-number-4">6.1.1</span> CHAMP</h4>
<div class="outline-text-4" id="text-6-1-1">
<p>
The first form of Jastrow factor is the one used in
@ -3231,8 +3231,8 @@ The terms \(J_{\text{ee},ij}^\infty\) and \(J_{\text{eN}}^\infty\) are shifts to
</div>
<div id="outline-container-org4cb0c3c" class="outline-4">
<h4 id="org4cb0c3c"><span class="section-number-4">6.1.2</span> Mu</h4>
<div id="outline-container-orgbdd5cec" class="outline-4">
<h4 id="orgbdd5cec"><span class="section-number-4">6.1.2</span> Mu</h4>
<div class="outline-text-4" id="text-6-1-2">
<p>
<a href="https://aip.scitation.org/doi/10.1063/5.0044683">Mu-Jastrow</a> is based on a one-parameter correlation factor that has
@ -3329,10 +3329,10 @@ The parameter \(\mu\) is stored in the <code>ee</code> array, the parameters
</div>
</div>
<div id="outline-container-org81b35af" class="outline-4">
<h4 id="org81b35af"><span class="section-number-4">6.1.3</span> Table of values</h4>
<div id="outline-container-org00d9d1f" class="outline-4">
<h4 id="org00d9d1f"><span class="section-number-4">6.1.3</span> Table of values</h4>
<div class="outline-text-4" id="text-6-1-3">
<table id="orga24527e" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
<table id="orgcfeae65" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
<colgroup>
@ -3450,8 +3450,8 @@ The parameter \(\mu\) is stored in the <code>ee</code> array, the parameters
</div>
</div>
<div id="outline-container-org52e8ccd" class="outline-2">
<h2 id="org52e8ccd"><span class="section-number-2">7</span> Quantum Monte Carlo data (qmc group)</h2>
<div id="outline-container-orge08959a" class="outline-2">
<h2 id="orge08959a"><span class="section-number-2">7</span> Quantum Monte Carlo data (qmc group)</h2>
<div class="outline-text-2" id="text-7">
<p>
In quantum Monte Carlo calculations, the wave function is evaluated
@ -3465,7 +3465,7 @@ By convention, the electron coordinates contain first all the electrons
of $&uarr;$-spin and then all the $&darr;$-spin.
</p>
<table id="org36073ef" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
<table id="org54b2fad" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
<colgroup>
@ -3527,7 +3527,7 @@ of $&uarr;$-spin and then all the $&darr;$-spin.
</div>
<div id="postamble" class="status">
<p class="author">Author: TREX-CoE</p>
<p class="date">Created: 2024-05-14 Tue 13:54</p>
<p class="date">Created: 2024-05-23 Thu 15:59</p>
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
</div>
</body>