mirror of
https://github.com/TREX-CoE/trexio.git
synced 2024-12-25 13:53:55 +01:00
Deploying to gh-pages from @ TREX-CoE/trexio@2da232d6d2 🚀
This commit is contained in:
parent
ddf343f840
commit
9b0759109e
@ -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-02-23 Wed 15:12 -->
|
<!-- 2022-02-23 Wed 17:28 -->
|
||||||
<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-02-23 Wed 15:12</p>
|
<p class="date">Created: 2022-02-23 Wed 17:28</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-02-23 Wed 15:12 -->
|
<!-- 2022-02-23 Wed 17:28 -->
|
||||||
<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="#orgcdf5a42">1. Accessing sparse quantities</a>
|
<li><a href="#orge83b337">1. Accessing sparse quantities</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org93b4d8b">1.1. Fortran</a>
|
<li><a href="#org231b029">1.1. Fortran</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org578d875">1.1.1. Declare Temporary variables</a></li>
|
<li><a href="#org921ab22">1.1.1. Declare Temporary variables</a></li>
|
||||||
<li><a href="#orgb5de91f">1.1.2. Obtain the name of the TREXIO file from the command line, and open it for reading</a></li>
|
<li><a href="#orgcdaa00c">1.1.2. Obtain the name of the TREXIO file from the command line, and open it for reading</a></li>
|
||||||
<li><a href="#orgd7f9ea5">1.1.3. Read the nuclear repulsion energy</a></li>
|
<li><a href="#org7e560bf">1.1.3. Read the nuclear repulsion energy</a></li>
|
||||||
<li><a href="#orge5f82fe">1.1.4. Read the number of molecular orbitals</a></li>
|
<li><a href="#org0b7ac4f">1.1.4. Read the number of molecular orbitals</a></li>
|
||||||
<li><a href="#org9173e9c">1.1.5. Allocate memory</a></li>
|
<li><a href="#org607c6e8">1.1.5. Allocate memory</a></li>
|
||||||
<li><a href="#orgf58dd39">1.1.6. Read one-electron quantities</a></li>
|
<li><a href="#orgce17a2c">1.1.6. Read one-electron quantities</a></li>
|
||||||
<li><a href="#orgd8a0660">1.1.7. Read two-electron quantities</a>
|
<li><a href="#org6a3a515">1.1.7. Read two-electron quantities</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org70fe4ef">1.1.7.1. Electron repulsion integrals</a></li>
|
<li><a href="#org166975e">1.1.7.1. Electron repulsion integrals</a></li>
|
||||||
<li><a href="#org6ae140a">1.1.7.2. Reduced density matrix</a></li>
|
<li><a href="#org650160b">1.1.7.2. Reduced density matrix</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#orge428ab4">1.1.8. Compute the energy</a></li>
|
<li><a href="#org7a8d543">1.1.8. Compute the energy</a></li>
|
||||||
<li><a href="#org4f16410">1.1.9. Terminate</a></li>
|
<li><a href="#org7649486">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-orgcdf5a42" class="outline-2">
|
<div id="outline-container-orge83b337" class="outline-2">
|
||||||
<h2 id="orgcdf5a42"><span class="section-number-2">1</span> Accessing sparse quantities</h2>
|
<h2 id="orge83b337"><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-org93b4d8b" class="outline-3">
|
<div id="outline-container-org231b029" class="outline-3">
|
||||||
<h3 id="org93b4d8b"><span class="section-number-3">1.1</span> Fortran</h3>
|
<h3 id="org231b029"><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-org578d875" class="outline-4">
|
<div id="outline-container-org921ab22" class="outline-4">
|
||||||
<h4 id="org578d875"><span class="section-number-4">1.1.1</span> Declare Temporary variables</h4>
|
<h4 id="org921ab22"><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-orgb5de91f" class="outline-4">
|
<div id="outline-container-orgcdaa00c" class="outline-4">
|
||||||
<h4 id="orgb5de91f"><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="orgcdaa00c"><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-orgd7f9ea5" class="outline-4">
|
<div id="outline-container-org7e560bf" class="outline-4">
|
||||||
<h4 id="orgd7f9ea5"><span class="section-number-4">1.1.3</span> Read the nuclear repulsion energy</h4>
|
<h4 id="org7e560bf"><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-orge5f82fe" class="outline-4">
|
<div id="outline-container-org0b7ac4f" class="outline-4">
|
||||||
<h4 id="orge5f82fe"><span class="section-number-4">1.1.4</span> Read the number of molecular orbitals</h4>
|
<h4 id="org0b7ac4f"><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-org9173e9c" class="outline-4">
|
<div id="outline-container-org607c6e8" class="outline-4">
|
||||||
<h4 id="org9173e9c"><span class="section-number-4">1.1.5</span> Allocate memory</h4>
|
<h4 id="org607c6e8"><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-orgf58dd39" class="outline-4">
|
<div id="outline-container-orgce17a2c" class="outline-4">
|
||||||
<h4 id="orgf58dd39"><span class="section-number-4">1.1.6</span> Read one-electron quantities</h4>
|
<h4 id="orgce17a2c"><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-orgd8a0660" class="outline-4">
|
<div id="outline-container-org6a3a515" class="outline-4">
|
||||||
<h4 id="orgd8a0660"><span class="section-number-4">1.1.7</span> Read two-electron quantities</h4>
|
<h4 id="org6a3a515"><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-org70fe4ef" class="outline-5">
|
<div id="outline-container-org166975e" class="outline-5">
|
||||||
<h5 id="org70fe4ef"><span class="section-number-5">1.1.7.1</span> Electron repulsion integrals</h5>
|
<h5 id="org166975e"><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-org6ae140a" class="outline-5">
|
<div id="outline-container-org650160b" class="outline-5">
|
||||||
<h5 id="org6ae140a"><span class="section-number-5">1.1.7.2</span> Reduced density matrix</h5>
|
<h5 id="org650160b"><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-orge428ab4" class="outline-4">
|
<div id="outline-container-org7a8d543" class="outline-4">
|
||||||
<h4 id="orge428ab4"><span class="section-number-4">1.1.8</span> Compute the energy</h4>
|
<h4 id="org7a8d543"><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-org4f16410" class="outline-4">
|
<div id="outline-container-org7649486" class="outline-4">
|
||||||
<h4 id="org4f16410"><span class="section-number-4">1.1.9</span> Terminate</h4>
|
<h4 id="org7649486"><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-02-23 Wed 15:12</p>
|
<p class="date">Created: 2022-02-23 Wed 17:28</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-02-23 Wed 15:12 -->
|
<!-- 2022-02-23 Wed 17:28 -->
|
||||||
<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-02-23 Wed 15:12</p>
|
<p class="date">Created: 2022-02-23 Wed 17:28</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-02-23 Wed 15:12 -->
|
<!-- 2022-02-23 Wed 17:28 -->
|
||||||
<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="#org2a42785">1. Template for HDF5 definitions</a></li>
|
<li><a href="#org0462c04">1. Template for HDF5 definitions</a></li>
|
||||||
<li><a href="#org835e1e5">2. Template for HDF5 structures</a></li>
|
<li><a href="#orgcc63847">2. Template for HDF5 structures</a></li>
|
||||||
<li><a href="#org7fa2668">3. Template for HDF5 init/deinit</a></li>
|
<li><a href="#org78f39e9">3. Template for HDF5 init/deinit</a></li>
|
||||||
<li><a href="#org43ddaf7">4. Template for HDF5 has/read/write a numerical attribute</a></li>
|
<li><a href="#org71e207f">4. Template for HDF5 has/read/write a numerical attribute</a></li>
|
||||||
<li><a href="#orge73a169">5. Template for HDF5 has/read/write a dataset of numerical data</a></li>
|
<li><a href="#org94aaeaa">5. Template for HDF5 has/read/write a dataset of numerical data</a></li>
|
||||||
<li><a href="#orgd97bdcd">6. Template for HDF5 has/read/write a dataset of sparse data</a></li>
|
<li><a href="#org653fcbb">6. Template for HDF5 has/read/write a dataset of sparse data</a></li>
|
||||||
<li><a href="#orga546a4b">7. Template for HDF5 has/read/write a dataset of strings</a></li>
|
<li><a href="#orgf98e412">7. Template for HDF5 has/read/write a dataset of strings</a></li>
|
||||||
<li><a href="#org346f63c">8. Template for HDF5 has/read/write a string attribute</a></li>
|
<li><a href="#org4248171">8. Template for HDF5 has/read/write a string attribute</a></li>
|
||||||
<li><a href="#org8ee6fb7">9. Template for HDF5 delete a group (UNSAFE mode)</a></li>
|
<li><a href="#orgdf785e8">9. Template for HDF5 delete a group (UNSAFE mode)</a></li>
|
||||||
<li><a href="#org7c1d0cb">10. Helper functions</a></li>
|
<li><a href="#org66dcda3">10. Helper functions</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org2a42785" class="outline-2">
|
<div id="outline-container-org0462c04" class="outline-2">
|
||||||
<h2 id="org2a42785"><span class="section-number-2">1</span> Template for HDF5 definitions</h2>
|
<h2 id="org0462c04"><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-org835e1e5" class="outline-2">
|
<div id="outline-container-orgcc63847" class="outline-2">
|
||||||
<h2 id="org835e1e5"><span class="section-number-2">2</span> Template for HDF5 structures</h2>
|
<h2 id="orgcc63847"><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-org7fa2668" class="outline-2">
|
<div id="outline-container-org78f39e9" class="outline-2">
|
||||||
<h2 id="org7fa2668"><span class="section-number-2">3</span> Template for HDF5 init/deinit</h2>
|
<h2 id="org78f39e9"><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>
|
||||||
@ -456,8 +456,8 @@ for the JavaScript code in this tag.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org43ddaf7" class="outline-2">
|
<div id="outline-container-org71e207f" class="outline-2">
|
||||||
<h2 id="org43ddaf7"><span class="section-number-2">4</span> Template for HDF5 has/read/write a numerical attribute</h2>
|
<h2 id="org71e207f"><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 +560,8 @@ for the JavaScript code in this tag.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orge73a169" class="outline-2">
|
<div id="outline-container-org94aaeaa" class="outline-2">
|
||||||
<h2 id="orge73a169"><span class="section-number-2">5</span> Template for HDF5 has/read/write a dataset of numerical data</h2>
|
<h2 id="org94aaeaa"><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 +694,8 @@ for the JavaScript code in this tag.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgd97bdcd" class="outline-2">
|
<div id="outline-container-org653fcbb" class="outline-2">
|
||||||
<h2 id="orgd97bdcd"><span class="section-number-2">6</span> Template for HDF5 has/read/write a dataset of sparse data</h2>
|
<h2 id="org653fcbb"><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 +896,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-orga546a4b" class="outline-2">
|
<div id="outline-container-orgf98e412" class="outline-2">
|
||||||
<h2 id="orga546a4b"><span class="section-number-2">7</span> Template for HDF5 has/read/write a dataset of strings</h2>
|
<h2 id="orgf98e412"><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 +1094,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-org346f63c" class="outline-2">
|
<div id="outline-container-org4248171" class="outline-2">
|
||||||
<h2 id="org346f63c"><span class="section-number-2">8</span> Template for HDF5 has/read/write a string attribute</h2>
|
<h2 id="org4248171"><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 +1221,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-org8ee6fb7" class="outline-2">
|
<div id="outline-container-orgdf785e8" class="outline-2">
|
||||||
<h2 id="org8ee6fb7"><span class="section-number-2">9</span> Template for HDF5 delete a group (UNSAFE mode)</h2>
|
<h2 id="orgdf785e8"><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 +1262,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-org7c1d0cb" class="outline-2">
|
<div id="outline-container-org66dcda3" class="outline-2">
|
||||||
<h2 id="org7c1d0cb"><span class="section-number-2">10</span> Helper functions</h2>
|
<h2 id="org66dcda3"><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 +1524,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-02-23 Wed 15:12</p>
|
<p class="date">Created: 2022-02-23 Wed 17:28</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-02-23 Wed 15:12 -->
|
<!-- 2022-02-23 Wed 17:28 -->
|
||||||
<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="#org5601add">1. TEXT back end</a>
|
<li><a href="#org313fe6b">1. TEXT back end</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org4f1c5a1">1.1. Template for group-related structures in text back end</a></li>
|
<li><a href="#org8612257">1.1. Template for group-related structures in text back end</a></li>
|
||||||
<li><a href="#org34d622a">1.2. Template for general structure in text back end</a></li>
|
<li><a href="#org645c796">1.2. Template for general structure in text back end</a></li>
|
||||||
<li><a href="#org9e2706a">1.3. Initialize function (constant part)</a></li>
|
<li><a href="#org49213dc">1.3. Initialize function (constant part)</a></li>
|
||||||
<li><a href="#org0acd23d">1.4. Deinitialize function (templated part)</a></li>
|
<li><a href="#orgbcdb66a">1.4. Deinitialize function (templated part)</a></li>
|
||||||
<li><a href="#orge49e2c6">1.5. Template for text read a group</a></li>
|
<li><a href="#org7f8ac2a">1.5. Template for text read a group</a></li>
|
||||||
<li><a href="#org2b76d64">1.6. Template for text flush a group</a></li>
|
<li><a href="#org01785fe">1.6. Template for text flush a group</a></li>
|
||||||
<li><a href="#org8fcb814">1.7. Template for text free memory</a></li>
|
<li><a href="#org7bc3f58">1.7. Template for text free memory</a></li>
|
||||||
<li><a href="#org49110b7">1.8. Template for has/read/write a numerical attribute</a></li>
|
<li><a href="#org0656f80">1.8. Template for has/read/write a numerical attribute</a></li>
|
||||||
<li><a href="#org3e987a4">1.9. Template for has/read/write a dataset of numerical data</a></li>
|
<li><a href="#org1b79244">1.9. Template for has/read/write a dataset of numerical data</a></li>
|
||||||
<li><a href="#orged1e947">1.10. Template for has/read/write a dataset of strings</a></li>
|
<li><a href="#org1eb48ef">1.10. Template for has/read/write a dataset of strings</a></li>
|
||||||
<li><a href="#org662f0f2">1.11. Template for has/read/write a string attribute</a></li>
|
<li><a href="#org940ffa5">1.11. Template for has/read/write a string attribute</a></li>
|
||||||
<li><a href="#org5240e11">1.12. Template for has/read/write the dataset of sparse data</a></li>
|
<li><a href="#org20a4b25">1.12. Template for has/read/write the dataset of sparse data</a></li>
|
||||||
<li><a href="#orgee124de">1.13. Template for text delete a group (UNSAFE mode)</a></li>
|
<li><a href="#org7816889">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-org5601add" class="outline-2">
|
<div id="outline-container-org313fe6b" class="outline-2">
|
||||||
<h2 id="org5601add"><span class="section-number-2">1</span> TEXT back end</h2>
|
<h2 id="org313fe6b"><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-org4f1c5a1" class="outline-3">
|
<div id="outline-container-org8612257" class="outline-3">
|
||||||
<h3 id="org4f1c5a1"><span class="section-number-3">1.1</span> Template for group-related structures in text back end</h3>
|
<h3 id="org8612257"><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-org34d622a" class="outline-3">
|
<div id="outline-container-org645c796" class="outline-3">
|
||||||
<h3 id="org34d622a"><span class="section-number-3">1.2</span> Template for general structure in text back end</h3>
|
<h3 id="org645c796"><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-org9e2706a" class="outline-3">
|
<div id="outline-container-org49213dc" class="outline-3">
|
||||||
<h3 id="org9e2706a"><span class="section-number-3">1.3</span> Initialize function (constant part)</h3>
|
<h3 id="org49213dc"><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-org0acd23d" class="outline-3">
|
<div id="outline-container-orgbcdb66a" class="outline-3">
|
||||||
<h3 id="org0acd23d"><span class="section-number-3">1.4</span> Deinitialize function (templated part)</h3>
|
<h3 id="orgbcdb66a"><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-orge49e2c6" class="outline-3">
|
<div id="outline-container-org7f8ac2a" class="outline-3">
|
||||||
<h3 id="orge49e2c6"><span class="section-number-3">1.5</span> Template for text read a group</h3>
|
<h3 id="org7f8ac2a"><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-org2b76d64" class="outline-3">
|
<div id="outline-container-org01785fe" class="outline-3">
|
||||||
<h3 id="org2b76d64"><span class="section-number-3">1.6</span> Template for text flush a group</h3>
|
<h3 id="org01785fe"><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-org8fcb814" class="outline-3">
|
<div id="outline-container-org7bc3f58" class="outline-3">
|
||||||
<h3 id="org8fcb814"><span class="section-number-3">1.7</span> Template for text free memory</h3>
|
<h3 id="org7bc3f58"><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-org49110b7" class="outline-3">
|
<div id="outline-container-org0656f80" class="outline-3">
|
||||||
<h3 id="org49110b7"><span class="section-number-3">1.8</span> Template for has/read/write a numerical attribute</h3>
|
<h3 id="org0656f80"><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-org3e987a4" class="outline-3">
|
<div id="outline-container-org1b79244" class="outline-3">
|
||||||
<h3 id="org3e987a4"><span class="section-number-3">1.9</span> Template for has/read/write a dataset of numerical data</h3>
|
<h3 id="org1b79244"><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-orged1e947" class="outline-3">
|
<div id="outline-container-org1eb48ef" class="outline-3">
|
||||||
<h3 id="orged1e947"><span class="section-number-3">1.10</span> Template for has/read/write a dataset of strings</h3>
|
<h3 id="org1eb48ef"><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-org662f0f2" class="outline-3">
|
<div id="outline-container-org940ffa5" class="outline-3">
|
||||||
<h3 id="org662f0f2"><span class="section-number-3">1.11</span> Template for has/read/write a string attribute</h3>
|
<h3 id="org940ffa5"><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-org5240e11" class="outline-3">
|
<div id="outline-container-org20a4b25" class="outline-3">
|
||||||
<h3 id="org5240e11"><span class="section-number-3">1.12</span> Template for has/read/write the dataset of sparse data</h3>
|
<h3 id="org20a4b25"><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-orgee124de" class="outline-3">
|
<div id="outline-container-org7816889" class="outline-3">
|
||||||
<h3 id="orgee124de"><span class="section-number-3">1.13</span> Template for text delete a group (UNSAFE mode)</h3>
|
<h3 id="org7816889"><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-02-23 Wed 15:12</p>
|
<p class="date">Created: 2022-02-23 Wed 17:28</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>
|
||||||
|
130
trex.html
130
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-02-23 Wed 15:12 -->
|
<!-- 2022-02-23 Wed 17:28 -->
|
||||||
<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,33 +333,33 @@ 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="#org50e4627">1. Metadata (metadata group)</a></li>
|
<li><a href="#org67c7f77">1. Metadata (metadata group)</a></li>
|
||||||
<li><a href="#org5719122">2. Electron (electron group)</a></li>
|
<li><a href="#orge1b424c">2. Electron (electron group)</a></li>
|
||||||
<li><a href="#org1a47377">3. Nucleus (nucleus group)</a></li>
|
<li><a href="#org2bbac6a">3. Nucleus (nucleus group)</a></li>
|
||||||
<li><a href="#orgbd6d2c1">4. Effective core potentials (ecp group)</a>
|
<li><a href="#org38278be">4. Effective core potentials (ecp group)</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgfbc232a">4.1. Example</a></li>
|
<li><a href="#orgec6b77b">4.1. Example</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org202f03d">5. Basis set (basis group)</a>
|
<li><a href="#org90a7b70">5. Basis set (basis group)</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org60c165f">5.1. Example</a></li>
|
<li><a href="#org855cc48">5.1. Example</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org36f9a25">6. Atomic orbitals (ao group)</a>
|
<li><a href="#org2a09963">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="#org637bc17">7. Molecular orbitals (mo group)</a>
|
<li><a href="#orgb7010bd">7. Molecular orbitals (mo group)</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgb1bfa66">7.1. One-electron integrals (<code>mo_1e_int</code> group)</a></li>
|
<li><a href="#org429c51e">7.1. One-electron integrals (<code>mo_1e_int</code> group)</a></li>
|
||||||
<li><a href="#orgd264573">7.2. Two-electron integrals (<code>mo_2e_int</code> group)</a></li>
|
<li><a href="#org5ec7416">7.2. Two-electron integrals (<code>mo_2e_int</code> group)</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#orgfff9a77">8. <span class="todo TODO">TODO</span> Slater determinants</a></li>
|
<li><a href="#org6f8b753">8. <span class="todo TODO">TODO</span> Slater determinants</a></li>
|
||||||
<li><a href="#org46e0ece">9. Reduced density matrices (rdm group)</a></li>
|
<li><a href="#org97e36f7">9. Reduced density matrices (rdm group)</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -409,8 +409,8 @@ fetched using multiple function calls to perform I/O on buffers.
|
|||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
|
||||||
<div id="outline-container-org50e4627" class="outline-2">
|
<div id="outline-container-org67c7f77" class="outline-2">
|
||||||
<h2 id="org50e4627"><span class="section-number-2">1</span> Metadata (metadata group)</h2>
|
<h2 id="org67c7f77"><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
|
||||||
@ -420,7 +420,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="org3f9056b" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="orgb0728f1" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -501,15 +501,15 @@ then the <code>unsafe</code> attribute value can be manually overwritten (in uns
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org5719122" class="outline-2">
|
<div id="outline-container-orge1b424c" class="outline-2">
|
||||||
<h2 id="org5719122"><span class="section-number-2">2</span> Electron (electron group)</h2>
|
<h2 id="orge1b424c"><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="org44daeb5" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org123b726" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -548,15 +548,15 @@ the number of ↑ and ↓ electrons is fixed.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org1a47377" class="outline-2">
|
<div id="outline-container-org2bbac6a" class="outline-2">
|
||||||
<h2 id="org1a47377"><span class="section-number-2">3</span> Nucleus (nucleus group)</h2>
|
<h2 id="org2bbac6a"><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="org725c8ef" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org0c22542" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -623,8 +623,8 @@ given in Cartesian \((x,y,z)\) format.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgbd6d2c1" class="outline-2">
|
<div id="outline-container-org38278be" class="outline-2">
|
||||||
<h2 id="orgbd6d2c1"><span class="section-number-2">4</span> Effective core potentials (ecp group)</h2>
|
<h2 id="org38278be"><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
|
||||||
@ -657,7 +657,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="orgfbc68e6" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="orgec34644" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -755,8 +755,8 @@ The latter causes issues when written before <code>ang_mom</code> in the TREXIO
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgfbc232a" class="outline-3">
|
<div id="outline-container-orgec6b77b" class="outline-3">
|
||||||
<h3 id="orgfbc232a"><span class="section-number-3">4.1</span> Example</h3>
|
<h3 id="orgec6b77b"><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
|
||||||
@ -819,8 +819,8 @@ power = [
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org202f03d" class="outline-2">
|
<div id="outline-container-org90a7b70" class="outline-2">
|
||||||
<h2 id="org202f03d"><span class="section-number-2">5</span> Basis set (basis group)</h2>
|
<h2 id="org90a7b70"><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
|
||||||
@ -873,7 +873,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="orga9ae10a" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="orgbb6f797" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -967,8 +967,8 @@ All the basis set parameters are stored in one-dimensional arrays:
|
|||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org60c165f" class="outline-3">
|
<div id="outline-container-org855cc48" class="outline-3">
|
||||||
<h3 id="org60c165f"><span class="section-number-3">5.1</span> Example</h3>
|
<h3 id="org855cc48"><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
|
||||||
@ -1046,8 +1046,8 @@ prim_factor =
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org36f9a25" class="outline-2">
|
<div id="outline-container-org2a09963" class="outline-2">
|
||||||
<h2 id="org36f9a25"><span class="section-number-2">6</span> Atomic orbitals (ao group)</h2>
|
<h2 id="org2a09963"><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
|
||||||
@ -1100,13 +1100,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="#org202f03d">Basis set</a> section) to \(\mathcal{N}_{z^2}\), which is the
|
the <a href="#org90a7b70">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="orgdc1b7fa" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org8cda054" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -1158,8 +1158,8 @@ introduced here should be \(\frac{\mathcal{N}_{xy}}{\mathcal{N}_{z^2}}\).
|
|||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgf969f56" class="outline-3">
|
<div id="outline-container-org4bb40e2" class="outline-3">
|
||||||
<h3 id="ao_one_e"><a id="orgf969f56"></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="org4bb40e2"></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}}
|
||||||
@ -1167,7 +1167,8 @@ introduced here should be \(\frac{\mathcal{N}_{xy}}{\mathcal{N}_{z^2}}\).
|
|||||||
\mathbf{r}_i \vert} \] : electron-nucleus attractive potential,</li>
|
\mathbf{r}_i \vert} \] : electron-nucleus attractive potential,</li>
|
||||||
<li>\[ \hat{T}_{\text{e}} =
|
<li>\[ \hat{T}_{\text{e}} =
|
||||||
\sum_{i=1}^{N_\text{elec}} -\frac{1}{2}\hat{\Delta}_i \] : electronic kinetic energy</li>
|
\sum_{i=1}^{N_\text{elec}} -\frac{1}{2}\hat{\Delta}_i \] : electronic kinetic energy</li>
|
||||||
<li>\(\hat{h} = \hat{T}_\text{e} + \hat{V}_\text{ne} + \hat{V}_\text{ECP}\) : core electronic Hamiltonian</li>
|
<li>\(\hat{h} = \hat{T}_\text{e} + \hat{V}_\text{ne} +
|
||||||
|
\hat{V}_\text{ecp,l} + \hat{V}_\text{ecp,nl}\) : core electronic Hamiltonian</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
@ -1176,7 +1177,7 @@ The one-electron integrals for a one-electron operator \(\hat{O}\) are
|
|||||||
over atomic orbitals.
|
over atomic orbitals.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<table id="org90d60d1" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="orgcda2e7e" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -1219,10 +1220,17 @@ over atomic orbitals.
|
|||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="org-left"><code>ecp</code></td>
|
<td class="org-left"><code>ecp_local</code></td>
|
||||||
<td class="org-left"><code>float</code></td>
|
<td class="org-left"><code>float</code></td>
|
||||||
<td class="org-left"><code>(ao.num, ao.num)</code></td>
|
<td class="org-left"><code>(ao.num, ao.num)</code></td>
|
||||||
<td class="org-left">\(\langle p \vert \hat{V}_{\text{ecp}} \vert q \rangle\)</td>
|
<td class="org-left">\(\langle p \vert \hat{V}_{\text{ecp,l}} \vert q \rangle\)</td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<td class="org-left"><code>ecp_non_local</code></td>
|
||||||
|
<td class="org-left"><code>float</code></td>
|
||||||
|
<td class="org-left"><code>(ao.num, ao.num)</code></td>
|
||||||
|
<td class="org-left">\(\langle p \vert \hat{V}_{\text{ecp,nl}} \vert q \rangle\)</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
@ -1236,8 +1244,8 @@ over atomic orbitals.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orga079855" class="outline-3">
|
<div id="outline-container-org01bf90d" class="outline-3">
|
||||||
<h3 id="ao_two_e"><a id="orga079855"></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="org01bf90d"></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
|
||||||
@ -1258,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="orgfbd6955" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org2a0f43d" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -1298,10 +1306,10 @@ notation.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org637bc17" class="outline-2">
|
<div id="outline-container-orgb7010bd" class="outline-2">
|
||||||
<h2 id="org637bc17"><span class="section-number-2">7</span> Molecular orbitals (mo group)</h2>
|
<h2 id="orgb7010bd"><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="orgb7c2e6a" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org9ff7ae6" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -1367,8 +1375,8 @@ notation.
|
|||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgb1bfa66" class="outline-3">
|
<div id="outline-container-org429c51e" class="outline-3">
|
||||||
<h3 id="orgb1bfa66"><span class="section-number-3">7.1</span> One-electron integrals (<code>mo_1e_int</code> group)</h3>
|
<h3 id="org429c51e"><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
|
||||||
@ -1376,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="orgebfac04" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org4ccc39e" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -1443,8 +1451,8 @@ the basis of molecular orbitals.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgd264573" class="outline-3">
|
<div id="outline-container-org5ec7416" class="outline-3">
|
||||||
<h3 id="orgd264573"><span class="section-number-3">7.2</span> Two-electron integrals (<code>mo_2e_int</code> group)</h3>
|
<h3 id="org5ec7416"><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
|
||||||
@ -1452,7 +1460,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="orgd1d6c78" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org2dfe908" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -1492,11 +1500,11 @@ the basis of molecular orbitals.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgfff9a77" class="outline-2">
|
<div id="outline-container-org6f8b753" class="outline-2">
|
||||||
<h2 id="orgfff9a77"><span class="section-number-2">8</span> <span class="todo TODO">TODO</span> Slater determinants</h2>
|
<h2 id="org6f8b753"><span class="section-number-2">8</span> <span class="todo TODO">TODO</span> Slater determinants</h2>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-org46e0ece" class="outline-2">
|
<div id="outline-container-org97e36f7" class="outline-2">
|
||||||
<h2 id="org46e0ece"><span class="section-number-2">9</span> Reduced density matrices (rdm group)</h2>
|
<h2 id="org97e36f7"><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
|
||||||
@ -1549,7 +1557,7 @@ The total energy can be computed as:
|
|||||||
\]
|
\]
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<table id="org87815d3" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org689c06c" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -1632,7 +1640,7 @@ The total energy can be computed as:
|
|||||||
</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-02-23 Wed 15:12</p>
|
<p class="date">Created: 2022-02-23 Wed 17:28</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