mirror of
https://github.com/TREX-CoE/trexio.git
synced 2024-12-25 05:43:53 +01:00
Deploying to gh-pages from @ TREX-CoE/trexio@aa14f9e477 🚀
This commit is contained in:
parent
19e3c1bf5f
commit
255359160c
@ -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-04-13 Wed 14:40 -->
|
<!-- 2022-04-14 Thu 14: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-04-13 Wed 14:40</p>
|
<p class="date">Created: 2022-04-14 Thu 14: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-04-13 Wed 14:40 -->
|
<!-- 2022-04-14 Thu 14: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,24 +333,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="#orgb52be26">1. Accessing sparse quantities</a>
|
<li><a href="#org777cd15">1. Accessing sparse quantities</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org64925a5">1.1. Fortran</a>
|
<li><a href="#org11e9433">1.1. Fortran</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgafc7f4c">1.1.1. Declare Temporary variables</a></li>
|
<li><a href="#org2d8d889">1.1.1. Declare Temporary variables</a></li>
|
||||||
<li><a href="#orge3620d4">1.1.2. Obtain the name of the TREXIO file from the command line, and open it for reading</a></li>
|
<li><a href="#orgc64cbfa">1.1.2. Obtain the name of the TREXIO file from the command line, and open it for reading</a></li>
|
||||||
<li><a href="#orgf770b43">1.1.3. Read the nuclear repulsion energy</a></li>
|
<li><a href="#org4c2c934">1.1.3. Read the nuclear repulsion energy</a></li>
|
||||||
<li><a href="#orga9abfd7">1.1.4. Read the number of molecular orbitals</a></li>
|
<li><a href="#org3747847">1.1.4. Read the number of molecular orbitals</a></li>
|
||||||
<li><a href="#orgf8f96eb">1.1.5. Allocate memory</a></li>
|
<li><a href="#orge94fe49">1.1.5. Allocate memory</a></li>
|
||||||
<li><a href="#org532fc04">1.1.6. Read one-electron quantities</a></li>
|
<li><a href="#org19d45c8">1.1.6. Read one-electron quantities</a></li>
|
||||||
<li><a href="#org2620568">1.1.7. Read two-electron quantities</a>
|
<li><a href="#orgf8a5b38">1.1.7. Read two-electron quantities</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orge3536c8">1.1.7.1. Electron repulsion integrals</a></li>
|
<li><a href="#org91f5bb6">1.1.7.1. Electron repulsion integrals</a></li>
|
||||||
<li><a href="#orgdf25aec">1.1.7.2. Reduced density matrix</a></li>
|
<li><a href="#orgd6e3a36">1.1.7.2. Reduced density matrix</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org8977f5e">1.1.8. Compute the energy</a></li>
|
<li><a href="#orgbc2f639">1.1.8. Compute the energy</a></li>
|
||||||
<li><a href="#org028f8ba">1.1.9. Terminate</a></li>
|
<li><a href="#org4a281b6">1.1.9. Terminate</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
@ -360,12 +360,12 @@ for the JavaScript code in this tag.
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div id="outline-container-orgb52be26" class="outline-2">
|
<div id="outline-container-org777cd15" class="outline-2">
|
||||||
<h2 id="orgb52be26"><span class="section-number-2">1</span> Accessing sparse quantities</h2>
|
<h2 id="org777cd15"><span class="section-number-2">1</span> Accessing sparse quantities</h2>
|
||||||
<div class="outline-text-2" id="text-1">
|
<div class="outline-text-2" id="text-1">
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-org64925a5" class="outline-3">
|
<div id="outline-container-org11e9433" class="outline-3">
|
||||||
<h3 id="org64925a5"><span class="section-number-3">1.1</span> Fortran</h3>
|
<h3 id="org11e9433"><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>
|
||||||
@ -411,8 +411,8 @@ One needs to read from the TREXIO file:
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgafc7f4c" class="outline-4">
|
<div id="outline-container-org2d8d889" class="outline-4">
|
||||||
<h4 id="orgafc7f4c"><span class="section-number-4">1.1.1</span> Declare Temporary variables</h4>
|
<h4 id="org2d8d889"><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>
|
||||||
@ -427,8 +427,8 @@ One needs to read from the TREXIO file:
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orge3620d4" class="outline-4">
|
<div id="outline-container-orgc64cbfa" class="outline-4">
|
||||||
<h4 id="orge3620d4"><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="orgc64cbfa"><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)
|
||||||
@ -444,8 +444,8 @@ f = trexio_open (filename, <span style="color: #8b2252;">'r'</span>, TREXIO_HDF5
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgf770b43" class="outline-4">
|
<div id="outline-container-org4c2c934" class="outline-4">
|
||||||
<h4 id="orgf770b43"><span class="section-number-4">1.1.3</span> Read the nuclear repulsion energy</h4>
|
<h4 id="org4c2c934"><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)
|
||||||
@ -459,8 +459,8 @@ f = trexio_open (filename, <span style="color: #8b2252;">'r'</span>, TREXIO_HDF5
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orga9abfd7" class="outline-4">
|
<div id="outline-container-org3747847" class="outline-4">
|
||||||
<h4 id="orga9abfd7"><span class="section-number-4">1.1.4</span> Read the number of molecular orbitals</h4>
|
<h4 id="org3747847"><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)
|
||||||
@ -474,8 +474,8 @@ f = trexio_open (filename, <span style="color: #8b2252;">'r'</span>, TREXIO_HDF5
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgf8f96eb" class="outline-4">
|
<div id="outline-container-orge94fe49" class="outline-4">
|
||||||
<h4 id="orgf8f96eb"><span class="section-number-4">1.1.5</span> Allocate memory</h4>
|
<h4 id="orge94fe49"><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) )
|
||||||
@ -487,8 +487,8 @@ W(:,:,:,:) = 0.d0
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org532fc04" class="outline-4">
|
<div id="outline-container-org19d45c8" class="outline-4">
|
||||||
<h4 id="org532fc04"><span class="section-number-4">1.1.6</span> Read one-electron quantities</h4>
|
<h4 id="org19d45c8"><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)
|
||||||
@ -520,8 +520,8 @@ rc = trexio_read_rdm_1e(f, D)
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org2620568" class="outline-4">
|
<div id="outline-container-orgf8a5b38" class="outline-4">
|
||||||
<h4 id="org2620568"><span class="section-number-4">1.1.7</span> Read two-electron quantities</h4>
|
<h4 id="orgf8a5b38"><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
|
||||||
@ -537,8 +537,8 @@ to be protected in the critical section when modified.
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orge3536c8" class="outline-5">
|
<div id="outline-container-org91f5bb6" class="outline-5">
|
||||||
<h5 id="orge3536c8"><span class="section-number-5">1.1.7.1</span> Electron repulsion integrals</h5>
|
<h5 id="org91f5bb6"><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)
|
||||||
@ -587,8 +587,8 @@ icount = BUFSIZE
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgdf25aec" class="outline-5">
|
<div id="outline-container-orgd6e3a36" class="outline-5">
|
||||||
<h5 id="orgdf25aec"><span class="section-number-5">1.1.7.2</span> Reduced density matrix</h5>
|
<h5 id="orgd6e3a36"><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)
|
||||||
@ -632,8 +632,8 @@ icount = bufsize
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org8977f5e" class="outline-4">
|
<div id="outline-container-orgbc2f639" class="outline-4">
|
||||||
<h4 id="org8977f5e"><span class="section-number-4">1.1.8</span> Compute the energy</h4>
|
<h4 id="orgbc2f639"><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
|
||||||
@ -679,8 +679,8 @@ E = E + E_nn
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org028f8ba" class="outline-4">
|
<div id="outline-container-org4a281b6" class="outline-4">
|
||||||
<h4 id="org028f8ba"><span class="section-number-4">1.1.9</span> Terminate</h4>
|
<h4 id="org4a281b6"><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 )
|
||||||
@ -695,7 +695,7 @@ E = E + E_nn
|
|||||||
</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-04-13 Wed 14:40</p>
|
<p class="date">Created: 2022-04-14 Thu 14: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-04-13 Wed 14:40 -->
|
<!-- 2022-04-14 Thu 14: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-04-13 Wed 14:40</p>
|
<p class="date">Created: 2022-04-14 Thu 14: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-04-13 Wed 14:40 -->
|
<!-- 2022-04-14 Thu 14: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,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="#org7a167a8">1. Template for HDF5 definitions</a></li>
|
<li><a href="#org8bd2c1c">1. Template for HDF5 definitions</a></li>
|
||||||
<li><a href="#org75e825e">2. Template for HDF5 structures</a></li>
|
<li><a href="#org586f2be">2. Template for HDF5 structures</a></li>
|
||||||
<li><a href="#org379bf6e">3. Template for HDF5 init/deinit</a></li>
|
<li><a href="#org35ea29f">3. Template for HDF5 init/deinit</a></li>
|
||||||
<li><a href="#org3c56df5">4. Template for HDF5 has/read/write a numerical attribute</a></li>
|
<li><a href="#org6fa5341">4. Template for HDF5 has/read/write a numerical attribute</a></li>
|
||||||
<li><a href="#org98b03bd">5. Template for HDF5 has/read/write a dataset of numerical data</a></li>
|
<li><a href="#org0ab77a0">5. Template for HDF5 has/read/write a dataset of numerical data</a></li>
|
||||||
<li><a href="#org5727110">6. Template for HDF5 has/read/write a dataset of sparse data</a></li>
|
<li><a href="#org03ba27c">6. Template for HDF5 has/read/write a dataset of sparse data</a></li>
|
||||||
<li><a href="#orgca656f6">7. Template for HDF5 has/read/write a dataset of strings</a></li>
|
<li><a href="#orgbace666">7. Template for HDF5 has/read/write a dataset of strings</a></li>
|
||||||
<li><a href="#orgba53933">8. Template for HDF5 has/read/write a string attribute</a></li>
|
<li><a href="#org08df0ff">8. Template for HDF5 has/read/write a string attribute</a></li>
|
||||||
<li><a href="#orgb0b0234">9. Template for HDF5 delete a group (UNSAFE mode)</a></li>
|
<li><a href="#org9bf2bce">9. Template for HDF5 delete a group (UNSAFE mode)</a></li>
|
||||||
<li><a href="#org433ad94">10. Helper functions</a></li>
|
<li><a href="#org6183197">10. Helper functions</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org7a167a8" class="outline-2">
|
<div id="outline-container-org8bd2c1c" class="outline-2">
|
||||||
<h2 id="org7a167a8"><span class="section-number-2">1</span> Template for HDF5 definitions</h2>
|
<h2 id="org8bd2c1c"><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>
|
||||||
@ -338,8 +338,8 @@ for the JavaScript code in this tag.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org75e825e" class="outline-2">
|
<div id="outline-container-org586f2be" class="outline-2">
|
||||||
<h2 id="org75e825e"><span class="section-number-2">2</span> Template for HDF5 structures</h2>
|
<h2 id="org586f2be"><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">
|
||||||
<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> <span style="color: #228b22;">trexio_hdf5_s</span> {
|
<pre class="src src-c"><span style="color: #a020f0;">typedef</span> <span style="color: #a020f0;">struct</span> <span style="color: #228b22;">trexio_hdf5_s</span> {
|
||||||
@ -352,8 +352,8 @@ for the JavaScript code in this tag.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org379bf6e" class="outline-2">
|
<div id="outline-container-org35ea29f" class="outline-2">
|
||||||
<h2 id="org379bf6e"><span class="section-number-2">3</span> Template for HDF5 init/deinit</h2>
|
<h2 id="org35ea29f"><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>
|
||||||
@ -417,18 +417,20 @@ for the JavaScript code in this tag.
|
|||||||
/* <span style="color: #b22222;">Create or open groups in the hdf5 file assuming that they exist if file exists </span>*/
|
/* <span style="color: #b22222;">Create or open groups in the hdf5 file assuming that they exist if file exists </span>*/
|
||||||
<span style="color: #a020f0;">switch</span> (file->mode) {
|
<span style="color: #a020f0;">switch</span> (file->mode) {
|
||||||
<span style="color: #a020f0;">case</span> <span style="color: #8b2252;">'r'</span>:
|
<span style="color: #a020f0;">case</span> <span style="color: #8b2252;">'r'</span>:
|
||||||
f->$group$_group = H5Gopen(f->file_id, $GROUP$_GROUP_NAME, H5P_DEFAULT);
|
<span style="color: #a020f0;">if</span> (H5Lexists(f->file_id, $GROUP$_GROUP_NAME, H5P_DEFAULT) > 0) f->$group$_group = H5Gopen(f->file_id, $GROUP$_GROUP_NAME, H5P_DEFAULT);
|
||||||
|
<span style="color: #a020f0;">if</span> (H5Lexists(f->file_id, $GROUP$_GROUP_NAME, H5P_DEFAULT) == 0) f->$group$_group = (<span style="color: #228b22;">hid_t</span>) 0;
|
||||||
<span style="color: #a020f0;">break</span>;
|
<span style="color: #a020f0;">break</span>;
|
||||||
<span style="color: #a020f0;">case</span> <span style="color: #8b2252;">'u'</span>:
|
<span style="color: #a020f0;">case</span> <span style="color: #8b2252;">'u'</span>:
|
||||||
<span style="color: #a020f0;">case</span> <span style="color: #8b2252;">'w'</span>:
|
<span style="color: #a020f0;">case</span> <span style="color: #8b2252;">'w'</span>:
|
||||||
<span style="color: #a020f0;">if</span> (f_exists == 1) {
|
<span style="color: #a020f0;">if</span> (f_exists == 1) {
|
||||||
f->$group$_group = H5Gopen(f->file_id, $GROUP$_GROUP_NAME, H5P_DEFAULT);
|
<span style="color: #a020f0;">if</span> (H5Lexists(f->file_id, $GROUP$_GROUP_NAME, H5P_DEFAULT) > 0) f->$group$_group = H5Gopen(f->file_id, $GROUP$_GROUP_NAME, H5P_DEFAULT);
|
||||||
|
<span style="color: #a020f0;">if</span> (H5Lexists(f->file_id, $GROUP$_GROUP_NAME, H5P_DEFAULT) == 0) f->$group$_group = H5Gcreate(f->file_id, $GROUP$_GROUP_NAME, H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT);
|
||||||
} <span style="color: #a020f0;">else</span> {
|
} <span style="color: #a020f0;">else</span> {
|
||||||
f->$group$_group = H5Gcreate(f->file_id, $GROUP$_GROUP_NAME, H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT);
|
f->$group$_group = H5Gcreate(f->file_id, $GROUP$_GROUP_NAME, H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT);
|
||||||
}
|
}
|
||||||
<span style="color: #a020f0;">break</span>;
|
<span style="color: #a020f0;">break</span>;
|
||||||
}
|
}
|
||||||
<span style="color: #a020f0;">if</span> (f->$group$_group <= 0L) <span style="color: #a020f0;">return</span> TREXIO_INVALID_ID;
|
<span style="color: #a020f0;">if</span> (f->$group$_group < (<span style="color: #228b22;">hid_t</span>) 0) <span style="color: #a020f0;">return</span> TREXIO_INVALID_ID;
|
||||||
|
|
||||||
<span style="color: #a020f0;">return</span> TREXIO_SUCCESS;
|
<span style="color: #a020f0;">return</span> TREXIO_SUCCESS;
|
||||||
}
|
}
|
||||||
@ -442,7 +444,7 @@ for the JavaScript code in this tag.
|
|||||||
|
|
||||||
<span style="color: #228b22;">trexio_hdf5_t</span>* <span style="color: #a0522d;">f</span> = (<span style="color: #228b22;">trexio_hdf5_t</span>*) file;
|
<span style="color: #228b22;">trexio_hdf5_t</span>* <span style="color: #a0522d;">f</span> = (<span style="color: #228b22;">trexio_hdf5_t</span>*) file;
|
||||||
|
|
||||||
H5Gclose(f->$group$_group);
|
<span style="color: #a020f0;">if</span> (f->$group$_group != (<span style="color: #228b22;">hid_t</span>) 0) H5Gclose(f->$group$_group);
|
||||||
f->$group$_group = 0;
|
f->$group$_group = 0;
|
||||||
|
|
||||||
H5Fclose(f->file_id);
|
H5Fclose(f->file_id);
|
||||||
@ -456,8 +458,8 @@ for the JavaScript code in this tag.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org3c56df5" class="outline-2">
|
<div id="outline-container-org6fa5341" class="outline-2">
|
||||||
<h2 id="org3c56df5"><span class="section-number-2">4</span> Template for HDF5 has/read/write a numerical attribute</h2>
|
<h2 id="org6fa5341"><span class="section-number-2">4</span> Template for HDF5 has/read/write a numerical attribute</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>
|
||||||
@ -560,8 +562,8 @@ for the JavaScript code in this tag.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org98b03bd" class="outline-2">
|
<div id="outline-container-org0ab77a0" class="outline-2">
|
||||||
<h2 id="org98b03bd"><span class="section-number-2">5</span> Template for HDF5 has/read/write a dataset of numerical data</h2>
|
<h2 id="org0ab77a0"><span class="section-number-2">5</span> Template for HDF5 has/read/write a dataset of numerical data</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>
|
||||||
@ -694,8 +696,8 @@ for the JavaScript code in this tag.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org5727110" class="outline-2">
|
<div id="outline-container-org03ba27c" class="outline-2">
|
||||||
<h2 id="org5727110"><span class="section-number-2">6</span> Template for HDF5 has/read/write a dataset of sparse data</h2>
|
<h2 id="org03ba27c"><span class="section-number-2">6</span> Template for HDF5 has/read/write a dataset of sparse data</h2>
|
||||||
<div class="outline-text-2" id="text-6">
|
<div class="outline-text-2" id="text-6">
|
||||||
<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
|
||||||
@ -896,8 +898,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-orgca656f6" class="outline-2">
|
<div id="outline-container-orgbace666" class="outline-2">
|
||||||
<h2 id="orgca656f6"><span class="section-number-2">7</span> Template for HDF5 has/read/write a dataset of strings</h2>
|
<h2 id="orgbace666"><span class="section-number-2">7</span> Template for HDF5 has/read/write a dataset of strings</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>
|
||||||
@ -1094,8 +1096,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-orgba53933" class="outline-2">
|
<div id="outline-container-org08df0ff" class="outline-2">
|
||||||
<h2 id="orgba53933"><span class="section-number-2">8</span> Template for HDF5 has/read/write a string attribute</h2>
|
<h2 id="org08df0ff"><span class="section-number-2">8</span> Template for HDF5 has/read/write a string attribute</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>
|
||||||
@ -1221,8 +1223,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-orgb0b0234" class="outline-2">
|
<div id="outline-container-org9bf2bce" class="outline-2">
|
||||||
<h2 id="orgb0b0234"><span class="section-number-2">9</span> Template for HDF5 delete a group (UNSAFE mode)</h2>
|
<h2 id="org9bf2bce"><span class="section-number-2">9</span> Template for HDF5 delete a group (UNSAFE mode)</h2>
|
||||||
<div class="outline-text-2" id="text-9">
|
<div class="outline-text-2" id="text-9">
|
||||||
<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
|
||||||
@ -1262,8 +1264,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-org433ad94" class="outline-2">
|
<div id="outline-container-org6183197" class="outline-2">
|
||||||
<h2 id="org433ad94"><span class="section-number-2">10</span> Helper functions</h2>
|
<h2 id="org6183197"><span class="section-number-2">10</span> Helper functions</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>
|
||||||
@ -1524,7 +1526,7 @@ Thus, any corrupted/lost file space will remain in the first file. The use of <c
|
|||||||
</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-04-13 Wed 14:40</p>
|
<p class="date">Created: 2022-04-14 Thu 14: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-04-13 Wed 14:40 -->
|
<!-- 2022-04-14 Thu 14: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,29 +311,29 @@ 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="#org5b833fc">1. TEXT back end</a>
|
<li><a href="#org8f87798">1. TEXT back end</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orga30ee45">1.1. Template for group-related structures in text back end</a></li>
|
<li><a href="#orgc430f97">1.1. Template for group-related structures in text back end</a></li>
|
||||||
<li><a href="#org91e9c45">1.2. Template for general structure in text back end</a></li>
|
<li><a href="#orged96a0c">1.2. Template for general structure in text back end</a></li>
|
||||||
<li><a href="#org633d4d5">1.3. Initialize function (constant part)</a></li>
|
<li><a href="#org09f982b">1.3. Initialize function (constant part)</a></li>
|
||||||
<li><a href="#org12fe8bb">1.4. Deinitialize function (templated part)</a></li>
|
<li><a href="#org6071fd8">1.4. Deinitialize function (templated part)</a></li>
|
||||||
<li><a href="#orga3c5bca">1.5. Template for text read a group</a></li>
|
<li><a href="#org9c60c43">1.5. Template for text read a group</a></li>
|
||||||
<li><a href="#org01f0f8a">1.6. Template for text flush a group</a></li>
|
<li><a href="#org3f46f33">1.6. Template for text flush a group</a></li>
|
||||||
<li><a href="#orgf5681e4">1.7. Template for text free memory</a></li>
|
<li><a href="#org1ef46cc">1.7. Template for text free memory</a></li>
|
||||||
<li><a href="#orga35665f">1.8. Template for has/read/write a numerical attribute</a></li>
|
<li><a href="#orgf3a937e">1.8. Template for has/read/write a numerical attribute</a></li>
|
||||||
<li><a href="#org07daeef">1.9. Template for has/read/write a dataset of numerical data</a></li>
|
<li><a href="#orgc66c584">1.9. Template for has/read/write a dataset of numerical data</a></li>
|
||||||
<li><a href="#orgf307d5b">1.10. Template for has/read/write a dataset of strings</a></li>
|
<li><a href="#org69996a9">1.10. Template for has/read/write a dataset of strings</a></li>
|
||||||
<li><a href="#org61baf9b">1.11. Template for has/read/write a string attribute</a></li>
|
<li><a href="#org560f71b">1.11. Template for has/read/write a string attribute</a></li>
|
||||||
<li><a href="#org1699abb">1.12. Template for has/read/write the dataset of sparse data</a></li>
|
<li><a href="#orgbe0d8e0">1.12. Template for has/read/write the dataset of sparse data</a></li>
|
||||||
<li><a href="#org71c7d7f">1.13. Template for text delete a group (UNSAFE mode)</a></li>
|
<li><a href="#orge06f150">1.13. Template for text delete a group (UNSAFE mode)</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org5b833fc" class="outline-2">
|
<div id="outline-container-org8f87798" class="outline-2">
|
||||||
<h2 id="org5b833fc"><span class="section-number-2">1</span> TEXT back end</h2>
|
<h2 id="org8f87798"><span class="section-number-2">1</span> TEXT back end</h2>
|
||||||
<div class="outline-text-2" id="text-1">
|
<div class="outline-text-2" id="text-1">
|
||||||
<p>
|
<p>
|
||||||
The "file" produced by the text back end is a directory with one
|
The "file" produced by the text back end is a directory with one
|
||||||
@ -354,8 +354,8 @@ The file is written when closed, or when the flush function is called.
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orga30ee45" class="outline-3">
|
<div id="outline-container-orgc430f97" class="outline-3">
|
||||||
<h3 id="orga30ee45"><span class="section-number-3">1.1</span> Template for group-related structures in text back end</h3>
|
<h3 id="orgc430f97"><span class="section-number-3">1.1</span> Template for group-related structures in text back end</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-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 {
|
||||||
@ -374,8 +374,8 @@ The file is written when closed, or when the flush function is called.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org91e9c45" class="outline-3">
|
<div id="outline-container-orged96a0c" class="outline-3">
|
||||||
<h3 id="org91e9c45"><span class="section-number-3">1.2</span> Template for general structure in text back end</h3>
|
<h3 id="orged96a0c"><span class="section-number-3">1.2</span> Template for general structure in text back end</h3>
|
||||||
<div class="outline-text-3" id="text-1-2">
|
<div class="outline-text-3" id="text-1-2">
|
||||||
<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> <span style="color: #228b22;">trexio_text_s</span> {
|
<pre class="src src-c"><span style="color: #a020f0;">typedef</span> <span style="color: #a020f0;">struct</span> <span style="color: #228b22;">trexio_text_s</span> {
|
||||||
@ -388,8 +388,8 @@ The file is written when closed, or when the flush function is called.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org633d4d5" class="outline-3">
|
<div id="outline-container-org09f982b" class="outline-3">
|
||||||
<h3 id="org633d4d5"><span class="section-number-3">1.3</span> Initialize function (constant part)</h3>
|
<h3 id="org09f982b"><span class="section-number-3">1.3</span> Initialize function (constant part)</h3>
|
||||||
<div class="outline-text-3" id="text-1-3">
|
<div class="outline-text-3" id="text-1-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>
|
||||||
@ -532,8 +532,8 @@ The file is written when closed, or when the flush function is called.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org12fe8bb" class="outline-3">
|
<div id="outline-container-org6071fd8" class="outline-3">
|
||||||
<h3 id="org12fe8bb"><span class="section-number-3">1.4</span> Deinitialize function (templated part)</h3>
|
<h3 id="org6071fd8"><span class="section-number-3">1.4</span> Deinitialize function (templated part)</h3>
|
||||||
<div class="outline-text-3" id="text-1-4">
|
<div class="outline-text-3" id="text-1-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>
|
||||||
@ -555,8 +555,8 @@ The file is written when closed, or when the flush function is called.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orga3c5bca" class="outline-3">
|
<div id="outline-container-org9c60c43" class="outline-3">
|
||||||
<h3 id="orga3c5bca"><span class="section-number-3">1.5</span> Template for text read a group</h3>
|
<h3 id="org9c60c43"><span class="section-number-3">1.5</span> Template for text read a group</h3>
|
||||||
<div class="outline-text-3" id="text-1-5">
|
<div class="outline-text-3" id="text-1-5">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c">$group$_t*
|
<pre class="src src-c">$group$_t*
|
||||||
@ -857,8 +857,8 @@ trexio_text_read_$group$ (<span style="color: #228b22;">trexio_text_t</span>* <s
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org01f0f8a" class="outline-3">
|
<div id="outline-container-org3f46f33" class="outline-3">
|
||||||
<h3 id="org01f0f8a"><span class="section-number-3">1.6</span> Template for text flush a group</h3>
|
<h3 id="org3f46f33"><span class="section-number-3">1.6</span> Template for text flush a group</h3>
|
||||||
<div class="outline-text-3" id="text-1-6">
|
<div class="outline-text-3" id="text-1-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>
|
||||||
@ -922,8 +922,8 @@ trexio_text_read_$group$ (<span style="color: #228b22;">trexio_text_t</span>* <s
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgf5681e4" class="outline-3">
|
<div id="outline-container-org1ef46cc" class="outline-3">
|
||||||
<h3 id="orgf5681e4"><span class="section-number-3">1.7</span> Template for text free memory</h3>
|
<h3 id="org1ef46cc"><span class="section-number-3">1.7</span> Template for text free memory</h3>
|
||||||
<div class="outline-text-3" id="text-1-7">
|
<div class="outline-text-3" id="text-1-7">
|
||||||
<p>
|
<p>
|
||||||
Memory is allocated when reading. The following function frees memory.
|
Memory is allocated when reading. The following function frees memory.
|
||||||
@ -970,8 +970,8 @@ Memory is allocated when reading. The following function frees memory.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orga35665f" class="outline-3">
|
<div id="outline-container-orgf3a937e" class="outline-3">
|
||||||
<h3 id="orga35665f"><span class="section-number-3">1.8</span> Template for has/read/write a numerical attribute</h3>
|
<h3 id="orgf3a937e"><span class="section-number-3">1.8</span> Template for has/read/write a numerical attribute</h3>
|
||||||
<div class="outline-text-3" id="text-1-8">
|
<div class="outline-text-3" id="text-1-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>
|
||||||
@ -1034,8 +1034,8 @@ Memory is allocated when reading. The following function frees memory.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org07daeef" class="outline-3">
|
<div id="outline-container-orgc66c584" class="outline-3">
|
||||||
<h3 id="org07daeef"><span class="section-number-3">1.9</span> Template for has/read/write a dataset of numerical data</h3>
|
<h3 id="orgc66c584"><span class="section-number-3">1.9</span> Template for has/read/write a dataset of numerical data</h3>
|
||||||
<div class="outline-text-3" id="text-1-9">
|
<div class="outline-text-3" id="text-1-9">
|
||||||
<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.
|
||||||
@ -1131,8 +1131,8 @@ The <code>group_dset</code> array is assumed allocated with the appropriate size
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-orgf307d5b" class="outline-3">
|
<div id="outline-container-org69996a9" class="outline-3">
|
||||||
<h3 id="orgf307d5b"><span class="section-number-3">1.10</span> Template for has/read/write a dataset of strings</h3>
|
<h3 id="org69996a9"><span class="section-number-3">1.10</span> Template for has/read/write a dataset of strings</h3>
|
||||||
<div class="outline-text-3" id="text-1-10">
|
<div class="outline-text-3" id="text-1-10">
|
||||||
<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.
|
||||||
@ -1233,8 +1233,8 @@ The <code>group_dset</code> array is assumed allocated with the appropriate size
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-org61baf9b" class="outline-3">
|
<div id="outline-container-org560f71b" class="outline-3">
|
||||||
<h3 id="org61baf9b"><span class="section-number-3">1.11</span> Template for has/read/write a string attribute</h3>
|
<h3 id="org560f71b"><span class="section-number-3">1.11</span> Template for has/read/write a string attribute</h3>
|
||||||
<div class="outline-text-3" id="text-1-11">
|
<div class="outline-text-3" id="text-1-11">
|
||||||
<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>
|
||||||
@ -1308,8 +1308,8 @@ The <code>group_dset</code> array is assumed allocated with the appropriate size
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-org1699abb" class="outline-3">
|
<div id="outline-container-orgbe0d8e0" class="outline-3">
|
||||||
<h3 id="org1699abb"><span class="section-number-3">1.12</span> Template for has/read/write the dataset of sparse data</h3>
|
<h3 id="orgbe0d8e0"><span class="section-number-3">1.12</span> Template for has/read/write the dataset of sparse data</h3>
|
||||||
<div class="outline-text-3" id="text-1-12">
|
<div class="outline-text-3" id="text-1-12">
|
||||||
<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
|
||||||
@ -1583,8 +1583,8 @@ User provides indices and values of the sparse array as two separate variables.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org71c7d7f" class="outline-3">
|
<div id="outline-container-orge06f150" class="outline-3">
|
||||||
<h3 id="org71c7d7f"><span class="section-number-3">1.13</span> Template for text delete a group (UNSAFE mode)</h3>
|
<h3 id="orge06f150"><span class="section-number-3">1.13</span> Template for text delete a group (UNSAFE mode)</h3>
|
||||||
<div class="outline-text-3" id="text-1-13">
|
<div class="outline-text-3" id="text-1-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>
|
||||||
@ -1615,7 +1615,7 @@ User provides indices and values of the sparse array as two separate variables.
|
|||||||
</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-04-13 Wed 14:40</p>
|
<p class="date">Created: 2022-04-14 Thu 14: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>
|
||||||
|
124
trex.html
124
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-04-13 Wed 14:40 -->
|
<!-- 2022-04-14 Thu 14: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,34 +333,34 @@ 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="#org43da47e">1. Metadata (metadata group)</a></li>
|
<li><a href="#org6968ccd">1. Metadata (metadata group)</a></li>
|
||||||
<li><a href="#org6992d6e">2. Electron (electron group)</a></li>
|
<li><a href="#orgf3b35f3">2. Electron (electron group)</a></li>
|
||||||
<li><a href="#orgabfd33b">3. Nucleus (nucleus group)</a></li>
|
<li><a href="#orgb62332b">3. Nucleus (nucleus group)</a></li>
|
||||||
<li><a href="#orgce25685">4. Effective core potentials (ecp group)</a>
|
<li><a href="#org100097b">4. Effective core potentials (ecp group)</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org048c36b">4.1. Example</a></li>
|
<li><a href="#org0cc7e96">4.1. Example</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#orgd8244eb">5. Basis set (basis group)</a>
|
<li><a href="#org388959c">5. Basis set (basis group)</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org5412e10">5.1. Example</a></li>
|
<li><a href="#org11c0016">5.1. Example</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org1baedc9">6. Atomic orbitals (ao group)</a>
|
<li><a href="#org7713e00">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="#org8adb423">7. Molecular orbitals (mo group)</a>
|
<li><a href="#org5a63275">7. Molecular orbitals (mo group)</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgb5fa684">7.1. One-electron integrals (<code>mo_1e_int</code> group)</a></li>
|
<li><a href="#org238bda6">7.1. One-electron integrals (<code>mo_1e_int</code> group)</a></li>
|
||||||
<li><a href="#orgd0a95a6">7.2. Two-electron integrals (<code>mo_2e_int</code> group)</a></li>
|
<li><a href="#orgb18ffbc">7.2. Two-electron integrals (<code>mo_2e_int</code> group)</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org8c5ddc1">8. <span class="todo TODO">TODO</span> Slater determinants</a></li>
|
<li><a href="#org9bb5930">8. <span class="todo TODO">TODO</span> Slater determinants</a></li>
|
||||||
<li><a href="#orga4cddb0">9. Reduced density matrices (rdm group)</a></li>
|
<li><a href="#orgeeac284">9. Reduced density matrices (rdm group)</a></li>
|
||||||
<li><a href="#org5b8bdc9">10. Quantum Monte Carlo data (qmc group)</a></li>
|
<li><a href="#org6357ae0">10. Quantum Monte Carlo data (qmc group)</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -406,8 +406,8 @@ the <a href="./examples.html">examples</a>.
|
|||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
|
||||||
<div id="outline-container-org43da47e" class="outline-2">
|
<div id="outline-container-org6968ccd" class="outline-2">
|
||||||
<h2 id="org43da47e"><span class="section-number-2">1</span> Metadata (metadata group)</h2>
|
<h2 id="org6968ccd"><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
|
||||||
@ -417,7 +417,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="orgbbe7e1e" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org37ea8ee" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -498,15 +498,15 @@ then the <code>unsafe</code> attribute value can be manually overwritten (in uns
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org6992d6e" class="outline-2">
|
<div id="outline-container-orgf3b35f3" class="outline-2">
|
||||||
<h2 id="org6992d6e"><span class="section-number-2">2</span> Electron (electron group)</h2>
|
<h2 id="orgf3b35f3"><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="orgbe41d44" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org39b102e" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -552,15 +552,15 @@ the number of ↑ and ↓ electrons is fixed.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgabfd33b" class="outline-2">
|
<div id="outline-container-orgb62332b" class="outline-2">
|
||||||
<h2 id="orgabfd33b"><span class="section-number-2">3</span> Nucleus (nucleus group)</h2>
|
<h2 id="orgb62332b"><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="orgc4f4b69" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org68c935e" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -627,8 +627,8 @@ given in Cartesian \((x,y,z)\) format.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgce25685" class="outline-2">
|
<div id="outline-container-org100097b" class="outline-2">
|
||||||
<h2 id="orgce25685"><span class="section-number-2">4</span> Effective core potentials (ecp group)</h2>
|
<h2 id="org100097b"><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
|
||||||
@ -661,7 +661,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="orgc6c6f68" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org8baba87" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -763,8 +763,8 @@ If you encounter the aforementioned issue, please report it to our <a href="http
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org048c36b" class="outline-3">
|
<div id="outline-container-org0cc7e96" class="outline-3">
|
||||||
<h3 id="org048c36b"><span class="section-number-3">4.1</span> Example</h3>
|
<h3 id="org0cc7e96"><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
|
||||||
@ -827,8 +827,8 @@ power = [
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgd8244eb" class="outline-2">
|
<div id="outline-container-org388959c" class="outline-2">
|
||||||
<h2 id="orgd8244eb"><span class="section-number-2">5</span> Basis set (basis group)</h2>
|
<h2 id="org388959c"><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
|
||||||
@ -881,7 +881,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="org270f4b7" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org9f9737d" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -975,8 +975,8 @@ All the basis set parameters are stored in one-dimensional arrays:
|
|||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org5412e10" class="outline-3">
|
<div id="outline-container-org11c0016" class="outline-3">
|
||||||
<h3 id="org5412e10"><span class="section-number-3">5.1</span> Example</h3>
|
<h3 id="org11c0016"><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
|
||||||
@ -1054,8 +1054,8 @@ prim_factor =
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org1baedc9" class="outline-2">
|
<div id="outline-container-org7713e00" class="outline-2">
|
||||||
<h2 id="org1baedc9"><span class="section-number-2">6</span> Atomic orbitals (ao group)</h2>
|
<h2 id="org7713e00"><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
|
||||||
@ -1108,13 +1108,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="#orgd8244eb">Basis set</a> section) to \(\mathcal{N}_{z^2}\), which is the
|
the <a href="#org388959c">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="orgd4885d3" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org56bae99" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -1166,8 +1166,8 @@ introduced here should be \(\frac{\mathcal{N}_{xy}}{\mathcal{N}_{z^2}}\).
|
|||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgdb31d9f" class="outline-3">
|
<div id="outline-container-orgcaf6bc5" class="outline-3">
|
||||||
<h3 id="ao_one_e"><a id="orgdb31d9f"></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="orgcaf6bc5"></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}}
|
||||||
@ -1184,7 +1184,7 @@ The one-electron integrals for a one-electron operator \(\hat{O}\) are
|
|||||||
over atomic orbitals.
|
over atomic orbitals.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<table id="orgd7a5387" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="orgbab1d50" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -1244,8 +1244,8 @@ over atomic orbitals.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org8ab253a" class="outline-3">
|
<div id="outline-container-org04c57d9" class="outline-3">
|
||||||
<h3 id="ao_two_e"><a id="org8ab253a"></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="org04c57d9"></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
|
||||||
@ -1266,7 +1266,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="org24e2de2" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org6739406" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -1306,10 +1306,10 @@ notation.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org8adb423" class="outline-2">
|
<div id="outline-container-org5a63275" class="outline-2">
|
||||||
<h2 id="org8adb423"><span class="section-number-2">7</span> Molecular orbitals (mo group)</h2>
|
<h2 id="org5a63275"><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="org6a35a08" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org300fc1b" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -1375,8 +1375,8 @@ notation.
|
|||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgb5fa684" class="outline-3">
|
<div id="outline-container-org238bda6" class="outline-3">
|
||||||
<h3 id="orgb5fa684"><span class="section-number-3">7.1</span> One-electron integrals (<code>mo_1e_int</code> group)</h3>
|
<h3 id="org238bda6"><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
|
||||||
@ -1384,7 +1384,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="org22b4a6d" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org4f43cf0" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -1444,8 +1444,8 @@ the basis of molecular orbitals.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgd0a95a6" class="outline-3">
|
<div id="outline-container-orgb18ffbc" class="outline-3">
|
||||||
<h3 id="orgd0a95a6"><span class="section-number-3">7.2</span> Two-electron integrals (<code>mo_2e_int</code> group)</h3>
|
<h3 id="orgb18ffbc"><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
|
||||||
@ -1453,7 +1453,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="org848a240" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org0f83eac" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -1493,11 +1493,11 @@ the basis of molecular orbitals.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org8c5ddc1" class="outline-2">
|
<div id="outline-container-org9bb5930" class="outline-2">
|
||||||
<h2 id="org8c5ddc1"><span class="section-number-2">8</span> <span class="todo TODO">TODO</span> Slater determinants</h2>
|
<h2 id="org9bb5930"><span class="section-number-2">8</span> <span class="todo TODO">TODO</span> Slater determinants</h2>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-orga4cddb0" class="outline-2">
|
<div id="outline-container-orgeeac284" class="outline-2">
|
||||||
<h2 id="orga4cddb0"><span class="section-number-2">9</span> Reduced density matrices (rdm group)</h2>
|
<h2 id="orgeeac284"><span class="section-number-2">9</span> Reduced density matrices (rdm group)</h2>
|
||||||
<div class="outline-text-2" id="text-9">
|
<div class="outline-text-2" id="text-9">
|
||||||
<p>
|
<p>
|
||||||
The reduced density matrices are defined in the basis of molecular
|
The reduced density matrices are defined in the basis of molecular
|
||||||
@ -1550,7 +1550,7 @@ The total energy can be computed as:
|
|||||||
\]
|
\]
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<table id="org2755768" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="orgf552a18" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -1631,8 +1631,8 @@ The total energy can be computed as:
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org5b8bdc9" class="outline-2">
|
<div id="outline-container-org6357ae0" class="outline-2">
|
||||||
<h2 id="org5b8bdc9"><span class="section-number-2">10</span> Quantum Monte Carlo data (qmc group)</h2>
|
<h2 id="org6357ae0"><span class="section-number-2">10</span> Quantum Monte Carlo data (qmc group)</h2>
|
||||||
<div class="outline-text-2" id="text-10">
|
<div class="outline-text-2" id="text-10">
|
||||||
<p>
|
<p>
|
||||||
In quantum Monte Carlo calculations, the wave function is evaluated
|
In quantum Monte Carlo calculations, the wave function is evaluated
|
||||||
@ -1646,7 +1646,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="orgf08a6c3" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org08f7909" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -1701,7 +1701,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-04-13 Wed 14:40</p>
|
<p class="date">Created: 2022-04-14 Thu 14: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