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@6b18a64a8e 🚀
This commit is contained in:
parent
7b157e6e62
commit
e68f80691b
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2021-06-18 Fri 10:32 -->
|
||||
<!-- 2021-06-22 Tue 09:38 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>TREXIO source code documentation</title>
|
||||
@ -342,7 +342,7 @@ and bug reports should be submitted at
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: TREX-CoE</p>
|
||||
<p class="date">Created: 2021-06-18 Fri 10:32</p>
|
||||
<p class="date">Created: 2021-06-22 Tue 09:38</p>
|
||||
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||
</div>
|
||||
</body>
|
||||
|
16
Sparse.html
16
Sparse.html
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2021-06-18 Fri 10:32 -->
|
||||
<!-- 2021-06-22 Tue 09:38 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>‎</title>
|
||||
@ -232,8 +232,8 @@ for the JavaScript code in this tag.
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents">
|
||||
<ul>
|
||||
<li><a href="#orga3f7657">1. Text back end</a></li>
|
||||
<li><a href="#org57da8a4">2. HDF5 Back end</a></li>
|
||||
<li><a href="#orga8aeee4">1. Text back end</a></li>
|
||||
<li><a href="#org4d817d2">2. HDF5 Back end</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
@ -241,8 +241,8 @@ for the JavaScript code in this tag.
|
||||
See templator<sub>front.org</sub>
|
||||
</p>
|
||||
|
||||
<div id="outline-container-orga3f7657" class="outline-2">
|
||||
<h2 id="orga3f7657"><span class="section-number-2">1</span> Text back end</h2>
|
||||
<div id="outline-container-orga8aeee4" class="outline-2">
|
||||
<h2 id="orga8aeee4"><span class="section-number-2">1</span> Text back end</h2>
|
||||
<div class="outline-text-2" id="text-1">
|
||||
<p>
|
||||
As the size of the dataset should be extensible, the simplest
|
||||
@ -256,8 +256,8 @@ The offset can be used with <code>fseek(69L*offset, SEEK_SET)</code>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org57da8a4" class="outline-2">
|
||||
<h2 id="org57da8a4"><span class="section-number-2">2</span> HDF5 Back end</h2>
|
||||
<div id="outline-container-org4d817d2" class="outline-2">
|
||||
<h2 id="org4d817d2"><span class="section-number-2">2</span> HDF5 Back end</h2>
|
||||
<div class="outline-text-2" id="text-2">
|
||||
<p>
|
||||
We need to declare the number of rows of the dataset as
|
||||
@ -278,7 +278,7 @@ If the offset+num > nmax, we need to extend the dataset.
|
||||
</div>
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="date">Created: 2021-06-18 Fri 10:32</p>
|
||||
<p class="date">Created: 2021-06-22 Tue 09:38</p>
|
||||
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||
</div>
|
||||
</body>
|
||||
|
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2021-06-18 Fri 10:32 -->
|
||||
<!-- 2021-06-22 Tue 09:38 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>TREXIO source code documentation</title>
|
||||
@ -342,7 +342,7 @@ and bug reports should be submitted at
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: TREX-CoE</p>
|
||||
<p class="date">Created: 2021-06-18 Fri 10:32</p>
|
||||
<p class="date">Created: 2021-06-22 Tue 09:38</p>
|
||||
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||
</div>
|
||||
</body>
|
||||
|
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2021-06-18 Fri 10:32 -->
|
||||
<!-- 2021-06-22 Tue 09:38 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>Front end API</title>
|
||||
@ -333,61 +333,61 @@ for the JavaScript code in this tag.
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents">
|
||||
<ul>
|
||||
<li><a href="#org122d553">1. Coding conventions</a>
|
||||
<li><a href="#org6f6e16c">1. Coding conventions</a>
|
||||
<ul>
|
||||
<li><a href="#org5f1c150">1.1. Memory allocation</a></li>
|
||||
<li><a href="#orgd33db8b">1.1. Memory allocation</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org185ae28">2. Front end</a>
|
||||
<li><a href="#org11d4421">2. Front end</a>
|
||||
<ul>
|
||||
<li><a href="#orgcf9c114">2.1. Error handling</a></li>
|
||||
<li><a href="#org87d1cbf">2.2. Back ends</a></li>
|
||||
<li><a href="#orga103947">2.3. Read/write behavior</a></li>
|
||||
<li><a href="#org557e442">2.4. TREXIO file type</a></li>
|
||||
<li><a href="#orgd07bada">2.5. Polymorphism of the file handle</a></li>
|
||||
<li><a href="#orge63f5bf">2.6. File opening</a></li>
|
||||
<li><a href="#org4735c54">2.7. File closing</a></li>
|
||||
<li><a href="#org8295bcd">2.1. Error handling</a></li>
|
||||
<li><a href="#orgf39acfc">2.2. Back ends</a></li>
|
||||
<li><a href="#orgf38bf62">2.3. Read/write behavior</a></li>
|
||||
<li><a href="#orgde502de">2.4. TREXIO file type</a></li>
|
||||
<li><a href="#orga4fcaad">2.5. Polymorphism of the file handle</a></li>
|
||||
<li><a href="#org07f58bb">2.6. File opening</a></li>
|
||||
<li><a href="#org530176e">2.7. File closing</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org28cb1fa">3. Templates for front end</a>
|
||||
<li><a href="#org025d7a9">3. Templates for front end</a>
|
||||
<ul>
|
||||
<li><a href="#org7c611d6">3.1. Description</a></li>
|
||||
<li><a href="#orga08fafd">3.2. Templates for front end has/read/write a single dimensioning variable</a>
|
||||
<li><a href="#orgfb6c9d3">3.1. Description</a></li>
|
||||
<li><a href="#orgbb47b5c">3.2. Templates for front end has/read/write a single dimensioning variable</a>
|
||||
<ul>
|
||||
<li><a href="#orge37a0a5">3.2.1. C templates for front end</a></li>
|
||||
<li><a href="#orgd1ab2cf">3.2.2. Fortran templates for front end</a></li>
|
||||
<li><a href="#org53efe5d">3.2.1. C templates for front end</a></li>
|
||||
<li><a href="#org3d82b05">3.2.2. Fortran templates for front end</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org8b518d7">3.3. Templates for front end has/read/write a dataset of numerical data</a>
|
||||
<li><a href="#orga900ee7">3.3. Templates for front end has/read/write a dataset of numerical data</a>
|
||||
<ul>
|
||||
<li><a href="#org3ae77bf">3.3.1. C templates for front end</a></li>
|
||||
<li><a href="#org69faa13">3.3.2. Fortran templates for front end</a></li>
|
||||
<li><a href="#org7b7e6ce">3.3.1. C templates for front end</a></li>
|
||||
<li><a href="#orgd35a49f">3.3.2. Fortran templates for front end</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org03cc372">3.4. Sparse data structures</a></li>
|
||||
<li><a href="#orgded557f">3.5. Templates for front end has/read/write a dataset of strings</a>
|
||||
<li><a href="#orgda05337">3.4. Sparse data structures</a></li>
|
||||
<li><a href="#org9afb2f0">3.5. Templates for front end has/read/write a dataset of strings</a>
|
||||
<ul>
|
||||
<li><a href="#org66bf728">3.5.1. Introduction</a></li>
|
||||
<li><a href="#org5f8e8e8">3.5.2. C templates for front end</a></li>
|
||||
<li><a href="#org1c047a0">3.5.3. Fortran templates for front end</a></li>
|
||||
<li><a href="#org5709d3b">3.5.1. Introduction</a></li>
|
||||
<li><a href="#orgf7f8949">3.5.2. C templates for front end</a></li>
|
||||
<li><a href="#org1c5e24d">3.5.3. Fortran templates for front end</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org9ff9b25">3.6. Templates for front end has/read/write a single string attribute</a>
|
||||
<li><a href="#orgc08fae5">3.6. Templates for front end has/read/write a single string attribute</a>
|
||||
<ul>
|
||||
<li><a href="#orgca19a6a">3.6.1. Introduction</a></li>
|
||||
<li><a href="#org954ebd7">3.6.2. C templates for front end</a></li>
|
||||
<li><a href="#orgee1075e">3.6.3. Fortran templates for front end</a></li>
|
||||
<li><a href="#org9aa4dea">3.6.1. Introduction</a></li>
|
||||
<li><a href="#org6edcce1">3.6.2. C templates for front end</a></li>
|
||||
<li><a href="#org4e5b793">3.6.3. Fortran templates for front end</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgce3bfbe">4. Fortran helper/wrapper functions</a></li>
|
||||
<li><a href="#org2ed9d42">4. Fortran helper/wrapper functions</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org122d553" class="outline-2">
|
||||
<h2 id="org122d553"><span class="section-number-2">1</span> Coding conventions</h2>
|
||||
<div id="outline-container-org6f6e16c" class="outline-2">
|
||||
<h2 id="org6f6e16c"><span class="section-number-2">1</span> Coding conventions</h2>
|
||||
<div class="outline-text-2" id="text-1">
|
||||
<ul class="org-ul">
|
||||
<li>integer types will be defined using types given in <code>stdint.h</code></li>
|
||||
@ -402,8 +402,8 @@ for the JavaScript code in this tag.
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org5f1c150" class="outline-3">
|
||||
<h3 id="org5f1c150"><span class="section-number-3">1.1</span> Memory allocation</h3>
|
||||
<div id="outline-container-orgd33db8b" class="outline-3">
|
||||
<h3 id="orgd33db8b"><span class="section-number-3">1.1</span> Memory allocation</h3>
|
||||
<div class="outline-text-3" id="text-1-1">
|
||||
<p>
|
||||
Memory allocation of structures can be facilitated by using the
|
||||
@ -438,8 +438,8 @@ The maximum string size for the filenames is 4096 characters.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org185ae28" class="outline-2">
|
||||
<h2 id="org185ae28"><span class="section-number-2">2</span> Front end</h2>
|
||||
<div id="outline-container-org11d4421" class="outline-2">
|
||||
<h2 id="org11d4421"><span class="section-number-2">2</span> Front end</h2>
|
||||
<div class="outline-text-2" id="text-2">
|
||||
<p>
|
||||
All calls to TREXIO are thread-safe.
|
||||
@ -447,10 +447,10 @@ TREXIO front end is modular, which simplifies implementation of new back ends.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgcf9c114" class="outline-3">
|
||||
<h3 id="orgcf9c114"><span class="section-number-3">2.1</span> Error handling</h3>
|
||||
<div id="outline-container-org8295bcd" class="outline-3">
|
||||
<h3 id="org8295bcd"><span class="section-number-3">2.1</span> Error handling</h3>
|
||||
<div class="outline-text-3" id="text-2-1">
|
||||
<table id="orgcf07d5a" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orgdf3bb3f" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -750,8 +750,8 @@ The text strings are extracted from the previous table.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org87d1cbf" class="outline-3">
|
||||
<h3 id="org87d1cbf"><span class="section-number-3">2.2</span> Back ends</h3>
|
||||
<div id="outline-container-orgf39acfc" class="outline-3">
|
||||
<h3 id="orgf39acfc"><span class="section-number-3">2.2</span> Back ends</h3>
|
||||
<div class="outline-text-3" id="text-2-2">
|
||||
<p>
|
||||
TREXIO has several back ends:
|
||||
@ -783,8 +783,8 @@ lines that correspond to the <code>TREXIO_JSON</code> back end (not implemented
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-orga103947" class="outline-3">
|
||||
<h3 id="orga103947"><span class="section-number-3">2.3</span> Read/write behavior</h3>
|
||||
<div id="outline-container-orgf38bf62" class="outline-3">
|
||||
<h3 id="orgf38bf62"><span class="section-number-3">2.3</span> Read/write behavior</h3>
|
||||
<div class="outline-text-3" id="text-2-3">
|
||||
<p>
|
||||
Every time a reading function is called, the data is read from the
|
||||
@ -812,8 +812,8 @@ concurrent programs, the behavior is not specified.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-org557e442" class="outline-3">
|
||||
<h3 id="org557e442"><span class="section-number-3">2.4</span> TREXIO file type</h3>
|
||||
<div id="outline-container-orgde502de" class="outline-3">
|
||||
<h3 id="orgde502de"><span class="section-number-3">2.4</span> TREXIO file type</h3>
|
||||
<div class="outline-text-3" id="text-2-4">
|
||||
<p>
|
||||
<code>trexio_s</code> is the the main type for TREXIO files, visible to the users
|
||||
@ -846,8 +846,8 @@ TREXIO files will have as a first argument the TREXIO file handle.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-orgd07bada" class="outline-3">
|
||||
<h3 id="orgd07bada"><span class="section-number-3">2.5</span> Polymorphism of the file handle</h3>
|
||||
<div id="outline-container-orga4fcaad" class="outline-3">
|
||||
<h3 id="orga4fcaad"><span class="section-number-3">2.5</span> Polymorphism of the file handle</h3>
|
||||
<div class="outline-text-3" id="text-2-5">
|
||||
<p>
|
||||
Polymorphism of the <code>trexio_t</code> type is handled by ensuring that the
|
||||
@ -866,8 +866,8 @@ corresponding types for all back ends can be safely casted to
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orge63f5bf" class="outline-3">
|
||||
<h3 id="orge63f5bf"><span class="section-number-3">2.6</span> File opening</h3>
|
||||
<div id="outline-container-org07f58bb" class="outline-3">
|
||||
<h3 id="org07f58bb"><span class="section-number-3">2.6</span> File opening</h3>
|
||||
<div class="outline-text-3" id="text-2-6">
|
||||
<p>
|
||||
<code>trexio_open</code> creates a new TREXIO file or opens existing one.
|
||||
@ -1058,8 +1058,8 @@ know if we need to shift by 1 arrays of indices.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org4735c54" class="outline-3">
|
||||
<h3 id="org4735c54"><span class="section-number-3">2.7</span> File closing</h3>
|
||||
<div id="outline-container-org530176e" class="outline-3">
|
||||
<h3 id="org530176e"><span class="section-number-3">2.7</span> File closing</h3>
|
||||
<div class="outline-text-3" id="text-2-7">
|
||||
<p>
|
||||
<code>trexio_close</code> closes an existing <code>trexio_t</code> file.
|
||||
@ -1155,12 +1155,12 @@ output:
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org28cb1fa" class="outline-2">
|
||||
<h2 id="org28cb1fa"><span class="section-number-2">3</span> Templates for front end</h2>
|
||||
<div id="outline-container-org025d7a9" class="outline-2">
|
||||
<h2 id="org025d7a9"><span class="section-number-2">3</span> Templates for front end</h2>
|
||||
<div class="outline-text-2" id="text-3">
|
||||
</div>
|
||||
<div id="outline-container-org7c611d6" class="outline-3">
|
||||
<h3 id="org7c611d6"><span class="section-number-3">3.1</span> Description</h3>
|
||||
<div id="outline-container-orgfb6c9d3" class="outline-3">
|
||||
<h3 id="orgfb6c9d3"><span class="section-number-3">3.1</span> Description</h3>
|
||||
<div class="outline-text-3" id="text-3-1">
|
||||
<p>
|
||||
Consider the following block of <code>trex.json</code>:
|
||||
@ -1350,8 +1350,8 @@ or double precision for integer and floating point numbers.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orga08fafd" class="outline-3">
|
||||
<h3 id="orga08fafd"><span class="section-number-3">3.2</span> Templates for front end has/read/write a single dimensioning variable</h3>
|
||||
<div id="outline-container-orgbb47b5c" class="outline-3">
|
||||
<h3 id="orgbb47b5c"><span class="section-number-3">3.2</span> Templates for front end has/read/write a single dimensioning variable</h3>
|
||||
<div class="outline-text-3" id="text-3-2">
|
||||
<p>
|
||||
This section concerns API calls related to dimensioning variables.
|
||||
@ -1420,8 +1420,8 @@ This section concerns API calls related to dimensioning variables.
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orge37a0a5" class="outline-4">
|
||||
<h4 id="orge37a0a5"><span class="section-number-4">3.2.1</span> C templates for front end</h4>
|
||||
<div id="outline-container-org53efe5d" class="outline-4">
|
||||
<h4 id="org53efe5d"><span class="section-number-4">3.2.1</span> C templates for front end</h4>
|
||||
<div class="outline-text-4" id="text-3-2-1">
|
||||
<p>
|
||||
The <code>C</code> templates that correspond to each of the abovementioned
|
||||
@ -1610,8 +1610,8 @@ precision (see Table above).
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgd1ab2cf" class="outline-4">
|
||||
<h4 id="orgd1ab2cf"><span class="section-number-4">3.2.2</span> Fortran templates for front end</h4>
|
||||
<div id="outline-container-org3d82b05" class="outline-4">
|
||||
<h4 id="org3d82b05"><span class="section-number-4">3.2.2</span> Fortran templates for front end</h4>
|
||||
<div class="outline-text-4" id="text-3-2-2">
|
||||
<p>
|
||||
The <code>Fortran</code> templates that provide an access to the <code>C</code> API calls from Fortran.
|
||||
@ -1697,8 +1697,8 @@ These templates are based on the use of <code>iso_c_binding</code>. Pointers hav
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org8b518d7" class="outline-3">
|
||||
<h3 id="org8b518d7"><span class="section-number-3">3.3</span> Templates for front end has/read/write a dataset of numerical data</h3>
|
||||
<div id="outline-container-orga900ee7" class="outline-3">
|
||||
<h3 id="orga900ee7"><span class="section-number-3">3.3</span> Templates for front end has/read/write a dataset of numerical data</h3>
|
||||
<div class="outline-text-3" id="text-3-3">
|
||||
<p>
|
||||
This section concerns API calls related to datasets.
|
||||
@ -1767,8 +1767,8 @@ This section concerns API calls related to datasets.
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org3ae77bf" class="outline-4">
|
||||
<h4 id="org3ae77bf"><span class="section-number-4">3.3.1</span> C templates for front end</h4>
|
||||
<div id="outline-container-org7b7e6ce" class="outline-4">
|
||||
<h4 id="org7b7e6ce"><span class="section-number-4">3.3.1</span> C templates for front end</h4>
|
||||
<div class="outline-text-4" id="text-3-3-1">
|
||||
<p>
|
||||
The C templates that correspond to each of the abovementioned functions can be found below.
|
||||
@ -2087,8 +2087,8 @@ The basic (non-suffixed) API call on datasets deals with double precision (see T
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org69faa13" class="outline-4">
|
||||
<h4 id="org69faa13"><span class="section-number-4">3.3.2</span> Fortran templates for front end</h4>
|
||||
<div id="outline-container-orgd35a49f" class="outline-4">
|
||||
<h4 id="orgd35a49f"><span class="section-number-4">3.3.2</span> Fortran templates for front end</h4>
|
||||
<div class="outline-text-4" id="text-3-3-2">
|
||||
<p>
|
||||
The <code>Fortran</code> templates that provide an access to the <code>C</code> API calls from <code>Fortran</code>.
|
||||
@ -2174,8 +2174,8 @@ These templates are based on the use of <code>iso_c_binding</code>. Pointers hav
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org03cc372" class="outline-3">
|
||||
<h3 id="org03cc372"><span class="section-number-3">3.4</span> Sparse data structures</h3>
|
||||
<div id="outline-container-orgda05337" class="outline-3">
|
||||
<h3 id="orgda05337"><span class="section-number-3">3.4</span> Sparse data structures</h3>
|
||||
<div class="outline-text-3" id="text-3-4">
|
||||
<p>
|
||||
Sparse data structures are used typically for large tensors such as
|
||||
@ -2316,12 +2316,12 @@ For the values,
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgded557f" class="outline-3">
|
||||
<h3 id="orgded557f"><span class="section-number-3">3.5</span> Templates for front end has/read/write a dataset of strings</h3>
|
||||
<div id="outline-container-org9afb2f0" class="outline-3">
|
||||
<h3 id="org9afb2f0"><span class="section-number-3">3.5</span> Templates for front end has/read/write a dataset of strings</h3>
|
||||
<div class="outline-text-3" id="text-3-5">
|
||||
</div>
|
||||
<div id="outline-container-org66bf728" class="outline-4">
|
||||
<h4 id="org66bf728"><span class="section-number-4">3.5.1</span> Introduction</h4>
|
||||
<div id="outline-container-org5709d3b" class="outline-4">
|
||||
<h4 id="org5709d3b"><span class="section-number-4">3.5.1</span> Introduction</h4>
|
||||
<div class="outline-text-4" id="text-3-5-1">
|
||||
<p>
|
||||
This section concerns API calls related to datasets of strings.
|
||||
@ -2361,8 +2361,8 @@ This section concerns API calls related to datasets of strings.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org5f8e8e8" class="outline-4">
|
||||
<h4 id="org5f8e8e8"><span class="section-number-4">3.5.2</span> C templates for front end</h4>
|
||||
<div id="outline-container-orgf7f8949" class="outline-4">
|
||||
<h4 id="orgf7f8949"><span class="section-number-4">3.5.2</span> C templates for front end</h4>
|
||||
<div class="outline-text-4" id="text-3-5-2">
|
||||
<p>
|
||||
First parameter is the <code>TREXIO</code> file handle. Second parameter is the variable to be written/read
|
||||
@ -2605,8 +2605,8 @@ to/from the <code>TREXIO</code> file (except for <code>trexio_has_</code> functi
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org1c047a0" class="outline-4">
|
||||
<h4 id="org1c047a0"><span class="section-number-4">3.5.3</span> Fortran templates for front end</h4>
|
||||
<div id="outline-container-org1c5e24d" class="outline-4">
|
||||
<h4 id="org1c5e24d"><span class="section-number-4">3.5.3</span> Fortran templates for front end</h4>
|
||||
<div class="outline-text-4" id="text-3-5-3">
|
||||
<p>
|
||||
The <code>Fortran</code> templates that provide an access to the <code>C</code> API calls from <code>Fortran</code>.
|
||||
@ -2703,12 +2703,12 @@ These templates are based on the use of <code>iso_c_binding</code>. Pointers hav
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org9ff9b25" class="outline-3">
|
||||
<h3 id="org9ff9b25"><span class="section-number-3">3.6</span> Templates for front end has/read/write a single string attribute</h3>
|
||||
<div id="outline-container-orgc08fae5" class="outline-3">
|
||||
<h3 id="orgc08fae5"><span class="section-number-3">3.6</span> Templates for front end has/read/write a single string attribute</h3>
|
||||
<div class="outline-text-3" id="text-3-6">
|
||||
</div>
|
||||
<div id="outline-container-orgca19a6a" class="outline-4">
|
||||
<h4 id="orgca19a6a"><span class="section-number-4">3.6.1</span> Introduction</h4>
|
||||
<div id="outline-container-org9aa4dea" class="outline-4">
|
||||
<h4 id="org9aa4dea"><span class="section-number-4">3.6.1</span> Introduction</h4>
|
||||
<div class="outline-text-4" id="text-3-6-1">
|
||||
<p>
|
||||
This section concerns API calls related to string attributes.
|
||||
@ -2748,8 +2748,8 @@ This section concerns API calls related to string attributes.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org954ebd7" class="outline-4">
|
||||
<h4 id="org954ebd7"><span class="section-number-4">3.6.2</span> C templates for front end</h4>
|
||||
<div id="outline-container-org6edcce1" class="outline-4">
|
||||
<h4 id="org6edcce1"><span class="section-number-4">3.6.2</span> C templates for front end</h4>
|
||||
<div class="outline-text-4" id="text-3-6-2">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">trexio_exit_code</span>
|
||||
@ -2849,8 +2849,8 @@ This section concerns API calls related to string attributes.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgee1075e" class="outline-4">
|
||||
<h4 id="orgee1075e"><span class="section-number-4">3.6.3</span> Fortran templates for front end</h4>
|
||||
<div id="outline-container-org4e5b793" class="outline-4">
|
||||
<h4 id="org4e5b793"><span class="section-number-4">3.6.3</span> Fortran templates for front end</h4>
|
||||
<div class="outline-text-4" id="text-3-6-3">
|
||||
<p>
|
||||
The <code>Fortran</code> templates that provide an access to the <code>C</code> API calls from Fortran.
|
||||
@ -2929,8 +2929,8 @@ These templates are based on the use of <code>iso_c_binding</code>. Pointers hav
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgce3bfbe" class="outline-2">
|
||||
<h2 id="orgce3bfbe"><span class="section-number-2">4</span> Fortran helper/wrapper functions</h2>
|
||||
<div id="outline-container-org2ed9d42" class="outline-2">
|
||||
<h2 id="org2ed9d42"><span class="section-number-2">4</span> Fortran helper/wrapper functions</h2>
|
||||
<div class="outline-text-2" id="text-4">
|
||||
<p>
|
||||
The function below adapts the original C-based <code>trexio_open</code> for Fortran.
|
||||
@ -3064,7 +3064,7 @@ two code are identical, i.e. if the <code>assert</code> statement pass.
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: TREX-CoE</p>
|
||||
<p class="date">Created: 2021-06-18 Fri 10:32</p>
|
||||
<p class="date">Created: 2021-06-22 Tue 09:38</p>
|
||||
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||
</div>
|
||||
</body>
|
||||
|
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2021-06-18 Fri 10:32 -->
|
||||
<!-- 2021-06-22 Tue 09:38 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>HDF5 back end</title>
|
||||
@ -311,27 +311,27 @@ for the JavaScript code in this tag.
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents">
|
||||
<ul>
|
||||
<li><a href="#org02d9751">1. HDF5 back end</a>
|
||||
<li><a href="#org7ed7add">1. HDF5 back end</a>
|
||||
<ul>
|
||||
<li><a href="#orgc9279b6">1.1. Template for HDF5 definitions</a></li>
|
||||
<li><a href="#orgb8ba53d">1.2. Template for HDF5 structures</a></li>
|
||||
<li><a href="#org4d86a43">1.3. Template for HDF5 init/deinit</a></li>
|
||||
<li><a href="#org3ca21f6">1.4. Template for HDF5 has/read/write a single dimensioning variable</a></li>
|
||||
<li><a href="#orgdfa5307">1.5. Template for HDF5 has/read/write a dataset of numerical data</a></li>
|
||||
<li><a href="#org523816a">1.6. Template for HDF5 has/read/write a dataset of strings</a></li>
|
||||
<li><a href="#org5bc627c">1.7. Template for HDF5 has/read/write a single string attribute</a></li>
|
||||
<li><a href="#orgb592aa5">1.1. Template for HDF5 definitions</a></li>
|
||||
<li><a href="#org8e2de6f">1.2. Template for HDF5 structures</a></li>
|
||||
<li><a href="#orgeeaf943">1.3. Template for HDF5 init/deinit</a></li>
|
||||
<li><a href="#org6964302">1.4. Template for HDF5 has/read/write a single dimensioning variable</a></li>
|
||||
<li><a href="#org0e197f3">1.5. Template for HDF5 has/read/write a dataset of numerical data</a></li>
|
||||
<li><a href="#org8833f7d">1.6. Template for HDF5 has/read/write a dataset of strings</a></li>
|
||||
<li><a href="#org4b7d69a">1.7. Template for HDF5 has/read/write a single string attribute</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org02d9751" class="outline-2">
|
||||
<h2 id="org02d9751"><span class="section-number-2">1</span> HDF5 back end</h2>
|
||||
<div id="outline-container-org7ed7add" class="outline-2">
|
||||
<h2 id="org7ed7add"><span class="section-number-2">1</span> HDF5 back end</h2>
|
||||
<div class="outline-text-2" id="text-1">
|
||||
</div>
|
||||
<div id="outline-container-orgc9279b6" class="outline-3">
|
||||
<h3 id="orgc9279b6"><span class="section-number-3">1.1</span> Template for HDF5 definitions</h3>
|
||||
<div id="outline-container-orgb592aa5" class="outline-3">
|
||||
<h3 id="orgb592aa5"><span class="section-number-3">1.1</span> Template for HDF5 definitions</h3>
|
||||
<div class="outline-text-3" id="text-1-1">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #483d8b;">#define</span> $GROUP$_GROUP_NAME <span style="color: #8b2252;">"$group$"</span>
|
||||
@ -343,8 +343,8 @@ for the JavaScript code in this tag.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgb8ba53d" class="outline-3">
|
||||
<h3 id="orgb8ba53d"><span class="section-number-3">1.2</span> Template for HDF5 structures</h3>
|
||||
<div id="outline-container-org8e2de6f" class="outline-3">
|
||||
<h3 id="org8e2de6f"><span class="section-number-3">1.2</span> Template for HDF5 structures</h3>
|
||||
<div class="outline-text-3" id="text-1-2">
|
||||
<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> {
|
||||
@ -359,8 +359,8 @@ for the JavaScript code in this tag.
|
||||
</div>
|
||||
|
||||
|
||||
<div id="outline-container-org4d86a43" class="outline-3">
|
||||
<h3 id="org4d86a43"><span class="section-number-3">1.3</span> Template for HDF5 init/deinit</h3>
|
||||
<div id="outline-container-orgeeaf943" class="outline-3">
|
||||
<h3 id="orgeeaf943"><span class="section-number-3">1.3</span> Template for HDF5 init/deinit</h3>
|
||||
<div class="outline-text-3" id="text-1-3">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">trexio_exit_code</span>
|
||||
@ -440,8 +440,8 @@ for the JavaScript code in this tag.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org3ca21f6" class="outline-3">
|
||||
<h3 id="org3ca21f6"><span class="section-number-3">1.4</span> Template for HDF5 has/read/write a single dimensioning variable</h3>
|
||||
<div id="outline-container-org6964302" class="outline-3">
|
||||
<h3 id="org6964302"><span class="section-number-3">1.4</span> Template for HDF5 has/read/write a single dimensioning variable</h3>
|
||||
<div class="outline-text-3" id="text-1-4">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">trexio_exit_code</span>
|
||||
@ -566,8 +566,8 @@ for the JavaScript code in this tag.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgdfa5307" class="outline-3">
|
||||
<h3 id="orgdfa5307"><span class="section-number-3">1.5</span> Template for HDF5 has/read/write a dataset of numerical data</h3>
|
||||
<div id="outline-container-org0e197f3" class="outline-3">
|
||||
<h3 id="org0e197f3"><span class="section-number-3">1.5</span> Template for HDF5 has/read/write a dataset of numerical data</h3>
|
||||
<div class="outline-text-3" id="text-1-5">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">trexio_exit_code</span>
|
||||
@ -696,8 +696,8 @@ for the JavaScript code in this tag.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org523816a" class="outline-3">
|
||||
<h3 id="org523816a"><span class="section-number-3">1.6</span> Template for HDF5 has/read/write a dataset of strings</h3>
|
||||
<div id="outline-container-org8833f7d" class="outline-3">
|
||||
<h3 id="org8833f7d"><span class="section-number-3">1.6</span> Template for HDF5 has/read/write a dataset of strings</h3>
|
||||
<div class="outline-text-3" id="text-1-6">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">trexio_exit_code</span>
|
||||
@ -901,8 +901,8 @@ for the JavaScript code in this tag.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org5bc627c" class="outline-3">
|
||||
<h3 id="org5bc627c"><span class="section-number-3">1.7</span> Template for HDF5 has/read/write a single string attribute</h3>
|
||||
<div id="outline-container-org4b7d69a" class="outline-3">
|
||||
<h3 id="org4b7d69a"><span class="section-number-3">1.7</span> Template for HDF5 has/read/write a single string attribute</h3>
|
||||
<div class="outline-text-3" id="text-1-7">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">trexio_exit_code</span>
|
||||
@ -1029,7 +1029,7 @@ for the JavaScript code in this tag.
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: TREX-CoE</p>
|
||||
<p class="date">Created: 2021-06-18 Fri 10:32</p>
|
||||
<p class="date">Created: 2021-06-22 Tue 09:38</p>
|
||||
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||
</div>
|
||||
</body>
|
||||
|
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2021-06-18 Fri 10:32 -->
|
||||
<!-- 2021-06-22 Tue 09:38 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>TEXT back end</title>
|
||||
@ -311,26 +311,26 @@ for the JavaScript code in this tag.
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents">
|
||||
<ul>
|
||||
<li><a href="#org5df2bf7">1. TEXT back end</a>
|
||||
<li><a href="#org3fd98b9">1. TEXT back end</a>
|
||||
<ul>
|
||||
<li><a href="#org1cd24b8">1.1. Template for group-related structures in text back end</a></li>
|
||||
<li><a href="#org139f820">1.2. Template for general structure in text back end</a></li>
|
||||
<li><a href="#org7863df1">1.3. Initialize function (constant part)</a></li>
|
||||
<li><a href="#org012cdb8">1.4. Deinitialize function (templated part)</a></li>
|
||||
<li><a href="#orgcfe1737">1.5. Template for text read struct</a></li>
|
||||
<li><a href="#org484d241">1.6. Template for text flush struct</a></li>
|
||||
<li><a href="#org7663768">1.7. Template for text free memory</a></li>
|
||||
<li><a href="#orgd6629e7">1.8. Template for has/read/write the num attribute</a></li>
|
||||
<li><a href="#org2934bae">1.9. Template for has/read/write the dataset of numerical data</a></li>
|
||||
<li><a href="#org57c9261">1.10. Template for has/read/write the dataset of strings</a></li>
|
||||
<li><a href="#orgdca7e3f">1.11. Template for has/read/write the string attribute</a></li>
|
||||
<li><a href="#org6e2e78c">1.12. RDM struct (hard-coded)</a>
|
||||
<li><a href="#org2b28751">1.1. Template for group-related structures in text back end</a></li>
|
||||
<li><a href="#org0fa5d40">1.2. Template for general structure in text back end</a></li>
|
||||
<li><a href="#orgd164eb2">1.3. Initialize function (constant part)</a></li>
|
||||
<li><a href="#org8349fdb">1.4. Deinitialize function (templated part)</a></li>
|
||||
<li><a href="#orga48b304">1.5. Template for text read struct</a></li>
|
||||
<li><a href="#orgade1e1a">1.6. Template for text flush struct</a></li>
|
||||
<li><a href="#orgba86f14">1.7. Template for text free memory</a></li>
|
||||
<li><a href="#org293c636">1.8. Template for has/read/write the num attribute</a></li>
|
||||
<li><a href="#orgf8456b5">1.9. Template for has/read/write the dataset of numerical data</a></li>
|
||||
<li><a href="#org923274d">1.10. Template for has/read/write the dataset of strings</a></li>
|
||||
<li><a href="#orgf8616d9">1.11. Template for has/read/write the string attribute</a></li>
|
||||
<li><a href="#orga724830">1.12. RDM struct (hard-coded)</a>
|
||||
<ul>
|
||||
<li><a href="#org0939f7b">1.12.1. Read the complete struct</a></li>
|
||||
<li><a href="#orga1439ec">1.12.2. Flush the complete struct</a></li>
|
||||
<li><a href="#orgc7c9138">1.12.3. Free memory</a></li>
|
||||
<li><a href="#orga2692fa">1.12.4. Read/Write the one<sub>e</sub> attribute</a></li>
|
||||
<li><a href="#org5c7cfbe">1.12.5. Read/Write the two<sub>e</sub> attribute</a></li>
|
||||
<li><a href="#orga449ff7">1.12.1. Read the complete struct</a></li>
|
||||
<li><a href="#org5b97036">1.12.2. Flush the complete struct</a></li>
|
||||
<li><a href="#org6e145f7">1.12.3. Free memory</a></li>
|
||||
<li><a href="#org6290709">1.12.4. Read/Write the one<sub>e</sub> attribute</a></li>
|
||||
<li><a href="#org0c3ea24">1.12.5. Read/Write the two<sub>e</sub> attribute</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@ -339,8 +339,8 @@ for the JavaScript code in this tag.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org5df2bf7" class="outline-2">
|
||||
<h2 id="org5df2bf7"><span class="section-number-2">1</span> TEXT back end</h2>
|
||||
<div id="outline-container-org3fd98b9" class="outline-2">
|
||||
<h2 id="org3fd98b9"><span class="section-number-2">1</span> TEXT back end</h2>
|
||||
<div class="outline-text-2" id="text-1">
|
||||
<p>
|
||||
The "file" produced by the text back end is a directory with one
|
||||
@ -361,8 +361,8 @@ The file is written when closed, or when the flush function is called.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org1cd24b8" class="outline-3">
|
||||
<h3 id="org1cd24b8"><span class="section-number-3">1.1</span> Template for group-related structures in text back end</h3>
|
||||
<div id="outline-container-org2b28751" class="outline-3">
|
||||
<h3 id="org2b28751"><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="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #a020f0;">typedef</span> <span style="color: #a020f0;">struct</span> $group$_s {
|
||||
@ -380,8 +380,8 @@ The file is written when closed, or when the flush function is called.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org139f820" class="outline-3">
|
||||
<h3 id="org139f820"><span class="section-number-3">1.2</span> Template for general structure in text back end</h3>
|
||||
<div id="outline-container-org0fa5d40" class="outline-3">
|
||||
<h3 id="org0fa5d40"><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="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #a020f0;">typedef</span> <span style="color: #a020f0;">struct</span> <span style="color: #228b22;">rdm_s</span> {
|
||||
@ -407,8 +407,8 @@ The file is written when closed, or when the flush function is called.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org7863df1" class="outline-3">
|
||||
<h3 id="org7863df1"><span class="section-number-3">1.3</span> Initialize function (constant part)</h3>
|
||||
<div id="outline-container-orgd164eb2" class="outline-3">
|
||||
<h3 id="orgd164eb2"><span class="section-number-3">1.3</span> Initialize function (constant part)</h3>
|
||||
<div class="outline-text-3" id="text-1-3">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">trexio_exit_code</span>
|
||||
@ -509,8 +509,8 @@ The file is written when closed, or when the flush function is called.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org012cdb8" class="outline-3">
|
||||
<h3 id="org012cdb8"><span class="section-number-3">1.4</span> Deinitialize function (templated part)</h3>
|
||||
<div id="outline-container-org8349fdb" class="outline-3">
|
||||
<h3 id="org8349fdb"><span class="section-number-3">1.4</span> Deinitialize function (templated part)</h3>
|
||||
<div class="outline-text-3" id="text-1-4">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">trexio_exit_code</span>
|
||||
@ -535,8 +535,8 @@ The file is written when closed, or when the flush function is called.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgcfe1737" class="outline-3">
|
||||
<h3 id="orgcfe1737"><span class="section-number-3">1.5</span> Template for text read struct</h3>
|
||||
<div id="outline-container-orga48b304" class="outline-3">
|
||||
<h3 id="orga48b304"><span class="section-number-3">1.5</span> Template for text read struct</h3>
|
||||
<div class="outline-text-3" id="text-1-5">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c">$group$_t*
|
||||
@ -807,8 +807,8 @@ trexio_text_read_$group$ (<span style="color: #228b22;">trexio_text_t</span>* <s
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org484d241" class="outline-3">
|
||||
<h3 id="org484d241"><span class="section-number-3">1.6</span> Template for text flush struct</h3>
|
||||
<div id="outline-container-orgade1e1a" class="outline-3">
|
||||
<h3 id="orgade1e1a"><span class="section-number-3">1.6</span> Template for text flush struct</h3>
|
||||
<div class="outline-text-3" id="text-1-6">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">trexio_exit_code</span>
|
||||
@ -872,8 +872,8 @@ trexio_text_read_$group$ (<span style="color: #228b22;">trexio_text_t</span>* <s
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org7663768" class="outline-3">
|
||||
<h3 id="org7663768"><span class="section-number-3">1.7</span> Template for text free memory</h3>
|
||||
<div id="outline-container-orgba86f14" class="outline-3">
|
||||
<h3 id="orgba86f14"><span class="section-number-3">1.7</span> Template for text free memory</h3>
|
||||
<div class="outline-text-3" id="text-1-7">
|
||||
<p>
|
||||
Memory is allocated when reading. The following function frees memory.
|
||||
@ -918,8 +918,8 @@ Memory is allocated when reading. The following function frees memory.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgd6629e7" class="outline-3">
|
||||
<h3 id="orgd6629e7"><span class="section-number-3">1.8</span> Template for has/read/write the num attribute</h3>
|
||||
<div id="outline-container-org293c636" class="outline-3">
|
||||
<h3 id="org293c636"><span class="section-number-3">1.8</span> Template for has/read/write the num attribute</h3>
|
||||
<div class="outline-text-3" id="text-1-8">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">trexio_exit_code</span>
|
||||
@ -981,8 +981,8 @@ Memory is allocated when reading. The following function frees memory.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org2934bae" class="outline-3">
|
||||
<h3 id="org2934bae"><span class="section-number-3">1.9</span> Template for has/read/write the dataset of numerical data</h3>
|
||||
<div id="outline-container-orgf8456b5" class="outline-3">
|
||||
<h3 id="orgf8456b5"><span class="section-number-3">1.9</span> Template for has/read/write the dataset of numerical data</h3>
|
||||
<div class="outline-text-3" id="text-1-9">
|
||||
<p>
|
||||
The <code>group_dset</code> array is assumed allocated with the appropriate size.
|
||||
@ -1078,8 +1078,8 @@ The <code>group_dset</code> array is assumed allocated with the appropriate size
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-org57c9261" class="outline-3">
|
||||
<h3 id="org57c9261"><span class="section-number-3">1.10</span> Template for has/read/write the dataset of strings</h3>
|
||||
<div id="outline-container-org923274d" class="outline-3">
|
||||
<h3 id="org923274d"><span class="section-number-3">1.10</span> Template for has/read/write the dataset of strings</h3>
|
||||
<div class="outline-text-3" id="text-1-10">
|
||||
<p>
|
||||
The <code>group_dset</code> array is assumed allocated with the appropriate size.
|
||||
@ -1181,8 +1181,8 @@ The <code>group_dset</code> array is assumed allocated with the appropriate size
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-orgdca7e3f" class="outline-3">
|
||||
<h3 id="orgdca7e3f"><span class="section-number-3">1.11</span> Template for has/read/write the string attribute</h3>
|
||||
<div id="outline-container-orgf8616d9" class="outline-3">
|
||||
<h3 id="orgf8616d9"><span class="section-number-3">1.11</span> Template for has/read/write the string attribute</h3>
|
||||
<div class="outline-text-3" id="text-1-11">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">trexio_exit_code</span>
|
||||
@ -1256,12 +1256,12 @@ The <code>group_dset</code> array is assumed allocated with the appropriate size
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-org6e2e78c" class="outline-3">
|
||||
<h3 id="org6e2e78c"><span class="section-number-3">1.12</span> RDM struct (hard-coded)</h3>
|
||||
<div id="outline-container-orga724830" class="outline-3">
|
||||
<h3 id="orga724830"><span class="section-number-3">1.12</span> RDM struct (hard-coded)</h3>
|
||||
<div class="outline-text-3" id="text-1-12">
|
||||
</div>
|
||||
<div id="outline-container-org0939f7b" class="outline-4">
|
||||
<h4 id="org0939f7b"><span class="section-number-4">1.12.1</span> Read the complete struct</h4>
|
||||
<div id="outline-container-orga449ff7" class="outline-4">
|
||||
<h4 id="orga449ff7"><span class="section-number-4">1.12.1</span> Read the complete struct</h4>
|
||||
<div class="outline-text-4" id="text-1-12-1">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">rdm_t</span>* <span style="color: #0000ff;">trexio_text_read_rdm</span>(<span style="color: #228b22;">trexio_text_t</span>* <span style="color: #a020f0;">const</span> <span style="color: #a0522d;">file</span>);
|
||||
@ -1356,8 +1356,8 @@ The <code>group_dset</code> array is assumed allocated with the appropriate size
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orga1439ec" class="outline-4">
|
||||
<h4 id="orga1439ec"><span class="section-number-4">1.12.2</span> Flush the complete struct</h4>
|
||||
<div id="outline-container-org5b97036" class="outline-4">
|
||||
<h4 id="org5b97036"><span class="section-number-4">1.12.2</span> Flush the complete struct</h4>
|
||||
<div class="outline-text-4" id="text-1-12-2">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">trexio_exit_code</span> <span style="color: #0000ff;">trexio_text_flush_rdm</span>(<span style="color: #228b22;">trexio_text_t</span>* <span style="color: #a020f0;">const</span> <span style="color: #a0522d;">file</span>);
|
||||
@ -1399,8 +1399,8 @@ The <code>group_dset</code> array is assumed allocated with the appropriate size
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgc7c9138" class="outline-4">
|
||||
<h4 id="orgc7c9138"><span class="section-number-4">1.12.3</span> Free memory</h4>
|
||||
<div id="outline-container-org6e145f7" class="outline-4">
|
||||
<h4 id="org6e145f7"><span class="section-number-4">1.12.3</span> Free memory</h4>
|
||||
<div class="outline-text-4" id="text-1-12-3">
|
||||
<p>
|
||||
Memory is allocated when reading. The followig function frees memory.
|
||||
@ -1436,8 +1436,8 @@ Memory is allocated when reading. The followig function frees memory.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orga2692fa" class="outline-4">
|
||||
<h4 id="orga2692fa"><span class="section-number-4">1.12.4</span> Read/Write the one<sub>e</sub> attribute</h4>
|
||||
<div id="outline-container-org6290709" class="outline-4">
|
||||
<h4 id="org6290709"><span class="section-number-4">1.12.4</span> Read/Write the one<sub>e</sub> attribute</h4>
|
||||
<div class="outline-text-4" id="text-1-12-4">
|
||||
<p>
|
||||
The <code>one_e</code> array is assumed allocated with the appropriate size.
|
||||
@ -1503,8 +1503,8 @@ The <code>one_e</code> array is assumed allocated with the appropriate size.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org5c7cfbe" class="outline-4">
|
||||
<h4 id="org5c7cfbe"><span class="section-number-4">1.12.5</span> Read/Write the two<sub>e</sub> attribute</h4>
|
||||
<div id="outline-container-org0c3ea24" class="outline-4">
|
||||
<h4 id="org0c3ea24"><span class="section-number-4">1.12.5</span> Read/Write the two<sub>e</sub> attribute</h4>
|
||||
<div class="outline-text-4" id="text-1-12-5">
|
||||
<p>
|
||||
<code>two_e</code> is a sparse data structure, which can be too large to fit
|
||||
@ -1612,7 +1612,7 @@ file for each sparse float structure.
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: TREX-CoE</p>
|
||||
<p class="date">Created: 2021-06-18 Fri 10:32</p>
|
||||
<p class="date">Created: 2021-06-22 Tue 09:38</p>
|
||||
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||
</div>
|
||||
</body>
|
||||
|
118
trex.html
118
trex.html
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2021-06-18 Fri 10:32 -->
|
||||
<!-- 2021-06-22 Tue 09:38 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>TREX Configuration file</title>
|
||||
@ -333,28 +333,28 @@ for the JavaScript code in this tag.
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents">
|
||||
<ul>
|
||||
<li><a href="#org29000bf">1. Metadata</a></li>
|
||||
<li><a href="#org8b6343b">2. Electron</a></li>
|
||||
<li><a href="#orge383778">3. Nucleus</a></li>
|
||||
<li><a href="#orgc6214ce">4. <span class="todo TODO">TODO</span> Effective core potentials</a></li>
|
||||
<li><a href="#org0208906">5. Basis set</a></li>
|
||||
<li><a href="#org5c9f039">6. Atomic orbitals</a>
|
||||
<li><a href="#orgb368b60">1. Metadata</a></li>
|
||||
<li><a href="#org60acf64">2. Electron</a></li>
|
||||
<li><a href="#org29e5d50">3. Nucleus</a></li>
|
||||
<li><a href="#org8807ecf">4. <span class="todo TODO">TODO</span> Effective core potentials</a></li>
|
||||
<li><a href="#org4068d17">5. Basis set</a></li>
|
||||
<li><a href="#org68edbeb">6. Atomic orbitals</a>
|
||||
<ul>
|
||||
<li><a href="#ao_one_e">6.1. One-electron integrals</a></li>
|
||||
<li><a href="#ao_two_e">6.2. Two-electron integrals</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orga429ccf">7. Molecular orbitals</a>
|
||||
<li><a href="#orgbd8f27f">7. Molecular orbitals</a>
|
||||
<ul>
|
||||
<li><a href="#orgd3a2212">7.1. One-electron integrals</a></li>
|
||||
<li><a href="#org8741005">7.2. Two-electron integrals</a></li>
|
||||
<li><a href="#org0993734">7.1. One-electron integrals</a></li>
|
||||
<li><a href="#org5995ec2">7.2. Two-electron integrals</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgd90cd77">8. <span class="todo TODO">TODO</span> Slater determinants</a></li>
|
||||
<li><a href="#org9f3af1a">9. <span class="todo TODO">TODO</span> Reduced density matrices</a></li>
|
||||
<li><a href="#orgdbe1b68">10. Appendix</a>
|
||||
<li><a href="#orgf22ed86">8. <span class="todo TODO">TODO</span> Slater determinants</a></li>
|
||||
<li><a href="#org70342c9">9. <span class="todo TODO">TODO</span> Reduced density matrices</a></li>
|
||||
<li><a href="#org73f11b4">10. Appendix</a>
|
||||
<ul>
|
||||
<li><a href="#org7c3f657">10.1. Python script from table to json</a></li>
|
||||
<li><a href="#org4361076">10.1. Python script from table to json</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@ -379,8 +379,8 @@ arrays are 0-base. Hence, we introduce the <code>index</code> type which is an
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org29000bf" class="outline-2">
|
||||
<h2 id="org29000bf"><span class="section-number-2">1</span> Metadata</h2>
|
||||
<div id="outline-container-orgb368b60" class="outline-2">
|
||||
<h2 id="orgb368b60"><span class="section-number-2">1</span> Metadata</h2>
|
||||
<div class="outline-text-2" id="text-1">
|
||||
<p>
|
||||
As we expect our files to be archived in open-data repositories, we
|
||||
@ -390,7 +390,7 @@ which have participated to the creation of the file, a list of
|
||||
authors of the file, and a textual description.
|
||||
</p>
|
||||
|
||||
<table id="orgc9644f0" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orgdfb49e5" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -442,15 +442,15 @@ authors of the file, and a textual description.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org8b6343b" class="outline-2">
|
||||
<h2 id="org8b6343b"><span class="section-number-2">2</span> Electron</h2>
|
||||
<div id="outline-container-org60acf64" class="outline-2">
|
||||
<h2 id="org60acf64"><span class="section-number-2">2</span> Electron</h2>
|
||||
<div class="outline-text-2" id="text-2">
|
||||
<p>
|
||||
We consider wave functions expressed in the spin-free formalism, where
|
||||
the number of ↑ and ↓ electrons is fixed.
|
||||
</p>
|
||||
|
||||
<table id="orgc980d05" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org7d59a0f" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -481,15 +481,15 @@ the number of ↑ and ↓ electrons is fixed.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orge383778" class="outline-2">
|
||||
<h2 id="orge383778"><span class="section-number-2">3</span> Nucleus</h2>
|
||||
<div id="outline-container-org29e5d50" class="outline-2">
|
||||
<h2 id="org29e5d50"><span class="section-number-2">3</span> Nucleus</h2>
|
||||
<div class="outline-text-2" id="text-3">
|
||||
<p>
|
||||
The nuclei are considered as fixed point charges. Coordinates are
|
||||
given in Cartesian \((x,y,z)\) format.
|
||||
</p>
|
||||
|
||||
<table id="org96e36a9" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org2b93ada" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -541,8 +541,8 @@ given in Cartesian \((x,y,z)\) format.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgc6214ce" class="outline-2">
|
||||
<h2 id="orgc6214ce"><span class="section-number-2">4</span> <span class="todo TODO">TODO</span> Effective core potentials</h2>
|
||||
<div id="outline-container-org8807ecf" class="outline-2">
|
||||
<h2 id="org8807ecf"><span class="section-number-2">4</span> <span class="todo TODO">TODO</span> Effective core potentials</h2>
|
||||
<div class="outline-text-2" id="text-4">
|
||||
<p>
|
||||
An effective core potential (ECP) \(V_A^{\text{pp}}\) replacing the
|
||||
@ -587,7 +587,7 @@ letters are parameters.
|
||||
<li>\(\hat{V}_\text{ecp,nl} = \sum_A \hat{V}_A^{\text{nl}}\) : non-local component</li>
|
||||
</ul>
|
||||
|
||||
<table id="org5039d5b" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org8c66a86" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -688,8 +688,8 @@ letters are parameters.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org0208906" class="outline-2">
|
||||
<h2 id="org0208906"><span class="section-number-2">5</span> Basis set</h2>
|
||||
<div id="outline-container-org4068d17" class="outline-2">
|
||||
<h2 id="org4068d17"><span class="section-number-2">5</span> Basis set</h2>
|
||||
<div class="outline-text-2" id="text-5">
|
||||
<p>
|
||||
We consider here basis functions centered on nuclei. Hence, we enable
|
||||
@ -742,7 +742,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:
|
||||
</p>
|
||||
|
||||
<table id="org5ac1719" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org5f224fc" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -903,8 +903,8 @@ prim_factor =
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org5c9f039" class="outline-2">
|
||||
<h2 id="org5c9f039"><span class="section-number-2">6</span> Atomic orbitals</h2>
|
||||
<div id="outline-container-org68edbeb" class="outline-2">
|
||||
<h2 id="org68edbeb"><span class="section-number-2">6</span> Atomic orbitals</h2>
|
||||
<div class="outline-text-2" id="text-6">
|
||||
<p>
|
||||
Going from the atomic basis set to AOs implies a systematic
|
||||
@ -952,13 +952,13 @@ shell, as in the GAMESS convention where
|
||||
|
||||
<p>
|
||||
In such a case, one should set the normalization of the shell (in
|
||||
the <a href="#org0208906">Basis set</a> section) to \(\mathcal{N}_{z^2}\), which is the
|
||||
the <a href="#org4068d17">Basis set</a> section) to \(\mathcal{N}_{z^2}\), which is the
|
||||
normalization factor of the atomic orbitals in spherical coordinates.
|
||||
The normalization factor of the \(xy\) function which should be
|
||||
introduced here should be \(\frac{\mathcal{N}_{xy}}{\mathcal{N}_{z^2}}\).
|
||||
</p>
|
||||
|
||||
<table id="orga2c7b59" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org1281a3a" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -1002,8 +1002,8 @@ introduced here should be \(\frac{\mathcal{N}_{xy}}{\mathcal{N}_{z^2}}\).
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org3935b6a" class="outline-3">
|
||||
<h3 id="ao_one_e"><a id="org3935b6a"></a><span class="section-number-3">6.1</span> One-electron integrals</h3>
|
||||
<div id="outline-container-org4860eeb" class="outline-3">
|
||||
<h3 id="ao_one_e"><a id="org4860eeb"></a><span class="section-number-3">6.1</span> One-electron integrals</h3>
|
||||
<div class="outline-text-3" id="text-ao_one_e">
|
||||
<ul class="org-ul">
|
||||
<li>\[ \hat{V}_{\text{ne}} = \sum_{A=1}^{N_\text{nucl}}
|
||||
@ -1021,7 +1021,7 @@ The one-electron integrals for a one-electron operator \(\hat{O}\) are
|
||||
over atomic orbitals.
|
||||
</p>
|
||||
|
||||
<table id="orgdb66a29" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orgebd22a1" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -1080,8 +1080,8 @@ over atomic orbitals.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org8b9ca92" class="outline-3">
|
||||
<h3 id="ao_two_e"><a id="org8b9ca92"></a><span class="section-number-3">6.2</span> Two-electron integrals</h3>
|
||||
<div id="outline-container-org0c4183e" class="outline-3">
|
||||
<h3 id="ao_two_e"><a id="org0c4183e"></a><span class="section-number-3">6.2</span> Two-electron integrals</h3>
|
||||
<div class="outline-text-3" id="text-ao_two_e">
|
||||
<p>
|
||||
The two-electron integrals for a two-electron operator \(\hat{O}\) are
|
||||
@ -1102,7 +1102,7 @@ notation.
|
||||
\mathbf{r}_j \vert)}{\vert \mathbf{r}_i - \mathbf{r}_j \vert} \] : electron-electron long range potential</li>
|
||||
</ul>
|
||||
|
||||
<table id="org66dd202" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org3ee726a" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -1134,10 +1134,10 @@ notation.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orga429ccf" class="outline-2">
|
||||
<h2 id="orga429ccf"><span class="section-number-2">7</span> Molecular orbitals</h2>
|
||||
<div id="outline-container-orgbd8f27f" class="outline-2">
|
||||
<h2 id="orgbd8f27f"><span class="section-number-2">7</span> Molecular orbitals</h2>
|
||||
<div class="outline-text-2" id="text-7">
|
||||
<table id="orgb9c3f0d" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orgf678ad2" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -1195,8 +1195,8 @@ notation.
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgd3a2212" class="outline-3">
|
||||
<h3 id="orgd3a2212"><span class="section-number-3">7.1</span> One-electron integrals</h3>
|
||||
<div id="outline-container-org0993734" class="outline-3">
|
||||
<h3 id="org0993734"><span class="section-number-3">7.1</span> One-electron integrals</h3>
|
||||
<div class="outline-text-3" id="text-7-1">
|
||||
<p>
|
||||
The operators as the same as those defined in the
|
||||
@ -1204,7 +1204,7 @@ The operators as the same as those defined in the
|
||||
the basis of molecular orbitals.
|
||||
</p>
|
||||
|
||||
<table id="org18bac62" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org9894a94" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -1263,8 +1263,8 @@ the basis of molecular orbitals.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org8741005" class="outline-3">
|
||||
<h3 id="org8741005"><span class="section-number-3">7.2</span> Two-electron integrals</h3>
|
||||
<div id="outline-container-org5995ec2" class="outline-3">
|
||||
<h3 id="org5995ec2"><span class="section-number-3">7.2</span> Two-electron integrals</h3>
|
||||
<div class="outline-text-3" id="text-7-2">
|
||||
<p>
|
||||
The operators as the same as those defined in the
|
||||
@ -1272,7 +1272,7 @@ The operators as the same as those defined in the
|
||||
the basis of molecular orbitals.
|
||||
</p>
|
||||
|
||||
<table id="org7ec450b" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org86973d3" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -1304,13 +1304,13 @@ the basis of molecular orbitals.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgd90cd77" class="outline-2">
|
||||
<h2 id="orgd90cd77"><span class="section-number-2">8</span> <span class="todo TODO">TODO</span> Slater determinants</h2>
|
||||
<div id="outline-container-orgf22ed86" class="outline-2">
|
||||
<h2 id="orgf22ed86"><span class="section-number-2">8</span> <span class="todo TODO">TODO</span> Slater determinants</h2>
|
||||
</div>
|
||||
<div id="outline-container-org9f3af1a" class="outline-2">
|
||||
<h2 id="org9f3af1a"><span class="section-number-2">9</span> <span class="todo TODO">TODO</span> Reduced density matrices</h2>
|
||||
<div id="outline-container-org70342c9" class="outline-2">
|
||||
<h2 id="org70342c9"><span class="section-number-2">9</span> <span class="todo TODO">TODO</span> Reduced density matrices</h2>
|
||||
<div class="outline-text-2" id="text-9">
|
||||
<table id="orgb56d4d4" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org115672d" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -1349,15 +1349,15 @@ the basis of molecular orbitals.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgdbe1b68" class="outline-2">
|
||||
<h2 id="orgdbe1b68"><span class="section-number-2">10</span> Appendix</h2>
|
||||
<div id="outline-container-org73f11b4" class="outline-2">
|
||||
<h2 id="org73f11b4"><span class="section-number-2">10</span> Appendix</h2>
|
||||
<div class="outline-text-2" id="text-10">
|
||||
</div>
|
||||
<div id="outline-container-org7c3f657" class="outline-3">
|
||||
<h3 id="org7c3f657"><span class="section-number-3">10.1</span> Python script from table to json</h3>
|
||||
<div id="outline-container-org4361076" class="outline-3">
|
||||
<h3 id="org4361076"><span class="section-number-3">10.1</span> Python script from table to json</h3>
|
||||
<div class="outline-text-3" id="text-10-1">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-python" id="org222fe84"><span style="color: #a020f0;">print</span>(<span style="color: #8b2252;">"""#+begin_src python :tangle trex.json"""</span>)
|
||||
<pre class="src src-python" id="orgc173253"><span style="color: #a020f0;">print</span>(<span style="color: #8b2252;">"""#+begin_src python :tangle trex.json"""</span>)
|
||||
<span style="color: #a020f0;">print</span>(<span style="color: #8b2252;">""" "%s": {"""</span>%(title))
|
||||
<span style="color: #a0522d;">indent</span> = <span style="color: #8b2252;">" "</span>
|
||||
<span style="color: #a0522d;">f1</span> = 0 ; <span style="color: #a0522d;">f2</span> = 0 ; <span style="color: #a0522d;">f3</span> = 0
|
||||
@ -1416,7 +1416,7 @@ the basis of molecular orbitals.
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: TREX-CoE</p>
|
||||
<p class="date">Created: 2021-06-18 Fri 10:32</p>
|
||||
<p class="date">Created: 2021-06-22 Tue 09:38</p>
|
||||
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||
</div>
|
||||
</body>
|
||||
|
Loading…
Reference in New Issue
Block a user