mirror of
https://github.com/TREX-CoE/trexio.git
synced 2024-12-26 06:15:05 +01:00
Deploying to gh-pages from @ TREX-CoE/trexio@29f3a46bc4 🚀
This commit is contained in:
parent
2977b21fd7
commit
4a24c55ef8
@ -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-04-12 Mon 12:32 -->
|
||||
<!-- 2021-04-12 Mon 14:19 -->
|
||||
<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-04-12 Mon 12:32</p>
|
||||
<p class="date">Created: 2021-04-12 Mon 14:19</p>
|
||||
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||
</div>
|
||||
</body>
|
||||
|
1882
htmlize.el
1882
htmlize.el
File diff suppressed because it is too large
Load Diff
@ -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-04-12 Mon 12:32 -->
|
||||
<!-- 2021-04-12 Mon 14:19 -->
|
||||
<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-04-12 Mon 12:32</p>
|
||||
<p class="date">Created: 2021-04-12 Mon 14:19</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-04-12 Mon 12:32 -->
|
||||
<!-- 2021-04-12 Mon 14:19 -->
|
||||
<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,45 +311,45 @@ for the JavaScript code in this tag.
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents">
|
||||
<ul>
|
||||
<li><a href="#orgdb5c2ff">1. Coding conventions</a>
|
||||
<li><a href="#org40fab31">1. Coding conventions</a>
|
||||
<ul>
|
||||
<li><a href="#orgd2c60c4">1.1. Memory allocation</a></li>
|
||||
<li><a href="#org51f7336">1.1. Memory allocation</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgdb7da65">2. Front end</a>
|
||||
<li><a href="#org0017ba5">2. Front end</a>
|
||||
<ul>
|
||||
<li><a href="#org7d55a7b">2.1. Error handling</a></li>
|
||||
<li><a href="#org61f4b88">2.2. Back ends</a></li>
|
||||
<li><a href="#org702991d">2.3. Read/write behavior</a></li>
|
||||
<li><a href="#orgf0e14fa">2.4. TREXIO file type</a></li>
|
||||
<li><a href="#org9346ba4">2.5. Polymorphism of the file handle</a></li>
|
||||
<li><a href="#org81e2272">2.6. File opening</a></li>
|
||||
<li><a href="#orge249d7a">2.7. File closing</a></li>
|
||||
<li><a href="#org829b9b5">2.1. Error handling</a></li>
|
||||
<li><a href="#org884c1df">2.2. Back ends</a></li>
|
||||
<li><a href="#org32ffda0">2.3. Read/write behavior</a></li>
|
||||
<li><a href="#orgda5ca29">2.4. TREXIO file type</a></li>
|
||||
<li><a href="#orgf2a8d72">2.5. Polymorphism of the file handle</a></li>
|
||||
<li><a href="#org718e04f">2.6. File opening</a></li>
|
||||
<li><a href="#org56e7a81">2.7. File closing</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org8578282">3. Templates for front end</a>
|
||||
<li><a href="#orgca60c60">3. Templates for front end</a>
|
||||
<ul>
|
||||
<li><a href="#org9b85810">3.1. Templates for front end has/read/write a dimension</a>
|
||||
<li><a href="#orga8d1d7a">3.1. Templates for front end has/read/write a dimension</a>
|
||||
<ul>
|
||||
<li><a href="#orgd03e4eb">3.1.1. C templates for front end</a></li>
|
||||
<li><a href="#orgda0954e">3.1.2. Fortran templates for front end</a></li>
|
||||
<li><a href="#orga8f85ae">3.1.1. C templates for front end</a></li>
|
||||
<li><a href="#orgbd2b1c5">3.1.2. Fortran templates for front end</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org42a1e83">3.2. Templates for front end has/read/write a dataset</a>
|
||||
<li><a href="#orgf5bbbb5">3.2. Templates for front end has/read/write a dataset</a>
|
||||
<ul>
|
||||
<li><a href="#org3cc64ed">3.2.1. C templates for front end</a></li>
|
||||
<li><a href="#org9df2b23">3.2.2. Fortran templates for front end</a></li>
|
||||
<li><a href="#org654215a">3.2.1. C templates for front end</a></li>
|
||||
<li><a href="#org984f0fa">3.2.2. Fortran templates for front end</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgd887d7b">4. Fortran helper/wrapper functions</a></li>
|
||||
<li><a href="#org0504634">4. Fortran helper/wrapper functions</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgdb5c2ff" class="outline-2">
|
||||
<h2 id="orgdb5c2ff"><span class="section-number-2">1</span> Coding conventions</h2>
|
||||
<div id="outline-container-org40fab31" class="outline-2">
|
||||
<h2 id="org40fab31"><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>
|
||||
@ -364,8 +364,8 @@ for the JavaScript code in this tag.
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgd2c60c4" class="outline-3">
|
||||
<h3 id="orgd2c60c4"><span class="section-number-3">1.1</span> Memory allocation</h3>
|
||||
<div id="outline-container-org51f7336" class="outline-3">
|
||||
<h3 id="org51f7336"><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
|
||||
@ -392,8 +392,8 @@ This can be facilitated by the use of the following macro:
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgdb7da65" class="outline-2">
|
||||
<h2 id="orgdb7da65"><span class="section-number-2">2</span> Front end</h2>
|
||||
<div id="outline-container-org0017ba5" class="outline-2">
|
||||
<h2 id="org0017ba5"><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.
|
||||
@ -401,10 +401,10 @@ TREXIO front end is modular, which simplifies impelementation of new back ends.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org7d55a7b" class="outline-3">
|
||||
<h3 id="org7d55a7b"><span class="section-number-3">2.1</span> Error handling</h3>
|
||||
<div id="outline-container-org829b9b5" class="outline-3">
|
||||
<h3 id="org829b9b5"><span class="section-number-3">2.1</span> Error handling</h3>
|
||||
<div class="outline-text-3" id="text-2-1">
|
||||
<table id="orged1685d" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org5c4db7b" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -605,8 +605,8 @@ The text strings are extracted from the previous table.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org61f4b88" class="outline-3">
|
||||
<h3 id="org61f4b88"><span class="section-number-3">2.2</span> Back ends</h3>
|
||||
<div id="outline-container-org884c1df" class="outline-3">
|
||||
<h3 id="org884c1df"><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:
|
||||
@ -636,8 +636,8 @@ lines that correspond to the <code>TREXIO_JSON</code> back end (not implemented
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-org702991d" class="outline-3">
|
||||
<h3 id="org702991d"><span class="section-number-3">2.3</span> Read/write behavior</h3>
|
||||
<div id="outline-container-org32ffda0" class="outline-3">
|
||||
<h3 id="org32ffda0"><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
|
||||
@ -665,8 +665,8 @@ concurrent programs, the behavior is not specified.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-orgf0e14fa" class="outline-3">
|
||||
<h3 id="orgf0e14fa"><span class="section-number-3">2.4</span> TREXIO file type</h3>
|
||||
<div id="outline-container-orgda5ca29" class="outline-3">
|
||||
<h3 id="orgda5ca29"><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
|
||||
@ -698,8 +698,8 @@ TREXIO files will have as a first argument the TREXIO file handle.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-org9346ba4" class="outline-3">
|
||||
<h3 id="org9346ba4"><span class="section-number-3">2.5</span> Polymorphism of the file handle</h3>
|
||||
<div id="outline-container-orgf2a8d72" class="outline-3">
|
||||
<h3 id="orgf2a8d72"><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
|
||||
@ -718,8 +718,8 @@ corresponding types for all back ends can be safely casted to
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org81e2272" class="outline-3">
|
||||
<h3 id="org81e2272"><span class="section-number-3">2.6</span> File opening</h3>
|
||||
<div id="outline-container-org718e04f" class="outline-3">
|
||||
<h3 id="org718e04f"><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.
|
||||
@ -879,8 +879,8 @@ should tend to avoid renaming the <code>.txt</code> data files.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orge249d7a" class="outline-3">
|
||||
<h3 id="orge249d7a"><span class="section-number-3">2.7</span> File closing</h3>
|
||||
<div id="outline-container-org56e7a81" class="outline-3">
|
||||
<h3 id="org56e7a81"><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.
|
||||
@ -985,8 +985,8 @@ output:
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org8578282" class="outline-2">
|
||||
<h2 id="org8578282"><span class="section-number-2">3</span> Templates for front end</h2>
|
||||
<div id="outline-container-orgca60c60" class="outline-2">
|
||||
<h2 id="orgca60c60"><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>:
|
||||
@ -1147,8 +1147,8 @@ TREXIO supports I/O with single or double precision for integer and floating poi
|
||||
</div>
|
||||
|
||||
|
||||
<div id="outline-container-org9b85810" class="outline-3">
|
||||
<h3 id="org9b85810"><span class="section-number-3">3.1</span> Templates for front end has/read/write a dimension</h3>
|
||||
<div id="outline-container-orga8d1d7a" class="outline-3">
|
||||
<h3 id="orga8d1d7a"><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.
|
||||
@ -1217,8 +1217,8 @@ This section concerns API calls related to dimensioning variables.
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgd03e4eb" class="outline-4">
|
||||
<h4 id="orgd03e4eb"><span class="section-number-4">3.1.1</span> C templates for front end</h4>
|
||||
<div id="outline-container-orga8f85ae" class="outline-4">
|
||||
<h4 id="orga8f85ae"><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 functions can be found below.
|
||||
@ -1407,8 +1407,8 @@ The basic (non-suffixed) API call on dimensioning variables deals with single pr
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgda0954e" class="outline-4">
|
||||
<h4 id="orgda0954e"><span class="section-number-4">3.1.2</span> Fortran templates for front end</h4>
|
||||
<div id="outline-container-orgbd2b1c5" class="outline-4">
|
||||
<h4 id="orgbd2b1c5"><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.
|
||||
@ -1495,8 +1495,8 @@ These templates are based on the use of <code>iso_c_binding</code>. Pointers hav
|
||||
</div>
|
||||
|
||||
|
||||
<div id="outline-container-org42a1e83" class="outline-3">
|
||||
<h3 id="org42a1e83"><span class="section-number-3">3.2</span> Templates for front end has/read/write a dataset</h3>
|
||||
<div id="outline-container-orgf5bbbb5" class="outline-3">
|
||||
<h3 id="orgf5bbbb5"><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.
|
||||
@ -1565,8 +1565,8 @@ This section concerns API calls related to datasets.
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org3cc64ed" class="outline-4">
|
||||
<h4 id="org3cc64ed"><span class="section-number-4">3.2.1</span> C templates for front end</h4>
|
||||
<div id="outline-container-org654215a" class="outline-4">
|
||||
<h4 id="org654215a"><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.
|
||||
@ -1824,8 +1824,8 @@ The basic (non-suffixed) API call on datasets deals with double precision (see T
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org9df2b23" class="outline-4">
|
||||
<h4 id="org9df2b23"><span class="section-number-4">3.2.2</span> Fortran templates for front end</h4>
|
||||
<div id="outline-container-org984f0fa" class="outline-4">
|
||||
<h4 id="org984f0fa"><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>.
|
||||
@ -1912,8 +1912,8 @@ These templates are based on the use of <code>iso_c_binding</code>. Pointers hav
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgd887d7b" class="outline-2">
|
||||
<h2 id="orgd887d7b"><span class="section-number-2">4</span> Fortran helper/wrapper functions</h2>
|
||||
<div id="outline-container-org0504634" class="outline-2">
|
||||
<h2 id="org0504634"><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.
|
||||
@ -1942,7 +1942,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-04-12 Mon 12:32</p>
|
||||
<p class="date">Created: 2021-04-12 Mon 14:19</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-04-12 Mon 12:32 -->
|
||||
<!-- 2021-04-12 Mon 14:19 -->
|
||||
<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="#orgdba60cb">1. HDF5 back end</a>
|
||||
<li><a href="#org56d135b">1. HDF5 back end</a>
|
||||
<ul>
|
||||
<li><a href="#org73945cd">1.1. Template for HDF5 definitions</a></li>
|
||||
<li><a href="#orge10ebcf">1.2. Template for HDF5 structures</a></li>
|
||||
<li><a href="#org9ff3f5e">1.3. Template for HDF5 init/deinit</a></li>
|
||||
<li><a href="#org74ba7cb">1.4. Template for HDF5 has/read/write a number</a></li>
|
||||
<li><a href="#org01b35d3">1.5. Template for HDF5 has/read/write a dataset</a></li>
|
||||
<li><a href="#orgbf8699e">1.1. Template for HDF5 definitions</a></li>
|
||||
<li><a href="#org5e33ea2">1.2. Template for HDF5 structures</a></li>
|
||||
<li><a href="#org1a90678">1.3. Template for HDF5 init/deinit</a></li>
|
||||
<li><a href="#orgcdd8830">1.4. Template for HDF5 has/read/write a number</a></li>
|
||||
<li><a href="#org55bb965">1.5. Template for HDF5 has/read/write a dataset</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgdba60cb" class="outline-2">
|
||||
<h2 id="orgdba60cb"><span class="section-number-2">1</span> HDF5 back end</h2>
|
||||
<div id="outline-container-org56d135b" class="outline-2">
|
||||
<h2 id="org56d135b"><span class="section-number-2">1</span> HDF5 back end</h2>
|
||||
<div class="outline-text-2" id="text-1">
|
||||
</div>
|
||||
<div id="outline-container-org73945cd" class="outline-3">
|
||||
<h3 id="org73945cd"><span class="section-number-3">1.1</span> Template for HDF5 definitions</h3>
|
||||
<div id="outline-container-orgbf8699e" class="outline-3">
|
||||
<h3 id="orgbf8699e"><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-orge10ebcf" class="outline-3">
|
||||
<h3 id="orge10ebcf"><span class="section-number-3">1.2</span> Template for HDF5 structures</h3>
|
||||
<div id="outline-container-org5e33ea2" class="outline-3">
|
||||
<h3 id="org5e33ea2"><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-org9ff3f5e" class="outline-3">
|
||||
<h3 id="org9ff3f5e"><span class="section-number-3">1.3</span> Template for HDF5 init/deinit</h3>
|
||||
<div id="outline-container-org1a90678" class="outline-3">
|
||||
<h3 id="org1a90678"><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-org74ba7cb" class="outline-3">
|
||||
<h3 id="org74ba7cb"><span class="section-number-3">1.4</span> Template for HDF5 has/read/write a number</h3>
|
||||
<div id="outline-container-orgcdd8830" class="outline-3">
|
||||
<h3 id="orgcdd8830"><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>
|
||||
@ -564,8 +564,8 @@ for the JavaScript code in this tag.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org01b35d3" class="outline-3">
|
||||
<h3 id="org01b35d3"><span class="section-number-3">1.5</span> Template for HDF5 has/read/write a dataset</h3>
|
||||
<div id="outline-container-org55bb965" class="outline-3">
|
||||
<h3 id="org55bb965"><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>
|
||||
@ -696,7 +696,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-04-12 Mon 12:32</p>
|
||||
<p class="date">Created: 2021-04-12 Mon 14:19</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-04-12 Mon 12:32 -->
|
||||
<!-- 2021-04-12 Mon 14:19 -->
|
||||
<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="#org1b9adf5">1. TEXT back end</a>
|
||||
<li><a href="#org2a245c6">1. TEXT back end</a>
|
||||
<ul>
|
||||
<li><a href="#org56752ec">1.1. Template for group-related structures in text back end</a></li>
|
||||
<li><a href="#org18ba089">1.2. Template for general structure in text back end</a></li>
|
||||
<li><a href="#org30b735b">1.3. Initialize function (constant part)</a></li>
|
||||
<li><a href="#org06bf695">1.4. Deinitialize function (templated part)</a></li>
|
||||
<li><a href="#org8418bd1">1.5. Template for text read struct</a></li>
|
||||
<li><a href="#org9e89599">1.6. Template for text flush struct</a></li>
|
||||
<li><a href="#org6c50795">1.7. Template for text free memory</a></li>
|
||||
<li><a href="#org87ecaab">1.8. Template for has/read/write the <code>$group_num$</code> attribute</a></li>
|
||||
<li><a href="#org9833a14">1.9. Template for has/read/write the <code>$group_dset$</code> dataset</a></li>
|
||||
<li><a href="#org0ce2dca">1.10. RDM struct (hard-coded)</a>
|
||||
<li><a href="#orgf523bc9">1.1. Template for group-related structures in text back end</a></li>
|
||||
<li><a href="#org0602dca">1.2. Template for general structure in text back end</a></li>
|
||||
<li><a href="#orgf5669dc">1.3. Initialize function (constant part)</a></li>
|
||||
<li><a href="#org84e9854">1.4. Deinitialize function (templated part)</a></li>
|
||||
<li><a href="#org631877b">1.5. Template for text read struct</a></li>
|
||||
<li><a href="#org8cc9169">1.6. Template for text flush struct</a></li>
|
||||
<li><a href="#org23f3489">1.7. Template for text free memory</a></li>
|
||||
<li><a href="#org6dee40e">1.8. Template for has/read/write the <code>$group_num$</code> attribute</a></li>
|
||||
<li><a href="#org11d0eae">1.9. Template for has/read/write the <code>$group_dset$</code> dataset</a></li>
|
||||
<li><a href="#org00e8b57">1.10. RDM struct (hard-coded)</a>
|
||||
<ul>
|
||||
<li><a href="#org719709c">1.10.1. Read the complete struct</a></li>
|
||||
<li><a href="#org1fcb7a6">1.10.2. Flush the complete struct</a></li>
|
||||
<li><a href="#orgee780c9">1.10.3. Free memory</a></li>
|
||||
<li><a href="#orgeb84866">1.10.4. Read/Write the one<sub>e</sub> attribute</a></li>
|
||||
<li><a href="#orge7992a4">1.10.5. Read/Write the two<sub>e</sub> attribute</a></li>
|
||||
<li><a href="#org915cd29">1.10.1. Read the complete struct</a></li>
|
||||
<li><a href="#org0b11bb8">1.10.2. Flush the complete struct</a></li>
|
||||
<li><a href="#org9c78b49">1.10.3. Free memory</a></li>
|
||||
<li><a href="#orgea6fc4b">1.10.4. Read/Write the one<sub>e</sub> attribute</a></li>
|
||||
<li><a href="#org8b90e6c">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-org1b9adf5" class="outline-2">
|
||||
<h2 id="org1b9adf5"><span class="section-number-2">1</span> TEXT back end</h2>
|
||||
<div id="outline-container-org2a245c6" class="outline-2">
|
||||
<h2 id="org2a245c6"><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-org56752ec" class="outline-3">
|
||||
<h3 id="org56752ec"><span class="section-number-3">1.1</span> Template for group-related structures in text back end</h3>
|
||||
<div id="outline-container-orgf523bc9" class="outline-3">
|
||||
<h3 id="orgf523bc9"><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-org18ba089" class="outline-3">
|
||||
<h3 id="org18ba089"><span class="section-number-3">1.2</span> Template for general structure in text back end</h3>
|
||||
<div id="outline-container-org0602dca" class="outline-3">
|
||||
<h3 id="org0602dca"><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-org30b735b" class="outline-3">
|
||||
<h3 id="org30b735b"><span class="section-number-3">1.3</span> Initialize function (constant part)</h3>
|
||||
<div id="outline-container-orgf5669dc" class="outline-3">
|
||||
<h3 id="orgf5669dc"><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>
|
||||
@ -507,8 +507,8 @@ The file is written when closed, or when the flush function is called.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org06bf695" class="outline-3">
|
||||
<h3 id="org06bf695"><span class="section-number-3">1.4</span> Deinitialize function (templated part)</h3>
|
||||
<div id="outline-container-org84e9854" class="outline-3">
|
||||
<h3 id="org84e9854"><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>
|
||||
@ -532,8 +532,8 @@ The file is written when closed, or when the flush function is called.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org8418bd1" class="outline-3">
|
||||
<h3 id="org8418bd1"><span class="section-number-3">1.5</span> Template for text read struct</h3>
|
||||
<div id="outline-container-org631877b" class="outline-3">
|
||||
<h3 id="org631877b"><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*
|
||||
@ -724,8 +724,8 @@ trexio_text_read_$group$ (<span style="color: #228b22;">trexio_text_t</span>* <s
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org9e89599" class="outline-3">
|
||||
<h3 id="org9e89599"><span class="section-number-3">1.6</span> Template for text flush struct</h3>
|
||||
<div id="outline-container-org8cc9169" class="outline-3">
|
||||
<h3 id="org8cc9169"><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>
|
||||
@ -783,8 +783,8 @@ trexio_text_read_$group$ (<span style="color: #228b22;">trexio_text_t</span>* <s
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org6c50795" class="outline-3">
|
||||
<h3 id="org6c50795"><span class="section-number-3">1.7</span> Template for text free memory</h3>
|
||||
<div id="outline-container-org23f3489" class="outline-3">
|
||||
<h3 id="org23f3489"><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.
|
||||
@ -825,8 +825,8 @@ Memory is allocated when reading. The following function frees memory.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org87ecaab" class="outline-3">
|
||||
<h3 id="org87ecaab"><span class="section-number-3">1.8</span> Template for has/read/write the <code>$group_num$</code> attribute</h3>
|
||||
<div id="outline-container-org6dee40e" class="outline-3">
|
||||
<h3 id="org6dee40e"><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>
|
||||
@ -888,8 +888,8 @@ Memory is allocated when reading. The following function frees memory.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org9833a14" class="outline-3">
|
||||
<h3 id="org9833a14"><span class="section-number-3">1.9</span> Template for has/read/write the <code>$group_dset$</code> dataset</h3>
|
||||
<div id="outline-container-org11d0eae" class="outline-3">
|
||||
<h3 id="org11d0eae"><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.
|
||||
@ -986,12 +986,12 @@ The <code>group_dset</code> array is assumed allocated with the appropriate size
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org0ce2dca" class="outline-3">
|
||||
<h3 id="org0ce2dca"><span class="section-number-3">1.10</span> RDM struct (hard-coded)</h3>
|
||||
<div id="outline-container-org00e8b57" class="outline-3">
|
||||
<h3 id="org00e8b57"><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-org719709c" class="outline-4">
|
||||
<h4 id="org719709c"><span class="section-number-4">1.10.1</span> Read the complete struct</h4>
|
||||
<div id="outline-container-org915cd29" class="outline-4">
|
||||
<h4 id="org915cd29"><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>);
|
||||
@ -1085,8 +1085,8 @@ The <code>group_dset</code> array is assumed allocated with the appropriate size
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org1fcb7a6" class="outline-4">
|
||||
<h4 id="org1fcb7a6"><span class="section-number-4">1.10.2</span> Flush the complete struct</h4>
|
||||
<div id="outline-container-org0b11bb8" class="outline-4">
|
||||
<h4 id="org0b11bb8"><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>);
|
||||
@ -1129,8 +1129,8 @@ The <code>group_dset</code> array is assumed allocated with the appropriate size
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgee780c9" class="outline-4">
|
||||
<h4 id="orgee780c9"><span class="section-number-4">1.10.3</span> Free memory</h4>
|
||||
<div id="outline-container-org9c78b49" class="outline-4">
|
||||
<h4 id="org9c78b49"><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.
|
||||
@ -1175,8 +1175,8 @@ Memory is allocated when reading. The followig function frees memory.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgeb84866" class="outline-4">
|
||||
<h4 id="orgeb84866"><span class="section-number-4">1.10.4</span> Read/Write the one<sub>e</sub> attribute</h4>
|
||||
<div id="outline-container-orgea6fc4b" class="outline-4">
|
||||
<h4 id="orgea6fc4b"><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.
|
||||
@ -1242,8 +1242,8 @@ The <code>one_e</code> array is assumed allocated with the appropriate size.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orge7992a4" class="outline-4">
|
||||
<h4 id="orge7992a4"><span class="section-number-4">1.10.5</span> Read/Write the two<sub>e</sub> attribute</h4>
|
||||
<div id="outline-container-org8b90e6c" class="outline-4">
|
||||
<h4 id="org8b90e6c"><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
|
||||
@ -1351,7 +1351,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-04-12 Mon 12:32</p>
|
||||
<p class="date">Created: 2021-04-12 Mon 14:19</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