mirror of
https://github.com/TREX-CoE/qmckl.git
synced 2025-01-08 04:19:15 +01:00
Deploying to gh-pages from @ TREX-CoE/qmckl@8882b4b3d4 🚀
This commit is contained in:
parent
de3a0d58a5
commit
fd70a2ccc4
@ -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-21 Wed 11:01 -->
|
||||
<!-- 2021-04-21 Wed 11:18 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>QMCkl source code documentation</title>
|
||||
@ -349,7 +349,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-21 Wed 11:01</p>
|
||||
<p class="date">Created: 2021-04-21 Wed 11:18</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-21 Wed 11:01 -->
|
||||
<!-- 2021-04-21 Wed 11:18 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>QMCkl source code documentation</title>
|
||||
@ -349,7 +349,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-21 Wed 11:01</p>
|
||||
<p class="date">Created: 2021-04-21 Wed 11:18</p>
|
||||
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||
</div>
|
||||
</body>
|
||||
|
102
qmckl.html
102
qmckl.html
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2021-04-21 Wed 11:01 -->
|
||||
<!-- 2021-04-21 Wed 11:18 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>Introduction</title>
|
||||
@ -333,30 +333,30 @@ for the JavaScript code in this tag.
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents">
|
||||
<ul>
|
||||
<li><a href="#orgb325574">1. Using QMCkl</a></li>
|
||||
<li><a href="#orgf66d1fa">2. Developing in QMCkl</a>
|
||||
<li><a href="#org02ade2c">1. Using QMCkl</a></li>
|
||||
<li><a href="#org23ad3da">2. Developing in QMCkl</a>
|
||||
<ul>
|
||||
<li><a href="#org03b638a">2.1. Literate programming</a></li>
|
||||
<li><a href="#orgd2ea39e">2.2. Source code editing</a></li>
|
||||
<li><a href="#org1d2a0e0">2.3. Choice of the programming language</a></li>
|
||||
<li><a href="#org1d3b65c">2.4. Coding rules</a></li>
|
||||
<li><a href="#org83ad6ae">2.5. Design of the library</a></li>
|
||||
<li><a href="#orgd4897bc">2.6. Naming conventions</a></li>
|
||||
<li><a href="#org2c7f398">2.7. Application programming interface</a></li>
|
||||
<li><a href="#org19770eb">2.8. Global state</a></li>
|
||||
<li><a href="#org7e60ae6">2.9. Headers</a></li>
|
||||
<li><a href="#org1d17385">2.10. Low-level functions</a></li>
|
||||
<li><a href="#org03e2fc5">2.11. High-level functions</a></li>
|
||||
<li><a href="#org0d60482">2.12. Numerical precision</a></li>
|
||||
<li><a href="#orgdd45def">2.13. Algorithms</a></li>
|
||||
<li><a href="#org1b5b3b3">2.1. Literate programming</a></li>
|
||||
<li><a href="#org8c6a154">2.2. Source code editing</a></li>
|
||||
<li><a href="#orgada9d4a">2.3. Choice of the programming language</a></li>
|
||||
<li><a href="#org12547ef">2.4. Coding rules</a></li>
|
||||
<li><a href="#orgd0830fd">2.5. Design of the library</a></li>
|
||||
<li><a href="#org974a7e9">2.6. Naming conventions</a></li>
|
||||
<li><a href="#org26ae560">2.7. Application programming interface</a></li>
|
||||
<li><a href="#org6e9dc5d">2.8. Global state</a></li>
|
||||
<li><a href="#org549344d">2.9. Headers</a></li>
|
||||
<li><a href="#orgaf35d9d">2.10. Low-level functions</a></li>
|
||||
<li><a href="#org0655c67">2.11. High-level functions</a></li>
|
||||
<li><a href="#org138b31d">2.12. Numerical precision</a></li>
|
||||
<li><a href="#orga285c63">2.13. Algorithms</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgb325574" class="outline-2">
|
||||
<h2 id="orgb325574"><span class="section-number-2">1</span> Using QMCkl</h2>
|
||||
<div id="outline-container-org02ade2c" class="outline-2">
|
||||
<h2 id="org02ade2c"><span class="section-number-2">1</span> Using QMCkl</h2>
|
||||
<div class="outline-text-2" id="text-1">
|
||||
<p>
|
||||
The <code>qmckl.h</code> header file installed in the <code>${prefix}/include</code> directory
|
||||
@ -385,12 +385,12 @@ Both files are located in the <code>include/</code> directory.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgf66d1fa" class="outline-2">
|
||||
<h2 id="orgf66d1fa"><span class="section-number-2">2</span> Developing in QMCkl</h2>
|
||||
<div id="outline-container-org23ad3da" class="outline-2">
|
||||
<h2 id="org23ad3da"><span class="section-number-2">2</span> Developing in QMCkl</h2>
|
||||
<div class="outline-text-2" id="text-2">
|
||||
</div>
|
||||
<div id="outline-container-org03b638a" class="outline-3">
|
||||
<h3 id="org03b638a"><span class="section-number-3">2.1</span> Literate programming</h3>
|
||||
<div id="outline-container-org1b5b3b3" class="outline-3">
|
||||
<h3 id="org1b5b3b3"><span class="section-number-3">2.1</span> Literate programming</h3>
|
||||
<div class="outline-text-3" id="text-2-1">
|
||||
<p>
|
||||
In a traditional source code, most of the lines of source files of a program
|
||||
@ -435,8 +435,8 @@ interactively, in the same spirit as Jupyter notebooks.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgd2ea39e" class="outline-3">
|
||||
<h3 id="orgd2ea39e"><span class="section-number-3">2.2</span> Source code editing</h3>
|
||||
<div id="outline-container-org8c6a154" class="outline-3">
|
||||
<h3 id="org8c6a154"><span class="section-number-3">2.2</span> Source code editing</h3>
|
||||
<div class="outline-text-3" id="text-2-2">
|
||||
<p>
|
||||
For a tutorial on literate programming with org-mode, follow <a href="http://www.howardism.org/Technical/Emacs/literate-programming-tutorial.html">this link</a>.
|
||||
@ -467,8 +467,8 @@ org-mode.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org1d2a0e0" class="outline-3">
|
||||
<h3 id="org1d2a0e0"><span class="section-number-3">2.3</span> Choice of the programming language</h3>
|
||||
<div id="outline-container-orgada9d4a" class="outline-3">
|
||||
<h3 id="orgada9d4a"><span class="section-number-3">2.3</span> Choice of the programming language</h3>
|
||||
<div class="outline-text-3" id="text-2-3">
|
||||
<p>
|
||||
Most of the codes of the <a href="https://trex-coe.eu">TREX CoE</a> are written in Fortran with some scripts in
|
||||
@ -516,8 +516,8 @@ For more guidelines on using Fortran to generate a C interface, see
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org1d3b65c" class="outline-3">
|
||||
<h3 id="org1d3b65c"><span class="section-number-3">2.4</span> Coding rules</h3>
|
||||
<div id="outline-container-org12547ef" class="outline-3">
|
||||
<h3 id="org12547ef"><span class="section-number-3">2.4</span> Coding rules</h3>
|
||||
<div class="outline-text-3" id="text-2-4">
|
||||
<p>
|
||||
The authors should follow the recommendations of the C99
|
||||
@ -535,8 +535,8 @@ Compliance can be checked with <code>cppcheck</code> as:
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org83ad6ae" class="outline-3">
|
||||
<h3 id="org83ad6ae"><span class="section-number-3">2.5</span> Design of the library</h3>
|
||||
<div id="outline-container-orgd0830fd" class="outline-3">
|
||||
<h3 id="orgd0830fd"><span class="section-number-3">2.5</span> Design of the library</h3>
|
||||
<div class="outline-text-3" id="text-2-5">
|
||||
<p>
|
||||
The proposed API should allow the library to: deal with memory transfers
|
||||
@ -547,8 +547,8 @@ functions (see below).
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgd4897bc" class="outline-3">
|
||||
<h3 id="orgd4897bc"><span class="section-number-3">2.6</span> Naming conventions</h3>
|
||||
<div id="outline-container-org974a7e9" class="outline-3">
|
||||
<h3 id="org974a7e9"><span class="section-number-3">2.6</span> Naming conventions</h3>
|
||||
<div class="outline-text-3" id="text-2-6">
|
||||
<p>
|
||||
To avoid namespace collisions, we use <code>qmckl_</code> as a prefix for all exported
|
||||
@ -573,8 +573,8 @@ form is allowed.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org2c7f398" class="outline-3">
|
||||
<h3 id="org2c7f398"><span class="section-number-3">2.7</span> Application programming interface</h3>
|
||||
<div id="outline-container-org26ae560" class="outline-3">
|
||||
<h3 id="org26ae560"><span class="section-number-3">2.7</span> Application programming interface</h3>
|
||||
<div class="outline-text-3" id="text-2-7">
|
||||
<p>
|
||||
In the C language, the number of bits used by the integer types can change
|
||||
@ -606,15 +606,15 @@ bindings in other languages in other repositories.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org19770eb" class="outline-3">
|
||||
<h3 id="org19770eb"><span class="section-number-3">2.8</span> Global state</h3>
|
||||
<div id="outline-container-org6e9dc5d" class="outline-3">
|
||||
<h3 id="org6e9dc5d"><span class="section-number-3">2.8</span> Global state</h3>
|
||||
<div class="outline-text-3" id="text-2-8">
|
||||
<p>
|
||||
Global variables should be avoided in the library, because it is
|
||||
possible that one single program needs to use multiple instances
|
||||
of the library. To solve this problem we propose to use a pointer
|
||||
to a <a href="./qmckl_context.html"><code>context</code></a> variable, built by the library with the
|
||||
<code>qmckl_context_create</code> function. The <a id="orga463a78">=context=</a> contains the global
|
||||
<code>qmckl_context_create</code> function. The <a id="org2700402">=context=</a> contains the global
|
||||
state of the library, and is used as the first argument of many
|
||||
QMCkl functions.
|
||||
</p>
|
||||
@ -628,8 +628,8 @@ the state is done by setters and getters, prefixed by
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org7e60ae6" class="outline-3">
|
||||
<h3 id="org7e60ae6"><span class="section-number-3">2.9</span> Headers</h3>
|
||||
<div id="outline-container-org549344d" class="outline-3">
|
||||
<h3 id="org549344d"><span class="section-number-3">2.9</span> Headers</h3>
|
||||
<div class="outline-text-3" id="text-2-9">
|
||||
<p>
|
||||
A single <code>qmckl.h</code> header to be distributed by the library
|
||||
@ -717,8 +717,8 @@ and the types definitions should be written in the <code>*_f_type.f90</code> fil
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org1d17385" class="outline-3">
|
||||
<h3 id="org1d17385"><span class="section-number-3">2.10</span> Low-level functions</h3>
|
||||
<div id="outline-container-orgaf35d9d" class="outline-3">
|
||||
<h3 id="orgaf35d9d"><span class="section-number-3">2.10</span> Low-level functions</h3>
|
||||
<div class="outline-text-3" id="text-2-10">
|
||||
<p>
|
||||
Low-level functions are very simple functions which are leaves of
|
||||
@ -727,14 +727,14 @@ the function call tree (they don't call any other QMCkl function).
|
||||
|
||||
<p>
|
||||
These functions are <i>pure</i>, and unaware of the QMCkl
|
||||
<a href="#orga463a78"><code>context</code></a>. They are not allowed to allocate/deallocate memory, and
|
||||
<a href="#org2700402"><code>context</code></a>. They are not allowed to allocate/deallocate memory, and
|
||||
if they need temporary memory it should be provided in input.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org03e2fc5" class="outline-3">
|
||||
<h3 id="org03e2fc5"><span class="section-number-3">2.11</span> High-level functions</h3>
|
||||
<div id="outline-container-org0655c67" class="outline-3">
|
||||
<h3 id="org0655c67"><span class="section-number-3">2.11</span> High-level functions</h3>
|
||||
<div class="outline-text-3" id="text-2-11">
|
||||
<p>
|
||||
High-level functions are at the top of the function call tree.
|
||||
@ -747,27 +747,27 @@ temporary storage, to simplify the use of accelerators.
|
||||
<p>
|
||||
The high-level functions should be pure, unless the introduction
|
||||
of non-purity is justified. All the side effects should be made in
|
||||
the <a href="#orga463a78"><code>context</code></a> variable.
|
||||
the <a href="#org2700402"><code>context</code></a> variable.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org0d60482" class="outline-3">
|
||||
<h3 id="org0d60482"><span class="section-number-3">2.12</span> Numerical precision</h3>
|
||||
<div id="outline-container-org138b31d" class="outline-3">
|
||||
<h3 id="org138b31d"><span class="section-number-3">2.12</span> Numerical precision</h3>
|
||||
<div class="outline-text-3" id="text-2-12">
|
||||
<p>
|
||||
The number of bits of precision required for a function should be
|
||||
given as an input of low-level computational functions. This input
|
||||
will be used to define the values of the different thresholds that
|
||||
might be used to avoid computing unnecessary noise. High-level
|
||||
functions will use the precision specified in the <a href="#orga463a78"><code>context</code></a>
|
||||
functions will use the precision specified in the <a href="#org2700402"><code>context</code></a>
|
||||
variable.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgdd45def" class="outline-3">
|
||||
<h3 id="orgdd45def"><span class="section-number-3">2.13</span> Algorithms</h3>
|
||||
<div id="outline-container-orga285c63" class="outline-3">
|
||||
<h3 id="orga285c63"><span class="section-number-3">2.13</span> Algorithms</h3>
|
||||
<div class="outline-text-3" id="text-2-13">
|
||||
<p>
|
||||
Reducing the scaling of an algorithm usually implies also reducing
|
||||
@ -783,7 +783,7 @@ implemented adapted to different problem sizes.
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: TREX CoE</p>
|
||||
<p class="date">Created: 2021-04-21 Wed 11:01</p>
|
||||
<p class="date">Created: 2021-04-21 Wed 11:18</p>
|
||||
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||
</div>
|
||||
</body>
|
||||
|
158
qmckl_ao.html
158
qmckl_ao.html
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2021-04-21 Wed 11:01 -->
|
||||
<!-- 2021-04-21 Wed 11:18 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>Atomic Orbitals</title>
|
||||
@ -333,52 +333,52 @@ for the JavaScript code in this tag.
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents">
|
||||
<ul>
|
||||
<li><a href="#orgdfad537">1. Context</a>
|
||||
<li><a href="#org5523755">1. Context</a>
|
||||
<ul>
|
||||
<li><a href="#orgad371bb">1.1. Data structure</a></li>
|
||||
<li><a href="#orgf21c8e7">1.2. Access functions</a></li>
|
||||
<li><a href="#org7ac56dd">1.3. Initialization functions</a></li>
|
||||
<li><a href="#org679c0fc">1.4. <span class="todo TODO">TODO</span> Fortran interfaces</a></li>
|
||||
<li><a href="#org18c9f4a">1.1. Data structure</a></li>
|
||||
<li><a href="#orga16afe2">1.2. Access functions</a></li>
|
||||
<li><a href="#orge4afbc2">1.3. Initialization functions</a></li>
|
||||
<li><a href="#org0f50fe6">1.4. <span class="todo TODO">TODO</span> Fortran interfaces</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgec9ee2c">2. Polynomial part</a>
|
||||
<li><a href="#orgeac664d">2. Polynomial part</a>
|
||||
<ul>
|
||||
<li><a href="#orga196d6a">2.1. Powers of \(x-X_i\)</a>
|
||||
<li><a href="#orgf7407c2">2.1. Powers of \(x-X_i\)</a>
|
||||
<ul>
|
||||
<li><a href="#org96e2783">2.1.1. Requirements</a></li>
|
||||
<li><a href="#org272720c">2.1.2. C Header</a></li>
|
||||
<li><a href="#org3c0b6c1">2.1.3. Source</a></li>
|
||||
<li><a href="#org5fd5bd8">2.1.4. C interface</a></li>
|
||||
<li><a href="#org1a61981">2.1.5. Fortran interface</a></li>
|
||||
<li><a href="#org22e313a">2.1.6. Test</a></li>
|
||||
<li><a href="#orgdb134ad">2.1.1. Requirements</a></li>
|
||||
<li><a href="#orgecb0773">2.1.2. C Header</a></li>
|
||||
<li><a href="#org69e61a7">2.1.3. Source</a></li>
|
||||
<li><a href="#orgefcef33">2.1.4. C interface</a></li>
|
||||
<li><a href="#org7db3112">2.1.5. Fortran interface</a></li>
|
||||
<li><a href="#org3639aa6">2.1.6. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org5d5eb27">2.2. Value, Gradient and Laplacian of a polynomial</a>
|
||||
<li><a href="#orgf6ccdd2">2.2. Value, Gradient and Laplacian of a polynomial</a>
|
||||
<ul>
|
||||
<li><a href="#org26b785c">2.2.1. Requirements</a></li>
|
||||
<li><a href="#orgdcda373">2.2.2. C Header</a></li>
|
||||
<li><a href="#orgc083caa">2.2.3. Source</a></li>
|
||||
<li><a href="#orgdbcbad3">2.2.4. C interface</a></li>
|
||||
<li><a href="#org3ccacd0">2.2.5. Fortran interface</a></li>
|
||||
<li><a href="#org053d156">2.2.6. Test</a></li>
|
||||
<li><a href="#org0eead80">2.2.1. Requirements</a></li>
|
||||
<li><a href="#org5a255c8">2.2.2. C Header</a></li>
|
||||
<li><a href="#orgf6a6f73">2.2.3. Source</a></li>
|
||||
<li><a href="#org6949ad9">2.2.4. C interface</a></li>
|
||||
<li><a href="#orgc71e77e">2.2.5. Fortran interface</a></li>
|
||||
<li><a href="#org0c5bdc6">2.2.6. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgf74fbcc">3. Radial part</a>
|
||||
<li><a href="#org29bffc8">3. Radial part</a>
|
||||
<ul>
|
||||
<li><a href="#orgf19be7f">3.1. Gaussian basis functions</a></li>
|
||||
<li><a href="#orgd13022f">3.2. <span class="todo TODO">TODO</span> Slater basis functions</a></li>
|
||||
<li><a href="#org96d36c5">3.3. <span class="todo TODO">TODO</span> Radial functions on a grid</a></li>
|
||||
<li><a href="#org0184d9d">3.1. Gaussian basis functions</a></li>
|
||||
<li><a href="#orgb58ca63">3.2. <span class="todo TODO">TODO</span> Slater basis functions</a></li>
|
||||
<li><a href="#orgca16261">3.3. <span class="todo TODO">TODO</span> Radial functions on a grid</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgaa38f31">4. Combining radial and polynomial parts</a></li>
|
||||
<li><a href="#orgce07082">4. Combining radial and polynomial parts</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgdfad537" class="outline-2">
|
||||
<h2 id="orgdfad537"><span class="section-number-2">1</span> Context</h2>
|
||||
<div id="outline-container-org5523755" class="outline-2">
|
||||
<h2 id="org5523755"><span class="section-number-2">1</span> Context</h2>
|
||||
<div class="outline-text-2" id="text-1">
|
||||
<p>
|
||||
The following arrays are stored in the context:
|
||||
@ -503,8 +503,8 @@ coefficient = [ 0.006068, 0.045308, 0.202822, 0.503903, 0.383421,
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgad371bb" class="outline-3">
|
||||
<h3 id="orgad371bb"><span class="section-number-3">1.1</span> Data structure</h3>
|
||||
<div id="outline-container-org18c9f4a" class="outline-3">
|
||||
<h3 id="org18c9f4a"><span class="section-number-3">1.1</span> Data structure</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> <span style="color: #228b22;">qmckl_ao_basis_struct</span> {
|
||||
@ -533,8 +533,8 @@ struct is then initialized and <code>provided == true</code>.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgf21c8e7" class="outline-3">
|
||||
<h3 id="orgf21c8e7"><span class="section-number-3">1.2</span> Access functions</h3>
|
||||
<div id="outline-container-orga16afe2" class="outline-3">
|
||||
<h3 id="orga16afe2"><span class="section-number-3">1.2</span> Access functions</h3>
|
||||
<div class="outline-text-3" id="text-1-2">
|
||||
<p>
|
||||
When all the data for the AOs have been provided, the following
|
||||
@ -548,8 +548,8 @@ function returns <code>true</code>.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org7ac56dd" class="outline-3">
|
||||
<h3 id="org7ac56dd"><span class="section-number-3">1.3</span> Initialization functions</h3>
|
||||
<div id="outline-container-orge4afbc2" class="outline-3">
|
||||
<h3 id="orge4afbc2"><span class="section-number-3">1.3</span> Initialization functions</h3>
|
||||
<div class="outline-text-3" id="text-1-3">
|
||||
<p>
|
||||
To set the basis set, all the following functions need to be
|
||||
@ -572,17 +572,17 @@ called. When
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org679c0fc" class="outline-3">
|
||||
<h3 id="org679c0fc"><span class="section-number-3">1.4</span> <span class="todo TODO">TODO</span> Fortran interfaces</h3>
|
||||
<div id="outline-container-org0f50fe6" class="outline-3">
|
||||
<h3 id="org0f50fe6"><span class="section-number-3">1.4</span> <span class="todo TODO">TODO</span> Fortran interfaces</h3>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgec9ee2c" class="outline-2">
|
||||
<h2 id="orgec9ee2c"><span class="section-number-2">2</span> Polynomial part</h2>
|
||||
<div id="outline-container-orgeac664d" class="outline-2">
|
||||
<h2 id="orgeac664d"><span class="section-number-2">2</span> Polynomial part</h2>
|
||||
<div class="outline-text-2" id="text-2">
|
||||
</div>
|
||||
<div id="outline-container-orga196d6a" class="outline-3">
|
||||
<h3 id="orga196d6a"><span class="section-number-3">2.1</span> Powers of \(x-X_i\)</h3>
|
||||
<div id="outline-container-orgf7407c2" class="outline-3">
|
||||
<h3 id="orgf7407c2"><span class="section-number-3">2.1</span> Powers of \(x-X_i\)</h3>
|
||||
<div class="outline-text-3" id="text-2-1">
|
||||
<p>
|
||||
The <code>qmckl_ao_power</code> function computes all the powers of the <code>n</code>
|
||||
@ -594,7 +594,7 @@ the \(n\) points:
|
||||
\[ P_{ik} = X_i^k \]
|
||||
</p>
|
||||
|
||||
<table id="org7ec9f3b" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org6464f46" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -652,8 +652,8 @@ the \(n\) points:
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org96e2783" class="outline-4">
|
||||
<h4 id="org96e2783"><span class="section-number-4">2.1.1</span> Requirements</h4>
|
||||
<div id="outline-container-orgdb134ad" class="outline-4">
|
||||
<h4 id="orgdb134ad"><span class="section-number-4">2.1.1</span> Requirements</h4>
|
||||
<div class="outline-text-4" id="text-2-1-1">
|
||||
<ul class="org-ul">
|
||||
<li><code>context</code> is not <code>QMCKL_NULL_CONTEXT</code></li>
|
||||
@ -666,8 +666,8 @@ the \(n\) points:
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org272720c" class="outline-4">
|
||||
<h4 id="org272720c"><span class="section-number-4">2.1.2</span> C Header</h4>
|
||||
<div id="outline-container-orgecb0773" class="outline-4">
|
||||
<h4 id="orgecb0773"><span class="section-number-4">2.1.2</span> C Header</h4>
|
||||
<div class="outline-text-4" id="text-2-1-2">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_ao_power</span> (
|
||||
@ -682,8 +682,8 @@ the \(n\) points:
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org3c0b6c1" class="outline-4">
|
||||
<h4 id="org3c0b6c1"><span class="section-number-4">2.1.3</span> Source</h4>
|
||||
<div id="outline-container-org69e61a7" class="outline-4">
|
||||
<h4 id="org69e61a7"><span class="section-number-4">2.1.3</span> Source</h4>
|
||||
<div class="outline-text-4" id="text-2-1-3">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-f90"><span style="color: #228b22;">integer </span><span style="color: #a020f0;">function</span><span style="color: #a0522d;"> </span><span style="color: #0000ff;">qmckl_ao_power_f</span><span style="color: #000000; background-color: #ffffff;">(context, n, X, LMAX, P, ldp) result(info)</span>
|
||||
@ -734,15 +734,15 @@ the \(n\) points:
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org5fd5bd8" class="outline-4">
|
||||
<h4 id="org5fd5bd8"><span class="section-number-4">2.1.4</span> C interface</h4>
|
||||
<div id="outline-container-orgefcef33" class="outline-4">
|
||||
<h4 id="orgefcef33"><span class="section-number-4">2.1.4</span> C interface</h4>
|
||||
</div>
|
||||
<div id="outline-container-org1a61981" class="outline-4">
|
||||
<h4 id="org1a61981"><span class="section-number-4">2.1.5</span> Fortran interface</h4>
|
||||
<div id="outline-container-org7db3112" class="outline-4">
|
||||
<h4 id="org7db3112"><span class="section-number-4">2.1.5</span> Fortran interface</h4>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org22e313a" class="outline-4">
|
||||
<h4 id="org22e313a"><span class="section-number-4">2.1.6</span> Test</h4>
|
||||
<div id="outline-container-org3639aa6" class="outline-4">
|
||||
<h4 id="org3639aa6"><span class="section-number-4">2.1.6</span> Test</h4>
|
||||
<div class="outline-text-4" id="text-2-1-6">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-f90"><span style="color: #228b22;">integer</span>(<span style="color: #008b8b;">c_int32_t</span>) <span style="color: #a020f0;">function</span> <span style="color: #0000ff;">test_qmckl_ao_power</span>(context) <span style="color: #a020f0;">bind</span>(C)
|
||||
@ -793,8 +793,8 @@ the \(n\) points:
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org5d5eb27" class="outline-3">
|
||||
<h3 id="org5d5eb27"><span class="section-number-3">2.2</span> Value, Gradient and Laplacian of a polynomial</h3>
|
||||
<div id="outline-container-orgf6ccdd2" class="outline-3">
|
||||
<h3 id="orgf6ccdd2"><span class="section-number-3">2.2</span> Value, Gradient and Laplacian of a polynomial</h3>
|
||||
<div class="outline-text-3" id="text-2-2">
|
||||
<p>
|
||||
A polynomial is centered on a nucleus \(\mathbf{R}_i\)
|
||||
@ -839,7 +839,7 @@ Laplacians at a given point in space, of all polynomials with an
|
||||
angular momentum up to <code>lmax</code>.
|
||||
</p>
|
||||
|
||||
<table id="org9512862" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org7c8358f" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -918,8 +918,8 @@ angular momentum up to <code>lmax</code>.
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org26b785c" class="outline-4">
|
||||
<h4 id="org26b785c"><span class="section-number-4">2.2.1</span> Requirements</h4>
|
||||
<div id="outline-container-org0eead80" class="outline-4">
|
||||
<h4 id="org0eead80"><span class="section-number-4">2.2.1</span> Requirements</h4>
|
||||
<div class="outline-text-4" id="text-2-2-1">
|
||||
<ul class="org-ul">
|
||||
<li><code>context</code> is not <code>QMCKL_NULL_CONTEXT</code></li>
|
||||
@ -944,8 +944,8 @@ For example, with a=0, b=2 and c=1 the string is "yyz"</li>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgdcda373" class="outline-4">
|
||||
<h4 id="orgdcda373"><span class="section-number-4">2.2.2</span> C Header</h4>
|
||||
<div id="outline-container-org5a255c8" class="outline-4">
|
||||
<h4 id="org5a255c8"><span class="section-number-4">2.2.2</span> C Header</h4>
|
||||
<div class="outline-text-4" id="text-2-2-2">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_ao_polynomial_vgl</span> (
|
||||
@ -963,8 +963,8 @@ For example, with a=0, b=2 and c=1 the string is "yyz"</li>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgc083caa" class="outline-4">
|
||||
<h4 id="orgc083caa"><span class="section-number-4">2.2.3</span> Source</h4>
|
||||
<div id="outline-container-orgf6a6f73" class="outline-4">
|
||||
<h4 id="orgf6a6f73"><span class="section-number-4">2.2.3</span> Source</h4>
|
||||
<div class="outline-text-4" id="text-2-2-3">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-f90"><span style="color: #228b22;">integer </span><span style="color: #a020f0;">function</span><span style="color: #a0522d;"> </span><span style="color: #0000ff;">qmckl_ao_polynomial_vgl_f</span><span style="color: #000000; background-color: #ffffff;">(context, X, R, lmax, n, L, ldl, VGL, ldv) result(info)</span>
|
||||
@ -1099,16 +1099,16 @@ For example, with a=0, b=2 and c=1 the string is "yyz"</li>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgdbcbad3" class="outline-4">
|
||||
<h4 id="orgdbcbad3"><span class="section-number-4">2.2.4</span> C interface</h4>
|
||||
<div id="outline-container-org6949ad9" class="outline-4">
|
||||
<h4 id="org6949ad9"><span class="section-number-4">2.2.4</span> C interface</h4>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org3ccacd0" class="outline-4">
|
||||
<h4 id="org3ccacd0"><span class="section-number-4">2.2.5</span> Fortran interface</h4>
|
||||
<div id="outline-container-orgc71e77e" class="outline-4">
|
||||
<h4 id="orgc71e77e"><span class="section-number-4">2.2.5</span> Fortran interface</h4>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org053d156" class="outline-4">
|
||||
<h4 id="org053d156"><span class="section-number-4">2.2.6</span> Test</h4>
|
||||
<div id="outline-container-org0c5bdc6" class="outline-4">
|
||||
<h4 id="org0c5bdc6"><span class="section-number-4">2.2.6</span> Test</h4>
|
||||
<div class="outline-text-4" id="text-2-2-6">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-f90"><span style="color: #228b22;">integer</span>(<span style="color: #008b8b;">c_int32_t</span>) <span style="color: #a020f0;">function</span> <span style="color: #0000ff;">test_qmckl_ao_polynomial_vgl</span>(context) <span style="color: #a020f0;">bind</span>(C)
|
||||
@ -1213,12 +1213,12 @@ munit_assert_int(0, ==, test_qmckl_ao_polynomial_vgl(context));
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgf74fbcc" class="outline-2">
|
||||
<h2 id="orgf74fbcc"><span class="section-number-2">3</span> Radial part</h2>
|
||||
<div id="outline-container-org29bffc8" class="outline-2">
|
||||
<h2 id="org29bffc8"><span class="section-number-2">3</span> Radial part</h2>
|
||||
<div class="outline-text-2" id="text-3">
|
||||
</div>
|
||||
<div id="outline-container-orgf19be7f" class="outline-3">
|
||||
<h3 id="orgf19be7f"><span class="section-number-3">3.1</span> Gaussian basis functions</h3>
|
||||
<div id="outline-container-org0184d9d" class="outline-3">
|
||||
<h3 id="org0184d9d"><span class="section-number-3">3.1</span> Gaussian basis functions</h3>
|
||||
<div class="outline-text-3" id="text-3-1">
|
||||
<p>
|
||||
<code>qmckl_ao_gaussian_vgl</code> computes the values, gradients and
|
||||
@ -1450,21 +1450,21 @@ Requirements
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgd13022f" class="outline-3">
|
||||
<h3 id="orgd13022f"><span class="section-number-3">3.2</span> <span class="todo TODO">TODO</span> Slater basis functions</h3>
|
||||
<div id="outline-container-orgb58ca63" class="outline-3">
|
||||
<h3 id="orgb58ca63"><span class="section-number-3">3.2</span> <span class="todo TODO">TODO</span> Slater basis functions</h3>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org96d36c5" class="outline-3">
|
||||
<h3 id="org96d36c5"><span class="section-number-3">3.3</span> <span class="todo TODO">TODO</span> Radial functions on a grid</h3>
|
||||
<div id="outline-container-orgca16261" class="outline-3">
|
||||
<h3 id="orgca16261"><span class="section-number-3">3.3</span> <span class="todo TODO">TODO</span> Radial functions on a grid</h3>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-orgaa38f31" class="outline-2">
|
||||
<h2 id="orgaa38f31"><span class="section-number-2">4</span> Combining radial and polynomial parts</h2>
|
||||
<div id="outline-container-orgce07082" class="outline-2">
|
||||
<h2 id="orgce07082"><span class="section-number-2">4</span> Combining radial and polynomial parts</h2>
|
||||
</div>
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: TREX CoE</p>
|
||||
<p class="date">Created: 2021-04-21 Wed 11:01</p>
|
||||
<p class="date">Created: 2021-04-21 Wed 11:18</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-21 Wed 11:01 -->
|
||||
<!-- 2021-04-21 Wed 11:18 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>Context</title>
|
||||
@ -311,21 +311,21 @@ for the JavaScript code in this tag.
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents">
|
||||
<ul>
|
||||
<li><a href="#org084d059">1. Context handling</a>
|
||||
<li><a href="#org02a5499">1. Context handling</a>
|
||||
<ul>
|
||||
<li><a href="#org78c0a82">1.1. Data structure</a></li>
|
||||
<li><a href="#orgf5c1702">1.2. Creation</a></li>
|
||||
<li><a href="#orgf67bc62">1.3. Locking</a></li>
|
||||
<li><a href="#org064a5eb">1.4. <span class="todo TODO">TODO</span> Copy</a></li>
|
||||
<li><a href="#org23fc9ac">1.5. Destroy</a></li>
|
||||
<li><a href="#orga48a545">1.1. Data structure</a></li>
|
||||
<li><a href="#orgb7af194">1.2. Creation</a></li>
|
||||
<li><a href="#org0fee55c">1.3. Locking</a></li>
|
||||
<li><a href="#orgf818576">1.4. <span class="todo TODO">TODO</span> Copy</a></li>
|
||||
<li><a href="#orgdfa8759">1.5. Destroy</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org084d059" class="outline-2">
|
||||
<h2 id="org084d059"><span class="section-number-2">1</span> Context handling</h2>
|
||||
<div id="outline-container-org02a5499" class="outline-2">
|
||||
<h2 id="org02a5499"><span class="section-number-2">1</span> Context handling</h2>
|
||||
<div class="outline-text-2" id="text-1">
|
||||
<p>
|
||||
The context variable is a handle for the state of the library,
|
||||
@ -338,7 +338,7 @@ A value of <code>QMCKL_NULL_CONTEXT</code> for the context is equivalent to a
|
||||
</p>
|
||||
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c" id="org10641c3"><span style="color: #a020f0;">typedef</span> <span style="color: #228b22;">int64_t</span> <span style="color: #228b22;">qmckl_context</span> ;
|
||||
<pre class="src src-c" id="org535afbd"><span style="color: #a020f0;">typedef</span> <span style="color: #228b22;">int64_t</span> <span style="color: #228b22;">qmckl_context</span> ;
|
||||
<span style="color: #483d8b;">#define</span> <span style="color: #a0522d;">QMCKL_NULL_CONTEXT</span> (qmckl_context) 0
|
||||
</pre>
|
||||
</div>
|
||||
@ -356,8 +356,8 @@ and <code>ctx</code> is a <code>qmckl_context_struct*</code> pointer.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org78c0a82" class="outline-3">
|
||||
<h3 id="org78c0a82"><span class="section-number-3">1.1</span> Data structure</h3>
|
||||
<div id="outline-container-orga48a545" class="outline-3">
|
||||
<h3 id="orga48a545"><span class="section-number-3">1.1</span> Data structure</h3>
|
||||
<div class="outline-text-3" id="text-1-1">
|
||||
<p>
|
||||
The context keeps a ``date'' that allows to check which data needs
|
||||
@ -367,7 +367,7 @@ coordinates are updated.
|
||||
|
||||
<p>
|
||||
When a new element is added to the context, the functions
|
||||
<a href="#orgf5c1702">qmckl<sub>context</sub><sub>create</sub></a>, <a href="#org23fc9ac">qmckl<sub>context</sub><sub>destroy</sub></a> and <a href="#org064a5eb">qmckl<sub>context</sub><sub>copy</sub></a>
|
||||
<a href="#orgb7af194">qmckl<sub>context</sub><sub>create</sub></a>, <a href="#orgdfa8759">qmckl<sub>context</sub><sub>destroy</sub></a> and <a href="#orgf818576">qmckl<sub>context</sub><sub>copy</sub></a>
|
||||
should be updated inorder to make deep copies.
|
||||
</p>
|
||||
|
||||
@ -416,8 +416,8 @@ if the context is valid, <code>QMCKL_NULL_CONTEXT</code> otherwise.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgf5c1702" class="outline-3">
|
||||
<h3 id="orgf5c1702"><span class="section-number-3">1.2</span> Creation</h3>
|
||||
<div id="outline-container-orgb7af194" class="outline-3">
|
||||
<h3 id="orgb7af194"><span class="section-number-3">1.2</span> Creation</h3>
|
||||
<div class="outline-text-3" id="text-1-2">
|
||||
<p>
|
||||
To create a new context, <code>qmckl_context_create()</code> should be used.
|
||||
@ -491,8 +491,8 @@ To create a new context, <code>qmckl_context_create()</code> should be used.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-orgf67bc62" class="outline-3">
|
||||
<h3 id="orgf67bc62"><span class="section-number-3">1.3</span> Locking</h3>
|
||||
<div id="outline-container-org0fee55c" class="outline-3">
|
||||
<h3 id="org0fee55c"><span class="section-number-3">1.3</span> Locking</h3>
|
||||
<div class="outline-text-3" id="text-1-3">
|
||||
<p>
|
||||
For thread safety, the context may be locked/unlocked. The lock is
|
||||
@ -537,8 +537,8 @@ number of times the thread has locked it is saved in the
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org064a5eb" class="outline-3">
|
||||
<h3 id="org064a5eb"><span class="section-number-3">1.4</span> <span class="todo TODO">TODO</span> Copy</h3>
|
||||
<div id="outline-container-orgf818576" class="outline-3">
|
||||
<h3 id="orgf818576"><span class="section-number-3">1.4</span> <span class="todo TODO">TODO</span> Copy</h3>
|
||||
<div class="outline-text-3" id="text-1-4">
|
||||
<p>
|
||||
<code>qmckl_context_copy</code> makes a deep copy of a context. It returns
|
||||
@ -586,8 +586,8 @@ number of times the thread has locked it is saved in the
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-org23fc9ac" class="outline-3">
|
||||
<h3 id="org23fc9ac"><span class="section-number-3">1.5</span> Destroy</h3>
|
||||
<div id="outline-container-orgdfa8759" class="outline-3">
|
||||
<h3 id="orgdfa8759"><span class="section-number-3">1.5</span> Destroy</h3>
|
||||
<div class="outline-text-3" id="text-1-5">
|
||||
<p>
|
||||
The context is destroyed with <code>qmckl_context_destroy</code>, leaving the ancestors untouched.
|
||||
@ -641,7 +641,7 @@ It frees the context, and returns the previous context.
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: TREX CoE</p>
|
||||
<p class="date">Created: 2021-04-21 Wed 11:01</p>
|
||||
<p class="date">Created: 2021-04-21 Wed 11:18</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-21 Wed 11:01 -->
|
||||
<!-- 2021-04-21 Wed 11:18 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>Inter-particle distances</title>
|
||||
@ -333,14 +333,14 @@ for the JavaScript code in this tag.
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents">
|
||||
<ul>
|
||||
<li><a href="#org3039173">1. Squared distance</a>
|
||||
<li><a href="#org28f650f">1. Squared distance</a>
|
||||
<ul>
|
||||
<li><a href="#org4aa7982">1.1. <code>qmckl_distance_sq</code></a>
|
||||
<li><a href="#org30ba265">1.1. <code>qmckl_distance_sq</code></a>
|
||||
<ul>
|
||||
<li><a href="#org16ad7f7">1.1.1. Requirements</a></li>
|
||||
<li><a href="#org749686a">1.1.2. C header</a></li>
|
||||
<li><a href="#orga919262">1.1.3. Source</a></li>
|
||||
<li><a href="#org7c864a8">1.1.4. Performance</a></li>
|
||||
<li><a href="#org665e4d4">1.1.1. Requirements</a></li>
|
||||
<li><a href="#org8780c24">1.1.2. C header</a></li>
|
||||
<li><a href="#orgd73c69c">1.1.3. Source</a></li>
|
||||
<li><a href="#org32ccc52">1.1.4. Performance</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@ -349,12 +349,12 @@ for the JavaScript code in this tag.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org3039173" class="outline-2">
|
||||
<h2 id="org3039173"><span class="section-number-2">1</span> Squared distance</h2>
|
||||
<div id="outline-container-org28f650f" class="outline-2">
|
||||
<h2 id="org28f650f"><span class="section-number-2">1</span> Squared distance</h2>
|
||||
<div class="outline-text-2" id="text-1">
|
||||
</div>
|
||||
<div id="outline-container-org4aa7982" class="outline-3">
|
||||
<h3 id="org4aa7982"><span class="section-number-3">1.1</span> <code>qmckl_distance_sq</code></h3>
|
||||
<div id="outline-container-org30ba265" class="outline-3">
|
||||
<h3 id="org30ba265"><span class="section-number-3">1.1</span> <code>qmckl_distance_sq</code></h3>
|
||||
<div class="outline-text-3" id="text-1-1">
|
||||
<p>
|
||||
<code>qmckl_distance_sq</code> computes the matrix of the squared distances
|
||||
@ -367,7 +367,7 @@ between all pairs of points in two sets, one point within each set:
|
||||
\]
|
||||
</p>
|
||||
|
||||
<table id="org20e177a" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orgf3ee1a1" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -460,8 +460,8 @@ between all pairs of points in two sets, one point within each set:
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org16ad7f7" class="outline-4">
|
||||
<h4 id="org16ad7f7"><span class="section-number-4">1.1.1</span> Requirements</h4>
|
||||
<div id="outline-container-org665e4d4" class="outline-4">
|
||||
<h4 id="org665e4d4"><span class="section-number-4">1.1.1</span> Requirements</h4>
|
||||
<div class="outline-text-4" id="text-1-1-1">
|
||||
<ul class="org-ul">
|
||||
<li><code>context</code> is not <code>QMCKL_NULL_CONTEXT</code></li>
|
||||
@ -479,8 +479,8 @@ between all pairs of points in two sets, one point within each set:
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org749686a" class="outline-4">
|
||||
<h4 id="org749686a"><span class="section-number-4">1.1.2</span> C header</h4>
|
||||
<div id="outline-container-org8780c24" class="outline-4">
|
||||
<h4 id="org8780c24"><span class="section-number-4">1.1.2</span> C header</h4>
|
||||
<div class="outline-text-4" id="text-1-1-2">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_distance_sq</span> (
|
||||
@ -500,8 +500,8 @@ between all pairs of points in two sets, one point within each set:
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orga919262" class="outline-4">
|
||||
<h4 id="orga919262"><span class="section-number-4">1.1.3</span> Source</h4>
|
||||
<div id="outline-container-orgd73c69c" class="outline-4">
|
||||
<h4 id="orgd73c69c"><span class="section-number-4">1.1.3</span> Source</h4>
|
||||
<div class="outline-text-4" id="text-1-1-3">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-f90"><span style="color: #228b22;">integer </span><span style="color: #a020f0;">function</span><span style="color: #a0522d;"> </span><span style="color: #0000ff;">qmckl_distance_sq_f</span><span style="color: #000000; background-color: #ffffff;">(context, transa, transb, m, n, A, LDA, B, LDB, C, LDC) result(info)</span>
|
||||
@ -634,8 +634,8 @@ between all pairs of points in two sets, one point within each set:
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org7c864a8" class="outline-4">
|
||||
<h4 id="org7c864a8"><span class="section-number-4">1.1.4</span> Performance</h4>
|
||||
<div id="outline-container-org32ccc52" class="outline-4">
|
||||
<h4 id="org32ccc52"><span class="section-number-4">1.1.4</span> Performance</h4>
|
||||
<div class="outline-text-4" id="text-1-1-4">
|
||||
<p>
|
||||
This function might be more efficient when <code>A</code> and <code>B</code> are
|
||||
@ -648,7 +648,7 @@ transposed.
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: TREX CoE</p>
|
||||
<p class="date">Created: 2021-04-21 Wed 11:01</p>
|
||||
<p class="date">Created: 2021-04-21 Wed 11:18</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-21 Wed 11:01 -->
|
||||
<!-- 2021-04-21 Wed 11:18 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>Electrons</title>
|
||||
@ -311,20 +311,20 @@ for the JavaScript code in this tag.
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents">
|
||||
<ul>
|
||||
<li><a href="#org60663a9">1. Context</a>
|
||||
<li><a href="#org71604b4">1. Context</a>
|
||||
<ul>
|
||||
<li><a href="#org4928719">1.1. Data structure</a></li>
|
||||
<li><a href="#orga96e8fe">1.2. Access functions</a></li>
|
||||
<li><a href="#orgc0fc97d">1.3. Initialization functions</a></li>
|
||||
<li><a href="#org1891f59">1.4. Test</a></li>
|
||||
<li><a href="#org3d4d800">1.1. Data structure</a></li>
|
||||
<li><a href="#org363a9b4">1.2. Access functions</a></li>
|
||||
<li><a href="#org5fd075e">1.3. Initialization functions</a></li>
|
||||
<li><a href="#org171585e">1.4. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org60663a9" class="outline-2">
|
||||
<h2 id="org60663a9"><span class="section-number-2">1</span> Context</h2>
|
||||
<div id="outline-container-org71604b4" class="outline-2">
|
||||
<h2 id="org71604b4"><span class="section-number-2">1</span> Context</h2>
|
||||
<div class="outline-text-2" id="text-1">
|
||||
<p>
|
||||
The following data stored in the context:
|
||||
@ -398,8 +398,8 @@ The following data stored in the context:
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org4928719" class="outline-3">
|
||||
<h3 id="org4928719"><span class="section-number-3">1.1</span> Data structure</h3>
|
||||
<div id="outline-container-org3d4d800" class="outline-3">
|
||||
<h3 id="org3d4d800"><span class="section-number-3">1.1</span> Data structure</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> <span style="color: #228b22;">qmckl_electron_struct</span> {
|
||||
@ -425,8 +425,8 @@ struct is then initialized and <code>provided == true</code>.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orga96e8fe" class="outline-3">
|
||||
<h3 id="orga96e8fe"><span class="section-number-3">1.2</span> Access functions</h3>
|
||||
<div id="outline-container-org363a9b4" class="outline-3">
|
||||
<h3 id="org363a9b4"><span class="section-number-3">1.2</span> Access functions</h3>
|
||||
<div class="outline-text-3" id="text-1-2">
|
||||
<p>
|
||||
When all the data relative to electrons have been set, the
|
||||
@ -440,8 +440,8 @@ following function returns <code>true</code>.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgc0fc97d" class="outline-3">
|
||||
<h3 id="orgc0fc97d"><span class="section-number-3">1.3</span> Initialization functions</h3>
|
||||
<div id="outline-container-org5fd075e" class="outline-3">
|
||||
<h3 id="org5fd075e"><span class="section-number-3">1.3</span> Initialization functions</h3>
|
||||
<div class="outline-text-3" id="text-1-3">
|
||||
<p>
|
||||
To set the data relative to the electrons in the context, the
|
||||
@ -471,8 +471,8 @@ electrons have been set.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org1891f59" class="outline-3">
|
||||
<h3 id="org1891f59"><span class="section-number-3">1.4</span> Test</h3>
|
||||
<div id="outline-container-org171585e" class="outline-3">
|
||||
<h3 id="org171585e"><span class="section-number-3">1.4</span> Test</h3>
|
||||
<div class="outline-text-3" id="text-1-4">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c">/* <span style="color: #b22222;">Reference input data </span>*/
|
||||
@ -519,7 +519,7 @@ rc = qmckl_set_electron_coord (context, coord);
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: TREX CoE</p>
|
||||
<p class="date">Created: 2021-04-21 Wed 11:01</p>
|
||||
<p class="date">Created: 2021-04-21 Wed 11:18</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-21 Wed 11:01 -->
|
||||
<!-- 2021-04-21 Wed 11:18 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>Error handling</title>
|
||||
@ -311,18 +311,18 @@ for the JavaScript code in this tag.
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents">
|
||||
<ul>
|
||||
<li><a href="#org036cb4b"></a></li>
|
||||
<li><a href="#org02deea1">1. Decoding errors</a></li>
|
||||
<li><a href="#org1529a7f">2. Data structure in context</a></li>
|
||||
<li><a href="#org81c5a0e">3. Updating errors in the context</a></li>
|
||||
<li><a href="#orgac0422f">4. Failing</a></li>
|
||||
<li><a href="#orgbcde854"></a></li>
|
||||
<li><a href="#orgfc79cf0">1. Decoding errors</a></li>
|
||||
<li><a href="#org6bbc6ec">2. Data structure in context</a></li>
|
||||
<li><a href="#orge37287b">3. Updating errors in the context</a></li>
|
||||
<li><a href="#orgcd0c187">4. Failing</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org036cb4b" class="outline-2">
|
||||
<h2 id="org036cb4b"></h2>
|
||||
<div class="outline-text-2" id="text-org036cb4b">
|
||||
<div id="outline-container-orgbcde854" class="outline-2">
|
||||
<h2 id="orgbcde854"></h2>
|
||||
<div class="outline-text-2" id="text-orgbcde854">
|
||||
<p>
|
||||
The library should never make the calling programs abort, nor
|
||||
perform any input/output operations. This decision has to be taken
|
||||
@ -333,7 +333,7 @@ by the developer of the code calling the library.
|
||||
All the functions return with an exit code, defined as
|
||||
</p>
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c" id="orgb0f3e17"><span style="color: #a020f0;">typedef</span> <span style="color: #228b22;">int32_t</span> <span style="color: #228b22;">qmckl_exit_code</span>;
|
||||
<pre class="src src-c" id="org38e8ca5"><span style="color: #a020f0;">typedef</span> <span style="color: #228b22;">int32_t</span> <span style="color: #228b22;">qmckl_exit_code</span>;
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
@ -350,7 +350,7 @@ error code is returned to the program.
|
||||
Here is the complete list of exit codes.
|
||||
</p>
|
||||
|
||||
<table id="org94ccefc" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org1a068c7" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -480,8 +480,8 @@ string is assumed to be large enough to contain the error message
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org02deea1" class="outline-2">
|
||||
<h2 id="org02deea1"><span class="section-number-2">1</span> Decoding errors</h2>
|
||||
<div id="outline-container-orgfc79cf0" class="outline-2">
|
||||
<h2 id="orgfc79cf0"><span class="section-number-2">1</span> Decoding errors</h2>
|
||||
<div class="outline-text-2" id="text-1">
|
||||
<p>
|
||||
To decode the error messages, <code>qmckl_string_of_error</code> converts an
|
||||
@ -575,8 +575,8 @@ The text strings are extracted from the previous table.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org1529a7f" class="outline-2">
|
||||
<h2 id="org1529a7f"><span class="section-number-2">2</span> Data structure in context</h2>
|
||||
<div id="outline-container-org6bbc6ec" class="outline-2">
|
||||
<h2 id="org6bbc6ec"><span class="section-number-2">2</span> Data structure in context</h2>
|
||||
<div class="outline-text-2" id="text-2">
|
||||
<p>
|
||||
The strings are declared with a maximum fixed size to avoid
|
||||
@ -599,8 +599,8 @@ dynamic memory allocation.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org81c5a0e" class="outline-2">
|
||||
<h2 id="org81c5a0e"><span class="section-number-2">3</span> Updating errors in the context</h2>
|
||||
<div id="outline-container-orge37287b" class="outline-2">
|
||||
<h2 id="orge37287b"><span class="section-number-2">3</span> Updating errors in the context</h2>
|
||||
<div class="outline-text-2" id="text-3">
|
||||
<p>
|
||||
The error is updated in the context using <code>qmckl_set_error</code>.
|
||||
@ -646,8 +646,8 @@ explaining the error. The exit code can't be <code>QMCKL_SUCCESS</code>.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgac0422f" class="outline-2">
|
||||
<h2 id="orgac0422f"><span class="section-number-2">4</span> Failing</h2>
|
||||
<div id="outline-container-orgcd0c187" class="outline-2">
|
||||
<h2 id="orgcd0c187"><span class="section-number-2">4</span> Failing</h2>
|
||||
<div class="outline-text-2" id="text-4">
|
||||
<p>
|
||||
To make a function fail, the <code>qmckl_failwith</code> function should be
|
||||
@ -710,7 +710,7 @@ For example, this function can be used as
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: TREX CoE</p>
|
||||
<p class="date">Created: 2021-04-21 Wed 11:01</p>
|
||||
<p class="date">Created: 2021-04-21 Wed 11:18</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-21 Wed 11:01 -->
|
||||
<!-- 2021-04-21 Wed 11:18 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>Memory management</title>
|
||||
@ -311,15 +311,15 @@ for the JavaScript code in this tag.
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents">
|
||||
<ul>
|
||||
<li><a href="#org90b35a0">1. Memory data structure for the context</a></li>
|
||||
<li><a href="#orgfad78d0">2. Passing info to allocation routines</a></li>
|
||||
<li><a href="#org1b42b29">3. Allocation/deallocation functions</a></li>
|
||||
<li><a href="#orgd35e22e">1. Memory data structure for the context</a></li>
|
||||
<li><a href="#org57cc334">2. Passing info to allocation routines</a></li>
|
||||
<li><a href="#orga204b6c">3. Allocation/deallocation functions</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org90b35a0" class="outline-2">
|
||||
<h2 id="org90b35a0"><span class="section-number-2">1</span> Memory data structure for the context</h2>
|
||||
<div id="outline-container-orgd35e22e" class="outline-2">
|
||||
<h2 id="orgd35e22e"><span class="section-number-2">1</span> Memory data structure for the context</h2>
|
||||
<div class="outline-text-2" id="text-1">
|
||||
<p>
|
||||
Every time a new block of memory is allocated, the information
|
||||
@ -361,8 +361,8 @@ array, and the number of allocated blocks.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgfad78d0" class="outline-2">
|
||||
<h2 id="orgfad78d0"><span class="section-number-2">2</span> Passing info to allocation routines</h2>
|
||||
<div id="outline-container-org57cc334" class="outline-2">
|
||||
<h2 id="org57cc334"><span class="section-number-2">2</span> Passing info to allocation routines</h2>
|
||||
<div class="outline-text-2" id="text-2">
|
||||
<p>
|
||||
Passing information to the allocation routine should be done by
|
||||
@ -371,8 +371,8 @@ passing an instance of a <code>qmckl_memory_info_struct</code>.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org1b42b29" class="outline-2">
|
||||
<h2 id="org1b42b29"><span class="section-number-2">3</span> Allocation/deallocation functions</h2>
|
||||
<div id="outline-container-orga204b6c" class="outline-2">
|
||||
<h2 id="orga204b6c"><span class="section-number-2">3</span> Allocation/deallocation functions</h2>
|
||||
<div class="outline-text-2" id="text-3">
|
||||
<p>
|
||||
Memory allocation inside the library should be done with
|
||||
@ -535,7 +535,7 @@ allocation and needs to be updated.
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: TREX CoE</p>
|
||||
<p class="date">Created: 2021-04-21 Wed 11:01</p>
|
||||
<p class="date">Created: 2021-04-21 Wed 11:18</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-21 Wed 11:01 -->
|
||||
<!-- 2021-04-21 Wed 11:18 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>Numerical precision</title>
|
||||
@ -333,16 +333,16 @@ for the JavaScript code in this tag.
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents">
|
||||
<ul>
|
||||
<li><a href="#orgf7bbff2">1. Control of the numerical precision</a></li>
|
||||
<li><a href="#org7e2ef52">2. Precision</a></li>
|
||||
<li><a href="#org4f67ad3">3. Range</a></li>
|
||||
<li><a href="#orgb244009">4. Helper functions</a></li>
|
||||
<li><a href="#org17eee39">1. Control of the numerical precision</a></li>
|
||||
<li><a href="#org4565108">2. Precision</a></li>
|
||||
<li><a href="#orgf6fa1bd">3. Range</a></li>
|
||||
<li><a href="#org1ecc08d">4. Helper functions</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgf7bbff2" class="outline-2">
|
||||
<h2 id="orgf7bbff2"><span class="section-number-2">1</span> Control of the numerical precision</h2>
|
||||
<div id="outline-container-org17eee39" class="outline-2">
|
||||
<h2 id="org17eee39"><span class="section-number-2">1</span> Control of the numerical precision</h2>
|
||||
<div class="outline-text-2" id="text-1">
|
||||
<p>
|
||||
Controlling numerical precision enables optimizations. Here, the
|
||||
@ -353,7 +353,7 @@ Arithmetic (IEEE 754),
|
||||
refers to the number of exponent bits.
|
||||
</p>
|
||||
|
||||
<table id="org8701a0e" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orge4a6e19" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -397,8 +397,8 @@ integer. The update functions return <code>QMCKL_SUCCESS</code> or
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org7e2ef52" class="outline-2">
|
||||
<h2 id="org7e2ef52"><span class="section-number-2">2</span> Precision</h2>
|
||||
<div id="outline-container-org4565108" class="outline-2">
|
||||
<h2 id="org4565108"><span class="section-number-2">2</span> Precision</h2>
|
||||
<div class="outline-text-2" id="text-2">
|
||||
<p>
|
||||
<code>qmckl_context_set_numprec_precision</code> modifies the parameter for the
|
||||
@ -485,8 +485,8 @@ numerical precision in the context.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org4f67ad3" class="outline-2">
|
||||
<h2 id="org4f67ad3"><span class="section-number-2">3</span> Range</h2>
|
||||
<div id="outline-container-orgf6fa1bd" class="outline-2">
|
||||
<h2 id="orgf6fa1bd"><span class="section-number-2">3</span> Range</h2>
|
||||
<div class="outline-text-2" id="text-3">
|
||||
<p>
|
||||
<code>qmckl_set_numprec_range</code> modifies the parameter for the numerical
|
||||
@ -561,8 +561,8 @@ range in a given context.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-orgb244009" class="outline-2">
|
||||
<h2 id="orgb244009"><span class="section-number-2">4</span> Helper functions</h2>
|
||||
<div id="outline-container-org1ecc08d" class="outline-2">
|
||||
<h2 id="org1ecc08d"><span class="section-number-2">4</span> Helper functions</h2>
|
||||
<div class="outline-text-2" id="text-4">
|
||||
<p>
|
||||
<code>qmckl_get_numprec_epsilon</code> returns \(\epsilon = 2^{1-n}\) where <code>n</code> is the precision.
|
||||
@ -581,7 +581,7 @@ We need to remove the sign bit from the precision.
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: TREX CoE</p>
|
||||
<p class="date">Created: 2021-04-21 Wed 11:01</p>
|
||||
<p class="date">Created: 2021-04-21 Wed 11:18</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-21 Wed 11:01 -->
|
||||
<!-- 2021-04-21 Wed 11:18 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>Testing</title>
|
||||
@ -311,7 +311,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-21 Wed 11:01</p>
|
||||
<p class="date">Created: 2021-04-21 Wed 11:18</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