mirror of
https://github.com/TREX-CoE/trexio.git
synced 2024-12-26 14:23:46 +01:00
Deploying to gh-pages from @ TREX-CoE/trexio@a203bf8958 🚀
This commit is contained in:
parent
5982da8d6e
commit
75b770da7f
@ -3,7 +3,7 @@
|
|||||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||||
<head>
|
<head>
|
||||||
<!-- 2021-06-15 Tue 10:12 -->
|
<!-- 2021-06-16 Wed 10:21 -->
|
||||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<title>TREXIO source code documentation</title>
|
<title>TREXIO source code documentation</title>
|
||||||
@ -341,7 +341,7 @@ and bug reports should be submitted at
|
|||||||
</div>
|
</div>
|
||||||
<div id="postamble" class="status">
|
<div id="postamble" class="status">
|
||||||
<p class="author">Author: TREX-CoE</p>
|
<p class="author">Author: TREX-CoE</p>
|
||||||
<p class="date">Created: 2021-06-15 Tue 10:12</p>
|
<p class="date">Created: 2021-06-16 Wed 10:21</p>
|
||||||
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||||
<head>
|
<head>
|
||||||
<!-- 2021-06-15 Tue 10:12 -->
|
<!-- 2021-06-16 Wed 10:21 -->
|
||||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<title>TREXIO source code documentation</title>
|
<title>TREXIO source code documentation</title>
|
||||||
@ -341,7 +341,7 @@ and bug reports should be submitted at
|
|||||||
</div>
|
</div>
|
||||||
<div id="postamble" class="status">
|
<div id="postamble" class="status">
|
||||||
<p class="author">Author: TREX-CoE</p>
|
<p class="author">Author: TREX-CoE</p>
|
||||||
<p class="date">Created: 2021-06-15 Tue 10:12</p>
|
<p class="date">Created: 2021-06-16 Wed 10:21</p>
|
||||||
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||||
<head>
|
<head>
|
||||||
<!-- 2021-06-15 Tue 10:12 -->
|
<!-- 2021-06-16 Wed 10:21 -->
|
||||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<title>Front end API</title>
|
<title>Front end API</title>
|
||||||
@ -333,61 +333,61 @@ for the JavaScript code in this tag.
|
|||||||
<h2>Table of Contents</h2>
|
<h2>Table of Contents</h2>
|
||||||
<div id="text-table-of-contents">
|
<div id="text-table-of-contents">
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgd6cf0f3">1. Coding conventions</a>
|
<li><a href="#orgcaef329">1. Coding conventions</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org9bee804">1.1. Memory allocation</a></li>
|
<li><a href="#org3ba1be7">1.1. Memory allocation</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#orgb79de6d">2. Front end</a>
|
<li><a href="#org6220ca8">2. Front end</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org91066a8">2.1. Error handling</a></li>
|
<li><a href="#orgc2d8fca">2.1. Error handling</a></li>
|
||||||
<li><a href="#org6e914c8">2.2. Back ends</a></li>
|
<li><a href="#org3061095">2.2. Back ends</a></li>
|
||||||
<li><a href="#org584dbcc">2.3. Read/write behavior</a></li>
|
<li><a href="#orgb0009c1">2.3. Read/write behavior</a></li>
|
||||||
<li><a href="#org1b32c81">2.4. TREXIO file type</a></li>
|
<li><a href="#org085f984">2.4. TREXIO file type</a></li>
|
||||||
<li><a href="#org434d114">2.5. Polymorphism of the file handle</a></li>
|
<li><a href="#org4223870">2.5. Polymorphism of the file handle</a></li>
|
||||||
<li><a href="#org9a9c848">2.6. File opening</a></li>
|
<li><a href="#org114d170">2.6. File opening</a></li>
|
||||||
<li><a href="#org0fd434d">2.7. File closing</a></li>
|
<li><a href="#orgd72364c">2.7. File closing</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#orgb7275e7">3. Templates for front end</a>
|
<li><a href="#org2d018a4">3. Templates for front end</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgb64548f">3.1. Description</a></li>
|
<li><a href="#orgfce91be">3.1. Description</a></li>
|
||||||
<li><a href="#org14be2a5">3.2. Templates for front end has/read/write a single dimensioning variable</a>
|
<li><a href="#org7b3a93d">3.2. Templates for front end has/read/write a single dimensioning variable</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org554243d">3.2.1. C templates for front end</a></li>
|
<li><a href="#org4da212b">3.2.1. C templates for front end</a></li>
|
||||||
<li><a href="#orgf33e350">3.2.2. Fortran templates for front end</a></li>
|
<li><a href="#org42d22e3">3.2.2. Fortran templates for front end</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org7c21450">3.3. Templates for front end has/read/write a dataset of numerical data</a>
|
<li><a href="#org03af9ca">3.3. Templates for front end has/read/write a dataset of numerical data</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgcf70d88">3.3.1. C templates for front end</a></li>
|
<li><a href="#org215809b">3.3.1. C templates for front end</a></li>
|
||||||
<li><a href="#org1c26748">3.3.2. Fortran templates for front end</a></li>
|
<li><a href="#org2c0b57d">3.3.2. Fortran templates for front end</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org853c4f5">3.4. Sparse data structures</a></li>
|
<li><a href="#org8329280">3.4. Sparse data structures</a></li>
|
||||||
<li><a href="#orgbe87fa8">3.5. Templates for front end has/read/write a dataset of strings</a>
|
<li><a href="#org88935cb">3.5. Templates for front end has/read/write a dataset of strings</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgda9c8ba">3.5.1. Introduction</a></li>
|
<li><a href="#org5d1620f">3.5.1. Introduction</a></li>
|
||||||
<li><a href="#org728be29">3.5.2. C templates for front end</a></li>
|
<li><a href="#org20560a9">3.5.2. C templates for front end</a></li>
|
||||||
<li><a href="#orgb46599f">3.5.3. Fortran templates for front end</a></li>
|
<li><a href="#org622064d">3.5.3. Fortran templates for front end</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org79b4139">3.6. Templates for front end has/read/write a single string attribute</a>
|
<li><a href="#org86e77d2">3.6. Templates for front end has/read/write a single string attribute</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgc456fc2">3.6.1. Introduction</a></li>
|
<li><a href="#org81bb49a">3.6.1. Introduction</a></li>
|
||||||
<li><a href="#org3406e34">3.6.2. C templates for front end</a></li>
|
<li><a href="#org8bf59e3">3.6.2. C templates for front end</a></li>
|
||||||
<li><a href="#org63923d0">3.6.3. Fortran templates for front end</a></li>
|
<li><a href="#org9337deb">3.6.3. Fortran templates for front end</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#orga5b1c0c">4. Fortran helper/wrapper functions</a></li>
|
<li><a href="#org0b34c9d">4. Fortran helper/wrapper functions</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgd6cf0f3" class="outline-2">
|
<div id="outline-container-orgcaef329" class="outline-2">
|
||||||
<h2 id="orgd6cf0f3"><span class="section-number-2">1</span> Coding conventions</h2>
|
<h2 id="orgcaef329"><span class="section-number-2">1</span> Coding conventions</h2>
|
||||||
<div class="outline-text-2" id="text-1">
|
<div class="outline-text-2" id="text-1">
|
||||||
<ul class="org-ul">
|
<ul class="org-ul">
|
||||||
<li>integer types will be defined using types given in <code>stdint.h</code></li>
|
<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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org9bee804" class="outline-3">
|
<div id="outline-container-org3ba1be7" class="outline-3">
|
||||||
<h3 id="org9bee804"><span class="section-number-3">1.1</span> Memory allocation</h3>
|
<h3 id="org3ba1be7"><span class="section-number-3">1.1</span> Memory allocation</h3>
|
||||||
<div class="outline-text-3" id="text-1-1">
|
<div class="outline-text-3" id="text-1-1">
|
||||||
<p>
|
<p>
|
||||||
Memory allocation of structures can be facilitated by using the
|
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>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgb79de6d" class="outline-2">
|
<div id="outline-container-org6220ca8" class="outline-2">
|
||||||
<h2 id="orgb79de6d"><span class="section-number-2">2</span> Front end</h2>
|
<h2 id="org6220ca8"><span class="section-number-2">2</span> Front end</h2>
|
||||||
<div class="outline-text-2" id="text-2">
|
<div class="outline-text-2" id="text-2">
|
||||||
<p>
|
<p>
|
||||||
All calls to TREXIO are thread-safe.
|
All calls to TREXIO are thread-safe.
|
||||||
@ -447,10 +447,10 @@ TREXIO front end is modular, which simplifies implementation of new back ends.
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org91066a8" class="outline-3">
|
<div id="outline-container-orgc2d8fca" class="outline-3">
|
||||||
<h3 id="org91066a8"><span class="section-number-3">2.1</span> Error handling</h3>
|
<h3 id="orgc2d8fca"><span class="section-number-3">2.1</span> Error handling</h3>
|
||||||
<div class="outline-text-3" id="text-2-1">
|
<div class="outline-text-3" id="text-2-1">
|
||||||
<table id="org2262f66" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org5e826c1" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -750,8 +750,8 @@ The text strings are extracted from the previous table.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org6e914c8" class="outline-3">
|
<div id="outline-container-org3061095" class="outline-3">
|
||||||
<h3 id="org6e914c8"><span class="section-number-3">2.2</span> Back ends</h3>
|
<h3 id="org3061095"><span class="section-number-3">2.2</span> Back ends</h3>
|
||||||
<div class="outline-text-3" id="text-2-2">
|
<div class="outline-text-3" id="text-2-2">
|
||||||
<p>
|
<p>
|
||||||
TREXIO has several back ends:
|
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>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-org584dbcc" class="outline-3">
|
<div id="outline-container-orgb0009c1" class="outline-3">
|
||||||
<h3 id="org584dbcc"><span class="section-number-3">2.3</span> Read/write behavior</h3>
|
<h3 id="orgb0009c1"><span class="section-number-3">2.3</span> Read/write behavior</h3>
|
||||||
<div class="outline-text-3" id="text-2-3">
|
<div class="outline-text-3" id="text-2-3">
|
||||||
<p>
|
<p>
|
||||||
Every time a reading function is called, the data is read from the
|
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>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-org1b32c81" class="outline-3">
|
<div id="outline-container-org085f984" class="outline-3">
|
||||||
<h3 id="org1b32c81"><span class="section-number-3">2.4</span> TREXIO file type</h3>
|
<h3 id="org085f984"><span class="section-number-3">2.4</span> TREXIO file type</h3>
|
||||||
<div class="outline-text-3" id="text-2-4">
|
<div class="outline-text-3" id="text-2-4">
|
||||||
<p>
|
<p>
|
||||||
<code>trexio_s</code> is the the main type for TREXIO files, visible to the users
|
<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>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-org434d114" class="outline-3">
|
<div id="outline-container-org4223870" class="outline-3">
|
||||||
<h3 id="org434d114"><span class="section-number-3">2.5</span> Polymorphism of the file handle</h3>
|
<h3 id="org4223870"><span class="section-number-3">2.5</span> Polymorphism of the file handle</h3>
|
||||||
<div class="outline-text-3" id="text-2-5">
|
<div class="outline-text-3" id="text-2-5">
|
||||||
<p>
|
<p>
|
||||||
Polymorphism of the <code>trexio_t</code> type is handled by ensuring that the
|
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>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org9a9c848" class="outline-3">
|
<div id="outline-container-org114d170" class="outline-3">
|
||||||
<h3 id="org9a9c848"><span class="section-number-3">2.6</span> File opening</h3>
|
<h3 id="org114d170"><span class="section-number-3">2.6</span> File opening</h3>
|
||||||
<div class="outline-text-3" id="text-2-6">
|
<div class="outline-text-3" id="text-2-6">
|
||||||
<p>
|
<p>
|
||||||
<code>trexio_open</code> creates a new TREXIO file or opens existing one.
|
<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>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org0fd434d" class="outline-3">
|
<div id="outline-container-orgd72364c" class="outline-3">
|
||||||
<h3 id="org0fd434d"><span class="section-number-3">2.7</span> File closing</h3>
|
<h3 id="orgd72364c"><span class="section-number-3">2.7</span> File closing</h3>
|
||||||
<div class="outline-text-3" id="text-2-7">
|
<div class="outline-text-3" id="text-2-7">
|
||||||
<p>
|
<p>
|
||||||
<code>trexio_close</code> closes an existing <code>trexio_t</code> file.
|
<code>trexio_close</code> closes an existing <code>trexio_t</code> file.
|
||||||
@ -1155,12 +1155,12 @@ output:
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgb7275e7" class="outline-2">
|
<div id="outline-container-org2d018a4" class="outline-2">
|
||||||
<h2 id="orgb7275e7"><span class="section-number-2">3</span> Templates for front end</h2>
|
<h2 id="org2d018a4"><span class="section-number-2">3</span> Templates for front end</h2>
|
||||||
<div class="outline-text-2" id="text-3">
|
<div class="outline-text-2" id="text-3">
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-orgb64548f" class="outline-3">
|
<div id="outline-container-orgfce91be" class="outline-3">
|
||||||
<h3 id="orgb64548f"><span class="section-number-3">3.1</span> Description</h3>
|
<h3 id="orgfce91be"><span class="section-number-3">3.1</span> Description</h3>
|
||||||
<div class="outline-text-3" id="text-3-1">
|
<div class="outline-text-3" id="text-3-1">
|
||||||
<p>
|
<p>
|
||||||
Consider the following block of <code>trex.json</code>:
|
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>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org14be2a5" class="outline-3">
|
<div id="outline-container-org7b3a93d" class="outline-3">
|
||||||
<h3 id="org14be2a5"><span class="section-number-3">3.2</span> Templates for front end has/read/write a single dimensioning variable</h3>
|
<h3 id="org7b3a93d"><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">
|
<div class="outline-text-3" id="text-3-2">
|
||||||
<p>
|
<p>
|
||||||
This section concerns API calls related to dimensioning variables.
|
This section concerns API calls related to dimensioning variables.
|
||||||
@ -1420,8 +1420,8 @@ This section concerns API calls related to dimensioning variables.
|
|||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org554243d" class="outline-4">
|
<div id="outline-container-org4da212b" class="outline-4">
|
||||||
<h4 id="org554243d"><span class="section-number-4">3.2.1</span> C templates for front end</h4>
|
<h4 id="org4da212b"><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">
|
<div class="outline-text-4" id="text-3-2-1">
|
||||||
<p>
|
<p>
|
||||||
The <code>C</code> templates that correspond to each of the abovementioned
|
The <code>C</code> templates that correspond to each of the abovementioned
|
||||||
@ -1610,8 +1610,8 @@ precision (see Table above).
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgf33e350" class="outline-4">
|
<div id="outline-container-org42d22e3" class="outline-4">
|
||||||
<h4 id="orgf33e350"><span class="section-number-4">3.2.2</span> Fortran templates for front end</h4>
|
<h4 id="org42d22e3"><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">
|
<div class="outline-text-4" id="text-3-2-2">
|
||||||
<p>
|
<p>
|
||||||
The <code>Fortran</code> templates that provide an access to the <code>C</code> API calls from Fortran.
|
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>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org7c21450" class="outline-3">
|
<div id="outline-container-org03af9ca" class="outline-3">
|
||||||
<h3 id="org7c21450"><span class="section-number-3">3.3</span> Templates for front end has/read/write a dataset of numerical data</h3>
|
<h3 id="org03af9ca"><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">
|
<div class="outline-text-3" id="text-3-3">
|
||||||
<p>
|
<p>
|
||||||
This section concerns API calls related to datasets.
|
This section concerns API calls related to datasets.
|
||||||
@ -1767,8 +1767,8 @@ This section concerns API calls related to datasets.
|
|||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgcf70d88" class="outline-4">
|
<div id="outline-container-org215809b" class="outline-4">
|
||||||
<h4 id="orgcf70d88"><span class="section-number-4">3.3.1</span> C templates for front end</h4>
|
<h4 id="org215809b"><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">
|
<div class="outline-text-4" id="text-3-3-1">
|
||||||
<p>
|
<p>
|
||||||
The C templates that correspond to each of the abovementioned functions can be found below.
|
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>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org1c26748" class="outline-4">
|
<div id="outline-container-org2c0b57d" class="outline-4">
|
||||||
<h4 id="org1c26748"><span class="section-number-4">3.3.2</span> Fortran templates for front end</h4>
|
<h4 id="org2c0b57d"><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">
|
<div class="outline-text-4" id="text-3-3-2">
|
||||||
<p>
|
<p>
|
||||||
The <code>Fortran</code> templates that provide an access to the <code>C</code> API calls from <code>Fortran</code>.
|
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>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org853c4f5" class="outline-3">
|
<div id="outline-container-org8329280" class="outline-3">
|
||||||
<h3 id="org853c4f5"><span class="section-number-3">3.4</span> Sparse data structures</h3>
|
<h3 id="org8329280"><span class="section-number-3">3.4</span> Sparse data structures</h3>
|
||||||
<div class="outline-text-3" id="text-3-4">
|
<div class="outline-text-3" id="text-3-4">
|
||||||
<p>
|
<p>
|
||||||
Sparse data structures are used typically for large tensors such as
|
Sparse data structures are used typically for large tensors such as
|
||||||
@ -2316,12 +2316,12 @@ For the values,
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgbe87fa8" class="outline-3">
|
<div id="outline-container-org88935cb" class="outline-3">
|
||||||
<h3 id="orgbe87fa8"><span class="section-number-3">3.5</span> Templates for front end has/read/write a dataset of strings</h3>
|
<h3 id="org88935cb"><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 class="outline-text-3" id="text-3-5">
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-orgda9c8ba" class="outline-4">
|
<div id="outline-container-org5d1620f" class="outline-4">
|
||||||
<h4 id="orgda9c8ba"><span class="section-number-4">3.5.1</span> Introduction</h4>
|
<h4 id="org5d1620f"><span class="section-number-4">3.5.1</span> Introduction</h4>
|
||||||
<div class="outline-text-4" id="text-3-5-1">
|
<div class="outline-text-4" id="text-3-5-1">
|
||||||
<p>
|
<p>
|
||||||
This section concerns API calls related to datasets of strings.
|
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>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org728be29" class="outline-4">
|
<div id="outline-container-org20560a9" class="outline-4">
|
||||||
<h4 id="org728be29"><span class="section-number-4">3.5.2</span> C templates for front end</h4>
|
<h4 id="org20560a9"><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">
|
<div class="outline-text-4" id="text-3-5-2">
|
||||||
<p>
|
<p>
|
||||||
First parameter is the <code>TREXIO</code> file handle. Second parameter is the variable to be written/read
|
First parameter is the <code>TREXIO</code> file handle. Second parameter is the variable to be written/read
|
||||||
@ -2604,8 +2604,8 @@ to/from the <code>TREXIO</code> file (except for <code>trexio_has_</code> functi
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgb46599f" class="outline-4">
|
<div id="outline-container-org622064d" class="outline-4">
|
||||||
<h4 id="orgb46599f"><span class="section-number-4">3.5.3</span> Fortran templates for front end</h4>
|
<h4 id="org622064d"><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">
|
<div class="outline-text-4" id="text-3-5-3">
|
||||||
<p>
|
<p>
|
||||||
The <code>Fortran</code> templates that provide an access to the <code>C</code> API calls from <code>Fortran</code>.
|
The <code>Fortran</code> templates that provide an access to the <code>C</code> API calls from <code>Fortran</code>.
|
||||||
@ -2702,12 +2702,12 @@ These templates are based on the use of <code>iso_c_binding</code>. Pointers hav
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org79b4139" class="outline-3">
|
<div id="outline-container-org86e77d2" class="outline-3">
|
||||||
<h3 id="org79b4139"><span class="section-number-3">3.6</span> Templates for front end has/read/write a single string attribute</h3>
|
<h3 id="org86e77d2"><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 class="outline-text-3" id="text-3-6">
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-orgc456fc2" class="outline-4">
|
<div id="outline-container-org81bb49a" class="outline-4">
|
||||||
<h4 id="orgc456fc2"><span class="section-number-4">3.6.1</span> Introduction</h4>
|
<h4 id="org81bb49a"><span class="section-number-4">3.6.1</span> Introduction</h4>
|
||||||
<div class="outline-text-4" id="text-3-6-1">
|
<div class="outline-text-4" id="text-3-6-1">
|
||||||
<p>
|
<p>
|
||||||
This section concerns API calls related to string attributes.
|
This section concerns API calls related to string attributes.
|
||||||
@ -2747,8 +2747,8 @@ This section concerns API calls related to string attributes.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org3406e34" class="outline-4">
|
<div id="outline-container-org8bf59e3" class="outline-4">
|
||||||
<h4 id="org3406e34"><span class="section-number-4">3.6.2</span> C templates for front end</h4>
|
<h4 id="org8bf59e3"><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="outline-text-4" id="text-3-6-2">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c"><span style="color: #228b22;">trexio_exit_code</span>
|
<pre class="src src-c"><span style="color: #228b22;">trexio_exit_code</span>
|
||||||
@ -2846,8 +2846,8 @@ This section concerns API calls related to string attributes.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org63923d0" class="outline-4">
|
<div id="outline-container-org9337deb" class="outline-4">
|
||||||
<h4 id="org63923d0"><span class="section-number-4">3.6.3</span> Fortran templates for front end</h4>
|
<h4 id="org9337deb"><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">
|
<div class="outline-text-4" id="text-3-6-3">
|
||||||
<p>
|
<p>
|
||||||
The <code>Fortran</code> templates that provide an access to the <code>C</code> API calls from Fortran.
|
The <code>Fortran</code> templates that provide an access to the <code>C</code> API calls from Fortran.
|
||||||
@ -2926,8 +2926,8 @@ These templates are based on the use of <code>iso_c_binding</code>. Pointers hav
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orga5b1c0c" class="outline-2">
|
<div id="outline-container-org0b34c9d" class="outline-2">
|
||||||
<h2 id="orga5b1c0c"><span class="section-number-2">4</span> Fortran helper/wrapper functions</h2>
|
<h2 id="org0b34c9d"><span class="section-number-2">4</span> Fortran helper/wrapper functions</h2>
|
||||||
<div class="outline-text-2" id="text-4">
|
<div class="outline-text-2" id="text-4">
|
||||||
<p>
|
<p>
|
||||||
The function below adapts the original C-based <code>trexio_open</code> for Fortran.
|
The function below adapts the original C-based <code>trexio_open</code> for Fortran.
|
||||||
@ -3061,7 +3061,7 @@ two code are identical, i.e. if the <code>assert</code> statement pass.
|
|||||||
</div>
|
</div>
|
||||||
<div id="postamble" class="status">
|
<div id="postamble" class="status">
|
||||||
<p class="author">Author: TREX-CoE</p>
|
<p class="author">Author: TREX-CoE</p>
|
||||||
<p class="date">Created: 2021-06-15 Tue 10:12</p>
|
<p class="date">Created: 2021-06-16 Wed 10:21</p>
|
||||||
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||||
<head>
|
<head>
|
||||||
<!-- 2021-06-15 Tue 10:12 -->
|
<!-- 2021-06-16 Wed 10:21 -->
|
||||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<title>HDF5 back end</title>
|
<title>HDF5 back end</title>
|
||||||
@ -311,27 +311,27 @@ for the JavaScript code in this tag.
|
|||||||
<h2>Table of Contents</h2>
|
<h2>Table of Contents</h2>
|
||||||
<div id="text-table-of-contents">
|
<div id="text-table-of-contents">
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgd363f8a">1. HDF5 back end</a>
|
<li><a href="#orgaec9b1b">1. HDF5 back end</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org4eea63e">1.1. Template for HDF5 definitions</a></li>
|
<li><a href="#orgbd862dd">1.1. Template for HDF5 definitions</a></li>
|
||||||
<li><a href="#orge99b28c">1.2. Template for HDF5 structures</a></li>
|
<li><a href="#org5b4d156">1.2. Template for HDF5 structures</a></li>
|
||||||
<li><a href="#orgada9fbb">1.3. Template for HDF5 init/deinit</a></li>
|
<li><a href="#org0ca4412">1.3. Template for HDF5 init/deinit</a></li>
|
||||||
<li><a href="#org91f62f6">1.4. Template for HDF5 has/read/write a single dimensioning variable</a></li>
|
<li><a href="#org32c0e96">1.4. Template for HDF5 has/read/write a single dimensioning variable</a></li>
|
||||||
<li><a href="#org478cb2d">1.5. Template for HDF5 has/read/write a dataset of numerical data</a></li>
|
<li><a href="#orgf34f1ba">1.5. Template for HDF5 has/read/write a dataset of numerical data</a></li>
|
||||||
<li><a href="#org012e6e6">1.6. Template for HDF5 has/read/write a dataset of strings</a></li>
|
<li><a href="#org5080381">1.6. Template for HDF5 has/read/write a dataset of strings</a></li>
|
||||||
<li><a href="#org4187fef">1.7. Template for HDF5 has/read/write a single string attribute</a></li>
|
<li><a href="#org48583a1">1.7. Template for HDF5 has/read/write a single string attribute</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgd363f8a" class="outline-2">
|
<div id="outline-container-orgaec9b1b" class="outline-2">
|
||||||
<h2 id="orgd363f8a"><span class="section-number-2">1</span> HDF5 back end</h2>
|
<h2 id="orgaec9b1b"><span class="section-number-2">1</span> HDF5 back end</h2>
|
||||||
<div class="outline-text-2" id="text-1">
|
<div class="outline-text-2" id="text-1">
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-org4eea63e" class="outline-3">
|
<div id="outline-container-orgbd862dd" class="outline-3">
|
||||||
<h3 id="org4eea63e"><span class="section-number-3">1.1</span> Template for HDF5 definitions</h3>
|
<h3 id="orgbd862dd"><span class="section-number-3">1.1</span> Template for HDF5 definitions</h3>
|
||||||
<div class="outline-text-3" id="text-1-1">
|
<div class="outline-text-3" id="text-1-1">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c"><span style="color: #483d8b;">#define</span> $GROUP$_GROUP_NAME <span style="color: #8b2252;">"$group$"</span>
|
<pre class="src src-c"><span style="color: #483d8b;">#define</span> $GROUP$_GROUP_NAME <span style="color: #8b2252;">"$group$"</span>
|
||||||
@ -343,8 +343,8 @@ for the JavaScript code in this tag.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orge99b28c" class="outline-3">
|
<div id="outline-container-org5b4d156" class="outline-3">
|
||||||
<h3 id="orge99b28c"><span class="section-number-3">1.2</span> Template for HDF5 structures</h3>
|
<h3 id="org5b4d156"><span class="section-number-3">1.2</span> Template for HDF5 structures</h3>
|
||||||
<div class="outline-text-3" id="text-1-2">
|
<div class="outline-text-3" id="text-1-2">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c"><span style="color: #a020f0;">typedef</span> <span style="color: #a020f0;">struct</span> <span style="color: #228b22;">trexio_hdf5_s</span> {
|
<pre class="src src-c"><span style="color: #a020f0;">typedef</span> <span style="color: #a020f0;">struct</span> <span style="color: #228b22;">trexio_hdf5_s</span> {
|
||||||
@ -359,8 +359,8 @@ for the JavaScript code in this tag.
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div id="outline-container-orgada9fbb" class="outline-3">
|
<div id="outline-container-org0ca4412" class="outline-3">
|
||||||
<h3 id="orgada9fbb"><span class="section-number-3">1.3</span> Template for HDF5 init/deinit</h3>
|
<h3 id="org0ca4412"><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="outline-text-3" id="text-1-3">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c"><span style="color: #228b22;">trexio_exit_code</span>
|
<pre class="src src-c"><span style="color: #228b22;">trexio_exit_code</span>
|
||||||
@ -440,8 +440,8 @@ for the JavaScript code in this tag.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org91f62f6" class="outline-3">
|
<div id="outline-container-org32c0e96" class="outline-3">
|
||||||
<h3 id="org91f62f6"><span class="section-number-3">1.4</span> Template for HDF5 has/read/write a single dimensioning variable</h3>
|
<h3 id="org32c0e96"><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="outline-text-3" id="text-1-4">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c"><span style="color: #228b22;">trexio_exit_code</span>
|
<pre class="src src-c"><span style="color: #228b22;">trexio_exit_code</span>
|
||||||
@ -566,8 +566,8 @@ for the JavaScript code in this tag.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org478cb2d" class="outline-3">
|
<div id="outline-container-orgf34f1ba" class="outline-3">
|
||||||
<h3 id="org478cb2d"><span class="section-number-3">1.5</span> Template for HDF5 has/read/write a dataset of numerical data</h3>
|
<h3 id="orgf34f1ba"><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="outline-text-3" id="text-1-5">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c"><span style="color: #228b22;">trexio_exit_code</span>
|
<pre class="src src-c"><span style="color: #228b22;">trexio_exit_code</span>
|
||||||
@ -696,8 +696,8 @@ for the JavaScript code in this tag.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org012e6e6" class="outline-3">
|
<div id="outline-container-org5080381" class="outline-3">
|
||||||
<h3 id="org012e6e6"><span class="section-number-3">1.6</span> Template for HDF5 has/read/write a dataset of strings</h3>
|
<h3 id="org5080381"><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="outline-text-3" id="text-1-6">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c"><span style="color: #228b22;">trexio_exit_code</span>
|
<pre class="src src-c"><span style="color: #228b22;">trexio_exit_code</span>
|
||||||
@ -901,8 +901,8 @@ for the JavaScript code in this tag.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org4187fef" class="outline-3">
|
<div id="outline-container-org48583a1" class="outline-3">
|
||||||
<h3 id="org4187fef"><span class="section-number-3">1.7</span> Template for HDF5 has/read/write a single string attribute</h3>
|
<h3 id="org48583a1"><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="outline-text-3" id="text-1-7">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c"><span style="color: #228b22;">trexio_exit_code</span>
|
<pre class="src src-c"><span style="color: #228b22;">trexio_exit_code</span>
|
||||||
@ -1029,7 +1029,7 @@ for the JavaScript code in this tag.
|
|||||||
</div>
|
</div>
|
||||||
<div id="postamble" class="status">
|
<div id="postamble" class="status">
|
||||||
<p class="author">Author: TREX-CoE</p>
|
<p class="author">Author: TREX-CoE</p>
|
||||||
<p class="date">Created: 2021-06-15 Tue 10:12</p>
|
<p class="date">Created: 2021-06-16 Wed 10:21</p>
|
||||||
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||||
<head>
|
<head>
|
||||||
<!-- 2021-06-15 Tue 10:12 -->
|
<!-- 2021-06-16 Wed 10:21 -->
|
||||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<title>TEXT back end</title>
|
<title>TEXT back end</title>
|
||||||
@ -311,26 +311,26 @@ for the JavaScript code in this tag.
|
|||||||
<h2>Table of Contents</h2>
|
<h2>Table of Contents</h2>
|
||||||
<div id="text-table-of-contents">
|
<div id="text-table-of-contents">
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org39c237c">1. TEXT back end</a>
|
<li><a href="#org83270c0">1. TEXT back end</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgc064fe6">1.1. Template for group-related structures in text back end</a></li>
|
<li><a href="#org78f4626">1.1. Template for group-related structures in text back end</a></li>
|
||||||
<li><a href="#org93d3111">1.2. Template for general structure in text back end</a></li>
|
<li><a href="#org69d0a9e">1.2. Template for general structure in text back end</a></li>
|
||||||
<li><a href="#org7518c3a">1.3. Initialize function (constant part)</a></li>
|
<li><a href="#org3e0b323">1.3. Initialize function (constant part)</a></li>
|
||||||
<li><a href="#orgd1242b8">1.4. Deinitialize function (templated part)</a></li>
|
<li><a href="#orgfd200ea">1.4. Deinitialize function (templated part)</a></li>
|
||||||
<li><a href="#org0eb0105">1.5. Template for text read struct</a></li>
|
<li><a href="#org168727f">1.5. Template for text read struct</a></li>
|
||||||
<li><a href="#orged1c7e3">1.6. Template for text flush struct</a></li>
|
<li><a href="#orga09a650">1.6. Template for text flush struct</a></li>
|
||||||
<li><a href="#orgd2e3bd7">1.7. Template for text free memory</a></li>
|
<li><a href="#org96ad6a9">1.7. Template for text free memory</a></li>
|
||||||
<li><a href="#org24e7806">1.8. Template for has/read/write the num attribute</a></li>
|
<li><a href="#org448be9e">1.8. Template for has/read/write the num attribute</a></li>
|
||||||
<li><a href="#orge76dae8">1.9. Template for has/read/write the dataset of numerical data</a></li>
|
<li><a href="#orgc2d6bec">1.9. Template for has/read/write the dataset of numerical data</a></li>
|
||||||
<li><a href="#org5f5a080">1.10. Template for has/read/write the dataset of strings</a></li>
|
<li><a href="#org27c32f5">1.10. Template for has/read/write the dataset of strings</a></li>
|
||||||
<li><a href="#org86c8d38">1.11. Template for has/read/write the string attribute</a></li>
|
<li><a href="#org5f56f4d">1.11. Template for has/read/write the string attribute</a></li>
|
||||||
<li><a href="#org742b9cb">1.12. RDM struct (hard-coded)</a>
|
<li><a href="#org80e844a">1.12. RDM struct (hard-coded)</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgabe2d7f">1.12.1. Read the complete struct</a></li>
|
<li><a href="#org7525339">1.12.1. Read the complete struct</a></li>
|
||||||
<li><a href="#orgc55cf6f">1.12.2. Flush the complete struct</a></li>
|
<li><a href="#org6eb132f">1.12.2. Flush the complete struct</a></li>
|
||||||
<li><a href="#org3745b0e">1.12.3. Free memory</a></li>
|
<li><a href="#orgaa11477">1.12.3. Free memory</a></li>
|
||||||
<li><a href="#orgf9cdf06">1.12.4. Read/Write the one<sub>e</sub> attribute</a></li>
|
<li><a href="#org1a16619">1.12.4. Read/Write the one<sub>e</sub> attribute</a></li>
|
||||||
<li><a href="#orga56f485">1.12.5. Read/Write the two<sub>e</sub> attribute</a></li>
|
<li><a href="#org690c40a">1.12.5. Read/Write the two<sub>e</sub> attribute</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
@ -339,8 +339,8 @@ for the JavaScript code in this tag.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org39c237c" class="outline-2">
|
<div id="outline-container-org83270c0" class="outline-2">
|
||||||
<h2 id="org39c237c"><span class="section-number-2">1</span> TEXT back end</h2>
|
<h2 id="org83270c0"><span class="section-number-2">1</span> TEXT back end</h2>
|
||||||
<div class="outline-text-2" id="text-1">
|
<div class="outline-text-2" id="text-1">
|
||||||
<p>
|
<p>
|
||||||
The "file" produced by the text back end is a directory with one
|
The "file" produced by the text back end is a directory with one
|
||||||
@ -361,8 +361,8 @@ The file is written when closed, or when the flush function is called.
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgc064fe6" class="outline-3">
|
<div id="outline-container-org78f4626" class="outline-3">
|
||||||
<h3 id="orgc064fe6"><span class="section-number-3">1.1</span> Template for group-related structures in text back end</h3>
|
<h3 id="org78f4626"><span class="section-number-3">1.1</span> Template for group-related structures in text back end</h3>
|
||||||
<div class="outline-text-3" id="text-1-1">
|
<div class="outline-text-3" id="text-1-1">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c"><span style="color: #a020f0;">typedef</span> <span style="color: #a020f0;">struct</span> $group$_s {
|
<pre class="src src-c"><span style="color: #a020f0;">typedef</span> <span style="color: #a020f0;">struct</span> $group$_s {
|
||||||
@ -380,8 +380,8 @@ The file is written when closed, or when the flush function is called.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org93d3111" class="outline-3">
|
<div id="outline-container-org69d0a9e" class="outline-3">
|
||||||
<h3 id="org93d3111"><span class="section-number-3">1.2</span> Template for general structure in text back end</h3>
|
<h3 id="org69d0a9e"><span class="section-number-3">1.2</span> Template for general structure in text back end</h3>
|
||||||
<div class="outline-text-3" id="text-1-2">
|
<div class="outline-text-3" id="text-1-2">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c"><span style="color: #a020f0;">typedef</span> <span style="color: #a020f0;">struct</span> <span style="color: #228b22;">rdm_s</span> {
|
<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>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org7518c3a" class="outline-3">
|
<div id="outline-container-org3e0b323" class="outline-3">
|
||||||
<h3 id="org7518c3a"><span class="section-number-3">1.3</span> Initialize function (constant part)</h3>
|
<h3 id="org3e0b323"><span class="section-number-3">1.3</span> Initialize function (constant part)</h3>
|
||||||
<div class="outline-text-3" id="text-1-3">
|
<div class="outline-text-3" id="text-1-3">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c"><span style="color: #228b22;">trexio_exit_code</span>
|
<pre class="src src-c"><span style="color: #228b22;">trexio_exit_code</span>
|
||||||
@ -509,8 +509,8 @@ The file is written when closed, or when the flush function is called.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgd1242b8" class="outline-3">
|
<div id="outline-container-orgfd200ea" class="outline-3">
|
||||||
<h3 id="orgd1242b8"><span class="section-number-3">1.4</span> Deinitialize function (templated part)</h3>
|
<h3 id="orgfd200ea"><span class="section-number-3">1.4</span> Deinitialize function (templated part)</h3>
|
||||||
<div class="outline-text-3" id="text-1-4">
|
<div class="outline-text-3" id="text-1-4">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c"><span style="color: #228b22;">trexio_exit_code</span>
|
<pre class="src src-c"><span style="color: #228b22;">trexio_exit_code</span>
|
||||||
@ -535,8 +535,8 @@ The file is written when closed, or when the flush function is called.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org0eb0105" class="outline-3">
|
<div id="outline-container-org168727f" class="outline-3">
|
||||||
<h3 id="org0eb0105"><span class="section-number-3">1.5</span> Template for text read struct</h3>
|
<h3 id="org168727f"><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="outline-text-3" id="text-1-5">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c">$group$_t*
|
<pre class="src src-c">$group$_t*
|
||||||
@ -807,8 +807,8 @@ trexio_text_read_$group$ (<span style="color: #228b22;">trexio_text_t</span>* <s
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orged1c7e3" class="outline-3">
|
<div id="outline-container-orga09a650" class="outline-3">
|
||||||
<h3 id="orged1c7e3"><span class="section-number-3">1.6</span> Template for text flush struct</h3>
|
<h3 id="orga09a650"><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="outline-text-3" id="text-1-6">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c"><span style="color: #228b22;">trexio_exit_code</span>
|
<pre class="src src-c"><span style="color: #228b22;">trexio_exit_code</span>
|
||||||
@ -872,8 +872,8 @@ trexio_text_read_$group$ (<span style="color: #228b22;">trexio_text_t</span>* <s
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgd2e3bd7" class="outline-3">
|
<div id="outline-container-org96ad6a9" class="outline-3">
|
||||||
<h3 id="orgd2e3bd7"><span class="section-number-3">1.7</span> Template for text free memory</h3>
|
<h3 id="org96ad6a9"><span class="section-number-3">1.7</span> Template for text free memory</h3>
|
||||||
<div class="outline-text-3" id="text-1-7">
|
<div class="outline-text-3" id="text-1-7">
|
||||||
<p>
|
<p>
|
||||||
Memory is allocated when reading. The following function frees memory.
|
Memory is allocated when reading. The following function frees memory.
|
||||||
@ -918,8 +918,8 @@ Memory is allocated when reading. The following function frees memory.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org24e7806" class="outline-3">
|
<div id="outline-container-org448be9e" class="outline-3">
|
||||||
<h3 id="org24e7806"><span class="section-number-3">1.8</span> Template for has/read/write the num attribute</h3>
|
<h3 id="org448be9e"><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="outline-text-3" id="text-1-8">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c"><span style="color: #228b22;">trexio_exit_code</span>
|
<pre class="src src-c"><span style="color: #228b22;">trexio_exit_code</span>
|
||||||
@ -981,8 +981,8 @@ Memory is allocated when reading. The following function frees memory.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orge76dae8" class="outline-3">
|
<div id="outline-container-orgc2d6bec" class="outline-3">
|
||||||
<h3 id="orge76dae8"><span class="section-number-3">1.9</span> Template for has/read/write the dataset of numerical data</h3>
|
<h3 id="orgc2d6bec"><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">
|
<div class="outline-text-3" id="text-1-9">
|
||||||
<p>
|
<p>
|
||||||
The <code>group_dset</code> array is assumed allocated with the appropriate size.
|
The <code>group_dset</code> array is assumed allocated with the appropriate size.
|
||||||
@ -1078,8 +1078,8 @@ The <code>group_dset</code> array is assumed allocated with the appropriate size
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-org5f5a080" class="outline-3">
|
<div id="outline-container-org27c32f5" class="outline-3">
|
||||||
<h3 id="org5f5a080"><span class="section-number-3">1.10</span> Template for has/read/write the dataset of strings</h3>
|
<h3 id="org27c32f5"><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">
|
<div class="outline-text-3" id="text-1-10">
|
||||||
<p>
|
<p>
|
||||||
The <code>group_dset</code> array is assumed allocated with the appropriate size.
|
The <code>group_dset</code> array is assumed allocated with the appropriate size.
|
||||||
@ -1181,8 +1181,8 @@ The <code>group_dset</code> array is assumed allocated with the appropriate size
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-org86c8d38" class="outline-3">
|
<div id="outline-container-org5f56f4d" class="outline-3">
|
||||||
<h3 id="org86c8d38"><span class="section-number-3">1.11</span> Template for has/read/write the string attribute</h3>
|
<h3 id="org5f56f4d"><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="outline-text-3" id="text-1-11">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c"><span style="color: #228b22;">trexio_exit_code</span>
|
<pre class="src src-c"><span style="color: #228b22;">trexio_exit_code</span>
|
||||||
@ -1256,12 +1256,12 @@ The <code>group_dset</code> array is assumed allocated with the appropriate size
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-org742b9cb" class="outline-3">
|
<div id="outline-container-org80e844a" class="outline-3">
|
||||||
<h3 id="org742b9cb"><span class="section-number-3">1.12</span> RDM struct (hard-coded)</h3>
|
<h3 id="org80e844a"><span class="section-number-3">1.12</span> RDM struct (hard-coded)</h3>
|
||||||
<div class="outline-text-3" id="text-1-12">
|
<div class="outline-text-3" id="text-1-12">
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-orgabe2d7f" class="outline-4">
|
<div id="outline-container-org7525339" class="outline-4">
|
||||||
<h4 id="orgabe2d7f"><span class="section-number-4">1.12.1</span> Read the complete struct</h4>
|
<h4 id="org7525339"><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="outline-text-4" id="text-1-12-1">
|
||||||
<div class="org-src-container">
|
<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>);
|
<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>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgc55cf6f" class="outline-4">
|
<div id="outline-container-org6eb132f" class="outline-4">
|
||||||
<h4 id="orgc55cf6f"><span class="section-number-4">1.12.2</span> Flush the complete struct</h4>
|
<h4 id="org6eb132f"><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="outline-text-4" id="text-1-12-2">
|
||||||
<div class="org-src-container">
|
<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>);
|
<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>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org3745b0e" class="outline-4">
|
<div id="outline-container-orgaa11477" class="outline-4">
|
||||||
<h4 id="org3745b0e"><span class="section-number-4">1.12.3</span> Free memory</h4>
|
<h4 id="orgaa11477"><span class="section-number-4">1.12.3</span> Free memory</h4>
|
||||||
<div class="outline-text-4" id="text-1-12-3">
|
<div class="outline-text-4" id="text-1-12-3">
|
||||||
<p>
|
<p>
|
||||||
Memory is allocated when reading. The followig function frees memory.
|
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>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgf9cdf06" class="outline-4">
|
<div id="outline-container-org1a16619" class="outline-4">
|
||||||
<h4 id="orgf9cdf06"><span class="section-number-4">1.12.4</span> Read/Write the one<sub>e</sub> attribute</h4>
|
<h4 id="org1a16619"><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">
|
<div class="outline-text-4" id="text-1-12-4">
|
||||||
<p>
|
<p>
|
||||||
The <code>one_e</code> array is assumed allocated with the appropriate size.
|
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>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orga56f485" class="outline-4">
|
<div id="outline-container-org690c40a" class="outline-4">
|
||||||
<h4 id="orga56f485"><span class="section-number-4">1.12.5</span> Read/Write the two<sub>e</sub> attribute</h4>
|
<h4 id="org690c40a"><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">
|
<div class="outline-text-4" id="text-1-12-5">
|
||||||
<p>
|
<p>
|
||||||
<code>two_e</code> is a sparse data structure, which can be too large to fit
|
<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>
|
||||||
<div id="postamble" class="status">
|
<div id="postamble" class="status">
|
||||||
<p class="author">Author: TREX-CoE</p>
|
<p class="author">Author: TREX-CoE</p>
|
||||||
<p class="date">Created: 2021-06-15 Tue 10:12</p>
|
<p class="date">Created: 2021-06-16 Wed 10:21</p>
|
||||||
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
Loading…
Reference in New Issue
Block a user