1
0
mirror of https://github.com/TREX-CoE/trexio.git synced 2024-11-04 05:03:58 +01:00

Deploying to gh-pages from @ TREX-CoE/trexio@e46d314a5f 🚀

This commit is contained in:
scemama 2021-05-28 10:17:31 +00:00
parent d21797e13e
commit 80bf224a46
5 changed files with 134 additions and 134 deletions

View File

@ -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-05-28 Fri 09:44 -->
<!-- 2021-05-28 Fri 10:17 -->
<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>
@ -341,7 +341,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-05-28 Fri 09:44</p>
<p class="date">Created: 2021-05-28 Fri 10:17</p>
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
</div>
</body>

View File

@ -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-05-28 Fri 09:44 -->
<!-- 2021-05-28 Fri 10:17 -->
<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>
@ -341,7 +341,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-05-28 Fri 09:44</p>
<p class="date">Created: 2021-05-28 Fri 10:17</p>
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
</div>
</body>

View File

@ -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-05-28 Fri 09:44 -->
<!-- 2021-05-28 Fri 10:17 -->
<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>
@ -311,46 +311,46 @@ for the JavaScript code in this tag.
<h2>Table of Contents</h2>
<div id="text-table-of-contents">
<ul>
<li><a href="#org3ab3f57">1. Coding conventions</a>
<li><a href="#org09776d2">1. Coding conventions</a>
<ul>
<li><a href="#org0da8cfb">1.1. Memory allocation</a></li>
<li><a href="#org86b325f">1.1. Memory allocation</a></li>
</ul>
</li>
<li><a href="#orgfa170af">2. Front end</a>
<li><a href="#orgd9b5315">2. Front end</a>
<ul>
<li><a href="#orgd8ffdea">2.1. Error handling</a></li>
<li><a href="#org9d3c49c">2.2. Back ends</a></li>
<li><a href="#orgc64c5db">2.3. Read/write behavior</a></li>
<li><a href="#org56c6876">2.4. TREXIO file type</a></li>
<li><a href="#org94dff8e">2.5. Polymorphism of the file handle</a></li>
<li><a href="#orgdac81c2">2.6. File opening</a></li>
<li><a href="#org0ceba4a">2.7. File closing</a></li>
<li><a href="#orgfd7287a">2.8. C helper functions</a></li>
<li><a href="#org3302cd5">2.1. Error handling</a></li>
<li><a href="#org6806614">2.2. Back ends</a></li>
<li><a href="#orgdab5f30">2.3. Read/write behavior</a></li>
<li><a href="#org7d0824d">2.4. TREXIO file type</a></li>
<li><a href="#orgafc9b54">2.5. Polymorphism of the file handle</a></li>
<li><a href="#org36e50d8">2.6. File opening</a></li>
<li><a href="#orga893e27">2.7. File closing</a></li>
<li><a href="#org96fad3f">2.8. C helper functions</a></li>
</ul>
</li>
<li><a href="#org99ef8e3">3. Templates for front end</a>
<li><a href="#org7494694">3. Templates for front end</a>
<ul>
<li><a href="#org041e3f2">3.1. Templates for front end has/read/write a dimension</a>
<li><a href="#orgf395f30">3.1. Templates for front end has/read/write a dimension</a>
<ul>
<li><a href="#org34b6f59">3.1.1. C templates for front end</a></li>
<li><a href="#org5011030">3.1.2. Fortran templates for front end</a></li>
<li><a href="#org7467291">3.1.1. C templates for front end</a></li>
<li><a href="#org220d1b2">3.1.2. Fortran templates for front end</a></li>
</ul>
</li>
<li><a href="#orgca083a9">3.2. Templates for front end has/read/write a dataset</a>
<li><a href="#orge3507d5">3.2. Templates for front end has/read/write a dataset</a>
<ul>
<li><a href="#org98e0a8c">3.2.1. C templates for front end</a></li>
<li><a href="#orgc23dd98">3.2.2. Fortran templates for front end</a></li>
<li><a href="#org557de09">3.2.1. C templates for front end</a></li>
<li><a href="#org02db47e">3.2.2. Fortran templates for front end</a></li>
</ul>
</li>
</ul>
</li>
<li><a href="#orgf667736">4. Fortran helper/wrapper functions</a></li>
<li><a href="#org62e2628">4. Fortran helper/wrapper functions</a></li>
</ul>
</div>
</div>
<div id="outline-container-org3ab3f57" class="outline-2">
<h2 id="org3ab3f57"><span class="section-number-2">1</span> Coding conventions</h2>
<div id="outline-container-org09776d2" class="outline-2">
<h2 id="org09776d2"><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>
@ -365,8 +365,8 @@ for the JavaScript code in this tag.
</ul>
</div>
<div id="outline-container-org0da8cfb" class="outline-3">
<h3 id="org0da8cfb"><span class="section-number-3">1.1</span> Memory allocation</h3>
<div id="outline-container-org86b325f" class="outline-3">
<h3 id="org86b325f"><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
@ -401,8 +401,8 @@ The maximum string size for the filenames is 4096 characters.
</div>
</div>
<div id="outline-container-orgfa170af" class="outline-2">
<h2 id="orgfa170af"><span class="section-number-2">2</span> Front end</h2>
<div id="outline-container-orgd9b5315" class="outline-2">
<h2 id="orgd9b5315"><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.
@ -410,10 +410,10 @@ TREXIO front end is modular, which simplifies implementation of new back ends.
</p>
</div>
<div id="outline-container-orgd8ffdea" class="outline-3">
<h3 id="orgd8ffdea"><span class="section-number-3">2.1</span> Error handling</h3>
<div id="outline-container-org3302cd5" class="outline-3">
<h3 id="org3302cd5"><span class="section-number-3">2.1</span> Error handling</h3>
<div class="outline-text-3" id="text-2-1">
<table id="orgec8de22" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
<table id="org8827a15" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
<colgroup>
@ -695,8 +695,8 @@ The text strings are extracted from the previous table.
</div>
</div>
<div id="outline-container-org9d3c49c" class="outline-3">
<h3 id="org9d3c49c"><span class="section-number-3">2.2</span> Back ends</h3>
<div id="outline-container-org6806614" class="outline-3">
<h3 id="org6806614"><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:
@ -726,8 +726,8 @@ lines that correspond to the <code>TREXIO_JSON</code> back end (not implemented
</div>
</div>
</div>
<div id="outline-container-orgc64c5db" class="outline-3">
<h3 id="orgc64c5db"><span class="section-number-3">2.3</span> Read/write behavior</h3>
<div id="outline-container-orgdab5f30" class="outline-3">
<h3 id="orgdab5f30"><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
@ -755,8 +755,8 @@ concurrent programs, the behavior is not specified.
</p>
</div>
</div>
<div id="outline-container-org56c6876" class="outline-3">
<h3 id="org56c6876"><span class="section-number-3">2.4</span> TREXIO file type</h3>
<div id="outline-container-org7d0824d" class="outline-3">
<h3 id="org7d0824d"><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
@ -788,8 +788,8 @@ TREXIO files will have as a first argument the TREXIO file handle.
</div>
</div>
</div>
<div id="outline-container-org94dff8e" class="outline-3">
<h3 id="org94dff8e"><span class="section-number-3">2.5</span> Polymorphism of the file handle</h3>
<div id="outline-container-orgafc9b54" class="outline-3">
<h3 id="orgafc9b54"><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
@ -808,8 +808,8 @@ corresponding types for all back ends can be safely casted to
</div>
</div>
<div id="outline-container-orgdac81c2" class="outline-3">
<h3 id="orgdac81c2"><span class="section-number-3">2.6</span> File opening</h3>
<div id="outline-container-org36e50d8" class="outline-3">
<h3 id="org36e50d8"><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.
@ -973,8 +973,8 @@ should tend to avoid renaming the <code>.txt</code> data files.
</div>
</div>
<div id="outline-container-org0ceba4a" class="outline-3">
<h3 id="org0ceba4a"><span class="section-number-3">2.7</span> File closing</h3>
<div id="outline-container-orga893e27" class="outline-3">
<h3 id="orga893e27"><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.
@ -1072,8 +1072,8 @@ output:
</div>
</div>
<div id="outline-container-orgfd7287a" class="outline-3">
<h3 id="orgfd7287a"><span class="section-number-3">2.8</span> C helper functions</h3>
<div id="outline-container-org96fad3f" class="outline-3">
<h3 id="org96fad3f"><span class="section-number-3">2.8</span> C helper functions</h3>
<div class="outline-text-3" id="text-2-8">
<p>
#+begin<sub>src</sub> c :tangle prefix<sub>front.c</sub>
@ -1111,8 +1111,8 @@ for (int i=0; i&lt;str<sub>max</sub><sub>num</sub>; i++){
</div>
</div>
<div id="outline-container-org99ef8e3" class="outline-2">
<h2 id="org99ef8e3"><span class="section-number-2">3</span> Templates for front end</h2>
<div id="outline-container-org7494694" class="outline-2">
<h2 id="org7494694"><span class="section-number-2">3</span> Templates for front end</h2>
<div class="outline-text-2" id="text-3">
<p>
Consider the following block of <code>trex.json</code>:
@ -1302,8 +1302,8 @@ or double precision for integer and floating point numbers.
</p>
</div>
<div id="outline-container-org041e3f2" class="outline-3">
<h3 id="org041e3f2"><span class="section-number-3">3.1</span> Templates for front end has/read/write a dimension</h3>
<div id="outline-container-orgf395f30" class="outline-3">
<h3 id="orgf395f30"><span class="section-number-3">3.1</span> Templates for front end has/read/write a dimension</h3>
<div class="outline-text-3" id="text-3-1">
<p>
This section concerns API calls related to dimensioning variables.
@ -1372,8 +1372,8 @@ This section concerns API calls related to dimensioning variables.
</table>
</div>
<div id="outline-container-org34b6f59" class="outline-4">
<h4 id="org34b6f59"><span class="section-number-4">3.1.1</span> C templates for front end</h4>
<div id="outline-container-org7467291" class="outline-4">
<h4 id="org7467291"><span class="section-number-4">3.1.1</span> C templates for front end</h4>
<div class="outline-text-4" id="text-3-1-1">
<p>
The <code>C</code> templates that correspond to each of the abovementioned
@ -1566,8 +1566,8 @@ precision (see Table above).
</div>
</div>
<div id="outline-container-org5011030" class="outline-4">
<h4 id="org5011030"><span class="section-number-4">3.1.2</span> Fortran templates for front end</h4>
<div id="outline-container-org220d1b2" class="outline-4">
<h4 id="org220d1b2"><span class="section-number-4">3.1.2</span> Fortran templates for front end</h4>
<div class="outline-text-4" id="text-3-1-2">
<p>
The <code>Fortran</code> templates that provide an access to the <code>C</code> API calls from Fortran.
@ -1653,8 +1653,8 @@ These templates are based on the use of <code>iso_c_binding</code>. Pointers hav
</div>
</div>
<div id="outline-container-orgca083a9" class="outline-3">
<h3 id="orgca083a9"><span class="section-number-3">3.2</span> Templates for front end has/read/write a dataset</h3>
<div id="outline-container-orge3507d5" class="outline-3">
<h3 id="orge3507d5"><span class="section-number-3">3.2</span> Templates for front end has/read/write a dataset</h3>
<div class="outline-text-3" id="text-3-2">
<p>
This section concerns API calls related to datasets.
@ -1723,8 +1723,8 @@ This section concerns API calls related to datasets.
</table>
</div>
<div id="outline-container-org98e0a8c" class="outline-4">
<h4 id="org98e0a8c"><span class="section-number-4">3.2.1</span> C templates for front end</h4>
<div id="outline-container-org557de09" class="outline-4">
<h4 id="org557de09"><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 C templates that correspond to each of the abovementioned functions can be found below.
@ -1988,8 +1988,8 @@ The basic (non-suffixed) API call on datasets deals with double precision (see T
</div>
</div>
<div id="outline-container-orgc23dd98" class="outline-4">
<h4 id="orgc23dd98"><span class="section-number-4">3.2.2</span> Fortran templates for front end</h4>
<div id="outline-container-org02db47e" class="outline-4">
<h4 id="org02db47e"><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 <code>Fortran</code>.
@ -2076,8 +2076,8 @@ These templates are based on the use of <code>iso_c_binding</code>. Pointers hav
</div>
</div>
<div id="outline-container-orgf667736" class="outline-2">
<h2 id="orgf667736"><span class="section-number-2">4</span> Fortran helper/wrapper functions</h2>
<div id="outline-container-org62e2628" class="outline-2">
<h2 id="org62e2628"><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.
@ -2106,7 +2106,7 @@ Note, that Fortran interface calls the main <code>TREXIO</code> API, which is wr
</div>
<div id="postamble" class="status">
<p class="author">Author: TREX-CoE</p>
<p class="date">Created: 2021-05-28 Fri 09:44</p>
<p class="date">Created: 2021-05-28 Fri 10:17</p>
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
</div>
</body>

View File

@ -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-05-28 Fri 09:44 -->
<!-- 2021-05-28 Fri 10:17 -->
<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,25 +311,25 @@ for the JavaScript code in this tag.
<h2>Table of Contents</h2>
<div id="text-table-of-contents">
<ul>
<li><a href="#org37e3705">1. HDF5 back end</a>
<li><a href="#orgda092bd">1. HDF5 back end</a>
<ul>
<li><a href="#orgcbe3dbb">1.1. Template for HDF5 definitions</a></li>
<li><a href="#org0a4591d">1.2. Template for HDF5 structures</a></li>
<li><a href="#org78a8ba3">1.3. Template for HDF5 init/deinit</a></li>
<li><a href="#orgd149b37">1.4. Template for HDF5 has/read/write a number</a></li>
<li><a href="#org765f5c3">1.5. Template for HDF5 has/read/write a dataset</a></li>
<li><a href="#orgf865f94">1.1. Template for HDF5 definitions</a></li>
<li><a href="#orgb61a42e">1.2. Template for HDF5 structures</a></li>
<li><a href="#org883a2b1">1.3. Template for HDF5 init/deinit</a></li>
<li><a href="#org322fdc9">1.4. Template for HDF5 has/read/write a number</a></li>
<li><a href="#org87b63e3">1.5. Template for HDF5 has/read/write a dataset</a></li>
</ul>
</li>
</ul>
</div>
</div>
<div id="outline-container-org37e3705" class="outline-2">
<h2 id="org37e3705"><span class="section-number-2">1</span> HDF5 back end</h2>
<div id="outline-container-orgda092bd" class="outline-2">
<h2 id="orgda092bd"><span class="section-number-2">1</span> HDF5 back end</h2>
<div class="outline-text-2" id="text-1">
</div>
<div id="outline-container-orgcbe3dbb" class="outline-3">
<h3 id="orgcbe3dbb"><span class="section-number-3">1.1</span> Template for HDF5 definitions</h3>
<div id="outline-container-orgf865f94" class="outline-3">
<h3 id="orgf865f94"><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>
@ -340,8 +340,8 @@ for the JavaScript code in this tag.
</div>
</div>
<div id="outline-container-org0a4591d" class="outline-3">
<h3 id="org0a4591d"><span class="section-number-3">1.2</span> Template for HDF5 structures</h3>
<div id="outline-container-orgb61a42e" class="outline-3">
<h3 id="orgb61a42e"><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> {
@ -356,8 +356,8 @@ for the JavaScript code in this tag.
</div>
<div id="outline-container-org78a8ba3" class="outline-3">
<h3 id="org78a8ba3"><span class="section-number-3">1.3</span> Template for HDF5 init/deinit</h3>
<div id="outline-container-org883a2b1" class="outline-3">
<h3 id="org883a2b1"><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-orgd149b37" class="outline-3">
<h3 id="orgd149b37"><span class="section-number-3">1.4</span> Template for HDF5 has/read/write a number</h3>
<div id="outline-container-org322fdc9" class="outline-3">
<h3 id="org322fdc9"><span class="section-number-3">1.4</span> Template for HDF5 has/read/write a number</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>
@ -563,8 +563,8 @@ for the JavaScript code in this tag.
</div>
</div>
<div id="outline-container-org765f5c3" class="outline-3">
<h3 id="org765f5c3"><span class="section-number-3">1.5</span> Template for HDF5 has/read/write a dataset</h3>
<div id="outline-container-org87b63e3" class="outline-3">
<h3 id="org87b63e3"><span class="section-number-3">1.5</span> Template for HDF5 has/read/write a dataset</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>
@ -698,7 +698,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-05-28 Fri 09:44</p>
<p class="date">Created: 2021-05-28 Fri 10:17</p>
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
</div>
</body>

View File

@ -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-05-28 Fri 09:44 -->
<!-- 2021-05-28 Fri 10:17 -->
<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,24 +311,24 @@ for the JavaScript code in this tag.
<h2>Table of Contents</h2>
<div id="text-table-of-contents">
<ul>
<li><a href="#orgf44ce42">1. TEXT back end</a>
<li><a href="#orgaf91f06">1. TEXT back end</a>
<ul>
<li><a href="#orgb746635">1.1. Template for group-related structures in text back end</a></li>
<li><a href="#org5228542">1.2. Template for general structure in text back end</a></li>
<li><a href="#orgbc4b2cf">1.3. Initialize function (constant part)</a></li>
<li><a href="#org1293c97">1.4. Deinitialize function (templated part)</a></li>
<li><a href="#org2c192de">1.5. Template for text read struct</a></li>
<li><a href="#orge00db06">1.6. Template for text flush struct</a></li>
<li><a href="#org06545b7">1.7. Template for text free memory</a></li>
<li><a href="#org02f8d88">1.8. Template for has/read/write the <code>$group_num$</code> attribute</a></li>
<li><a href="#org4dccfb4">1.9. Template for has/read/write the <code>$group_dset$</code> dataset</a></li>
<li><a href="#org67b2e37">1.10. RDM struct (hard-coded)</a>
<li><a href="#orgeec4ed9">1.1. Template for group-related structures in text back end</a></li>
<li><a href="#orge05bcbe">1.2. Template for general structure in text back end</a></li>
<li><a href="#orgd54502d">1.3. Initialize function (constant part)</a></li>
<li><a href="#org4ffd338">1.4. Deinitialize function (templated part)</a></li>
<li><a href="#orgd3b4ec4">1.5. Template for text read struct</a></li>
<li><a href="#org6efabe4">1.6. Template for text flush struct</a></li>
<li><a href="#org8efb102">1.7. Template for text free memory</a></li>
<li><a href="#org4bbfd0b">1.8. Template for has/read/write the <code>$group_num$</code> attribute</a></li>
<li><a href="#org31914ff">1.9. Template for has/read/write the <code>$group_dset$</code> dataset</a></li>
<li><a href="#org5ae7ff5">1.10. RDM struct (hard-coded)</a>
<ul>
<li><a href="#org7c77e6f">1.10.1. Read the complete struct</a></li>
<li><a href="#org49fb2cc">1.10.2. Flush the complete struct</a></li>
<li><a href="#org9d77d6f">1.10.3. Free memory</a></li>
<li><a href="#orgbbcfdcf">1.10.4. Read/Write the one<sub>e</sub> attribute</a></li>
<li><a href="#orga272123">1.10.5. Read/Write the two<sub>e</sub> attribute</a></li>
<li><a href="#org58a7cc9">1.10.1. Read the complete struct</a></li>
<li><a href="#org2cf86d5">1.10.2. Flush the complete struct</a></li>
<li><a href="#orgfefa0c8">1.10.3. Free memory</a></li>
<li><a href="#org49ee03c">1.10.4. Read/Write the one<sub>e</sub> attribute</a></li>
<li><a href="#orgb5f2fc3">1.10.5. Read/Write the two<sub>e</sub> attribute</a></li>
</ul>
</li>
</ul>
@ -337,8 +337,8 @@ for the JavaScript code in this tag.
</div>
</div>
<div id="outline-container-orgf44ce42" class="outline-2">
<h2 id="orgf44ce42"><span class="section-number-2">1</span> TEXT back end</h2>
<div id="outline-container-orgaf91f06" class="outline-2">
<h2 id="orgaf91f06"><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
@ -359,8 +359,8 @@ The file is written when closed, or when the flush function is called.
</p>
</div>
<div id="outline-container-orgb746635" class="outline-3">
<h3 id="orgb746635"><span class="section-number-3">1.1</span> Template for group-related structures in text back end</h3>
<div id="outline-container-orgeec4ed9" class="outline-3">
<h3 id="orgeec4ed9"><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 {
@ -376,8 +376,8 @@ The file is written when closed, or when the flush function is called.
</div>
</div>
<div id="outline-container-org5228542" class="outline-3">
<h3 id="org5228542"><span class="section-number-3">1.2</span> Template for general structure in text back end</h3>
<div id="outline-container-orge05bcbe" class="outline-3">
<h3 id="orge05bcbe"><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> {
@ -403,8 +403,8 @@ The file is written when closed, or when the flush function is called.
</div>
</div>
<div id="outline-container-orgbc4b2cf" class="outline-3">
<h3 id="orgbc4b2cf"><span class="section-number-3">1.3</span> Initialize function (constant part)</h3>
<div id="outline-container-orgd54502d" class="outline-3">
<h3 id="orgd54502d"><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>
@ -505,8 +505,8 @@ The file is written when closed, or when the flush function is called.
</div>
</div>
<div id="outline-container-org1293c97" class="outline-3">
<h3 id="org1293c97"><span class="section-number-3">1.4</span> Deinitialize function (templated part)</h3>
<div id="outline-container-org4ffd338" class="outline-3">
<h3 id="org4ffd338"><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>
@ -531,8 +531,8 @@ The file is written when closed, or when the flush function is called.
</div>
</div>
<div id="outline-container-org2c192de" class="outline-3">
<h3 id="org2c192de"><span class="section-number-3">1.5</span> Template for text read struct</h3>
<div id="outline-container-orgd3b4ec4" class="outline-3">
<h3 id="orgd3b4ec4"><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*
@ -698,8 +698,8 @@ trexio_text_read_$group$ (<span style="color: #228b22;">trexio_text_t</span>* <s
</div>
</div>
<div id="outline-container-orge00db06" class="outline-3">
<h3 id="orge00db06"><span class="section-number-3">1.6</span> Template for text flush struct</h3>
<div id="outline-container-org6efabe4" class="outline-3">
<h3 id="org6efabe4"><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>
@ -758,8 +758,8 @@ trexio_text_read_$group$ (<span style="color: #228b22;">trexio_text_t</span>* <s
</div>
</div>
<div id="outline-container-org06545b7" class="outline-3">
<h3 id="org06545b7"><span class="section-number-3">1.7</span> Template for text free memory</h3>
<div id="outline-container-org8efb102" class="outline-3">
<h3 id="org8efb102"><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.
@ -795,8 +795,8 @@ Memory is allocated when reading. The following function frees memory.
</div>
</div>
<div id="outline-container-org02f8d88" class="outline-3">
<h3 id="org02f8d88"><span class="section-number-3">1.8</span> Template for has/read/write the <code>$group_num$</code> attribute</h3>
<div id="outline-container-org4bbfd0b" class="outline-3">
<h3 id="org4bbfd0b"><span class="section-number-3">1.8</span> Template for has/read/write the <code>$group_num$</code> 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>
@ -858,8 +858,8 @@ Memory is allocated when reading. The following function frees memory.
</div>
</div>
<div id="outline-container-org4dccfb4" class="outline-3">
<h3 id="org4dccfb4"><span class="section-number-3">1.9</span> Template for has/read/write the <code>$group_dset$</code> dataset</h3>
<div id="outline-container-org31914ff" class="outline-3">
<h3 id="org31914ff"><span class="section-number-3">1.9</span> Template for has/read/write the <code>$group_dset$</code> dataset</h3>
<div class="outline-text-3" id="text-1-9">
<p>
The <code>group_dset</code> array is assumed allocated with the appropriate size.
@ -956,12 +956,12 @@ The <code>group_dset</code> array is assumed allocated with the appropriate size
</div>
</div>
<div id="outline-container-org67b2e37" class="outline-3">
<h3 id="org67b2e37"><span class="section-number-3">1.10</span> RDM struct (hard-coded)</h3>
<div id="outline-container-org5ae7ff5" class="outline-3">
<h3 id="org5ae7ff5"><span class="section-number-3">1.10</span> RDM struct (hard-coded)</h3>
<div class="outline-text-3" id="text-1-10">
</div>
<div id="outline-container-org7c77e6f" class="outline-4">
<h4 id="org7c77e6f"><span class="section-number-4">1.10.1</span> Read the complete struct</h4>
<div id="outline-container-org58a7cc9" class="outline-4">
<h4 id="org58a7cc9"><span class="section-number-4">1.10.1</span> Read the complete struct</h4>
<div class="outline-text-4" id="text-1-10-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>);
@ -1056,8 +1056,8 @@ The <code>group_dset</code> array is assumed allocated with the appropriate size
</div>
</div>
<div id="outline-container-org49fb2cc" class="outline-4">
<h4 id="org49fb2cc"><span class="section-number-4">1.10.2</span> Flush the complete struct</h4>
<div id="outline-container-org2cf86d5" class="outline-4">
<h4 id="org2cf86d5"><span class="section-number-4">1.10.2</span> Flush the complete struct</h4>
<div class="outline-text-4" id="text-1-10-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>);
@ -1099,8 +1099,8 @@ The <code>group_dset</code> array is assumed allocated with the appropriate size
</div>
</div>
<div id="outline-container-org9d77d6f" class="outline-4">
<h4 id="org9d77d6f"><span class="section-number-4">1.10.3</span> Free memory</h4>
<div id="outline-container-orgfefa0c8" class="outline-4">
<h4 id="orgfefa0c8"><span class="section-number-4">1.10.3</span> Free memory</h4>
<div class="outline-text-4" id="text-1-10-3">
<p>
Memory is allocated when reading. The followig function frees memory.
@ -1136,8 +1136,8 @@ Memory is allocated when reading. The followig function frees memory.
</div>
</div>
<div id="outline-container-orgbbcfdcf" class="outline-4">
<h4 id="orgbbcfdcf"><span class="section-number-4">1.10.4</span> Read/Write the one<sub>e</sub> attribute</h4>
<div id="outline-container-org49ee03c" class="outline-4">
<h4 id="org49ee03c"><span class="section-number-4">1.10.4</span> Read/Write the one<sub>e</sub> attribute</h4>
<div class="outline-text-4" id="text-1-10-4">
<p>
The <code>one_e</code> array is assumed allocated with the appropriate size.
@ -1203,8 +1203,8 @@ The <code>one_e</code> array is assumed allocated with the appropriate size.
</div>
</div>
<div id="outline-container-orga272123" class="outline-4">
<h4 id="orga272123"><span class="section-number-4">1.10.5</span> Read/Write the two<sub>e</sub> attribute</h4>
<div id="outline-container-orgb5f2fc3" class="outline-4">
<h4 id="orgb5f2fc3"><span class="section-number-4">1.10.5</span> Read/Write the two<sub>e</sub> attribute</h4>
<div class="outline-text-4" id="text-1-10-5">
<p>
<code>two_e</code> is a sparse data structure, which can be too large to fit
@ -1312,7 +1312,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-05-28 Fri 09:44</p>
<p class="date">Created: 2021-05-28 Fri 10:17</p>
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
</div>
</body>