mirror of
https://github.com/TREX-CoE/trexio.git
synced 2024-11-04 21:24:08 +01:00
Deploying to gh-pages from @ TREX-CoE/trexio@5b5730ed81 🚀
This commit is contained in:
parent
b0d6de9cd0
commit
88db33e4d9
@ -3,7 +3,7 @@
|
|||||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||||
<head>
|
<head>
|
||||||
<!-- 2022-09-13 Tue 09:31 -->
|
<!-- 2022-09-26 Mon 15:11 -->
|
||||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<title>TREXIO source code documentation</title>
|
<title>TREXIO source code documentation</title>
|
||||||
@ -347,7 +347,7 @@ and bug reports should be submitted at
|
|||||||
</div>
|
</div>
|
||||||
<div id="postamble" class="status">
|
<div id="postamble" class="status">
|
||||||
<p class="author">Author: TREX-CoE</p>
|
<p class="author">Author: TREX-CoE</p>
|
||||||
<p class="date">Created: 2022-09-13 Tue 09:31</p>
|
<p class="date">Created: 2022-09-26 Mon 15:11</p>
|
||||||
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||||
<head>
|
<head>
|
||||||
<!-- 2022-09-13 Tue 09:31 -->
|
<!-- 2022-09-26 Mon 15:11 -->
|
||||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<title>Examples</title>
|
<title>Examples</title>
|
||||||
@ -333,31 +333,31 @@ for the JavaScript code in this tag.
|
|||||||
<h2>Table of Contents</h2>
|
<h2>Table of Contents</h2>
|
||||||
<div id="text-table-of-contents">
|
<div id="text-table-of-contents">
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org3ac4218">1. Accessing sparse quantities (integrals)</a>
|
<li><a href="#orgacdca06">1. Accessing sparse quantities (integrals)</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgf7256a9">1.1. Fortran</a>
|
<li><a href="#orgb6460a3">1.1. Fortran</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgb949689">1.1.1. Declare Temporary variables</a></li>
|
<li><a href="#orge24af2d">1.1.1. Declare Temporary variables</a></li>
|
||||||
<li><a href="#org4b6281c">1.1.2. Obtain the name of the TREXIO file from the command line, and open it for reading</a></li>
|
<li><a href="#org83bac8c">1.1.2. Obtain the name of the TREXIO file from the command line, and open it for reading</a></li>
|
||||||
<li><a href="#org69f49e1">1.1.3. Read the nuclear repulsion energy</a></li>
|
<li><a href="#org2734285">1.1.3. Read the nuclear repulsion energy</a></li>
|
||||||
<li><a href="#org0ef06a6">1.1.4. Read the number of molecular orbitals</a></li>
|
<li><a href="#orgae37d13">1.1.4. Read the number of molecular orbitals</a></li>
|
||||||
<li><a href="#org08c040a">1.1.5. Allocate memory</a></li>
|
<li><a href="#orgbf27a51">1.1.5. Allocate memory</a></li>
|
||||||
<li><a href="#org29f10e5">1.1.6. Read one-electron quantities</a></li>
|
<li><a href="#org50c32c9">1.1.6. Read one-electron quantities</a></li>
|
||||||
<li><a href="#org43a8b39">1.1.7. Read two-electron quantities</a>
|
<li><a href="#org0ced891">1.1.7. Read two-electron quantities</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org88529b0">1.1.7.1. Electron repulsion integrals</a></li>
|
<li><a href="#org74dc1da">1.1.7.1. Electron repulsion integrals</a></li>
|
||||||
<li><a href="#org5b00e94">1.1.7.2. Reduced density matrix</a></li>
|
<li><a href="#orgc87abac">1.1.7.2. Reduced density matrix</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org8c4f4f9">1.1.8. Compute the energy</a></li>
|
<li><a href="#org78ca9cd">1.1.8. Compute the energy</a></li>
|
||||||
<li><a href="#org3268cc6">1.1.9. Terminate</a></li>
|
<li><a href="#org68f8ccc">1.1.9. Terminate</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#orgd9d0aff">2. Reading determinants</a>
|
<li><a href="#orga0dea8c">2. Reading determinants</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org74680d6">2.1. Fortran</a></li>
|
<li><a href="#orgdbec1c4">2.1. Fortran</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
@ -365,12 +365,12 @@ for the JavaScript code in this tag.
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div id="outline-container-org3ac4218" class="outline-2">
|
<div id="outline-container-orgacdca06" class="outline-2">
|
||||||
<h2 id="org3ac4218"><span class="section-number-2">1</span> Accessing sparse quantities (integrals)</h2>
|
<h2 id="orgacdca06"><span class="section-number-2">1</span> Accessing sparse quantities (integrals)</h2>
|
||||||
<div class="outline-text-2" id="text-1">
|
<div class="outline-text-2" id="text-1">
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-orgf7256a9" class="outline-3">
|
<div id="outline-container-orgb6460a3" class="outline-3">
|
||||||
<h3 id="orgf7256a9"><span class="section-number-3">1.1</span> Fortran</h3>
|
<h3 id="orgb6460a3"><span class="section-number-3">1.1</span> Fortran</h3>
|
||||||
<div class="outline-text-3" id="text-1-1">
|
<div class="outline-text-3" id="text-1-1">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-f90"><span style="color: #a020f0;">program</span> <span style="color: #0000ff;">print_energy</span>
|
<pre class="src src-f90"><span style="color: #a020f0;">program</span> <span style="color: #0000ff;">print_energy</span>
|
||||||
@ -416,8 +416,8 @@ One needs to read from the TREXIO file:
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgb949689" class="outline-4">
|
<div id="outline-container-orge24af2d" class="outline-4">
|
||||||
<h4 id="orgb949689"><span class="section-number-4">1.1.1</span> Declare Temporary variables</h4>
|
<h4 id="orge24af2d"><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="outline-text-4" id="text-1-1-1">
|
||||||
<div class="org-src-container">
|
<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>
|
<pre class="src src-f90"><span style="color: #228b22;">integer</span> ::<span style="color: #a0522d;"> i, j, k, l, m</span>
|
||||||
@ -432,8 +432,8 @@ One needs to read from the TREXIO file:
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org4b6281c" class="outline-4">
|
<div id="outline-container-org83bac8c" class="outline-4">
|
||||||
<h4 id="org4b6281c"><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>
|
<h4 id="org83bac8c"><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="outline-text-4" id="text-1-1-2">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-f90"><span style="color: #a020f0;">call</span> <span style="color: #0000ff;">getarg</span>(1, filename)
|
<pre class="src src-f90"><span style="color: #a020f0;">call</span> <span style="color: #0000ff;">getarg</span>(1, filename)
|
||||||
@ -449,8 +449,8 @@ f = trexio_open (filename, <span style="color: #8b2252;">'r'</span>, TREXIO_HDF5
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org69f49e1" class="outline-4">
|
<div id="outline-container-org2734285" class="outline-4">
|
||||||
<h4 id="org69f49e1"><span class="section-number-4">1.1.3</span> Read the nuclear repulsion energy</h4>
|
<h4 id="org2734285"><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="outline-text-4" id="text-1-1-3">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-f90">rc = trexio_read_nucleus_repulsion(f, E_nn)
|
<pre class="src src-f90">rc = trexio_read_nucleus_repulsion(f, E_nn)
|
||||||
@ -464,8 +464,8 @@ f = trexio_open (filename, <span style="color: #8b2252;">'r'</span>, TREXIO_HDF5
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org0ef06a6" class="outline-4">
|
<div id="outline-container-orgae37d13" class="outline-4">
|
||||||
<h4 id="org0ef06a6"><span class="section-number-4">1.1.4</span> Read the number of molecular orbitals</h4>
|
<h4 id="orgae37d13"><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="outline-text-4" id="text-1-1-4">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-f90">rc = trexio_read_mo_num(f, n)
|
<pre class="src src-f90">rc = trexio_read_mo_num(f, n)
|
||||||
@ -479,8 +479,8 @@ f = trexio_open (filename, <span style="color: #8b2252;">'r'</span>, TREXIO_HDF5
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org08c040a" class="outline-4">
|
<div id="outline-container-orgbf27a51" class="outline-4">
|
||||||
<h4 id="org08c040a"><span class="section-number-4">1.1.5</span> Allocate memory</h4>
|
<h4 id="orgbf27a51"><span class="section-number-4">1.1.5</span> Allocate memory</h4>
|
||||||
<div class="outline-text-4" id="text-1-1-5">
|
<div class="outline-text-4" id="text-1-1-5">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-f90"><span style="color: #a020f0;">allocate</span>( D(n,n), h0(n,n) )
|
<pre class="src src-f90"><span style="color: #a020f0;">allocate</span>( D(n,n), h0(n,n) )
|
||||||
@ -492,8 +492,8 @@ W(:,:,:,:) = 0.d0
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org29f10e5" class="outline-4">
|
<div id="outline-container-org50c32c9" class="outline-4">
|
||||||
<h4 id="org29f10e5"><span class="section-number-4">1.1.6</span> Read one-electron quantities</h4>
|
<h4 id="org50c32c9"><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="outline-text-4" id="text-1-1-6">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-f90">rc = trexio_has_mo_1e_int_core_hamiltonian(f)
|
<pre class="src src-f90">rc = trexio_has_mo_1e_int_core_hamiltonian(f)
|
||||||
@ -525,8 +525,8 @@ rc = trexio_read_rdm_1e(f, D)
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org43a8b39" class="outline-4">
|
<div id="outline-container-org0ced891" class="outline-4">
|
||||||
<h4 id="org43a8b39"><span class="section-number-4">1.1.7</span> Read two-electron quantities</h4>
|
<h4 id="org0ced891"><span class="section-number-4">1.1.7</span> Read two-electron quantities</h4>
|
||||||
<div class="outline-text-4" id="text-1-1-7">
|
<div class="outline-text-4" id="text-1-1-7">
|
||||||
<p>
|
<p>
|
||||||
Reading is done with OpenMP. Each thread reads its own buffer, and
|
Reading is done with OpenMP. Each thread reads its own buffer, and
|
||||||
@ -542,8 +542,8 @@ to be protected in the critical section when modified.
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org88529b0" class="outline-5">
|
<div id="outline-container-org74dc1da" class="outline-5">
|
||||||
<h5 id="org88529b0"><span class="section-number-5">1.1.7.1</span> Electron repulsion integrals</h5>
|
<h5 id="org74dc1da"><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="outline-text-5" id="text-1-1-7-1">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-f90">rc = trexio_has_mo_2e_int_eri(f)
|
<pre class="src src-f90">rc = trexio_has_mo_2e_int_eri(f)
|
||||||
@ -592,8 +592,8 @@ icount = BUFSIZE
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org5b00e94" class="outline-5">
|
<div id="outline-container-orgc87abac" class="outline-5">
|
||||||
<h5 id="org5b00e94"><span class="section-number-5">1.1.7.2</span> Reduced density matrix</h5>
|
<h5 id="orgc87abac"><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="outline-text-5" id="text-1-1-7-2">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-f90">rc = trexio_has_rdm_2e(f)
|
<pre class="src src-f90">rc = trexio_has_rdm_2e(f)
|
||||||
@ -637,8 +637,8 @@ icount = bufsize
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org8c4f4f9" class="outline-4">
|
<div id="outline-container-org78ca9cd" class="outline-4">
|
||||||
<h4 id="org8c4f4f9"><span class="section-number-4">1.1.8</span> Compute the energy</h4>
|
<h4 id="org78ca9cd"><span class="section-number-4">1.1.8</span> Compute the energy</h4>
|
||||||
<div class="outline-text-4" id="text-1-1-8">
|
<div class="outline-text-4" id="text-1-1-8">
|
||||||
<p>
|
<p>
|
||||||
When the orbitals are real, we can use
|
When the orbitals are real, we can use
|
||||||
@ -684,8 +684,8 @@ E = E + E_nn
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org3268cc6" class="outline-4">
|
<div id="outline-container-org68f8ccc" class="outline-4">
|
||||||
<h4 id="org3268cc6"><span class="section-number-4">1.1.9</span> Terminate</h4>
|
<h4 id="org68f8ccc"><span class="section-number-4">1.1.9</span> Terminate</h4>
|
||||||
<div class="outline-text-4" id="text-1-1-9">
|
<div class="outline-text-4" id="text-1-1-9">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-f90"> <span style="color: #a020f0;">deallocate</span>( D, h0, G, W )
|
<pre class="src src-f90"> <span style="color: #a020f0;">deallocate</span>( D, h0, G, W )
|
||||||
@ -699,12 +699,12 @@ E = E + E_nn
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div id="outline-container-orgd9d0aff" class="outline-2">
|
<div id="outline-container-orga0dea8c" class="outline-2">
|
||||||
<h2 id="orgd9d0aff"><span class="section-number-2">2</span> Reading determinants</h2>
|
<h2 id="orga0dea8c"><span class="section-number-2">2</span> Reading determinants</h2>
|
||||||
<div class="outline-text-2" id="text-2">
|
<div class="outline-text-2" id="text-2">
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-org74680d6" class="outline-3">
|
<div id="outline-container-orgdbec1c4" class="outline-3">
|
||||||
<h3 id="org74680d6"><span class="section-number-3">2.1</span> Fortran</h3>
|
<h3 id="orgdbec1c4"><span class="section-number-3">2.1</span> Fortran</h3>
|
||||||
<div class="outline-text-3" id="text-2-1">
|
<div class="outline-text-3" id="text-2-1">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-f90"><span style="color: #a020f0;">program</span> <span style="color: #0000ff;">test</span>
|
<pre class="src src-f90"><span style="color: #a020f0;">program</span> <span style="color: #0000ff;">test</span>
|
||||||
@ -783,7 +783,7 @@ end
|
|||||||
</div>
|
</div>
|
||||||
<div id="postamble" class="status">
|
<div id="postamble" class="status">
|
||||||
<p class="author">Author: TREX-CoE</p>
|
<p class="author">Author: TREX-CoE</p>
|
||||||
<p class="date">Created: 2022-09-13 Tue 09:31</p>
|
<p class="date">Created: 2022-09-26 Mon 15:11</p>
|
||||||
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||||
<head>
|
<head>
|
||||||
<!-- 2022-09-13 Tue 09:31 -->
|
<!-- 2022-09-26 Mon 15:11 -->
|
||||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<title>TREXIO source code documentation</title>
|
<title>TREXIO source code documentation</title>
|
||||||
@ -347,7 +347,7 @@ and bug reports should be submitted at
|
|||||||
</div>
|
</div>
|
||||||
<div id="postamble" class="status">
|
<div id="postamble" class="status">
|
||||||
<p class="author">Author: TREX-CoE</p>
|
<p class="author">Author: TREX-CoE</p>
|
||||||
<p class="date">Created: 2022-09-13 Tue 09:31</p>
|
<p class="date">Created: 2022-09-26 Mon 15:11</p>
|
||||||
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</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">
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||||
<head>
|
<head>
|
||||||
<!-- 2022-09-13 Tue 09:31 -->
|
<!-- 2022-09-26 Mon 15:11 -->
|
||||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<title>HDF5 back end</title>
|
<title>HDF5 back end</title>
|
||||||
@ -311,24 +311,24 @@ for the JavaScript code in this tag.
|
|||||||
<h2>Table of Contents</h2>
|
<h2>Table of Contents</h2>
|
||||||
<div id="text-table-of-contents">
|
<div id="text-table-of-contents">
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orga5e5e7a">1. Template for HDF5 definitions</a></li>
|
<li><a href="#org500cb97">1. Template for HDF5 definitions</a></li>
|
||||||
<li><a href="#org8a376af">2. Template for HDF5 structures</a></li>
|
<li><a href="#org657fa60">2. Template for HDF5 structures</a></li>
|
||||||
<li><a href="#org7ce0b66">3. Template for HDF5 init/deinit</a></li>
|
<li><a href="#org27ff7ed">3. Template for HDF5 init/deinit</a></li>
|
||||||
<li><a href="#org10bfca4">4. Template for HDF5 has a group</a></li>
|
<li><a href="#org2c689e9">4. Template for HDF5 has a group</a></li>
|
||||||
<li><a href="#org7ed246a">5. Template for HDF5 has/read/write a numerical attribute</a></li>
|
<li><a href="#orgfdc63e3">5. Template for HDF5 has/read/write a numerical attribute</a></li>
|
||||||
<li><a href="#org699d129">6. Template for HDF5 has/read/write a dataset of numerical data</a></li>
|
<li><a href="#org64de42d">6. Template for HDF5 has/read/write a dataset of numerical data</a></li>
|
||||||
<li><a href="#org3c8ad0f">7. Template for HDF5 has/read/write a dataset of sparse data</a></li>
|
<li><a href="#org7201e79">7. Template for HDF5 has/read/write a dataset of sparse data</a></li>
|
||||||
<li><a href="#org87bc127">8. Template for HDF5 has/read/write a dataset of strings</a></li>
|
<li><a href="#org89ed6e7">8. Template for HDF5 has/read/write a dataset of strings</a></li>
|
||||||
<li><a href="#orgb77dd21">9. Template for HDF5 has/read/write a string attribute</a></li>
|
<li><a href="#orga1eeb5c">9. Template for HDF5 has/read/write a string attribute</a></li>
|
||||||
<li><a href="#orgeb99cac">10. Template for HDF5 delete a group (UNSAFE mode)</a></li>
|
<li><a href="#orga415456">10. Template for HDF5 delete a group (UNSAFE mode)</a></li>
|
||||||
<li><a href="#orgc8a8e7a">11. Source code for the determinant part</a></li>
|
<li><a href="#org16fefd5">11. Source code for the determinant part</a></li>
|
||||||
<li><a href="#orgdb9686f">12. Helper functions</a></li>
|
<li><a href="#org8241824">12. Helper functions</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orga5e5e7a" class="outline-2">
|
<div id="outline-container-org500cb97" class="outline-2">
|
||||||
<h2 id="orga5e5e7a"><span class="section-number-2">1</span> Template for HDF5 definitions</h2>
|
<h2 id="org500cb97"><span class="section-number-2">1</span> Template for HDF5 definitions</h2>
|
||||||
<div class="outline-text-2" id="text-1">
|
<div class="outline-text-2" id="text-1">
|
||||||
<div class="org-src-container">
|
<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>
|
<pre class="src src-c"><span style="color: #483d8b;">#define</span> $GROUP$_GROUP_NAME <span style="color: #8b2252;">"$group$"</span>
|
||||||
@ -340,8 +340,8 @@ for the JavaScript code in this tag.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org8a376af" class="outline-2">
|
<div id="outline-container-org657fa60" class="outline-2">
|
||||||
<h2 id="org8a376af"><span class="section-number-2">2</span> Template for HDF5 structures</h2>
|
<h2 id="org657fa60"><span class="section-number-2">2</span> Template for HDF5 structures</h2>
|
||||||
<div class="outline-text-2" id="text-2">
|
<div class="outline-text-2" id="text-2">
|
||||||
<p>
|
<p>
|
||||||
Polymorphism of the <code>trexio_t</code> type is handled by ensuring that the
|
Polymorphism of the <code>trexio_t</code> type is handled by ensuring that the
|
||||||
@ -361,8 +361,8 @@ corresponding types for all back ends can be safely casted to
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org7ce0b66" class="outline-2">
|
<div id="outline-container-org27ff7ed" class="outline-2">
|
||||||
<h2 id="org7ce0b66"><span class="section-number-2">3</span> Template for HDF5 init/deinit</h2>
|
<h2 id="org27ff7ed"><span class="section-number-2">3</span> Template for HDF5 init/deinit</h2>
|
||||||
<div class="outline-text-2" id="text-3">
|
<div class="outline-text-2" id="text-3">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c"><span style="color: #228b22;">trexio_exit_code</span>
|
<pre class="src src-c"><span style="color: #228b22;">trexio_exit_code</span>
|
||||||
@ -482,8 +482,8 @@ corresponding types for all back ends can be safely casted to
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org10bfca4" class="outline-2">
|
<div id="outline-container-org2c689e9" class="outline-2">
|
||||||
<h2 id="org10bfca4"><span class="section-number-2">4</span> Template for HDF5 has a group</h2>
|
<h2 id="org2c689e9"><span class="section-number-2">4</span> Template for HDF5 has a group</h2>
|
||||||
<div class="outline-text-2" id="text-4">
|
<div class="outline-text-2" id="text-4">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c"><span style="color: #228b22;">trexio_exit_code</span>
|
<pre class="src src-c"><span style="color: #228b22;">trexio_exit_code</span>
|
||||||
@ -513,8 +513,8 @@ corresponding types for all back ends can be safely casted to
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org7ed246a" class="outline-2">
|
<div id="outline-container-orgfdc63e3" class="outline-2">
|
||||||
<h2 id="org7ed246a"><span class="section-number-2">5</span> Template for HDF5 has/read/write a numerical attribute</h2>
|
<h2 id="orgfdc63e3"><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="outline-text-2" id="text-5">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c"><span style="color: #228b22;">trexio_exit_code</span>
|
<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>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org699d129" class="outline-2">
|
<div id="outline-container-org64de42d" class="outline-2">
|
||||||
<h2 id="org699d129"><span class="section-number-2">6</span> Template for HDF5 has/read/write a dataset of numerical data</h2>
|
<h2 id="org64de42d"><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="outline-text-2" id="text-6">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c"><span style="color: #228b22;">trexio_exit_code</span>
|
<pre class="src src-c"><span style="color: #228b22;">trexio_exit_code</span>
|
||||||
@ -753,8 +753,8 @@ corresponding types for all back ends can be safely casted to
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org3c8ad0f" class="outline-2">
|
<div id="outline-container-org7201e79" class="outline-2">
|
||||||
<h2 id="org3c8ad0f"><span class="section-number-2">7</span> Template for HDF5 has/read/write a dataset of sparse data</h2>
|
<h2 id="org7201e79"><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">
|
<div class="outline-text-2" id="text-7">
|
||||||
<p>
|
<p>
|
||||||
Sparse data is stored using extensible datasets of HDF5. Extensibility is required
|
Sparse data is stored using extensible datasets of HDF5. Extensibility is required
|
||||||
@ -957,8 +957,8 @@ due to the fact that the sparse data will be written in chunks of user-defined s
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org87bc127" class="outline-2">
|
<div id="outline-container-org89ed6e7" class="outline-2">
|
||||||
<h2 id="org87bc127"><span class="section-number-2">8</span> Template for HDF5 has/read/write a dataset of strings</h2>
|
<h2 id="org89ed6e7"><span class="section-number-2">8</span> Template for HDF5 has/read/write a dataset of strings</h2>
|
||||||
<div class="outline-text-2" id="text-8">
|
<div class="outline-text-2" id="text-8">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c"><span style="color: #228b22;">trexio_exit_code</span>
|
<pre class="src src-c"><span style="color: #228b22;">trexio_exit_code</span>
|
||||||
@ -1156,8 +1156,8 @@ due to the fact that the sparse data will be written in chunks of user-defined s
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgb77dd21" class="outline-2">
|
<div id="outline-container-orga1eeb5c" class="outline-2">
|
||||||
<h2 id="orgb77dd21"><span class="section-number-2">9</span> Template for HDF5 has/read/write a string attribute</h2>
|
<h2 id="orga1eeb5c"><span class="section-number-2">9</span> Template for HDF5 has/read/write a string attribute</h2>
|
||||||
<div class="outline-text-2" id="text-9">
|
<div class="outline-text-2" id="text-9">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c"><span style="color: #228b22;">trexio_exit_code</span>
|
<pre class="src src-c"><span style="color: #228b22;">trexio_exit_code</span>
|
||||||
@ -1284,8 +1284,8 @@ due to the fact that the sparse data will be written in chunks of user-defined s
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-orgeb99cac" class="outline-2">
|
<div id="outline-container-orga415456" class="outline-2">
|
||||||
<h2 id="orgeb99cac"><span class="section-number-2">10</span> Template for HDF5 delete a group (UNSAFE mode)</h2>
|
<h2 id="orga415456"><span class="section-number-2">10</span> Template for HDF5 delete a group (UNSAFE mode)</h2>
|
||||||
<div class="outline-text-2" id="text-10">
|
<div class="outline-text-2" id="text-10">
|
||||||
<p>
|
<p>
|
||||||
<b><b>Note:</b></b> in early versions of the HDF5 library (v < 1.10) unlinking an object was not working as expected
|
<b><b>Note:</b></b> in early versions of the HDF5 library (v < 1.10) unlinking an object was not working as expected
|
||||||
@ -1325,8 +1325,8 @@ Thus, any corrupted/lost file space will remain in the first file. The use of <c
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgc8a8e7a" class="outline-2">
|
<div id="outline-container-org16fefd5" class="outline-2">
|
||||||
<h2 id="orgc8a8e7a"><span class="section-number-2">11</span> Source code for the determinant part</h2>
|
<h2 id="org16fefd5"><span class="section-number-2">11</span> Source code for the determinant part</h2>
|
||||||
<div class="outline-text-2" id="text-11">
|
<div class="outline-text-2" id="text-11">
|
||||||
<p>
|
<p>
|
||||||
Each array is stored in a separate HDF5 dataset due to the fact that determinant I/O has to be decoupled.
|
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>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgdb9686f" class="outline-2">
|
<div id="outline-container-org8241824" class="outline-2">
|
||||||
<h2 id="orgdb9686f"><span class="section-number-2">12</span> Helper functions</h2>
|
<h2 id="org8241824"><span class="section-number-2">12</span> Helper functions</h2>
|
||||||
<div class="outline-text-2" id="text-12">
|
<div class="outline-text-2" id="text-12">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c"><span style="color: #228b22;">trexio_exit_code</span>
|
<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>
|
||||||
<div id="postamble" class="status">
|
<div id="postamble" class="status">
|
||||||
<p class="author">Author: TREX-CoE</p>
|
<p class="author">Author: TREX-CoE</p>
|
||||||
<p class="date">Created: 2022-09-13 Tue 09:31</p>
|
<p class="date">Created: 2022-09-26 Mon 15:11</p>
|
||||||
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||||
<head>
|
<head>
|
||||||
<!-- 2022-09-13 Tue 09:31 -->
|
<!-- 2022-09-26 Mon 15:11 -->
|
||||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<title>TEXT back end</title>
|
<title>TEXT back end</title>
|
||||||
@ -311,22 +311,22 @@ for the JavaScript code in this tag.
|
|||||||
<h2>Table of Contents</h2>
|
<h2>Table of Contents</h2>
|
||||||
<div id="text-table-of-contents">
|
<div id="text-table-of-contents">
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org66c3f7f">1. Template for group-related structures in text back end</a></li>
|
<li><a href="#org228804f">1. Template for group-related structures in text back end</a></li>
|
||||||
<li><a href="#orgcc4d3a1">2. Template for general structure in text back end</a></li>
|
<li><a href="#orgaedb7c9">2. Template for general structure in text back end</a></li>
|
||||||
<li><a href="#org1b53a39">3. Initialize function (constant part)</a></li>
|
<li><a href="#orgbd5061c">3. Initialize function (constant part)</a></li>
|
||||||
<li><a href="#org6b7311a">4. Deinitialize function (templated part)</a></li>
|
<li><a href="#org2b1f48d">4. Deinitialize function (templated part)</a></li>
|
||||||
<li><a href="#orgb0daecf">5. Flush function (templated part)</a></li>
|
<li><a href="#org002dc8e">5. Flush function (templated part)</a></li>
|
||||||
<li><a href="#orge2907f3">6. Template for text read a group</a></li>
|
<li><a href="#org56fad67">6. Template for text read a group</a></li>
|
||||||
<li><a href="#orgc8ccb2f">7. Template for text has a group</a></li>
|
<li><a href="#orgd1d9bb5">7. Template for text has a group</a></li>
|
||||||
<li><a href="#org6892740">8. Template for text flush a group</a></li>
|
<li><a href="#orgea01371">8. Template for text flush a group</a></li>
|
||||||
<li><a href="#orgbb27c65">9. Template for text free memory</a></li>
|
<li><a href="#org0d0a5a8">9. Template for text free memory</a></li>
|
||||||
<li><a href="#orgdd8894d">10. Template for has/read/write a numerical attribute</a></li>
|
<li><a href="#org89ffecc">10. Template for has/read/write a numerical attribute</a></li>
|
||||||
<li><a href="#org0561451">11. Template for has/read/write a dataset of numerical data</a></li>
|
<li><a href="#org5c8d484">11. Template for has/read/write a dataset of numerical data</a></li>
|
||||||
<li><a href="#org5e20d31">12. Template for has/read/write a dataset of strings</a></li>
|
<li><a href="#org74745b7">12. Template for has/read/write a dataset of strings</a></li>
|
||||||
<li><a href="#org0028124">13. Template for has/read/write a string attribute</a></li>
|
<li><a href="#org774b705">13. Template for has/read/write a string attribute</a></li>
|
||||||
<li><a href="#orgae19812">14. Template for has/read/write the dataset of sparse data</a></li>
|
<li><a href="#org9012579">14. Template for has/read/write the dataset of sparse data</a></li>
|
||||||
<li><a href="#org12b1975">15. Template for text delete a group (UNSAFE mode)</a></li>
|
<li><a href="#orged1bd34">15. Template for text delete a group (UNSAFE mode)</a></li>
|
||||||
<li><a href="#org4d9d78e">16. Source code for the determinant part</a></li>
|
<li><a href="#org77ac1ba">16. Source code for the determinant part</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -348,8 +348,8 @@ directory.
|
|||||||
The file is written when closed, or when the flush function is called.
|
The file is written when closed, or when the flush function is called.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div id="outline-container-org66c3f7f" class="outline-2">
|
<div id="outline-container-org228804f" class="outline-2">
|
||||||
<h2 id="org66c3f7f"><span class="section-number-2">1</span> Template for group-related structures in text back end</h2>
|
<h2 id="org228804f"><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="outline-text-2" id="text-1">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c"><span style="color: #a020f0;">typedef</span> <span style="color: #a020f0;">struct</span> $group$_s {
|
<pre class="src src-c"><span style="color: #a020f0;">typedef</span> <span style="color: #a020f0;">struct</span> $group$_s {
|
||||||
@ -368,8 +368,8 @@ The file is written when closed, or when the flush function is called.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgcc4d3a1" class="outline-2">
|
<div id="outline-container-orgaedb7c9" class="outline-2">
|
||||||
<h2 id="orgcc4d3a1"><span class="section-number-2">2</span> Template for general structure in text back end</h2>
|
<h2 id="orgaedb7c9"><span class="section-number-2">2</span> Template for general structure in text back end</h2>
|
||||||
<div class="outline-text-2" id="text-2">
|
<div class="outline-text-2" id="text-2">
|
||||||
<p>
|
<p>
|
||||||
Polymorphism of the <code>trexio_t</code> type is handled by ensuring that the
|
Polymorphism of the <code>trexio_t</code> type is handled by ensuring that the
|
||||||
@ -389,8 +389,8 @@ corresponding types for all back ends can be safely casted to
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org1b53a39" class="outline-2">
|
<div id="outline-container-orgbd5061c" class="outline-2">
|
||||||
<h2 id="org1b53a39"><span class="section-number-2">3</span> Initialize function (constant part)</h2>
|
<h2 id="orgbd5061c"><span class="section-number-2">3</span> Initialize function (constant part)</h2>
|
||||||
<div class="outline-text-2" id="text-3">
|
<div class="outline-text-2" id="text-3">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c"><span style="color: #228b22;">bool</span>
|
<pre class="src src-c"><span style="color: #228b22;">bool</span>
|
||||||
@ -557,8 +557,8 @@ corresponding types for all back ends can be safely casted to
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org6b7311a" class="outline-2">
|
<div id="outline-container-org2b1f48d" class="outline-2">
|
||||||
<h2 id="org6b7311a"><span class="section-number-2">4</span> Deinitialize function (templated part)</h2>
|
<h2 id="org2b1f48d"><span class="section-number-2">4</span> Deinitialize function (templated part)</h2>
|
||||||
<div class="outline-text-2" id="text-4">
|
<div class="outline-text-2" id="text-4">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c"><span style="color: #228b22;">trexio_exit_code</span>
|
<pre class="src src-c"><span style="color: #228b22;">trexio_exit_code</span>
|
||||||
@ -580,8 +580,8 @@ corresponding types for all back ends can be safely casted to
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgb0daecf" class="outline-2">
|
<div id="outline-container-org002dc8e" class="outline-2">
|
||||||
<h2 id="orgb0daecf"><span class="section-number-2">5</span> Flush function (templated part)</h2>
|
<h2 id="org002dc8e"><span class="section-number-2">5</span> Flush function (templated part)</h2>
|
||||||
<div class="outline-text-2" id="text-5">
|
<div class="outline-text-2" id="text-5">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c"><span style="color: #228b22;">trexio_exit_code</span>
|
<pre class="src src-c"><span style="color: #228b22;">trexio_exit_code</span>
|
||||||
@ -604,8 +604,8 @@ corresponding types for all back ends can be safely casted to
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orge2907f3" class="outline-2">
|
<div id="outline-container-org56fad67" class="outline-2">
|
||||||
<h2 id="orge2907f3"><span class="section-number-2">6</span> Template for text read a group</h2>
|
<h2 id="org56fad67"><span class="section-number-2">6</span> Template for text read a group</h2>
|
||||||
<div class="outline-text-2" id="text-6">
|
<div class="outline-text-2" id="text-6">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c">$group$_t*
|
<pre class="src src-c">$group$_t*
|
||||||
@ -831,8 +831,8 @@ trexio_text_read_$group$ (<span style="color: #228b22;">trexio_text_t</span>* <s
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgc8ccb2f" class="outline-2">
|
<div id="outline-container-orgd1d9bb5" class="outline-2">
|
||||||
<h2 id="orgc8ccb2f"><span class="section-number-2">7</span> Template for text has a group</h2>
|
<h2 id="orgd1d9bb5"><span class="section-number-2">7</span> Template for text has a group</h2>
|
||||||
<div class="outline-text-2" id="text-7">
|
<div class="outline-text-2" id="text-7">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c"><span style="color: #228b22;">trexio_exit_code</span>
|
<pre class="src src-c"><span style="color: #228b22;">trexio_exit_code</span>
|
||||||
@ -872,8 +872,8 @@ trexio_text_read_$group$ (<span style="color: #228b22;">trexio_text_t</span>* <s
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org6892740" class="outline-2">
|
<div id="outline-container-orgea01371" class="outline-2">
|
||||||
<h2 id="org6892740"><span class="section-number-2">8</span> Template for text flush a group</h2>
|
<h2 id="orgea01371"><span class="section-number-2">8</span> Template for text flush a group</h2>
|
||||||
<div class="outline-text-2" id="text-8">
|
<div class="outline-text-2" id="text-8">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c"><span style="color: #228b22;">trexio_exit_code</span>
|
<pre class="src src-c"><span style="color: #228b22;">trexio_exit_code</span>
|
||||||
@ -937,8 +937,8 @@ trexio_text_read_$group$ (<span style="color: #228b22;">trexio_text_t</span>* <s
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgbb27c65" class="outline-2">
|
<div id="outline-container-org0d0a5a8" class="outline-2">
|
||||||
<h2 id="orgbb27c65"><span class="section-number-2">9</span> Template for text free memory</h2>
|
<h2 id="org0d0a5a8"><span class="section-number-2">9</span> Template for text free memory</h2>
|
||||||
<div class="outline-text-2" id="text-9">
|
<div class="outline-text-2" id="text-9">
|
||||||
<p>
|
<p>
|
||||||
Memory is allocated when reading. The following function frees memory.
|
Memory is allocated when reading. The following function frees memory.
|
||||||
@ -1007,8 +1007,8 @@ This function is called upon the non-successful exit from the <code>trexio_text_
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgdd8894d" class="outline-2">
|
<div id="outline-container-org89ffecc" class="outline-2">
|
||||||
<h2 id="orgdd8894d"><span class="section-number-2">10</span> Template for has/read/write a numerical attribute</h2>
|
<h2 id="org89ffecc"><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="outline-text-2" id="text-10">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c"><span style="color: #228b22;">trexio_exit_code</span>
|
<pre class="src src-c"><span style="color: #228b22;">trexio_exit_code</span>
|
||||||
@ -1071,8 +1071,8 @@ This function is called upon the non-successful exit from the <code>trexio_text_
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org0561451" class="outline-2">
|
<div id="outline-container-org5c8d484" class="outline-2">
|
||||||
<h2 id="org0561451"><span class="section-number-2">11</span> Template for has/read/write a dataset of numerical data</h2>
|
<h2 id="org5c8d484"><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">
|
<div class="outline-text-2" id="text-11">
|
||||||
<p>
|
<p>
|
||||||
The <code>group_dset</code> array is assumed allocated with the appropriate size.
|
The <code>group_dset</code> array is assumed allocated with the appropriate size.
|
||||||
@ -1168,8 +1168,8 @@ The <code>group_dset</code> array is assumed allocated with the appropriate size
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-org5e20d31" class="outline-2">
|
<div id="outline-container-org74745b7" class="outline-2">
|
||||||
<h2 id="org5e20d31"><span class="section-number-2">12</span> Template for has/read/write a dataset of strings</h2>
|
<h2 id="org74745b7"><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">
|
<div class="outline-text-2" id="text-12">
|
||||||
<p>
|
<p>
|
||||||
The <code>group_dset</code> array is assumed allocated with the appropriate size.
|
The <code>group_dset</code> array is assumed allocated with the appropriate size.
|
||||||
@ -1270,8 +1270,8 @@ The <code>group_dset</code> array is assumed allocated with the appropriate size
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-org0028124" class="outline-2">
|
<div id="outline-container-org774b705" class="outline-2">
|
||||||
<h2 id="org0028124"><span class="section-number-2">13</span> Template for has/read/write a string attribute</h2>
|
<h2 id="org774b705"><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="outline-text-2" id="text-13">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c"><span style="color: #228b22;">trexio_exit_code</span>
|
<pre class="src src-c"><span style="color: #228b22;">trexio_exit_code</span>
|
||||||
@ -1345,8 +1345,8 @@ The <code>group_dset</code> array is assumed allocated with the appropriate size
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-orgae19812" class="outline-2">
|
<div id="outline-container-org9012579" class="outline-2">
|
||||||
<h2 id="orgae19812"><span class="section-number-2">14</span> Template for has/read/write the dataset of sparse data</h2>
|
<h2 id="org9012579"><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">
|
<div class="outline-text-2" id="text-14">
|
||||||
<p>
|
<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
|
Each sparse array is stored in a separate <code>.txt</code> file due to the fact that sparse I/O has to be decoupled
|
||||||
@ -1636,8 +1636,8 @@ User provides indices and values of the sparse array as two separate variables.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org12b1975" class="outline-2">
|
<div id="outline-container-orged1bd34" class="outline-2">
|
||||||
<h2 id="org12b1975"><span class="section-number-2">15</span> Template for text delete a group (UNSAFE mode)</h2>
|
<h2 id="orged1bd34"><span class="section-number-2">15</span> Template for text delete a group (UNSAFE mode)</h2>
|
||||||
<div class="outline-text-2" id="text-15">
|
<div class="outline-text-2" id="text-15">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c"><span style="color: #228b22;">trexio_exit_code</span>
|
<pre class="src src-c"><span style="color: #228b22;">trexio_exit_code</span>
|
||||||
@ -1665,8 +1665,8 @@ User provides indices and values of the sparse array as two separate variables.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org4d9d78e" class="outline-2">
|
<div id="outline-container-org77ac1ba" class="outline-2">
|
||||||
<h2 id="org4d9d78e"><span class="section-number-2">16</span> Source code for the determinant part</h2>
|
<h2 id="org77ac1ba"><span class="section-number-2">16</span> Source code for the determinant part</h2>
|
||||||
<div class="outline-text-2" id="text-16">
|
<div class="outline-text-2" id="text-16">
|
||||||
<p>
|
<p>
|
||||||
Each array is stored in a separate <code>.txt</code> file due to the fact that determinant I/O has to be decoupled
|
Each array is stored in a separate <code>.txt</code> file due to the fact that determinant I/O has to be decoupled
|
||||||
@ -2106,7 +2106,7 @@ Size specifies the number of data items, e.g. determinants.
|
|||||||
</div>
|
</div>
|
||||||
<div id="postamble" class="status">
|
<div id="postamble" class="status">
|
||||||
<p class="author">Author: TREX-CoE</p>
|
<p class="author">Author: TREX-CoE</p>
|
||||||
<p class="date">Created: 2022-09-13 Tue 09:31</p>
|
<p class="date">Created: 2022-09-26 Mon 15:11</p>
|
||||||
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
158
trex.html
158
trex.html
@ -3,7 +3,7 @@
|
|||||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||||
<head>
|
<head>
|
||||||
<!-- 2022-09-13 Tue 09:31 -->
|
<!-- 2022-09-26 Mon 15:11 -->
|
||||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<title>TREX Configuration file</title>
|
<title>TREX Configuration file</title>
|
||||||
@ -333,38 +333,38 @@ for the JavaScript code in this tag.
|
|||||||
<h2>Table of Contents</h2>
|
<h2>Table of Contents</h2>
|
||||||
<div id="text-table-of-contents">
|
<div id="text-table-of-contents">
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org3279fb9">1. Metadata (metadata group)</a></li>
|
<li><a href="#org9037426">1. Metadata (metadata group)</a></li>
|
||||||
<li><a href="#orgc831227">2. Electron (electron group)</a></li>
|
<li><a href="#org44b5de4">2. Electron (electron group)</a></li>
|
||||||
<li><a href="#org972a252">3. Nucleus (nucleus group)</a></li>
|
<li><a href="#org5ed25cc">3. Nucleus (nucleus group)</a></li>
|
||||||
<li><a href="#org6a8277f">4. Effective core potentials (ecp group)</a>
|
<li><a href="#orgcbd75fc">4. Effective core potentials (ecp group)</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org72d7ad6">4.1. Example</a></li>
|
<li><a href="#orga020f8b">4.1. Example</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org5ec523a">5. Basis set (basis group)</a>
|
<li><a href="#orgdee963c">5. Basis set (basis group)</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgf67d0a2">5.1. Example</a></li>
|
<li><a href="#org845272a">5.1. Example</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#orga8548ef">6. Atomic orbitals (ao group)</a>
|
<li><a href="#org0db1500">6. Atomic orbitals (ao group)</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#ao_one_e">6.1. One-electron integrals (<code>ao_1e_int</code> group)</a></li>
|
<li><a href="#ao_one_e">6.1. One-electron integrals (<code>ao_1e_int</code> group)</a></li>
|
||||||
<li><a href="#ao_two_e">6.2. Two-electron integrals (<code>ao_2e_int</code> group)</a></li>
|
<li><a href="#ao_two_e">6.2. Two-electron integrals (<code>ao_2e_int</code> group)</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org8259bcb">7. Molecular orbitals (mo group)</a>
|
<li><a href="#orgc31075a">7. Molecular orbitals (mo group)</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgc824f29">7.1. One-electron integrals (<code>mo_1e_int</code> group)</a></li>
|
<li><a href="#org56945f7">7.1. One-electron integrals (<code>mo_1e_int</code> group)</a></li>
|
||||||
<li><a href="#org2523bbc">7.2. Two-electron integrals (<code>mo_2e_int</code> group)</a></li>
|
<li><a href="#org1a5da71">7.2. Two-electron integrals (<code>mo_2e_int</code> group)</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org081aa26">8. Slater determinants (determinant group)</a></li>
|
<li><a href="#org87e5834">8. Slater determinants (determinant group)</a></li>
|
||||||
<li><a href="#orgb3f4d9c">9. Configuration state functions (csf group)</a></li>
|
<li><a href="#org39d2842">9. Configuration state functions (csf group)</a></li>
|
||||||
<li><a href="#orgff2e628">10. Excited states (state group)</a></li>
|
<li><a href="#orga8ace76">10. Excited states (state group)</a></li>
|
||||||
<li><a href="#org3eab25c">11. Reduced density matrices (rdm group)</a></li>
|
<li><a href="#orgc1edcb4">11. Reduced density matrices (rdm group)</a></li>
|
||||||
<li><a href="#orga186234">12. Cell (cell group)</a></li>
|
<li><a href="#org67e6a0c">12. Cell (cell group)</a></li>
|
||||||
<li><a href="#org40ced9b">13. Periodic boundary calculations (pbc group)</a></li>
|
<li><a href="#org5da502d">13. Periodic boundary calculations (pbc group)</a></li>
|
||||||
<li><a href="#org1700306">14. Quantum Monte Carlo data (qmc group)</a></li>
|
<li><a href="#org669742e">14. Quantum Monte Carlo data (qmc group)</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -418,8 +418,8 @@ For determinants, the <code>special</code> attribute is present in the type. Thi
|
|||||||
means that the source code is not produced by the generator, but hand-written.
|
means that the source code is not produced by the generator, but hand-written.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div id="outline-container-org3279fb9" class="outline-2">
|
<div id="outline-container-org9037426" class="outline-2">
|
||||||
<h2 id="org3279fb9"><span class="section-number-2">1</span> Metadata (metadata group)</h2>
|
<h2 id="org9037426"><span class="section-number-2">1</span> Metadata (metadata group)</h2>
|
||||||
<div class="outline-text-2" id="text-1">
|
<div class="outline-text-2" id="text-1">
|
||||||
<p>
|
<p>
|
||||||
As we expect our files to be archived in open-data repositories, we
|
As we expect our files to be archived in open-data repositories, we
|
||||||
@ -429,7 +429,7 @@ which have participated to the creation of the file, a list of
|
|||||||
authors of the file, and a textual description.
|
authors of the file, and a textual description.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<table id="org853e518" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org9e556ca" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -510,15 +510,15 @@ then the <code>unsafe</code> attribute value can be manually overwritten (in uns
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgc831227" class="outline-2">
|
<div id="outline-container-org44b5de4" class="outline-2">
|
||||||
<h2 id="orgc831227"><span class="section-number-2">2</span> Electron (electron group)</h2>
|
<h2 id="org44b5de4"><span class="section-number-2">2</span> Electron (electron group)</h2>
|
||||||
<div class="outline-text-2" id="text-2">
|
<div class="outline-text-2" id="text-2">
|
||||||
<p>
|
<p>
|
||||||
We consider wave functions expressed in the spin-free formalism, where
|
We consider wave functions expressed in the spin-free formalism, where
|
||||||
the number of ↑ and ↓ electrons is fixed.
|
the number of ↑ and ↓ electrons is fixed.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<table id="orgfe6c175" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="orgaacdbb8" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -564,15 +564,15 @@ the number of ↑ and ↓ electrons is fixed.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org972a252" class="outline-2">
|
<div id="outline-container-org5ed25cc" class="outline-2">
|
||||||
<h2 id="org972a252"><span class="section-number-2">3</span> Nucleus (nucleus group)</h2>
|
<h2 id="org5ed25cc"><span class="section-number-2">3</span> Nucleus (nucleus group)</h2>
|
||||||
<div class="outline-text-2" id="text-3">
|
<div class="outline-text-2" id="text-3">
|
||||||
<p>
|
<p>
|
||||||
The nuclei are considered as fixed point charges. Coordinates are
|
The nuclei are considered as fixed point charges. Coordinates are
|
||||||
given in Cartesian \((x,y,z)\) format.
|
given in Cartesian \((x,y,z)\) format.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<table id="org329635d" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org137730a" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -639,8 +639,8 @@ given in Cartesian \((x,y,z)\) format.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org6a8277f" class="outline-2">
|
<div id="outline-container-orgcbd75fc" class="outline-2">
|
||||||
<h2 id="org6a8277f"><span class="section-number-2">4</span> Effective core potentials (ecp group)</h2>
|
<h2 id="orgcbd75fc"><span class="section-number-2">4</span> Effective core potentials (ecp group)</h2>
|
||||||
<div class="outline-text-2" id="text-4">
|
<div class="outline-text-2" id="text-4">
|
||||||
<p>
|
<p>
|
||||||
An effective core potential (ECP) \(V_A^{\text{ECP}}\) replacing the
|
An effective core potential (ECP) \(V_A^{\text{ECP}}\) replacing the
|
||||||
@ -673,7 +673,7 @@ 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.
|
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>
|
</p>
|
||||||
|
|
||||||
<table id="org38d83b3" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org89aaa01" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -775,8 +775,8 @@ If you encounter the aforementioned issue, please report it to our <a href="http
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org72d7ad6" class="outline-3">
|
<div id="outline-container-orga020f8b" class="outline-3">
|
||||||
<h3 id="org72d7ad6"><span class="section-number-3">4.1</span> Example</h3>
|
<h3 id="orga020f8b"><span class="section-number-3">4.1</span> Example</h3>
|
||||||
<div class="outline-text-3" id="text-4-1">
|
<div class="outline-text-3" id="text-4-1">
|
||||||
<p>
|
<p>
|
||||||
For example, consider H<sub>2</sub> molecule with the following
|
For example, consider H<sub>2</sub> molecule with the following
|
||||||
@ -839,8 +839,8 @@ power = [
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org5ec523a" class="outline-2">
|
<div id="outline-container-orgdee963c" class="outline-2">
|
||||||
<h2 id="org5ec523a"><span class="section-number-2">5</span> Basis set (basis group)</h2>
|
<h2 id="orgdee963c"><span class="section-number-2">5</span> Basis set (basis group)</h2>
|
||||||
<div class="outline-text-2" id="text-5">
|
<div class="outline-text-2" id="text-5">
|
||||||
<p>
|
<p>
|
||||||
We consider here basis functions centered on nuclei. Hence, we enable
|
We consider here basis functions centered on nuclei. Hence, we enable
|
||||||
@ -893,7 +893,7 @@ If the the basis function is not considered normalized, \(\mathcal{N}_s=1\).
|
|||||||
All the basis set parameters are stored in one-dimensional arrays:
|
All the basis set parameters are stored in one-dimensional arrays:
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<table id="org0bae27c" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="orgf20ada0" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -987,8 +987,8 @@ All the basis set parameters are stored in one-dimensional arrays:
|
|||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgf67d0a2" class="outline-3">
|
<div id="outline-container-org845272a" class="outline-3">
|
||||||
<h3 id="orgf67d0a2"><span class="section-number-3">5.1</span> Example</h3>
|
<h3 id="org845272a"><span class="section-number-3">5.1</span> Example</h3>
|
||||||
<div class="outline-text-3" id="text-5-1">
|
<div class="outline-text-3" id="text-5-1">
|
||||||
<p>
|
<p>
|
||||||
For example, consider H<sub>2</sub> with the following basis set (in GAMESS
|
For example, consider H<sub>2</sub> with the following basis set (in GAMESS
|
||||||
@ -1066,8 +1066,8 @@ prim_factor =
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orga8548ef" class="outline-2">
|
<div id="outline-container-org0db1500" class="outline-2">
|
||||||
<h2 id="orga8548ef"><span class="section-number-2">6</span> Atomic orbitals (ao group)</h2>
|
<h2 id="org0db1500"><span class="section-number-2">6</span> Atomic orbitals (ao group)</h2>
|
||||||
<div class="outline-text-2" id="text-6">
|
<div class="outline-text-2" id="text-6">
|
||||||
<p>
|
<p>
|
||||||
Going from the atomic basis set to AOs implies a systematic
|
Going from the atomic basis set to AOs implies a systematic
|
||||||
@ -1120,13 +1120,13 @@ shell, as in the GAMESS convention where
|
|||||||
|
|
||||||
<p>
|
<p>
|
||||||
In such a case, one should set the normalization of the shell (in
|
In such a case, one should set the normalization of the shell (in
|
||||||
the <a href="#org5ec523a">Basis set</a> section) to \(\mathcal{N}_{z^2}\), which is the
|
the <a href="#orgdee963c">Basis set</a> section) to \(\mathcal{N}_{z^2}\), which is the
|
||||||
normalization factor of the atomic orbitals in spherical coordinates.
|
normalization factor of the atomic orbitals in spherical coordinates.
|
||||||
The normalization factor of the \(xy\) function which should be
|
The normalization factor of the \(xy\) function which should be
|
||||||
introduced here should be \(\frac{\mathcal{N}_{xy}}{\mathcal{N}_{z^2}}\).
|
introduced here should be \(\frac{\mathcal{N}_{xy}}{\mathcal{N}_{z^2}}\).
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<table id="org042012b" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org324596e" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -1178,8 +1178,8 @@ introduced here should be \(\frac{\mathcal{N}_{xy}}{\mathcal{N}_{z^2}}\).
|
|||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgad448e7" class="outline-3">
|
<div id="outline-container-org7be852d" class="outline-3">
|
||||||
<h3 id="ao_one_e"><a id="orgad448e7"></a><span class="section-number-3">6.1</span> One-electron integrals (<code>ao_1e_int</code> group)</h3>
|
<h3 id="ao_one_e"><a id="org7be852d"></a><span class="section-number-3">6.1</span> One-electron integrals (<code>ao_1e_int</code> group)</h3>
|
||||||
<div class="outline-text-3" id="text-ao_one_e">
|
<div class="outline-text-3" id="text-ao_one_e">
|
||||||
<ul class="org-ul">
|
<ul class="org-ul">
|
||||||
<li>\[ \hat{V}_{\text{ne}} = \sum_{A=1}^{N_\text{nucl}}
|
<li>\[ \hat{V}_{\text{ne}} = \sum_{A=1}^{N_\text{nucl}}
|
||||||
@ -1196,7 +1196,7 @@ The one-electron integrals for a one-electron operator \(\hat{O}\) are
|
|||||||
over atomic orbitals.
|
over atomic orbitals.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<table id="orgdbbb8a3" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org8f4941d" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -1291,8 +1291,8 @@ over atomic orbitals.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org6ae88df" class="outline-3">
|
<div id="outline-container-org2c63560" class="outline-3">
|
||||||
<h3 id="ao_two_e"><a id="org6ae88df"></a><span class="section-number-3">6.2</span> Two-electron integrals (<code>ao_2e_int</code> group)</h3>
|
<h3 id="ao_two_e"><a id="org2c63560"></a><span class="section-number-3">6.2</span> Two-electron integrals (<code>ao_2e_int</code> group)</h3>
|
||||||
<div class="outline-text-3" id="text-ao_two_e">
|
<div class="outline-text-3" id="text-ao_two_e">
|
||||||
<p>
|
<p>
|
||||||
The two-electron integrals for a two-electron operator \(\hat{O}\) are
|
The two-electron integrals for a two-electron operator \(\hat{O}\) are
|
||||||
@ -1313,7 +1313,7 @@ notation.
|
|||||||
\mathbf{r}_j \vert)}{\vert \mathbf{r}_i - \mathbf{r}_j \vert} \] : electron-electron long range potential</li>
|
\mathbf{r}_j \vert)}{\vert \mathbf{r}_i - \mathbf{r}_j \vert} \] : electron-electron long range potential</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<table id="orgfa56585" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="orgd8a4ffe" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -1353,10 +1353,10 @@ notation.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org8259bcb" class="outline-2">
|
<div id="outline-container-orgc31075a" class="outline-2">
|
||||||
<h2 id="org8259bcb"><span class="section-number-2">7</span> Molecular orbitals (mo group)</h2>
|
<h2 id="orgc31075a"><span class="section-number-2">7</span> Molecular orbitals (mo group)</h2>
|
||||||
<div class="outline-text-2" id="text-7">
|
<div class="outline-text-2" id="text-7">
|
||||||
<table id="org92350fc" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org6b1d05c" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -1443,8 +1443,8 @@ notation.
|
|||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgc824f29" class="outline-3">
|
<div id="outline-container-org56945f7" class="outline-3">
|
||||||
<h3 id="orgc824f29"><span class="section-number-3">7.1</span> One-electron integrals (<code>mo_1e_int</code> group)</h3>
|
<h3 id="org56945f7"><span class="section-number-3">7.1</span> One-electron integrals (<code>mo_1e_int</code> group)</h3>
|
||||||
<div class="outline-text-3" id="text-7-1">
|
<div class="outline-text-3" id="text-7-1">
|
||||||
<p>
|
<p>
|
||||||
The operators as the same as those defined in the
|
The operators as the same as those defined in the
|
||||||
@ -1452,7 +1452,7 @@ The operators as the same as those defined in the
|
|||||||
the basis of molecular orbitals.
|
the basis of molecular orbitals.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<table id="orgb83f228" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="orgcd21131" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -1547,8 +1547,8 @@ the basis of molecular orbitals.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org2523bbc" class="outline-3">
|
<div id="outline-container-org1a5da71" class="outline-3">
|
||||||
<h3 id="org2523bbc"><span class="section-number-3">7.2</span> Two-electron integrals (<code>mo_2e_int</code> group)</h3>
|
<h3 id="org1a5da71"><span class="section-number-3">7.2</span> Two-electron integrals (<code>mo_2e_int</code> group)</h3>
|
||||||
<div class="outline-text-3" id="text-7-2">
|
<div class="outline-text-3" id="text-7-2">
|
||||||
<p>
|
<p>
|
||||||
The operators as the same as those defined in the
|
The operators as the same as those defined in the
|
||||||
@ -1556,7 +1556,7 @@ The operators as the same as those defined in the
|
|||||||
the basis of molecular orbitals.
|
the basis of molecular orbitals.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<table id="org29e22b4" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org1e792b7" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -1596,8 +1596,8 @@ the basis of molecular orbitals.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org081aa26" class="outline-2">
|
<div id="outline-container-org87e5834" class="outline-2">
|
||||||
<h2 id="org081aa26"><span class="section-number-2">8</span> Slater determinants (determinant group)</h2>
|
<h2 id="org87e5834"><span class="section-number-2">8</span> Slater determinants (determinant group)</h2>
|
||||||
<div class="outline-text-2" id="text-8">
|
<div class="outline-text-2" id="text-8">
|
||||||
<p>
|
<p>
|
||||||
The configuration interaction (CI) wave function \(\Psi\)
|
The configuration interaction (CI) wave function \(\Psi\)
|
||||||
@ -1639,7 +1639,7 @@ produced by the code generator.
|
|||||||
An illustration on how to read determinants is presented in the <a href="./examples.html">examples</a>.
|
An illustration on how to read determinants is presented in the <a href="./examples.html">examples</a>.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<table id="org7e98cc5" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org817938f" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -1685,8 +1685,8 @@ An illustration on how to read determinants is presented in the <a href="./examp
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgb3f4d9c" class="outline-2">
|
<div id="outline-container-org39d2842" class="outline-2">
|
||||||
<h2 id="orgb3f4d9c"><span class="section-number-2">9</span> Configuration state functions (csf group)</h2>
|
<h2 id="org39d2842"><span class="section-number-2">9</span> Configuration state functions (csf group)</h2>
|
||||||
<div class="outline-text-2" id="text-9">
|
<div class="outline-text-2" id="text-9">
|
||||||
<p>
|
<p>
|
||||||
The configuration interaction (CI) wave function \(\Psi\) can be
|
The configuration interaction (CI) wave function \(\Psi\) can be
|
||||||
@ -1708,7 +1708,7 @@ matrix \(\langle D_I | \psi_J \rangle\) needed to project the CSFs in
|
|||||||
the basis of Slater determinants.
|
the basis of Slater determinants.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<table id="orgc3470d1" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="orge506aff" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -1754,8 +1754,8 @@ the basis of Slater determinants.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgff2e628" class="outline-2">
|
<div id="outline-container-orga8ace76" class="outline-2">
|
||||||
<h2 id="orgff2e628"><span class="section-number-2">10</span> Excited states (state group)</h2>
|
<h2 id="orga8ace76"><span class="section-number-2">10</span> Excited states (state group)</h2>
|
||||||
<div class="outline-text-2" id="text-10">
|
<div class="outline-text-2" id="text-10">
|
||||||
<p>
|
<p>
|
||||||
By default, the <code>determinant</code> group corresponds to the ground state.
|
By default, the <code>determinant</code> group corresponds to the ground state.
|
||||||
@ -1764,7 +1764,7 @@ correspond to excited state wave functions for the same set of
|
|||||||
determinants. This is the goal of the present group
|
determinants. This is the goal of the present group
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<table id="orgdc0ad8e" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="orgea4942e" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -1803,8 +1803,8 @@ determinants. This is the goal of the present group
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org3eab25c" class="outline-2">
|
<div id="outline-container-orgc1edcb4" class="outline-2">
|
||||||
<h2 id="org3eab25c"><span class="section-number-2">11</span> Reduced density matrices (rdm group)</h2>
|
<h2 id="orgc1edcb4"><span class="section-number-2">11</span> Reduced density matrices (rdm group)</h2>
|
||||||
<div class="outline-text-2" id="text-11">
|
<div class="outline-text-2" id="text-11">
|
||||||
<p>
|
<p>
|
||||||
The reduced density matrices are defined in the basis of molecular
|
The reduced density matrices are defined in the basis of molecular
|
||||||
@ -1857,7 +1857,7 @@ The total energy can be computed as:
|
|||||||
\]
|
\]
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<table id="org8bd1214" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org31adbcc" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -1938,10 +1938,10 @@ The total energy can be computed as:
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orga186234" class="outline-2">
|
<div id="outline-container-org67e6a0c" class="outline-2">
|
||||||
<h2 id="orga186234"><span class="section-number-2">12</span> Cell (cell group)</h2>
|
<h2 id="org67e6a0c"><span class="section-number-2">12</span> Cell (cell group)</h2>
|
||||||
<div class="outline-text-2" id="text-12">
|
<div class="outline-text-2" id="text-12">
|
||||||
<table id="org53628fa" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org984c7b5" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -1987,10 +1987,10 @@ The total energy can be computed as:
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org40ced9b" class="outline-2">
|
<div id="outline-container-org5da502d" class="outline-2">
|
||||||
<h2 id="org40ced9b"><span class="section-number-2">13</span> Periodic boundary calculations (pbc group)</h2>
|
<h2 id="org5da502d"><span class="section-number-2">13</span> Periodic boundary calculations (pbc group)</h2>
|
||||||
<div class="outline-text-2" id="text-13">
|
<div class="outline-text-2" id="text-13">
|
||||||
<table id="orgae714d9" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="orgb53a9d8" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -2029,8 +2029,8 @@ The total energy can be computed as:
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org1700306" class="outline-2">
|
<div id="outline-container-org669742e" class="outline-2">
|
||||||
<h2 id="org1700306"><span class="section-number-2">14</span> Quantum Monte Carlo data (qmc group)</h2>
|
<h2 id="org669742e"><span class="section-number-2">14</span> Quantum Monte Carlo data (qmc group)</h2>
|
||||||
<div class="outline-text-2" id="text-14">
|
<div class="outline-text-2" id="text-14">
|
||||||
<p>
|
<p>
|
||||||
In quantum Monte Carlo calculations, the wave function is evaluated
|
In quantum Monte Carlo calculations, the wave function is evaluated
|
||||||
@ -2044,7 +2044,7 @@ By convention, the electron coordinates contain first all the electrons
|
|||||||
of $↑$-spin and then all the $↓$-spin.
|
of $↑$-spin and then all the $↓$-spin.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<table id="org839ec36" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org229a0de" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -2099,7 +2099,7 @@ of $↑$-spin and then all the $↓$-spin.
|
|||||||
</div>
|
</div>
|
||||||
<div id="postamble" class="status">
|
<div id="postamble" class="status">
|
||||||
<p class="author">Author: TREX-CoE</p>
|
<p class="author">Author: TREX-CoE</p>
|
||||||
<p class="date">Created: 2022-09-13 Tue 09:31</p>
|
<p class="date">Created: 2022-09-26 Mon 15:11</p>
|
||||||
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
Loading…
Reference in New Issue
Block a user