mirror of
https://github.com/TREX-CoE/trexio.git
synced 2025-04-30 04:14:54 +02:00
Deploying to gh-pages from @ TREX-CoE/trexio@67e6054898 🚀
This commit is contained in:
parent
0ef8cfaccf
commit
b83b60e31a
@ -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>
|
||||
<!-- 2023-01-11 Wed 18:35 -->
|
||||
<!-- 2023-01-13 Fri 14:48 -->
|
||||
<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>
|
||||
@ -360,7 +360,7 @@ and bug reports should be submitted at
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: TREX-CoE</p>
|
||||
<p class="date">Created: 2023-01-11 Wed 18:35</p>
|
||||
<p class="date">Created: 2023-01-13 Fri 14:48</p>
|
||||
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||
</div>
|
||||
</body>
|
||||
|
@ -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>
|
||||
<!-- 2023-01-11 Wed 18:35 -->
|
||||
<!-- 2023-01-13 Fri 14:48 -->
|
||||
<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,31 +346,31 @@ for the JavaScript code in this tag.
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents">
|
||||
<ul>
|
||||
<li><a href="#orga60d003">1. Accessing sparse quantities (integrals)</a>
|
||||
<li><a href="#org905599a">1. Accessing sparse quantities (integrals)</a>
|
||||
<ul>
|
||||
<li><a href="#org7717455">1.1. Fortran</a>
|
||||
<li><a href="#orgc983130">1.1. Fortran</a>
|
||||
<ul>
|
||||
<li><a href="#orgd0c2770">1.1.1. Declare Temporary variables</a></li>
|
||||
<li><a href="#org27da21e">1.1.2. Obtain the name of the TREXIO file from the command line, and open it for reading</a></li>
|
||||
<li><a href="#orge8cdd7e">1.1.3. Read the nuclear repulsion energy</a></li>
|
||||
<li><a href="#orga60dad1">1.1.4. Read the number of molecular orbitals</a></li>
|
||||
<li><a href="#org39d5608">1.1.5. Allocate memory</a></li>
|
||||
<li><a href="#orgce94669">1.1.6. Read one-electron quantities</a></li>
|
||||
<li><a href="#orge879b46">1.1.7. Read two-electron quantities</a>
|
||||
<li><a href="#org5daa19d">1.1.1. Declare Temporary variables</a></li>
|
||||
<li><a href="#org851a6f0">1.1.2. Obtain the name of the TREXIO file from the command line, and open it for reading</a></li>
|
||||
<li><a href="#orgbb29f51">1.1.3. Read the nuclear repulsion energy</a></li>
|
||||
<li><a href="#org47de87a">1.1.4. Read the number of molecular orbitals</a></li>
|
||||
<li><a href="#org2e21278">1.1.5. Allocate memory</a></li>
|
||||
<li><a href="#orgd0bdb37">1.1.6. Read one-electron quantities</a></li>
|
||||
<li><a href="#org40392a8">1.1.7. Read two-electron quantities</a>
|
||||
<ul>
|
||||
<li><a href="#org11d4eb4">1.1.7.1. Electron repulsion integrals</a></li>
|
||||
<li><a href="#orgeac937d">1.1.7.2. Reduced density matrix</a></li>
|
||||
<li><a href="#org71b0ee8">1.1.7.1. Electron repulsion integrals</a></li>
|
||||
<li><a href="#org1de7c88">1.1.7.2. Reduced density matrix</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org8b870a9">1.1.8. Compute the energy</a></li>
|
||||
<li><a href="#orgaa5e4c9">1.1.9. Terminate</a></li>
|
||||
<li><a href="#orgf1d68d5">1.1.8. Compute the energy</a></li>
|
||||
<li><a href="#orgc9ab09c">1.1.9. Terminate</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org8f2616f">2. Reading determinants</a>
|
||||
<li><a href="#org5b45ee2">2. Reading determinants</a>
|
||||
<ul>
|
||||
<li><a href="#orgfa59962">2.1. Fortran</a></li>
|
||||
<li><a href="#org7d86640">2.1. Fortran</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@ -378,12 +378,12 @@ for the JavaScript code in this tag.
|
||||
</div>
|
||||
|
||||
|
||||
<div id="outline-container-orga60d003" class="outline-2">
|
||||
<h2 id="orga60d003"><span class="section-number-2">1</span> Accessing sparse quantities (integrals)</h2>
|
||||
<div id="outline-container-org905599a" class="outline-2">
|
||||
<h2 id="org905599a"><span class="section-number-2">1</span> Accessing sparse quantities (integrals)</h2>
|
||||
<div class="outline-text-2" id="text-1">
|
||||
</div>
|
||||
<div id="outline-container-org7717455" class="outline-3">
|
||||
<h3 id="org7717455"><span class="section-number-3">1.1</span> Fortran</h3>
|
||||
<div id="outline-container-orgc983130" class="outline-3">
|
||||
<h3 id="orgc983130"><span class="section-number-3">1.1</span> Fortran</h3>
|
||||
<div class="outline-text-3" id="text-1-1">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-f90"><span style="color: #a020f0;">program</span> <span style="color: #0000ff;">print_energy</span>
|
||||
@ -429,8 +429,8 @@ One needs to read from the TREXIO file:
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgd0c2770" class="outline-4">
|
||||
<h4 id="orgd0c2770"><span class="section-number-4">1.1.1</span> Declare Temporary variables</h4>
|
||||
<div id="outline-container-org5daa19d" class="outline-4">
|
||||
<h4 id="org5daa19d"><span class="section-number-4">1.1.1</span> Declare Temporary variables</h4>
|
||||
<div class="outline-text-4" id="text-1-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>
|
||||
@ -445,8 +445,8 @@ One needs to read from the TREXIO file:
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org27da21e" class="outline-4">
|
||||
<h4 id="org27da21e"><span class="section-number-4">1.1.2</span> Obtain the name of the TREXIO file from the command line, and open it for reading</h4>
|
||||
<div id="outline-container-org851a6f0" class="outline-4">
|
||||
<h4 id="org851a6f0"><span class="section-number-4">1.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-1-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)
|
||||
@ -462,8 +462,8 @@ f = trexio_open (filename, <span style="color: #8b2252;">'r'</span>, TREXIO_HDF5
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orge8cdd7e" class="outline-4">
|
||||
<h4 id="orge8cdd7e"><span class="section-number-4">1.1.3</span> Read the nuclear repulsion energy</h4>
|
||||
<div id="outline-container-orgbb29f51" class="outline-4">
|
||||
<h4 id="orgbb29f51"><span class="section-number-4">1.1.3</span> Read the nuclear repulsion energy</h4>
|
||||
<div class="outline-text-4" id="text-1-1-3">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-f90">rc = trexio_read_nucleus_repulsion(f, E_nn)
|
||||
@ -477,8 +477,8 @@ f = trexio_open (filename, <span style="color: #8b2252;">'r'</span>, TREXIO_HDF5
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orga60dad1" class="outline-4">
|
||||
<h4 id="orga60dad1"><span class="section-number-4">1.1.4</span> Read the number of molecular orbitals</h4>
|
||||
<div id="outline-container-org47de87a" class="outline-4">
|
||||
<h4 id="org47de87a"><span class="section-number-4">1.1.4</span> Read the number of molecular orbitals</h4>
|
||||
<div class="outline-text-4" id="text-1-1-4">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-f90">rc = trexio_read_mo_num(f, n)
|
||||
@ -492,8 +492,8 @@ f = trexio_open (filename, <span style="color: #8b2252;">'r'</span>, TREXIO_HDF5
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org39d5608" class="outline-4">
|
||||
<h4 id="org39d5608"><span class="section-number-4">1.1.5</span> Allocate memory</h4>
|
||||
<div id="outline-container-org2e21278" class="outline-4">
|
||||
<h4 id="org2e21278"><span class="section-number-4">1.1.5</span> Allocate memory</h4>
|
||||
<div class="outline-text-4" id="text-1-1-5">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-f90"><span style="color: #a020f0;">allocate</span>( D(n,n), h0(n,n) )
|
||||
@ -505,8 +505,8 @@ W(:,:,:,:) = 0.d0
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgce94669" class="outline-4">
|
||||
<h4 id="orgce94669"><span class="section-number-4">1.1.6</span> Read one-electron quantities</h4>
|
||||
<div id="outline-container-orgd0bdb37" class="outline-4">
|
||||
<h4 id="orgd0bdb37"><span class="section-number-4">1.1.6</span> Read one-electron quantities</h4>
|
||||
<div class="outline-text-4" id="text-1-1-6">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-f90">rc = trexio_has_mo_1e_int_core_hamiltonian(f)
|
||||
@ -538,8 +538,8 @@ rc = trexio_read_rdm_1e(f, D)
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orge879b46" class="outline-4">
|
||||
<h4 id="orge879b46"><span class="section-number-4">1.1.7</span> Read two-electron quantities</h4>
|
||||
<div id="outline-container-org40392a8" class="outline-4">
|
||||
<h4 id="org40392a8"><span class="section-number-4">1.1.7</span> Read two-electron quantities</h4>
|
||||
<div class="outline-text-4" id="text-1-1-7">
|
||||
<p>
|
||||
Reading is done with OpenMP. Each thread reads its own buffer, and
|
||||
@ -555,8 +555,8 @@ to be protected in the critical section when modified.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org11d4eb4" class="outline-5">
|
||||
<h5 id="org11d4eb4"><span class="section-number-5">1.1.7.1</span> Electron repulsion integrals</h5>
|
||||
<div id="outline-container-org71b0ee8" class="outline-5">
|
||||
<h5 id="org71b0ee8"><span class="section-number-5">1.1.7.1</span> Electron repulsion integrals</h5>
|
||||
<div class="outline-text-5" id="text-1-1-7-1">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-f90">rc = trexio_has_mo_2e_int_eri(f)
|
||||
@ -605,8 +605,8 @@ icount = BUFSIZE
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgeac937d" class="outline-5">
|
||||
<h5 id="orgeac937d"><span class="section-number-5">1.1.7.2</span> Reduced density matrix</h5>
|
||||
<div id="outline-container-org1de7c88" class="outline-5">
|
||||
<h5 id="org1de7c88"><span class="section-number-5">1.1.7.2</span> Reduced density matrix</h5>
|
||||
<div class="outline-text-5" id="text-1-1-7-2">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-f90">rc = trexio_has_rdm_2e(f)
|
||||
@ -650,8 +650,8 @@ icount = bufsize
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org8b870a9" class="outline-4">
|
||||
<h4 id="org8b870a9"><span class="section-number-4">1.1.8</span> Compute the energy</h4>
|
||||
<div id="outline-container-orgf1d68d5" class="outline-4">
|
||||
<h4 id="orgf1d68d5"><span class="section-number-4">1.1.8</span> Compute the energy</h4>
|
||||
<div class="outline-text-4" id="text-1-1-8">
|
||||
<p>
|
||||
When the orbitals are real, we can use
|
||||
@ -697,8 +697,8 @@ E = E + E_nn
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgaa5e4c9" class="outline-4">
|
||||
<h4 id="orgaa5e4c9"><span class="section-number-4">1.1.9</span> Terminate</h4>
|
||||
<div id="outline-container-orgc9ab09c" class="outline-4">
|
||||
<h4 id="orgc9ab09c"><span class="section-number-4">1.1.9</span> Terminate</h4>
|
||||
<div class="outline-text-4" id="text-1-1-9">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-f90"> <span style="color: #a020f0;">deallocate</span>( D, h0, G, W )
|
||||
@ -712,12 +712,12 @@ E = E + E_nn
|
||||
</div>
|
||||
|
||||
|
||||
<div id="outline-container-org8f2616f" class="outline-2">
|
||||
<h2 id="org8f2616f"><span class="section-number-2">2</span> Reading determinants</h2>
|
||||
<div id="outline-container-org5b45ee2" class="outline-2">
|
||||
<h2 id="org5b45ee2"><span class="section-number-2">2</span> Reading determinants</h2>
|
||||
<div class="outline-text-2" id="text-2">
|
||||
</div>
|
||||
<div id="outline-container-orgfa59962" class="outline-3">
|
||||
<h3 id="orgfa59962"><span class="section-number-3">2.1</span> Fortran</h3>
|
||||
<div id="outline-container-org7d86640" class="outline-3">
|
||||
<h3 id="org7d86640"><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;">test</span>
|
||||
@ -796,7 +796,7 @@ end
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: TREX-CoE</p>
|
||||
<p class="date">Created: 2023-01-11 Wed 18:35</p>
|
||||
<p class="date">Created: 2023-01-13 Fri 14:48</p>
|
||||
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||
</div>
|
||||
</body>
|
||||
|
@ -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>
|
||||
<!-- 2023-01-11 Wed 18:35 -->
|
||||
<!-- 2023-01-13 Fri 14:48 -->
|
||||
<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>
|
||||
@ -360,7 +360,7 @@ and bug reports should be submitted at
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: TREX-CoE</p>
|
||||
<p class="date">Created: 2023-01-11 Wed 18:35</p>
|
||||
<p class="date">Created: 2023-01-13 Fri 14:48</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
@ -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>
|
||||
<!-- 2023-01-11 Wed 18:35 -->
|
||||
<!-- 2023-01-13 Fri 14:48 -->
|
||||
<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="#orgdb82719">1. Template for HDF5 definitions</a></li>
|
||||
<li><a href="#orga0440bb">2. Template for HDF5 structures</a></li>
|
||||
<li><a href="#orgd6bfd76">3. Template for HDF5 init/deinit</a></li>
|
||||
<li><a href="#org817ec0a">4. Template for HDF5 has a group</a></li>
|
||||
<li><a href="#org48539ab">5. Template for HDF5 has/read/write a numerical attribute</a></li>
|
||||
<li><a href="#org06afb47">6. Template for HDF5 has/read/write a dataset of numerical data</a></li>
|
||||
<li><a href="#orga2b4c68">7. Template for HDF5 has/read/write a dataset of sparse data</a></li>
|
||||
<li><a href="#org1eb0ac7">8. Template for HDF5 has/read/write a dataset of buffered vectors</a></li>
|
||||
<li><a href="#orgc8924dc">9. Template for HDF5 has/read/write a dataset of strings</a></li>
|
||||
<li><a href="#org4a07d68">10. Template for HDF5 has/read/write a string attribute</a></li>
|
||||
<li><a href="#org185f5aa">11. Template for HDF5 delete a group (UNSAFE mode)</a></li>
|
||||
<li><a href="#org4137ff0">12. Source code for the determinant part</a></li>
|
||||
<li><a href="#orgee40fb1">13. Helper functions</a></li>
|
||||
<li><a href="#org18b6a82">1. Template for HDF5 definitions</a></li>
|
||||
<li><a href="#org5056794">2. Template for HDF5 structures</a></li>
|
||||
<li><a href="#orgd63cefb">3. Template for HDF5 init/deinit</a></li>
|
||||
<li><a href="#org14fb858">4. Template for HDF5 has a group</a></li>
|
||||
<li><a href="#org18b684f">5. Template for HDF5 has/read/write a numerical attribute</a></li>
|
||||
<li><a href="#org005e8f5">6. Template for HDF5 has/read/write a dataset of numerical data</a></li>
|
||||
<li><a href="#org7d8e066">7. Template for HDF5 has/read/write a dataset of sparse data</a></li>
|
||||
<li><a href="#org733f5ee">8. Template for HDF5 has/read/write a dataset of buffered vectors</a></li>
|
||||
<li><a href="#org2193b4b">9. Template for HDF5 has/read/write a dataset of strings</a></li>
|
||||
<li><a href="#org4f72873">10. Template for HDF5 has/read/write a string attribute</a></li>
|
||||
<li><a href="#orgc773567">11. Template for HDF5 delete a group (UNSAFE mode)</a></li>
|
||||
<li><a href="#org66e5e7e">12. Source code for the determinant part</a></li>
|
||||
<li><a href="#org8223ef3">13. Helper functions</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgdb82719" class="outline-2">
|
||||
<h2 id="orgdb82719"><span class="section-number-2">1</span> Template for HDF5 definitions</h2>
|
||||
<div id="outline-container-org18b6a82" class="outline-2">
|
||||
<h2 id="org18b6a82"><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-orga0440bb" class="outline-2">
|
||||
<h2 id="orga0440bb"><span class="section-number-2">2</span> Template for HDF5 structures</h2>
|
||||
<div id="outline-container-org5056794" class="outline-2">
|
||||
<h2 id="org5056794"><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-orgd6bfd76" class="outline-2">
|
||||
<h2 id="orgd6bfd76"><span class="section-number-2">3</span> Template for HDF5 init/deinit</h2>
|
||||
<div id="outline-container-orgd63cefb" class="outline-2">
|
||||
<h2 id="orgd63cefb"><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-org817ec0a" class="outline-2">
|
||||
<h2 id="org817ec0a"><span class="section-number-2">4</span> Template for HDF5 has a group</h2>
|
||||
<div id="outline-container-org14fb858" class="outline-2">
|
||||
<h2 id="org14fb858"><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-org48539ab" class="outline-2">
|
||||
<h2 id="org48539ab"><span class="section-number-2">5</span> Template for HDF5 has/read/write a numerical attribute</h2>
|
||||
<div id="outline-container-org18b684f" class="outline-2">
|
||||
<h2 id="org18b684f"><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-org06afb47" class="outline-2">
|
||||
<h2 id="org06afb47"><span class="section-number-2">6</span> Template for HDF5 has/read/write a dataset of numerical data</h2>
|
||||
<div id="outline-container-org005e8f5" class="outline-2">
|
||||
<h2 id="org005e8f5"><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>
|
||||
@ -767,8 +767,8 @@ corresponding types for all back ends can be safely casted to
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orga2b4c68" class="outline-2">
|
||||
<h2 id="orga2b4c68"><span class="section-number-2">7</span> Template for HDF5 has/read/write a dataset of sparse data</h2>
|
||||
<div id="outline-container-org7d8e066" class="outline-2">
|
||||
<h2 id="org7d8e066"><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
|
||||
@ -971,8 +971,8 @@ due to the fact that the sparse data will be written in chunks of user-defined s
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org1eb0ac7" class="outline-2">
|
||||
<h2 id="org1eb0ac7"><span class="section-number-2">8</span> Template for HDF5 has/read/write a dataset of buffered vectors</h2>
|
||||
<div id="outline-container-org733f5ee" class="outline-2">
|
||||
<h2 id="org733f5ee"><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.
|
||||
@ -1107,8 +1107,8 @@ Chunked I/O in HDF5 for <code>buffered</code> data.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgc8924dc" class="outline-2">
|
||||
<h2 id="orgc8924dc"><span class="section-number-2">9</span> Template for HDF5 has/read/write a dataset of strings</h2>
|
||||
<div id="outline-container-org2193b4b" class="outline-2">
|
||||
<h2 id="org2193b4b"><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>
|
||||
@ -1306,8 +1306,8 @@ Chunked I/O in HDF5 for <code>buffered</code> data.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org4a07d68" class="outline-2">
|
||||
<h2 id="org4a07d68"><span class="section-number-2">10</span> Template for HDF5 has/read/write a string attribute</h2>
|
||||
<div id="outline-container-org4f72873" class="outline-2">
|
||||
<h2 id="org4f72873"><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>
|
||||
@ -1434,8 +1434,8 @@ Chunked I/O in HDF5 for <code>buffered</code> data.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-org185f5aa" class="outline-2">
|
||||
<h2 id="org185f5aa"><span class="section-number-2">11</span> Template for HDF5 delete a group (UNSAFE mode)</h2>
|
||||
<div id="outline-container-orgc773567" class="outline-2">
|
||||
<h2 id="orgc773567"><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 < 1.10) unlinking an object was not working as expected
|
||||
@ -1475,8 +1475,8 @@ Thus, any corrupted/lost file space will remain in the first file. The use of <c
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org4137ff0" class="outline-2">
|
||||
<h2 id="org4137ff0"><span class="section-number-2">12</span> Source code for the determinant part</h2>
|
||||
<div id="outline-container-org66e5e7e" class="outline-2">
|
||||
<h2 id="org66e5e7e"><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.
|
||||
@ -1579,8 +1579,8 @@ Size specifies the number of data items (e.g. determinants) to process.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgee40fb1" class="outline-2">
|
||||
<h2 id="orgee40fb1"><span class="section-number-2">13</span> Helper functions</h2>
|
||||
<div id="outline-container-org8223ef3" class="outline-2">
|
||||
<h2 id="org8223ef3"><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>
|
||||
@ -1843,7 +1843,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: 2023-01-11 Wed 18:35</p>
|
||||
<p class="date">Created: 2023-01-13 Fri 14:48</p>
|
||||
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||
</div>
|
||||
</body>
|
||||
|
@ -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>
|
||||
<!-- 2023-01-11 Wed 18:35 -->
|
||||
<!-- 2023-01-13 Fri 14:48 -->
|
||||
<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="#org6597cb3">1. Template for group-related structures in text back end</a></li>
|
||||
<li><a href="#orgcfb143d">2. Template for general structure in text back end</a></li>
|
||||
<li><a href="#org7406ebf">3. Initialize function (constant part)</a></li>
|
||||
<li><a href="#orgbce22cf">4. Deinitialize function (templated part)</a></li>
|
||||
<li><a href="#orgbe42ff8">5. Flush function (templated part)</a></li>
|
||||
<li><a href="#orgf81c11b">6. Template for text read a group</a></li>
|
||||
<li><a href="#orgcee0b6f">7. Template for text has a group</a></li>
|
||||
<li><a href="#org46ff19f">8. Template for text flush a group</a></li>
|
||||
<li><a href="#orga987fe0">9. Template for text free memory</a></li>
|
||||
<li><a href="#org61c96e3">10. Template for has/read/write a numerical attribute</a></li>
|
||||
<li><a href="#org537e0d0">11. Template for has/read/write a dataset of numerical data</a></li>
|
||||
<li><a href="#org8bc36f6">12. Template for has/read/write a dataset of strings</a></li>
|
||||
<li><a href="#orge6df78a">13. Template for has/read/write a string attribute</a></li>
|
||||
<li><a href="#org2c1a45d">14. Template for has/read/write the dataset of sparse data</a></li>
|
||||
<li><a href="#orgd3e76fa">15. Template for has/read/write a buffered vector</a></li>
|
||||
<li><a href="#org3c47dad">16. Template for text delete a group (UNSAFE mode)</a></li>
|
||||
<li><a href="#org6d532fb">17. Source code for the determinant part</a></li>
|
||||
<li><a href="#orgd5556fc">1. Template for group-related structures in text back end</a></li>
|
||||
<li><a href="#org1dc4872">2. Template for general structure in text back end</a></li>
|
||||
<li><a href="#orge4fb8ef">3. Initialize function (constant part)</a></li>
|
||||
<li><a href="#org65da595">4. Deinitialize function (templated part)</a></li>
|
||||
<li><a href="#org7243234">5. Flush function (templated part)</a></li>
|
||||
<li><a href="#orgd60b2bc">6. Template for text read a group</a></li>
|
||||
<li><a href="#orged673ba">7. Template for text has a group</a></li>
|
||||
<li><a href="#orgb8f0824">8. Template for text flush a group</a></li>
|
||||
<li><a href="#orge9a6433">9. Template for text free memory</a></li>
|
||||
<li><a href="#orga4c329c">10. Template for has/read/write a numerical attribute</a></li>
|
||||
<li><a href="#org178cfee">11. Template for has/read/write a dataset of numerical data</a></li>
|
||||
<li><a href="#org575d148">12. Template for has/read/write a dataset of strings</a></li>
|
||||
<li><a href="#org85233cc">13. Template for has/read/write a string attribute</a></li>
|
||||
<li><a href="#orge6d4086">14. Template for has/read/write the dataset of sparse data</a></li>
|
||||
<li><a href="#org417bceb">15. Template for has/read/write a buffered vector</a></li>
|
||||
<li><a href="#org1e07bb5">16. Template for text delete a group (UNSAFE mode)</a></li>
|
||||
<li><a href="#org2fc3520">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-org6597cb3" class="outline-2">
|
||||
<h2 id="org6597cb3"><span class="section-number-2">1</span> Template for group-related structures in text back end</h2>
|
||||
<div id="outline-container-orgd5556fc" class="outline-2">
|
||||
<h2 id="orgd5556fc"><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-orgcfb143d" class="outline-2">
|
||||
<h2 id="orgcfb143d"><span class="section-number-2">2</span> Template for general structure in text back end</h2>
|
||||
<div id="outline-container-org1dc4872" class="outline-2">
|
||||
<h2 id="org1dc4872"><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-org7406ebf" class="outline-2">
|
||||
<h2 id="org7406ebf"><span class="section-number-2">3</span> Initialize function (constant part)</h2>
|
||||
<div id="outline-container-orge4fb8ef" class="outline-2">
|
||||
<h2 id="orge4fb8ef"><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>
|
||||
@ -571,8 +571,8 @@ corresponding types for all back ends can be safely casted to
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgbce22cf" class="outline-2">
|
||||
<h2 id="orgbce22cf"><span class="section-number-2">4</span> Deinitialize function (templated part)</h2>
|
||||
<div id="outline-container-org65da595" class="outline-2">
|
||||
<h2 id="org65da595"><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>
|
||||
@ -594,8 +594,8 @@ corresponding types for all back ends can be safely casted to
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgbe42ff8" class="outline-2">
|
||||
<h2 id="orgbe42ff8"><span class="section-number-2">5</span> Flush function (templated part)</h2>
|
||||
<div id="outline-container-org7243234" class="outline-2">
|
||||
<h2 id="org7243234"><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>
|
||||
@ -618,8 +618,8 @@ corresponding types for all back ends can be safely casted to
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgf81c11b" class="outline-2">
|
||||
<h2 id="orgf81c11b"><span class="section-number-2">6</span> Template for text read a group</h2>
|
||||
<div id="outline-container-orgd60b2bc" class="outline-2">
|
||||
<h2 id="orgd60b2bc"><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*
|
||||
@ -845,8 +845,8 @@ trexio_text_read_$group$ (<span style="color: #228b22;">trexio_text_t</span>* <s
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgcee0b6f" class="outline-2">
|
||||
<h2 id="orgcee0b6f"><span class="section-number-2">7</span> Template for text has a group</h2>
|
||||
<div id="outline-container-orged673ba" class="outline-2">
|
||||
<h2 id="orged673ba"><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>
|
||||
@ -886,8 +886,8 @@ trexio_text_read_$group$ (<span style="color: #228b22;">trexio_text_t</span>* <s
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org46ff19f" class="outline-2">
|
||||
<h2 id="org46ff19f"><span class="section-number-2">8</span> Template for text flush a group</h2>
|
||||
<div id="outline-container-orgb8f0824" class="outline-2">
|
||||
<h2 id="orgb8f0824"><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>
|
||||
@ -951,8 +951,8 @@ trexio_text_read_$group$ (<span style="color: #228b22;">trexio_text_t</span>* <s
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orga987fe0" class="outline-2">
|
||||
<h2 id="orga987fe0"><span class="section-number-2">9</span> Template for text free memory</h2>
|
||||
<div id="outline-container-orge9a6433" class="outline-2">
|
||||
<h2 id="orge9a6433"><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.
|
||||
@ -1021,8 +1021,8 @@ This function is called upon the non-successful exit from the <code>trexio_text_
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org61c96e3" class="outline-2">
|
||||
<h2 id="org61c96e3"><span class="section-number-2">10</span> Template for has/read/write a numerical attribute</h2>
|
||||
<div id="outline-container-orga4c329c" class="outline-2">
|
||||
<h2 id="orga4c329c"><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>
|
||||
@ -1085,8 +1085,8 @@ This function is called upon the non-successful exit from the <code>trexio_text_
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org537e0d0" class="outline-2">
|
||||
<h2 id="org537e0d0"><span class="section-number-2">11</span> Template for has/read/write a dataset of numerical data</h2>
|
||||
<div id="outline-container-org178cfee" class="outline-2">
|
||||
<h2 id="org178cfee"><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.
|
||||
@ -1182,8 +1182,8 @@ The <code>group_dset</code> array is assumed allocated with the appropriate size
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-org8bc36f6" class="outline-2">
|
||||
<h2 id="org8bc36f6"><span class="section-number-2">12</span> Template for has/read/write a dataset of strings</h2>
|
||||
<div id="outline-container-org575d148" class="outline-2">
|
||||
<h2 id="org575d148"><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.
|
||||
@ -1284,8 +1284,8 @@ The <code>group_dset</code> array is assumed allocated with the appropriate size
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-orge6df78a" class="outline-2">
|
||||
<h2 id="orge6df78a"><span class="section-number-2">13</span> Template for has/read/write a string attribute</h2>
|
||||
<div id="outline-container-org85233cc" class="outline-2">
|
||||
<h2 id="org85233cc"><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>
|
||||
@ -1359,8 +1359,8 @@ The <code>group_dset</code> array is assumed allocated with the appropriate size
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-org2c1a45d" class="outline-2">
|
||||
<h2 id="org2c1a45d"><span class="section-number-2">14</span> Template for has/read/write the dataset of sparse data</h2>
|
||||
<div id="outline-container-orge6d4086" class="outline-2">
|
||||
<h2 id="orge6d4086"><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
|
||||
@ -1650,8 +1650,8 @@ User provides indices and values of the sparse array as two separate variables.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgd3e76fa" class="outline-2">
|
||||
<h2 id="orgd3e76fa"><span class="section-number-2">15</span> Template for has/read/write a buffered vector</h2>
|
||||
<div id="outline-container-org417bceb" class="outline-2">
|
||||
<h2 id="org417bceb"><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
|
||||
@ -1881,8 +1881,8 @@ Size specifies the number of vector elements to be written.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-org3c47dad" class="outline-2">
|
||||
<h2 id="org3c47dad"><span class="section-number-2">16</span> Template for text delete a group (UNSAFE mode)</h2>
|
||||
<div id="outline-container-org1e07bb5" class="outline-2">
|
||||
<h2 id="org1e07bb5"><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>
|
||||
@ -1910,8 +1910,8 @@ Size specifies the number of vector elements to be written.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org6d532fb" class="outline-2">
|
||||
<h2 id="org6d532fb"><span class="section-number-2">17</span> Source code for the determinant part</h2>
|
||||
<div id="outline-container-org2fc3520" class="outline-2">
|
||||
<h2 id="org2fc3520"><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
|
||||
@ -2103,7 +2103,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: 2023-01-11 Wed 18:35</p>
|
||||
<p class="date">Created: 2023-01-13 Fri 14:48</p>
|
||||
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||
</div>
|
||||
</body>
|
||||
|
270
trex.html
270
trex.html
@ -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>
|
||||
<!-- 2023-01-11 Wed 18:35 -->
|
||||
<!-- 2023-01-13 Fri 14:48 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>TREX Configuration file</title>
|
||||
@ -346,70 +346,70 @@ for the JavaScript code in this tag.
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents">
|
||||
<ul>
|
||||
<li><a href="#orga668de9">1. Metadata (metadata group)</a></li>
|
||||
<li><a href="#orgac61218">2. System</a>
|
||||
<li><a href="#org400f57e">1. Metadata (metadata group)</a></li>
|
||||
<li><a href="#org5d08e0a">2. System</a>
|
||||
<ul>
|
||||
<li><a href="#org8ccb9c3">2.1. Nucleus (nucleus group)</a></li>
|
||||
<li><a href="#org670d159">2.2. Cell (cell group)</a></li>
|
||||
<li><a href="#org4eff854">2.3. Periodic boundary calculations (pbc group)</a></li>
|
||||
<li><a href="#org518ff1d">2.4. Electron (electron group)</a></li>
|
||||
<li><a href="#org4cb1621">2.5. Ground or excited states (state group)</a></li>
|
||||
<li><a href="#orgca10043">2.1. Nucleus (nucleus group)</a></li>
|
||||
<li><a href="#orge26b227">2.2. Cell (cell group)</a></li>
|
||||
<li><a href="#org116ba34">2.3. Periodic boundary calculations (pbc group)</a></li>
|
||||
<li><a href="#org78b61e6">2.4. Electron (electron group)</a></li>
|
||||
<li><a href="#orgc4c2c51">2.5. Ground or excited states (state group)</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org364d828">3. Basis functions</a>
|
||||
<li><a href="#org9d794c9">3. Basis functions</a>
|
||||
<ul>
|
||||
<li><a href="#orgfb4b5d0">3.1. Basis set (basis group)</a>
|
||||
<li><a href="#org37eb01a">3.1. Basis set (basis group)</a>
|
||||
<ul>
|
||||
<li><a href="#org069853e">3.1.1. Gaussian and Slater-type orbitals</a></li>
|
||||
<li><a href="#orgc0ec4a1">3.1.2. Plane waves</a></li>
|
||||
<li><a href="#org758fa05">3.1.3. Data definitions</a></li>
|
||||
<li><a href="#org5a55a23">3.1.4. Example</a></li>
|
||||
<li><a href="#orge9960b3">3.1.1. Gaussian and Slater-type orbitals</a></li>
|
||||
<li><a href="#org3e6480a">3.1.2. Plane waves</a></li>
|
||||
<li><a href="#org2cb6d55">3.1.3. Data definitions</a></li>
|
||||
<li><a href="#orgbf0fe23">3.1.4. Example</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org3c95d37">3.2. Effective core potentials (ecp group)</a>
|
||||
<li><a href="#orgf9b3d6f">3.2. Effective core potentials (ecp group)</a>
|
||||
<ul>
|
||||
<li><a href="#org823893e">3.2.1. Example</a></li>
|
||||
<li><a href="#org6d034eb">3.2.1. Example</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orga6c7216">3.3. Numerical integration grid (grid group)</a></li>
|
||||
<li><a href="#org9353080">3.3. Numerical integration grid (grid group)</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org6eaf1d0">4. Orbitals</a>
|
||||
<li><a href="#orgb859c96">4. Orbitals</a>
|
||||
<ul>
|
||||
<li><a href="#orgd9f8d69">4.1. Atomic orbitals (ao group)</a>
|
||||
<li><a href="#org4255c4d">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="#org3bc5f59">4.2. Molecular orbitals (mo group)</a>
|
||||
<li><a href="#org974e7a7">4.2. Molecular orbitals (mo group)</a>
|
||||
<ul>
|
||||
<li><a href="#orga317863">4.2.1. One-electron integrals (<code>mo_1e_int</code> group)</a></li>
|
||||
<li><a href="#org504572a">4.2.2. Two-electron integrals (<code>mo_2e_int</code> group)</a></li>
|
||||
<li><a href="#org8e8c832">4.2.1. One-electron integrals (<code>mo_1e_int</code> group)</a></li>
|
||||
<li><a href="#orge9d01be">4.2.2. Two-electron integrals (<code>mo_2e_int</code> group)</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org3902688">5. Multi-determinant information</a>
|
||||
<li><a href="#org418b92b">5. Multi-determinant information</a>
|
||||
<ul>
|
||||
<li><a href="#org08663a4">5.1. Slater determinants (determinant group)</a></li>
|
||||
<li><a href="#org34beca9">5.2. Configuration state functions (csf group)</a></li>
|
||||
<li><a href="#orgdd8d096">5.3. Amplitudes (amplitude group)</a></li>
|
||||
<li><a href="#org12fe87d">5.4. Reduced density matrices (rdm group)</a></li>
|
||||
<li><a href="#org01d223e">5.1. Slater determinants (determinant group)</a></li>
|
||||
<li><a href="#org0193754">5.2. Configuration state functions (csf group)</a></li>
|
||||
<li><a href="#org416b269">5.3. Amplitudes (amplitude group)</a></li>
|
||||
<li><a href="#org87fe807">5.4. Reduced density matrices (rdm group)</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org705019a">6. Correlation factors</a>
|
||||
<li><a href="#orgdab52dd">6. Correlation factors</a>
|
||||
<ul>
|
||||
<li><a href="#org320793f">6.1. Jastrow factor (jastrow group)</a>
|
||||
<li><a href="#org2e8031e">6.1. Jastrow factor (jastrow group)</a>
|
||||
<ul>
|
||||
<li><a href="#orgae1b3d1">6.1.1. CHAMP</a></li>
|
||||
<li><a href="#org9909f84">6.1.2. Mu</a></li>
|
||||
<li><a href="#org84472dc">6.1.3. Table of values</a></li>
|
||||
<li><a href="#org9e0002e">6.1.1. CHAMP</a></li>
|
||||
<li><a href="#org1f5142f">6.1.2. Mu</a></li>
|
||||
<li><a href="#org9af8bbb">6.1.3. Table of values</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org36923e1">7. Quantum Monte Carlo data (qmc group)</a></li>
|
||||
<li><a href="#orgabc6f85">7. Quantum Monte Carlo data (qmc group)</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
@ -477,8 +477,8 @@ in the variable, and the imaginary part will be stored in the variable
|
||||
with the same name suffixed by <code>_im</code>.
|
||||
</p>
|
||||
|
||||
<div id="outline-container-orga668de9" class="outline-2">
|
||||
<h2 id="orga668de9"><span class="section-number-2">1</span> Metadata (metadata group)</h2>
|
||||
<div id="outline-container-org400f57e" class="outline-2">
|
||||
<h2 id="org400f57e"><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,
|
||||
@ -488,7 +488,7 @@ have participated to the creation of the file, a list of authors of
|
||||
the file, and a textual description.
|
||||
</p>
|
||||
|
||||
<table id="orgaa0a743" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orgf45b147" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -571,19 +571,19 @@ value can be manually overwritten (in unsafe mode) from <code>1</code> to <code>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgac61218" class="outline-2">
|
||||
<h2 id="orgac61218"><span class="section-number-2">2</span> System</h2>
|
||||
<div id="outline-container-org5d08e0a" class="outline-2">
|
||||
<h2 id="org5d08e0a"><span class="section-number-2">2</span> System</h2>
|
||||
<div class="outline-text-2" id="text-2">
|
||||
</div>
|
||||
<div id="outline-container-org8ccb9c3" class="outline-3">
|
||||
<h3 id="org8ccb9c3"><span class="section-number-3">2.1</span> Nucleus (nucleus group)</h3>
|
||||
<div id="outline-container-orgca10043" class="outline-3">
|
||||
<h3 id="orgca10043"><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="org82ba13b" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org0914be0" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -650,15 +650,15 @@ given in Cartesian \((x,y,z)\) format.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org670d159" class="outline-3">
|
||||
<h3 id="org670d159"><span class="section-number-3">2.2</span> Cell (cell group)</h3>
|
||||
<div id="outline-container-orge26b227" class="outline-3">
|
||||
<h3 id="orge26b227"><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="org16fc6a2" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orgfe5b0d6" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -732,15 +732,15 @@ used in periodic calculations.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org4eff854" class="outline-3">
|
||||
<h3 id="org4eff854"><span class="section-number-3">2.3</span> Periodic boundary calculations (pbc group)</h3>
|
||||
<div id="outline-container-org116ba34" class="outline-3">
|
||||
<h3 id="org116ba34"><span class="section-number-3">2.3</span> Periodic boundary calculations (pbc group)</h3>
|
||||
<div class="outline-text-3" id="text-2-3">
|
||||
<p>
|
||||
A single $k$-point per TREXIO file can be stored. The $k$-point is
|
||||
defined in this group.
|
||||
</p>
|
||||
|
||||
<table id="org776141a" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orgf2bc8ec" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -779,15 +779,15 @@ defined in this group.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org518ff1d" class="outline-3">
|
||||
<h3 id="org518ff1d"><span class="section-number-3">2.4</span> Electron (electron group)</h3>
|
||||
<div id="outline-container-org78b61e6" class="outline-3">
|
||||
<h3 id="org78b61e6"><span class="section-number-3">2.4</span> Electron (electron group)</h3>
|
||||
<div class="outline-text-3" id="text-2-4">
|
||||
<p>
|
||||
We consider wave functions expressed in the spin-free formalism, where
|
||||
the number of ↑ and ↓ electrons is fixed.
|
||||
</p>
|
||||
|
||||
<table id="org16ca417" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org8d5f3c5" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -833,8 +833,8 @@ the number of ↑ and ↓ electrons is fixed.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org4cb1621" class="outline-3">
|
||||
<h3 id="org4cb1621"><span class="section-number-3">2.5</span> Ground or excited states (state group)</h3>
|
||||
<div id="outline-container-orgc4c2c51" class="outline-3">
|
||||
<h3 id="orgc4c2c51"><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
|
||||
@ -851,7 +851,7 @@ integrals, etc.
|
||||
The <code>id</code> and <code>current_label</code> attributes need to be specified for each file.
|
||||
</p>
|
||||
|
||||
<table id="org7da175d" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orgbc69651" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -912,16 +912,16 @@ The <code>id</code> and <code>current_label</code> attributes need to be specifi
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org364d828" class="outline-2">
|
||||
<h2 id="org364d828"><span class="section-number-2">3</span> Basis functions</h2>
|
||||
<div id="outline-container-org9d794c9" class="outline-2">
|
||||
<h2 id="org9d794c9"><span class="section-number-2">3</span> Basis functions</h2>
|
||||
<div class="outline-text-2" id="text-3">
|
||||
</div>
|
||||
<div id="outline-container-orgfb4b5d0" class="outline-3">
|
||||
<h3 id="orgfb4b5d0"><span class="section-number-3">3.1</span> Basis set (basis group)</h3>
|
||||
<div id="outline-container-org37eb01a" class="outline-3">
|
||||
<h3 id="org37eb01a"><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-org069853e" class="outline-4">
|
||||
<h4 id="org069853e"><span class="section-number-4">3.1.1</span> Gaussian and Slater-type orbitals</h4>
|
||||
<div id="outline-container-orge9960b3" class="outline-4">
|
||||
<h4 id="orge9960b3"><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, we enable
|
||||
@ -975,8 +975,8 @@ All the basis set parameters are stored in one-dimensional arrays.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgc0ec4a1" class="outline-4">
|
||||
<h4 id="orgc0ec4a1"><span class="section-number-4">3.1.2</span> Plane waves</h4>
|
||||
<div id="outline-container-org3e6480a" class="outline-4">
|
||||
<h4 id="org3e6480a"><span class="section-number-4">3.1.2</span> Plane waves</h4>
|
||||
<div class="outline-text-4" id="text-3-1-2">
|
||||
<p>
|
||||
A plane wave is defined as
|
||||
@ -997,10 +997,10 @@ plane waves.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org758fa05" class="outline-4">
|
||||
<h4 id="org758fa05"><span class="section-number-4">3.1.3</span> Data definitions</h4>
|
||||
<div id="outline-container-org2cb6d55" class="outline-4">
|
||||
<h4 id="org2cb6d55"><span class="section-number-4">3.1.3</span> Data definitions</h4>
|
||||
<div class="outline-text-4" id="text-3-1-3">
|
||||
<table id="org4ebd115" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org63abc44" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -1109,8 +1109,8 @@ plane waves.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org5a55a23" class="outline-4">
|
||||
<h4 id="org5a55a23"><span class="section-number-4">3.1.4</span> Example</h4>
|
||||
<div id="outline-container-orgbf0fe23" class="outline-4">
|
||||
<h4 id="orgbf0fe23"><span class="section-number-4">3.1.4</span> Example</h4>
|
||||
<div class="outline-text-4" id="text-3-1-4">
|
||||
<p>
|
||||
For example, consider H<sub>2</sub> with the following basis set (in GAMESS
|
||||
@ -1188,8 +1188,8 @@ prim_factor =
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org3c95d37" class="outline-3">
|
||||
<h3 id="org3c95d37"><span class="section-number-3">3.2</span> Effective core potentials (ecp group)</h3>
|
||||
<div id="outline-container-orgf9b3d6f" class="outline-3">
|
||||
<h3 id="orgf9b3d6f"><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
|
||||
@ -1221,7 +1221,7 @@ All the functions \(V_{A\ell}\) are parameterized as:
|
||||
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="orgec61feb" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org16b164d" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -1325,8 +1325,8 @@ If you encounter the aforementioned issue, please report it to our
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org823893e" class="outline-4">
|
||||
<h4 id="org823893e"><span class="section-number-4">3.2.1</span> Example</h4>
|
||||
<div id="outline-container-org6d034eb" class="outline-4">
|
||||
<h4 id="org6d034eb"><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
|
||||
@ -1389,8 +1389,8 @@ power = [
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orga6c7216" class="outline-3">
|
||||
<h3 id="orga6c7216"><span class="section-number-3">3.3</span> Numerical integration grid (grid group)</h3>
|
||||
<div id="outline-container-org9353080" class="outline-3">
|
||||
<h3 id="org9353080"><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
|
||||
@ -1405,7 +1405,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="orgf513d1d" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org8df6818" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -1522,12 +1522,12 @@ Feel free to submit a PR if you find missing options/functionalities.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org6eaf1d0" class="outline-2">
|
||||
<h2 id="org6eaf1d0"><span class="section-number-2">4</span> Orbitals</h2>
|
||||
<div id="outline-container-orgb859c96" class="outline-2">
|
||||
<h2 id="orgb859c96"><span class="section-number-2">4</span> Orbitals</h2>
|
||||
<div class="outline-text-2" id="text-4">
|
||||
</div>
|
||||
<div id="outline-container-orgd9f8d69" class="outline-3">
|
||||
<h3 id="orgd9f8d69"><span class="section-number-3">4.1</span> Atomic orbitals (ao group)</h3>
|
||||
<div id="outline-container-org4255c4d" class="outline-3">
|
||||
<h3 id="org4255c4d"><span class="section-number-3">4.1</span> Atomic orbitals (ao group)</h3>
|
||||
<div class="outline-text-3" id="text-4-1">
|
||||
<p>
|
||||
Going from the atomic basis set to AOs implies a systematic
|
||||
@ -1558,35 +1558,35 @@ AOs are defined as
|
||||
|
||||
<p>
|
||||
\[
|
||||
\chi_i (\mathbf{r}) = \mathcal{N}_i\, P_{\eta(i)}(\mathbf{r})\, R_{\theta(i)} (\mathbf{r})
|
||||
\chi_i (\mathbf{r}) = \mathcal{N}_i\, P_{\eta(i)}(\mathbf{r})\, R_{s(i)} (\mathbf{r})
|
||||
\]
|
||||
</p>
|
||||
|
||||
<p>
|
||||
where \(i\) is the atomic orbital index,
|
||||
\(P\) encodes for either the
|
||||
polynomials or the spherical harmonics, \(\theta(i)\) returns the
|
||||
polynomials or the spherical harmonics, \(s(i)\) returns the
|
||||
shell on which the AO is expanded, and \(\eta(i)\) denotes which
|
||||
angular function is chosen.
|
||||
\(\mathcal{N}_i\) is a normalization factor that enables the
|
||||
possibility to have different normalization coefficients within a
|
||||
shell, as in the GAMESS convention where
|
||||
\(\mathcal{N}_{x^2} \ne \mathcal{N}_{xy}\) because
|
||||
\[ \left[ \iiint \left(x-X_A \right)^2 R_{\theta(i)}
|
||||
\[ \left[ \iiint \left(x-X_A \right)^2 R_{s(i)}
|
||||
(\mathbf{r}) dx\, dy\, dz \right]^{-1/2} \ne
|
||||
\left[ \iiint \left( x-X_A \right) \left( y-Y_A \right) R_{\theta(i)}
|
||||
\left[ \iiint \left( x-X_A \right) \left( y-Y_A \right) R_{s(i)}
|
||||
(\mathbf{r}) dx\, dy\, dz \right]^{-1/2}. \]
|
||||
</p>
|
||||
|
||||
<p>
|
||||
In such a case, one should set the normalization of the shell (in
|
||||
the <a href="#orgfb4b5d0">Basis set</a> section) to \(\mathcal{N}_{z^2}\), which is the
|
||||
the <a href="#org37eb01a">Basis set</a> 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}}\).
|
||||
</p>
|
||||
|
||||
<table id="orgd41dcc5" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orgf81416b" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -1625,20 +1625,20 @@ introduced here should be \(\frac{\mathcal{N}_{xy}}{\mathcal{N}_{z^2}}\).
|
||||
<td class="org-left"><code>shell</code></td>
|
||||
<td class="org-left"><code>index</code></td>
|
||||
<td class="org-left"><code>(ao.num)</code></td>
|
||||
<td class="org-left">basis set shell for each AO</td>
|
||||
<td class="org-left">Basis set shell for each AO</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="org-left"><code>normalization</code></td>
|
||||
<td class="org-left"><code>float</code></td>
|
||||
<td class="org-left"><code>(ao.num)</code></td>
|
||||
<td class="org-left">Normalization factors</td>
|
||||
<td class="org-left">Normalization factor \(\mathcal{N}_i\)</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org202d247" class="outline-4">
|
||||
<div id="outline-container-org6d99b2f" 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">
|
||||
@ -1656,7 +1656,7 @@ The one-electron integrals for a one-electron operator \(\hat{O}\) are
|
||||
over atomic orbitals.
|
||||
</p>
|
||||
|
||||
<table id="orgc5fc351" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orgf853313" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -1751,7 +1751,7 @@ over atomic orbitals.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orga5337b0" class="outline-4">
|
||||
<div id="outline-container-org32ad587" 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>
|
||||
@ -1783,7 +1783,7 @@ The Cholesky decomposition of the integrals can also be stored:
|
||||
\]
|
||||
</p>
|
||||
|
||||
<table id="org173f242" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orgb29e049" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -1815,7 +1815,7 @@ The Cholesky decomposition of the integrals can also be stored:
|
||||
<td class="org-left"><code>eri_lr</code></td>
|
||||
<td class="org-left"><code>float sparse</code></td>
|
||||
<td class="org-left"><code>(ao.num, ao.num, ao.num, ao.num)</code></td>
|
||||
<td class="org-left">Long-range Electron repulsion integrals</td>
|
||||
<td class="org-left">Long-range electron repulsion integrals</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
@ -1851,10 +1851,10 @@ The Cholesky decomposition of the integrals can also be stored:
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org3bc5f59" class="outline-3">
|
||||
<h3 id="org3bc5f59"><span class="section-number-3">4.2</span> Molecular orbitals (mo group)</h3>
|
||||
<div id="outline-container-org974e7a7" class="outline-3">
|
||||
<h3 id="org974e7a7"><span class="section-number-3">4.2</span> Molecular orbitals (mo group)</h3>
|
||||
<div class="outline-text-3" id="text-4-2">
|
||||
<table id="org588d643" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org03d0101" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -1941,8 +1941,8 @@ The Cholesky decomposition of the integrals can also be stored:
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orga317863" class="outline-4">
|
||||
<h4 id="orga317863"><span class="section-number-4">4.2.1</span> One-electron integrals (<code>mo_1e_int</code> group)</h4>
|
||||
<div id="outline-container-org8e8c832" class="outline-4">
|
||||
<h4 id="org8e8c832"><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
|
||||
@ -1950,7 +1950,7 @@ The operators as the same as those defined in the
|
||||
the basis of molecular orbitals.
|
||||
</p>
|
||||
|
||||
<table id="org69b542d" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org7ca932c" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -2045,8 +2045,8 @@ the basis of molecular orbitals.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org504572a" class="outline-4">
|
||||
<h4 id="org504572a"><span class="section-number-4">4.2.2</span> Two-electron integrals (<code>mo_2e_int</code> group)</h4>
|
||||
<div id="outline-container-orge9d01be" class="outline-4">
|
||||
<h4 id="orge9d01be"><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
|
||||
@ -2054,7 +2054,7 @@ The operators are the same as those defined in the
|
||||
the basis of molecular orbitals.
|
||||
</p>
|
||||
|
||||
<table id="org3aab7ce" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org60eab8d" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -2086,7 +2086,7 @@ the basis of molecular orbitals.
|
||||
<td class="org-left"><code>eri_lr</code></td>
|
||||
<td class="org-left"><code>float sparse</code></td>
|
||||
<td class="org-left"><code>(mo.num, mo.num, mo.num, mo.num)</code></td>
|
||||
<td class="org-left">Long-range Electron repulsion integrals</td>
|
||||
<td class="org-left">Long-range electron repulsion integrals</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
@ -2123,12 +2123,12 @@ the basis of molecular orbitals.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org3902688" class="outline-2">
|
||||
<h2 id="org3902688"><span class="section-number-2">5</span> Multi-determinant information</h2>
|
||||
<div id="outline-container-org418b92b" class="outline-2">
|
||||
<h2 id="org418b92b"><span class="section-number-2">5</span> Multi-determinant information</h2>
|
||||
<div class="outline-text-2" id="text-5">
|
||||
</div>
|
||||
<div id="outline-container-org08663a4" class="outline-3">
|
||||
<h3 id="org08663a4"><span class="section-number-3">5.1</span> Slater determinants (determinant group)</h3>
|
||||
<div id="outline-container-org01d223e" class="outline-3">
|
||||
<h3 id="org01d223e"><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\)
|
||||
@ -2170,7 +2170,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="orgbdc4e91" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org8a9e095" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -2216,8 +2216,8 @@ An illustration on how to read determinants is presented in the <a href="./examp
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org34beca9" class="outline-3">
|
||||
<h3 id="org34beca9"><span class="section-number-3">5.2</span> Configuration state functions (csf group)</h3>
|
||||
<div id="outline-container-org0193754" class="outline-3">
|
||||
<h3 id="org0193754"><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
|
||||
@ -2239,7 +2239,7 @@ matrix \(\langle D_I | \psi_J \rangle\) needed to project the CSFs in
|
||||
the basis of Slater determinants.
|
||||
</p>
|
||||
|
||||
<table id="org98ae853" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orgda40a73" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -2285,8 +2285,8 @@ the basis of Slater determinants.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgdd8d096" class="outline-3">
|
||||
<h3 id="orgdd8d096"><span class="section-number-3">5.3</span> Amplitudes (amplitude group)</h3>
|
||||
<div id="outline-container-org416b269" class="outline-3">
|
||||
<h3 id="org416b269"><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
|
||||
@ -2357,7 +2357,7 @@ The order of the indices is chosen such that
|
||||
<li>\(\dots\)</li>
|
||||
</ul>
|
||||
|
||||
<table id="orgac49339" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org5c1d1b9" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -2438,8 +2438,8 @@ The order of the indices is chosen such that
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org12fe87d" class="outline-3">
|
||||
<h3 id="org12fe87d"><span class="section-number-3">5.4</span> Reduced density matrices (rdm group)</h3>
|
||||
<div id="outline-container-org87fe807" class="outline-3">
|
||||
<h3 id="org87fe807"><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
|
||||
@ -2514,7 +2514,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="org124dc04" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org367037c" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -2602,7 +2602,7 @@ expressed in a basis of a one-electron function
|
||||
<td class="org-left"><code>2e_cholesky</code></td>
|
||||
<td class="org-left"><code>float sparse</code></td>
|
||||
<td class="org-left"><code>(mo.num, mo.num, rdm.2e_cholesky_num)</code></td>
|
||||
<td class="org-left">Cholesky decomposition of the Two-body RDM (spin trace)</td>
|
||||
<td class="org-left">Cholesky decomposition of the two-body RDM (spin trace)</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
@ -2616,7 +2616,7 @@ expressed in a basis of a one-electron function
|
||||
<td class="org-left"><code>2e_upup_cholesky</code></td>
|
||||
<td class="org-left"><code>float sparse</code></td>
|
||||
<td class="org-left"><code>(mo.num, mo.num, rdm.2e_upup_cholesky_num)</code></td>
|
||||
<td class="org-left">Cholesky decomposition of the Two-body RDM (↑↑)</td>
|
||||
<td class="org-left">Cholesky decomposition of the two-body RDM (↑↑)</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
@ -2630,7 +2630,7 @@ expressed in a basis of a one-electron function
|
||||
<td class="org-left"><code>2e_dndn_cholesky</code></td>
|
||||
<td class="org-left"><code>float sparse</code></td>
|
||||
<td class="org-left"><code>(mo.num, mo.num, rdm.2e_dndn_cholesky_num)</code></td>
|
||||
<td class="org-left">Cholesky decomposition of the Two-body RDM (↓↓)</td>
|
||||
<td class="org-left">Cholesky decomposition of the two-body RDM (↓↓)</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
@ -2644,7 +2644,7 @@ expressed in a basis of a one-electron function
|
||||
<td class="org-left"><code>2e_updn_cholesky</code></td>
|
||||
<td class="org-left"><code>float sparse</code></td>
|
||||
<td class="org-left"><code>(mo.num, mo.num, rdm.2e_updn_cholesky_num)</code></td>
|
||||
<td class="org-left">Cholesky decomposition of the Two-body RDM (↑↓)</td>
|
||||
<td class="org-left">Cholesky decomposition of the two-body RDM (↑↓)</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
@ -2658,7 +2658,7 @@ expressed in a basis of a one-electron function
|
||||
<td class="org-left"><code>2e_dnup_cholesky</code></td>
|
||||
<td class="org-left"><code>float sparse</code></td>
|
||||
<td class="org-left"><code>(mo.num, mo.num, rdm.2e_dnup_cholesky_num)</code></td>
|
||||
<td class="org-left">Cholesky decomposition of the Two-body RDM (↓↑)</td>
|
||||
<td class="org-left">Cholesky decomposition of the two-body RDM (↓↑)</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@ -2666,12 +2666,12 @@ expressed in a basis of a one-electron function
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org705019a" class="outline-2">
|
||||
<h2 id="org705019a"><span class="section-number-2">6</span> Correlation factors</h2>
|
||||
<div id="outline-container-orgdab52dd" class="outline-2">
|
||||
<h2 id="orgdab52dd"><span class="section-number-2">6</span> Correlation factors</h2>
|
||||
<div class="outline-text-2" id="text-6">
|
||||
</div>
|
||||
<div id="outline-container-org320793f" class="outline-3">
|
||||
<h3 id="org320793f"><span class="section-number-3">6.1</span> Jastrow factor (jastrow group)</h3>
|
||||
<div id="outline-container-org2e8031e" class="outline-3">
|
||||
<h3 id="org2e8031e"><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 to which the CI
|
||||
@ -2696,8 +2696,8 @@ following:
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgae1b3d1" class="outline-4">
|
||||
<h4 id="orgae1b3d1"><span class="section-number-4">6.1.1</span> CHAMP</h4>
|
||||
<div id="outline-container-org9e0002e" class="outline-4">
|
||||
<h4 id="org9e0002e"><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
|
||||
@ -2774,8 +2774,8 @@ The terms \(J_{\text{ee}}^\infty\) and \(J_{\text{eN}}^\infty\) are shifts to en
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org9909f84" class="outline-4">
|
||||
<h4 id="org9909f84"><span class="section-number-4">6.1.2</span> Mu</h4>
|
||||
<div id="outline-container-org1f5142f" class="outline-4">
|
||||
<h4 id="org1f5142f"><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
|
||||
@ -2872,10 +2872,10 @@ The parameter \(\mu\) is stored in the <code>ee</code> array, the parameters
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org84472dc" class="outline-4">
|
||||
<h4 id="org84472dc"><span class="section-number-4">6.1.3</span> Table of values</h4>
|
||||
<div id="outline-container-org9af8bbb" class="outline-4">
|
||||
<h4 id="org9af8bbb"><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="orgc525af1" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orgf1238cc" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -2979,8 +2979,8 @@ The parameter \(\mu\) is stored in the <code>ee</code> array, the parameters
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org36923e1" class="outline-2">
|
||||
<h2 id="org36923e1"><span class="section-number-2">7</span> Quantum Monte Carlo data (qmc group)</h2>
|
||||
<div id="outline-container-orgabc6f85" class="outline-2">
|
||||
<h2 id="orgabc6f85"><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
|
||||
@ -2994,7 +2994,7 @@ By convention, the electron coordinates contain first all the electrons
|
||||
of $↑$-spin and then all the $↓$-spin.
|
||||
</p>
|
||||
|
||||
<table id="org46d8926" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org076b0eb" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -3049,7 +3049,7 @@ of $↑$-spin and then all the $↓$-spin.
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: TREX-CoE</p>
|
||||
<p class="date">Created: 2023-01-11 Wed 18:35</p>
|
||||
<p class="date">Created: 2023-01-13 Fri 14:48</p>
|
||||
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||
</div>
|
||||
</body>
|
||||
|
Loading…
x
Reference in New Issue
Block a user