mirror of
https://github.com/TREX-CoE/qmckl.git
synced 2025-01-08 20:33:40 +01:00
Deploying to gh-pages from @ TREX-CoE/qmckl@eb09d47bc0 🚀
This commit is contained in:
parent
96363b0b1e
commit
0b168d5e7d
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2021-05-26 Wed 09:42 -->
|
||||
<!-- 2021-06-02 Wed 23:52 -->
|
||||
<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>
|
||||
@ -352,7 +352,7 @@ and bug reports should be submitted at
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: TREX CoE</p>
|
||||
<p class="date">Created: 2021-05-26 Wed 09:42</p>
|
||||
<p class="date">Created: 2021-06-02 Wed 23:52</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-05-26 Wed 09:42 -->
|
||||
<!-- 2021-06-02 Wed 23:52 -->
|
||||
<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="#org3747206">1. Using QMCkl</a></li>
|
||||
<li><a href="#orga438521">2. Developing in QMCkl</a>
|
||||
<li><a href="#orgb9affb1">1. Using QMCkl</a></li>
|
||||
<li><a href="#orgd2bc752">2. Developing in QMCkl</a>
|
||||
<ul>
|
||||
<li><a href="#org933b0e4">2.1. Literate programming</a></li>
|
||||
<li><a href="#org81282da">2.2. Source code editing</a></li>
|
||||
<li><a href="#org7039191">2.3. Choice of the programming language</a></li>
|
||||
<li><a href="#orgb821999">2.4. Coding rules</a></li>
|
||||
<li><a href="#orgddfef2c">2.5. Design of the library</a></li>
|
||||
<li><a href="#org1abc11c">2.6. Naming conventions</a></li>
|
||||
<li><a href="#orgc3fec82">2.7. Application programming interface</a></li>
|
||||
<li><a href="#org51b7aeb">2.8. Global state</a></li>
|
||||
<li><a href="#org393b3d0">2.9. Headers</a></li>
|
||||
<li><a href="#orge0b080f">2.10. Low-level functions</a></li>
|
||||
<li><a href="#org0e15a06">2.11. High-level functions</a></li>
|
||||
<li><a href="#orge6a5dd7">2.12. Numerical precision</a></li>
|
||||
<li><a href="#org0926b15">2.13. Algorithms</a></li>
|
||||
<li><a href="#orgb1b7ee8">2.1. Literate programming</a></li>
|
||||
<li><a href="#org098cb8e">2.2. Source code editing</a></li>
|
||||
<li><a href="#org71fbc31">2.3. Choice of the programming language</a></li>
|
||||
<li><a href="#orgc913c30">2.4. Coding rules</a></li>
|
||||
<li><a href="#org93515d7">2.5. Design of the library</a></li>
|
||||
<li><a href="#org0851c4a">2.6. Naming conventions</a></li>
|
||||
<li><a href="#org685b119">2.7. Application programming interface</a></li>
|
||||
<li><a href="#orgdfeaee2">2.8. Global state</a></li>
|
||||
<li><a href="#org6f2465e">2.9. Headers</a></li>
|
||||
<li><a href="#orgd933226">2.10. Low-level functions</a></li>
|
||||
<li><a href="#orgf2297fd">2.11. High-level functions</a></li>
|
||||
<li><a href="#org9022519">2.12. Numerical precision</a></li>
|
||||
<li><a href="#org73f2b73">2.13. Algorithms</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org3747206" class="outline-2">
|
||||
<h2 id="org3747206"><span class="section-number-2">1</span> Using QMCkl</h2>
|
||||
<div id="outline-container-orgb9affb1" class="outline-2">
|
||||
<h2 id="orgb9affb1"><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-orga438521" class="outline-2">
|
||||
<h2 id="orga438521"><span class="section-number-2">2</span> Developing in QMCkl</h2>
|
||||
<div id="outline-container-orgd2bc752" class="outline-2">
|
||||
<h2 id="orgd2bc752"><span class="section-number-2">2</span> Developing in QMCkl</h2>
|
||||
<div class="outline-text-2" id="text-2">
|
||||
</div>
|
||||
<div id="outline-container-org933b0e4" class="outline-3">
|
||||
<h3 id="org933b0e4"><span class="section-number-3">2.1</span> Literate programming</h3>
|
||||
<div id="outline-container-orgb1b7ee8" class="outline-3">
|
||||
<h3 id="orgb1b7ee8"><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-org81282da" class="outline-3">
|
||||
<h3 id="org81282da"><span class="section-number-3">2.2</span> Source code editing</h3>
|
||||
<div id="outline-container-org098cb8e" class="outline-3">
|
||||
<h3 id="org098cb8e"><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-org7039191" class="outline-3">
|
||||
<h3 id="org7039191"><span class="section-number-3">2.3</span> Choice of the programming language</h3>
|
||||
<div id="outline-container-org71fbc31" class="outline-3">
|
||||
<h3 id="org71fbc31"><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-orgb821999" class="outline-3">
|
||||
<h3 id="orgb821999"><span class="section-number-3">2.4</span> Coding rules</h3>
|
||||
<div id="outline-container-orgc913c30" class="outline-3">
|
||||
<h3 id="orgc913c30"><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-orgddfef2c" class="outline-3">
|
||||
<h3 id="orgddfef2c"><span class="section-number-3">2.5</span> Design of the library</h3>
|
||||
<div id="outline-container-org93515d7" class="outline-3">
|
||||
<h3 id="org93515d7"><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-org1abc11c" class="outline-3">
|
||||
<h3 id="org1abc11c"><span class="section-number-3">2.6</span> Naming conventions</h3>
|
||||
<div id="outline-container-org0851c4a" class="outline-3">
|
||||
<h3 id="org0851c4a"><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-orgc3fec82" class="outline-3">
|
||||
<h3 id="orgc3fec82"><span class="section-number-3">2.7</span> Application programming interface</h3>
|
||||
<div id="outline-container-org685b119" class="outline-3">
|
||||
<h3 id="org685b119"><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-org51b7aeb" class="outline-3">
|
||||
<h3 id="org51b7aeb"><span class="section-number-3">2.8</span> Global state</h3>
|
||||
<div id="outline-container-orgdfeaee2" class="outline-3">
|
||||
<h3 id="orgdfeaee2"><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="org2d620a4">=context=</a> contains the global
|
||||
<code>qmckl_context_create</code> function. The <a id="org62dbc99">=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-org393b3d0" class="outline-3">
|
||||
<h3 id="org393b3d0"><span class="section-number-3">2.9</span> Headers</h3>
|
||||
<div id="outline-container-org6f2465e" class="outline-3">
|
||||
<h3 id="org6f2465e"><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>*fh_type.f90</code> fil
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orge0b080f" class="outline-3">
|
||||
<h3 id="orge0b080f"><span class="section-number-3">2.10</span> Low-level functions</h3>
|
||||
<div id="outline-container-orgd933226" class="outline-3">
|
||||
<h3 id="orgd933226"><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="#org2d620a4"><code>context</code></a>. They are not allowed to allocate/deallocate memory, and
|
||||
<a href="#org62dbc99"><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-org0e15a06" class="outline-3">
|
||||
<h3 id="org0e15a06"><span class="section-number-3">2.11</span> High-level functions</h3>
|
||||
<div id="outline-container-orgf2297fd" class="outline-3">
|
||||
<h3 id="orgf2297fd"><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="#org2d620a4"><code>context</code></a> variable.
|
||||
the <a href="#org62dbc99"><code>context</code></a> variable.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orge6a5dd7" class="outline-3">
|
||||
<h3 id="orge6a5dd7"><span class="section-number-3">2.12</span> Numerical precision</h3>
|
||||
<div id="outline-container-org9022519" class="outline-3">
|
||||
<h3 id="org9022519"><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="#org2d620a4"><code>context</code></a>
|
||||
functions will use the precision specified in the <a href="#org62dbc99"><code>context</code></a>
|
||||
variable.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org0926b15" class="outline-3">
|
||||
<h3 id="org0926b15"><span class="section-number-3">2.13</span> Algorithms</h3>
|
||||
<div id="outline-container-org73f2b73" class="outline-3">
|
||||
<h3 id="org73f2b73"><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-05-26 Wed 09:42</p>
|
||||
<p class="date">Created: 2021-06-02 Wed 23:52</p>
|
||||
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||
</div>
|
||||
</body>
|
||||
|
165
qmckl_ao.html
165
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-05-26 Wed 09:42 -->
|
||||
<!-- 2021-06-02 Wed 23:52 -->
|
||||
<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="#orgbb47f92">1. Context</a>
|
||||
<li><a href="#org2ff485c">1. Context</a>
|
||||
<ul>
|
||||
<li><a href="#org211e55c">1.1. Data structure</a></li>
|
||||
<li><a href="#orga2cc257">1.2. Access functions</a></li>
|
||||
<li><a href="#orgf98376a">1.3. Initialization functions</a></li>
|
||||
<li><a href="#org3e0a2c0">1.4. <span class="todo TODO">TODO</span> Fortran interfaces</a></li>
|
||||
<li><a href="#orge14b4c2">1.1. Data structure</a></li>
|
||||
<li><a href="#orgd061811">1.2. Access functions</a></li>
|
||||
<li><a href="#org664c558">1.3. Initialization functions</a></li>
|
||||
<li><a href="#org6f2799b">1.4. <span class="todo TODO">TODO</span> Fortran interfaces</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgbe47f74">2. Polynomial part</a>
|
||||
<li><a href="#org711f1ca">2. Polynomial part</a>
|
||||
<ul>
|
||||
<li><a href="#org7eda098">2.1. Powers of \(x-X_i\)</a>
|
||||
<li><a href="#org560b2fd">2.1. Powers of \(x-X_i\)</a>
|
||||
<ul>
|
||||
<li><a href="#org6e89a3b">2.1.1. Requirements</a></li>
|
||||
<li><a href="#org2d12318">2.1.2. C Header</a></li>
|
||||
<li><a href="#org62421ab">2.1.3. Source</a></li>
|
||||
<li><a href="#org67b9625">2.1.4. C interface</a></li>
|
||||
<li><a href="#org713c30b">2.1.5. Fortran interface</a></li>
|
||||
<li><a href="#org3e237fb">2.1.6. Test</a></li>
|
||||
<li><a href="#org94d9404">2.1.1. Requirements</a></li>
|
||||
<li><a href="#org129d63b">2.1.2. C Header</a></li>
|
||||
<li><a href="#orgea1b8be">2.1.3. Source</a></li>
|
||||
<li><a href="#org401a17f">2.1.4. C interface</a></li>
|
||||
<li><a href="#orgd2d51fb">2.1.5. Fortran interface</a></li>
|
||||
<li><a href="#org608cc50">2.1.6. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org1b4e3d8">2.2. Value, Gradient and Laplacian of a polynomial</a>
|
||||
<li><a href="#orgf84400a">2.2. Value, Gradient and Laplacian of a polynomial</a>
|
||||
<ul>
|
||||
<li><a href="#org6e8c05d">2.2.1. Requirements</a></li>
|
||||
<li><a href="#org0eee2f9">2.2.2. C Header</a></li>
|
||||
<li><a href="#org29d637b">2.2.3. Source</a></li>
|
||||
<li><a href="#org4edf0db">2.2.4. C interface</a></li>
|
||||
<li><a href="#orgaa29edb">2.2.5. Fortran interface</a></li>
|
||||
<li><a href="#org1bc5b9a">2.2.6. Test</a></li>
|
||||
<li><a href="#orgfafa647">2.2.1. Requirements</a></li>
|
||||
<li><a href="#orgdaf5f59">2.2.2. C Header</a></li>
|
||||
<li><a href="#orgd5b7369">2.2.3. Source</a></li>
|
||||
<li><a href="#orgbdfd2ee">2.2.4. C interface</a></li>
|
||||
<li><a href="#orgf6d1e15">2.2.5. Fortran interface</a></li>
|
||||
<li><a href="#org831ee9f">2.2.6. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org28dbc19">3. Radial part</a>
|
||||
<li><a href="#org92aa4a0">3. Radial part</a>
|
||||
<ul>
|
||||
<li><a href="#org42d53f6">3.1. Gaussian basis functions</a></li>
|
||||
<li><a href="#org2999058">3.2. <span class="todo TODO">TODO</span> Slater basis functions</a></li>
|
||||
<li><a href="#org9942b67">3.3. <span class="todo TODO">TODO</span> Radial functions on a grid</a></li>
|
||||
<li><a href="#org81b9b3e">3.1. Gaussian basis functions</a></li>
|
||||
<li><a href="#org8945866">3.2. <span class="todo TODO">TODO</span> Slater basis functions</a></li>
|
||||
<li><a href="#org81f9535">3.3. <span class="todo TODO">TODO</span> Radial functions on a grid</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org886eb84">4. Combining radial and polynomial parts</a></li>
|
||||
<li><a href="#orge6aa4b1">4. Combining radial and polynomial parts</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgbb47f92" class="outline-2">
|
||||
<h2 id="orgbb47f92"><span class="section-number-2">1</span> Context</h2>
|
||||
<div id="outline-container-org2ff485c" class="outline-2">
|
||||
<h2 id="org2ff485c"><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:
|
||||
@ -454,6 +454,12 @@ The following arrays are stored in the context:
|
||||
<td class="org-left"><code>[prim_num]</code></td>
|
||||
<td class="org-left">Array of coefficients</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="org-left"><code>prim_factor</code></td>
|
||||
<td class="org-left"><code>[prim_num]</code></td>
|
||||
<td class="org-left">Normalization factors of the primtives</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
@ -503,8 +509,8 @@ coefficient = [ 0.006068, 0.045308, 0.202822, 0.503903, 0.383421,
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org211e55c" class="outline-3">
|
||||
<h3 id="org211e55c"><span class="section-number-3">1.1</span> Data structure</h3>
|
||||
<div id="outline-container-orge14b4c2" class="outline-3">
|
||||
<h3 id="orge14b4c2"><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 +539,8 @@ struct is then initialized and <code>provided == true</code>.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orga2cc257" class="outline-3">
|
||||
<h3 id="orga2cc257"><span class="section-number-3">1.2</span> Access functions</h3>
|
||||
<div id="outline-container-orgd061811" class="outline-3">
|
||||
<h3 id="orgd061811"><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 +554,8 @@ function returns <code>true</code>.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgf98376a" class="outline-3">
|
||||
<h3 id="orgf98376a"><span class="section-number-3">1.3</span> Initialization functions</h3>
|
||||
<div id="outline-container-org664c558" class="outline-3">
|
||||
<h3 id="org664c558"><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 +578,17 @@ called. When
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org3e0a2c0" class="outline-3">
|
||||
<h3 id="org3e0a2c0"><span class="section-number-3">1.4</span> <span class="todo TODO">TODO</span> Fortran interfaces</h3>
|
||||
<div id="outline-container-org6f2799b" class="outline-3">
|
||||
<h3 id="org6f2799b"><span class="section-number-3">1.4</span> <span class="todo TODO">TODO</span> Fortran interfaces</h3>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgbe47f74" class="outline-2">
|
||||
<h2 id="orgbe47f74"><span class="section-number-2">2</span> Polynomial part</h2>
|
||||
<div id="outline-container-org711f1ca" class="outline-2">
|
||||
<h2 id="org711f1ca"><span class="section-number-2">2</span> Polynomial part</h2>
|
||||
<div class="outline-text-2" id="text-2">
|
||||
</div>
|
||||
<div id="outline-container-org7eda098" class="outline-3">
|
||||
<h3 id="org7eda098"><span class="section-number-3">2.1</span> Powers of \(x-X_i\)</h3>
|
||||
<div id="outline-container-org560b2fd" class="outline-3">
|
||||
<h3 id="org560b2fd"><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 +600,7 @@ the \(n\) points:
|
||||
\[ P_{ik} = X_i^k \]
|
||||
</p>
|
||||
|
||||
<table id="org71f76d1" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org93b325b" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -652,8 +658,8 @@ the \(n\) points:
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org6e89a3b" class="outline-4">
|
||||
<h4 id="org6e89a3b"><span class="section-number-4">2.1.1</span> Requirements</h4>
|
||||
<div id="outline-container-org94d9404" class="outline-4">
|
||||
<h4 id="org94d9404"><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 +672,8 @@ the \(n\) points:
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org2d12318" class="outline-4">
|
||||
<h4 id="org2d12318"><span class="section-number-4">2.1.2</span> C Header</h4>
|
||||
<div id="outline-container-org129d63b" class="outline-4">
|
||||
<h4 id="org129d63b"><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 +688,8 @@ the \(n\) points:
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org62421ab" class="outline-4">
|
||||
<h4 id="org62421ab"><span class="section-number-4">2.1.3</span> Source</h4>
|
||||
<div id="outline-container-orgea1b8be" class="outline-4">
|
||||
<h4 id="orgea1b8be"><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 +740,15 @@ the \(n\) points:
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org67b9625" class="outline-4">
|
||||
<h4 id="org67b9625"><span class="section-number-4">2.1.4</span> C interface</h4>
|
||||
<div id="outline-container-org401a17f" class="outline-4">
|
||||
<h4 id="org401a17f"><span class="section-number-4">2.1.4</span> C interface</h4>
|
||||
</div>
|
||||
<div id="outline-container-org713c30b" class="outline-4">
|
||||
<h4 id="org713c30b"><span class="section-number-4">2.1.5</span> Fortran interface</h4>
|
||||
<div id="outline-container-orgd2d51fb" class="outline-4">
|
||||
<h4 id="orgd2d51fb"><span class="section-number-4">2.1.5</span> Fortran interface</h4>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org3e237fb" class="outline-4">
|
||||
<h4 id="org3e237fb"><span class="section-number-4">2.1.6</span> Test</h4>
|
||||
<div id="outline-container-org608cc50" class="outline-4">
|
||||
<h4 id="org608cc50"><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 +799,8 @@ the \(n\) points:
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org1b4e3d8" class="outline-3">
|
||||
<h3 id="org1b4e3d8"><span class="section-number-3">2.2</span> Value, Gradient and Laplacian of a polynomial</h3>
|
||||
<div id="outline-container-orgf84400a" class="outline-3">
|
||||
<h3 id="orgf84400a"><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 +845,7 @@ Laplacians at a given point in space, of all polynomials with an
|
||||
angular momentum up to <code>lmax</code>.
|
||||
</p>
|
||||
|
||||
<table id="org57637ae" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org4d536e7" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -918,8 +924,8 @@ angular momentum up to <code>lmax</code>.
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org6e8c05d" class="outline-4">
|
||||
<h4 id="org6e8c05d"><span class="section-number-4">2.2.1</span> Requirements</h4>
|
||||
<div id="outline-container-orgfafa647" class="outline-4">
|
||||
<h4 id="orgfafa647"><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 +950,8 @@ For example, with a=0, b=2 and c=1 the string is "yyz"</li>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org0eee2f9" class="outline-4">
|
||||
<h4 id="org0eee2f9"><span class="section-number-4">2.2.2</span> C Header</h4>
|
||||
<div id="outline-container-orgdaf5f59" class="outline-4">
|
||||
<h4 id="orgdaf5f59"><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 +969,8 @@ For example, with a=0, b=2 and c=1 the string is "yyz"</li>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org29d637b" class="outline-4">
|
||||
<h4 id="org29d637b"><span class="section-number-4">2.2.3</span> Source</h4>
|
||||
<div id="outline-container-orgd5b7369" class="outline-4">
|
||||
<h4 id="orgd5b7369"><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 +1105,16 @@ For example, with a=0, b=2 and c=1 the string is "yyz"</li>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org4edf0db" class="outline-4">
|
||||
<h4 id="org4edf0db"><span class="section-number-4">2.2.4</span> C interface</h4>
|
||||
<div id="outline-container-orgbdfd2ee" class="outline-4">
|
||||
<h4 id="orgbdfd2ee"><span class="section-number-4">2.2.4</span> C interface</h4>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgaa29edb" class="outline-4">
|
||||
<h4 id="orgaa29edb"><span class="section-number-4">2.2.5</span> Fortran interface</h4>
|
||||
<div id="outline-container-orgf6d1e15" class="outline-4">
|
||||
<h4 id="orgf6d1e15"><span class="section-number-4">2.2.5</span> Fortran interface</h4>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org1bc5b9a" class="outline-4">
|
||||
<h4 id="org1bc5b9a"><span class="section-number-4">2.2.6</span> Test</h4>
|
||||
<div id="outline-container-org831ee9f" class="outline-4">
|
||||
<h4 id="org831ee9f"><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 +1219,12 @@ assert(0 == test_qmckl_ao_polynomial_vgl(context));
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org28dbc19" class="outline-2">
|
||||
<h2 id="org28dbc19"><span class="section-number-2">3</span> Radial part</h2>
|
||||
<div id="outline-container-org92aa4a0" class="outline-2">
|
||||
<h2 id="org92aa4a0"><span class="section-number-2">3</span> Radial part</h2>
|
||||
<div class="outline-text-2" id="text-3">
|
||||
</div>
|
||||
<div id="outline-container-org42d53f6" class="outline-3">
|
||||
<h3 id="org42d53f6"><span class="section-number-3">3.1</span> Gaussian basis functions</h3>
|
||||
<div id="outline-container-org81b9b3e" class="outline-3">
|
||||
<h3 id="org81b9b3e"><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 +1456,20 @@ Requirements
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org2999058" class="outline-3">
|
||||
<h3 id="org2999058"><span class="section-number-3">3.2</span> <span class="todo TODO">TODO</span> Slater basis functions</h3>
|
||||
<div id="outline-container-org8945866" class="outline-3">
|
||||
<h3 id="org8945866"><span class="section-number-3">3.2</span> <span class="todo TODO">TODO</span> Slater basis functions</h3>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org9942b67" class="outline-3">
|
||||
<h3 id="org9942b67"><span class="section-number-3">3.3</span> <span class="todo TODO">TODO</span> Radial functions on a grid</h3>
|
||||
<div id="outline-container-org81f9535" class="outline-3">
|
||||
<h3 id="org81f9535"><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-org886eb84" class="outline-2">
|
||||
<h2 id="org886eb84"><span class="section-number-2">4</span> Combining radial and polynomial parts</h2>
|
||||
<div id="outline-container-orge6aa4b1" class="outline-2">
|
||||
<h2 id="orge6aa4b1"><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-05-26 Wed 09:42</p>
|
||||
<p class="date">Created: 2021-06-02 Wed 23:52</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-05-26 Wed 09:42 -->
|
||||
<!-- 2021-06-02 Wed 23:52 -->
|
||||
<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="#orga5c78aa">1. Context handling</a>
|
||||
<li><a href="#org9332f33">1. Context handling</a>
|
||||
<ul>
|
||||
<li><a href="#orge2b40ed">1.1. Data structure</a></li>
|
||||
<li><a href="#orgb46e438">1.2. Creation</a></li>
|
||||
<li><a href="#org6fd65ca">1.3. Locking</a></li>
|
||||
<li><a href="#org88584c7">1.4. <span class="todo TODO">TODO</span> Copy</a></li>
|
||||
<li><a href="#org2db81d4">1.5. Destroy</a></li>
|
||||
<li><a href="#orgcd77064">1.1. Data structure</a></li>
|
||||
<li><a href="#org2c09d2b">1.2. Creation</a></li>
|
||||
<li><a href="#orgf2a8cc0">1.3. Locking</a></li>
|
||||
<li><a href="#org951b54f">1.4. <span class="todo TODO">TODO</span> Copy</a></li>
|
||||
<li><a href="#orgf33d4f4">1.5. Destroy</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orga5c78aa" class="outline-2">
|
||||
<h2 id="orga5c78aa"><span class="section-number-2">1</span> Context handling</h2>
|
||||
<div id="outline-container-org9332f33" class="outline-2">
|
||||
<h2 id="org9332f33"><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="org5199b36"><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="org0ffb70f"><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-orge2b40ed" class="outline-3">
|
||||
<h3 id="orge2b40ed"><span class="section-number-3">1.1</span> Data structure</h3>
|
||||
<div id="outline-container-orgcd77064" class="outline-3">
|
||||
<h3 id="orgcd77064"><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="#orgb46e438">qmckl<sub>context</sub><sub>create</sub></a>, <a href="#org2db81d4">qmckl<sub>context</sub><sub>destroy</sub></a> and <a href="#org88584c7">qmckl<sub>context</sub><sub>copy</sub></a>
|
||||
<a href="#org2c09d2b">qmckl<sub>context</sub><sub>create</sub></a>, <a href="#orgf33d4f4">qmckl<sub>context</sub><sub>destroy</sub></a> and <a href="#org951b54f">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-orgb46e438" class="outline-3">
|
||||
<h3 id="orgb46e438"><span class="section-number-3">1.2</span> Creation</h3>
|
||||
<div id="outline-container-org2c09d2b" class="outline-3">
|
||||
<h3 id="org2c09d2b"><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.
|
||||
@ -493,8 +493,8 @@ To create a new context, <code>qmckl_context_create()</code> should be used.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-org6fd65ca" class="outline-3">
|
||||
<h3 id="org6fd65ca"><span class="section-number-3">1.3</span> Locking</h3>
|
||||
<div id="outline-container-orgf2a8cc0" class="outline-3">
|
||||
<h3 id="orgf2a8cc0"><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
|
||||
@ -539,8 +539,8 @@ number of times the thread has locked it is saved in the
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org88584c7" class="outline-3">
|
||||
<h3 id="org88584c7"><span class="section-number-3">1.4</span> <span class="todo TODO">TODO</span> Copy</h3>
|
||||
<div id="outline-container-org951b54f" class="outline-3">
|
||||
<h3 id="org951b54f"><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
|
||||
@ -588,8 +588,8 @@ number of times the thread has locked it is saved in the
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-org2db81d4" class="outline-3">
|
||||
<h3 id="org2db81d4"><span class="section-number-3">1.5</span> Destroy</h3>
|
||||
<div id="outline-container-orgf33d4f4" class="outline-3">
|
||||
<h3 id="orgf33d4f4"><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.
|
||||
@ -643,7 +643,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-05-26 Wed 09:42</p>
|
||||
<p class="date">Created: 2021-06-02 Wed 23:52</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-05-26 Wed 09:42 -->
|
||||
<!-- 2021-06-02 Wed 23:52 -->
|
||||
<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,38 +333,38 @@ for the JavaScript code in this tag.
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents">
|
||||
<ul>
|
||||
<li><a href="#orgeffdaa1">1. Squared distance</a>
|
||||
<li><a href="#org1e10dd1">1. Squared distance</a>
|
||||
<ul>
|
||||
<li><a href="#org9562d52">1.1. <code>qmckl_distance_sq</code></a>
|
||||
<li><a href="#orgb55fbcb">1.1. <code>qmckl_distance_sq</code></a>
|
||||
<ul>
|
||||
<li><a href="#orge24cbd0">1.1.1. Requirements</a></li>
|
||||
<li><a href="#org95dac18">1.1.2. C header</a></li>
|
||||
<li><a href="#org06a9225">1.1.3. Source</a></li>
|
||||
<li><a href="#orgad888f6">1.1.4. Performance</a></li>
|
||||
<li><a href="#org8bc6969">1.1.1. Requirements</a></li>
|
||||
<li><a href="#org497b2c3">1.1.2. C header</a></li>
|
||||
<li><a href="#orgc74fc8e">1.1.3. Source</a></li>
|
||||
<li><a href="#orgd57836f">1.1.4. Performance</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org47608a6">2. Distance</a>
|
||||
<li><a href="#orgdd11c2a">2. Distance</a>
|
||||
<ul>
|
||||
<li><a href="#orgf2d67ab">2.1. <code>qmckl_distance</code></a>
|
||||
<li><a href="#org53d6e1c">2.1. <code>qmckl_distance</code></a>
|
||||
<ul>
|
||||
<li><a href="#org4ca468a">2.1.1. Requirements</a></li>
|
||||
<li><a href="#org9c3ca4d">2.1.2. C header</a></li>
|
||||
<li><a href="#orgad4212a">2.1.3. Source</a></li>
|
||||
<li><a href="#org85d1eb9">2.1.4. Performance</a></li>
|
||||
<li><a href="#org4c6a1d9">2.1.1. Requirements</a></li>
|
||||
<li><a href="#orga0d2d24">2.1.2. C header</a></li>
|
||||
<li><a href="#org0e7f107">2.1.3. Source</a></li>
|
||||
<li><a href="#orgad6b86b">2.1.4. Performance</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orga0491bc">3. Rescaled Distance</a>
|
||||
<li><a href="#org787f1d1">3. Rescaled Distance</a>
|
||||
<ul>
|
||||
<li><a href="#org4a7b27b">3.1. <code>qmckl_distance_rescaled</code></a>
|
||||
<li><a href="#orgfd2e61e">3.1. <code>qmckl_distance_rescaled</code></a>
|
||||
<ul>
|
||||
<li><a href="#org940c0f4">3.1.1. Requirements</a></li>
|
||||
<li><a href="#org2b5ed35">3.1.2. C header</a></li>
|
||||
<li><a href="#org881062c">3.1.3. Source</a></li>
|
||||
<li><a href="#orgd5f887c">3.1.4. Performance</a></li>
|
||||
<li><a href="#orga54c9b3">3.1.1. Requirements</a></li>
|
||||
<li><a href="#orgc497741">3.1.2. C header</a></li>
|
||||
<li><a href="#org2fb92ee">3.1.3. Source</a></li>
|
||||
<li><a href="#org77762ae">3.1.4. Performance</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@ -373,12 +373,12 @@ for the JavaScript code in this tag.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgeffdaa1" class="outline-2">
|
||||
<h2 id="orgeffdaa1"><span class="section-number-2">1</span> Squared distance</h2>
|
||||
<div id="outline-container-org1e10dd1" class="outline-2">
|
||||
<h2 id="org1e10dd1"><span class="section-number-2">1</span> Squared distance</h2>
|
||||
<div class="outline-text-2" id="text-1">
|
||||
</div>
|
||||
<div id="outline-container-org9562d52" class="outline-3">
|
||||
<h3 id="org9562d52"><span class="section-number-3">1.1</span> <code>qmckl_distance_sq</code></h3>
|
||||
<div id="outline-container-orgb55fbcb" class="outline-3">
|
||||
<h3 id="orgb55fbcb"><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
|
||||
@ -391,7 +391,7 @@ between all pairs of points in two sets, one point within each set:
|
||||
\]
|
||||
</p>
|
||||
|
||||
<table id="org5e343db" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org2d70690" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -484,8 +484,8 @@ between all pairs of points in two sets, one point within each set:
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orge24cbd0" class="outline-4">
|
||||
<h4 id="orge24cbd0"><span class="section-number-4">1.1.1</span> Requirements</h4>
|
||||
<div id="outline-container-org8bc6969" class="outline-4">
|
||||
<h4 id="org8bc6969"><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>
|
||||
@ -503,8 +503,8 @@ between all pairs of points in two sets, one point within each set:
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org95dac18" class="outline-4">
|
||||
<h4 id="org95dac18"><span class="section-number-4">1.1.2</span> C header</h4>
|
||||
<div id="outline-container-org497b2c3" class="outline-4">
|
||||
<h4 id="org497b2c3"><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_rescaled</span> (
|
||||
@ -524,8 +524,8 @@ between all pairs of points in two sets, one point within each set:
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org06a9225" class="outline-4">
|
||||
<h4 id="org06a9225"><span class="section-number-4">1.1.3</span> Source</h4>
|
||||
<div id="outline-container-orgc74fc8e" class="outline-4">
|
||||
<h4 id="orgc74fc8e"><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: #a0522d;"> function qmckl_distance_sq_f(context, transa, transb, m, n, </span><span style="color: #a020f0;">&</span>
|
||||
@ -660,8 +660,8 @@ between all pairs of points in two sets, one point within each set:
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgad888f6" class="outline-4">
|
||||
<h4 id="orgad888f6"><span class="section-number-4">1.1.4</span> Performance</h4>
|
||||
<div id="outline-container-orgd57836f" class="outline-4">
|
||||
<h4 id="orgd57836f"><span class="section-number-4">1.1.4</span> Performance</h4>
|
||||
<div class="outline-text-4" id="text-1-1-4">
|
||||
<p>
|
||||
This function is more efficient when <code>A</code> and <code>B</code> are
|
||||
@ -671,12 +671,12 @@ transposed.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-org47608a6" class="outline-2">
|
||||
<h2 id="org47608a6"><span class="section-number-2">2</span> Distance</h2>
|
||||
<div id="outline-container-orgdd11c2a" class="outline-2">
|
||||
<h2 id="orgdd11c2a"><span class="section-number-2">2</span> Distance</h2>
|
||||
<div class="outline-text-2" id="text-2">
|
||||
</div>
|
||||
<div id="outline-container-orgf2d67ab" class="outline-3">
|
||||
<h3 id="orgf2d67ab"><span class="section-number-3">2.1</span> <code>qmckl_distance</code></h3>
|
||||
<div id="outline-container-org53d6e1c" class="outline-3">
|
||||
<h3 id="org53d6e1c"><span class="section-number-3">2.1</span> <code>qmckl_distance</code></h3>
|
||||
<div class="outline-text-3" id="text-2-1">
|
||||
<p>
|
||||
<code>qmckl_distance</code> computes the matrix of the distances between all
|
||||
@ -694,7 +694,7 @@ If the input array is normal (<code>'N'</code>), the xyz coordinates are in
|
||||
the leading dimension: <code>[n][3]</code> in C and <code>(3,n)</code> in Fortran.
|
||||
</p>
|
||||
|
||||
<table id="org3d8b6f1" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org62f276d" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -787,8 +787,8 @@ the leading dimension: <code>[n][3]</code> in C and <code>(3,n)</code> in Fortra
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org4ca468a" class="outline-4">
|
||||
<h4 id="org4ca468a"><span class="section-number-4">2.1.1</span> Requirements</h4>
|
||||
<div id="outline-container-org4c6a1d9" class="outline-4">
|
||||
<h4 id="org4c6a1d9"><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>
|
||||
@ -806,8 +806,8 @@ the leading dimension: <code>[n][3]</code> in C and <code>(3,n)</code> in Fortra
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org9c3ca4d" class="outline-4">
|
||||
<h4 id="org9c3ca4d"><span class="section-number-4">2.1.2</span> C header</h4>
|
||||
<div id="outline-container-orga0d2d24" class="outline-4">
|
||||
<h4 id="orga0d2d24"><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_distance_rescaled</span> (
|
||||
@ -827,8 +827,8 @@ the leading dimension: <code>[n][3]</code> in C and <code>(3,n)</code> in Fortra
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgad4212a" class="outline-4">
|
||||
<h4 id="orgad4212a"><span class="section-number-4">2.1.3</span> Source</h4>
|
||||
<div id="outline-container-org0e7f107" class="outline-4">
|
||||
<h4 id="org0e7f107"><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: #a0522d;"> function qmckl_distance_f(context, transa, transb, m, n, </span><span style="color: #a020f0;">&</span>
|
||||
@ -995,8 +995,8 @@ the leading dimension: <code>[n][3]</code> in C and <code>(3,n)</code> in Fortra
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org85d1eb9" class="outline-4">
|
||||
<h4 id="org85d1eb9"><span class="section-number-4">2.1.4</span> Performance</h4>
|
||||
<div id="outline-container-orgad6b86b" class="outline-4">
|
||||
<h4 id="orgad6b86b"><span class="section-number-4">2.1.4</span> Performance</h4>
|
||||
<div class="outline-text-4" id="text-2-1-4">
|
||||
<p>
|
||||
This function is more efficient when <code>A</code> and <code>B</code> are transposed.
|
||||
@ -1006,12 +1006,12 @@ This function is more efficient when <code>A</code> and <code>B</code> are trans
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orga0491bc" class="outline-2">
|
||||
<h2 id="orga0491bc"><span class="section-number-2">3</span> Rescaled Distance</h2>
|
||||
<div id="outline-container-org787f1d1" class="outline-2">
|
||||
<h2 id="org787f1d1"><span class="section-number-2">3</span> Rescaled Distance</h2>
|
||||
<div class="outline-text-2" id="text-3">
|
||||
</div>
|
||||
<div id="outline-container-org4a7b27b" class="outline-3">
|
||||
<h3 id="org4a7b27b"><span class="section-number-3">3.1</span> <code>qmckl_distance_rescaled</code></h3>
|
||||
<div id="outline-container-orgfd2e61e" class="outline-3">
|
||||
<h3 id="orgfd2e61e"><span class="section-number-3">3.1</span> <code>qmckl_distance_rescaled</code></h3>
|
||||
<div class="outline-text-3" id="text-3-1">
|
||||
<p>
|
||||
<code>qmckl_distance_rescaled</code> computes the matrix of the rescaled distances between all
|
||||
@ -1029,7 +1029,7 @@ If the input array is normal (<code>'N'</code>), the xyz coordinates are in
|
||||
the leading dimension: <code>[n][3]</code> in C and <code>(3,n)</code> in Fortran.
|
||||
</p>
|
||||
|
||||
<table id="org1c737f0" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org83ae7e8" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -1129,8 +1129,8 @@ the leading dimension: <code>[n][3]</code> in C and <code>(3,n)</code> in Fortra
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org940c0f4" class="outline-4">
|
||||
<h4 id="org940c0f4"><span class="section-number-4">3.1.1</span> Requirements</h4>
|
||||
<div id="outline-container-orga54c9b3" class="outline-4">
|
||||
<h4 id="orga54c9b3"><span class="section-number-4">3.1.1</span> Requirements</h4>
|
||||
<div class="outline-text-4" id="text-3-1-1">
|
||||
<ul class="org-ul">
|
||||
<li><code>context</code> is not <code>QMCKL_NULL_CONTEXT</code></li>
|
||||
@ -1148,8 +1148,8 @@ the leading dimension: <code>[n][3]</code> in C and <code>(3,n)</code> in Fortra
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org2b5ed35" class="outline-4">
|
||||
<h4 id="org2b5ed35"><span class="section-number-4">3.1.2</span> C header</h4>
|
||||
<div id="outline-container-orgc497741" class="outline-4">
|
||||
<h4 id="orgc497741"><span class="section-number-4">3.1.2</span> C header</h4>
|
||||
<div class="outline-text-4" id="text-3-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_rescaled</span> (
|
||||
@ -1170,8 +1170,8 @@ the leading dimension: <code>[n][3]</code> in C and <code>(3,n)</code> in Fortra
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org881062c" class="outline-4">
|
||||
<h4 id="org881062c"><span class="section-number-4">3.1.3</span> Source</h4>
|
||||
<div id="outline-container-org2fb92ee" class="outline-4">
|
||||
<h4 id="org2fb92ee"><span class="section-number-4">3.1.3</span> Source</h4>
|
||||
<div class="outline-text-4" id="text-3-1-3">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-f90"><span style="color: #228b22;">integer</span><span style="color: #a0522d;"> function qmckl_distance_rescaled_f(context, transa, transb, m, n, </span><span style="color: #a020f0;">&</span>
|
||||
@ -1341,8 +1341,8 @@ the leading dimension: <code>[n][3]</code> in C and <code>(3,n)</code> in Fortra
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgd5f887c" class="outline-4">
|
||||
<h4 id="orgd5f887c"><span class="section-number-4">3.1.4</span> Performance</h4>
|
||||
<div id="outline-container-org77762ae" class="outline-4">
|
||||
<h4 id="org77762ae"><span class="section-number-4">3.1.4</span> Performance</h4>
|
||||
<div class="outline-text-4" id="text-3-1-4">
|
||||
<p>
|
||||
This function is more efficient when <code>A</code> and <code>B</code> are transposed.
|
||||
@ -1354,7 +1354,7 @@ This function is more efficient when <code>A</code> and <code>B</code> are trans
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: TREX CoE</p>
|
||||
<p class="date">Created: 2021-05-26 Wed 09:42</p>
|
||||
<p class="date">Created: 2021-06-02 Wed 23:52</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-05-26 Wed 09:42 -->
|
||||
<!-- 2021-06-02 Wed 23:52 -->
|
||||
<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,49 +311,49 @@ for the JavaScript code in this tag.
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents">
|
||||
<ul>
|
||||
<li><a href="#org6888be3">1. Context</a>
|
||||
<li><a href="#org4221569">1. Context</a>
|
||||
<ul>
|
||||
<li><a href="#org7272fb1">1.1. Data structure</a></li>
|
||||
<li><a href="#org208f9d6">1.2. Access functions</a>
|
||||
<li><a href="#orgac119fd">1.1. Data structure</a></li>
|
||||
<li><a href="#orge55bf12">1.2. Access functions</a>
|
||||
<ul>
|
||||
<li><a href="#org650e8cd">1.2.1. Number of electrons</a></li>
|
||||
<li><a href="#org3b9e26e">1.2.2. Number of walkers</a></li>
|
||||
<li><a href="#orgbababd3">1.2.3. Scaling factors Kappa</a></li>
|
||||
<li><a href="#orgcdf0a0a">1.2.4. Electron coordinates</a></li>
|
||||
<li><a href="#org6796aa6">1.2.1. Number of electrons</a></li>
|
||||
<li><a href="#org1e3b0ce">1.2.2. Number of walkers</a></li>
|
||||
<li><a href="#orga088904">1.2.3. Scaling factors Kappa</a></li>
|
||||
<li><a href="#org9e5b169">1.2.4. Electron coordinates</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgd5417a6">1.3. Initialization functions</a></li>
|
||||
<li><a href="#orgec74f37">1.4. Test</a></li>
|
||||
<li><a href="#orgebf387a">1.3. Initialization functions</a></li>
|
||||
<li><a href="#org2467cb6">1.4. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org88686a7">2. Computation</a>
|
||||
<li><a href="#org288a3b9">2. Computation</a>
|
||||
<ul>
|
||||
<li><a href="#orgb5fc938">2.1. Electron-electron distances</a>
|
||||
<li><a href="#org35e24d1">2.1. Electron-electron distances</a>
|
||||
<ul>
|
||||
<li><a href="#orgf1bda1a">2.1.1. Get</a></li>
|
||||
<li><a href="#org1207487">2.1.2. Compute</a></li>
|
||||
<li><a href="#org5efd036">2.1.3. Test</a></li>
|
||||
<li><a href="#org094d8e4">2.1.1. Get</a></li>
|
||||
<li><a href="#orgc42fccf">2.1.2. Compute</a></li>
|
||||
<li><a href="#org0e76dea">2.1.3. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org41dd312">2.2. Electron-electron rescaled distances</a>
|
||||
<li><a href="#org91bc43e">2.2. Electron-electron rescaled distances</a>
|
||||
<ul>
|
||||
<li><a href="#org902e18f">2.2.1. Get</a></li>
|
||||
<li><a href="#orgc59724a">2.2.2. Compute</a></li>
|
||||
<li><a href="#org0a169cb">2.2.3. Test</a></li>
|
||||
<li><a href="#orgcb7a8c8">2.2.1. Get</a></li>
|
||||
<li><a href="#org6971c20">2.2.2. Compute</a></li>
|
||||
<li><a href="#orged552fe">2.2.3. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orged03ec3">2.3. Electron-nucleus distances</a>
|
||||
<li><a href="#org3451c48">2.3. Electron-nucleus distances</a>
|
||||
<ul>
|
||||
<li><a href="#org274cedf">2.3.1. Get</a></li>
|
||||
<li><a href="#org4a1ac9a">2.3.2. Compute</a></li>
|
||||
<li><a href="#org2939c8b">2.3.3. Test</a></li>
|
||||
<li><a href="#orgfd0a20c">2.3.1. Get</a></li>
|
||||
<li><a href="#org0ccae3b">2.3.2. Compute</a></li>
|
||||
<li><a href="#org25608c7">2.3.3. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org73c06ea">2.4. Electron-nucleus rescaled distances</a>
|
||||
<li><a href="#org12bef7a">2.4. Electron-nucleus rescaled distances</a>
|
||||
<ul>
|
||||
<li><a href="#org949cfde">2.4.1. Get</a></li>
|
||||
<li><a href="#orgbfa2f41">2.4.2. Compute</a></li>
|
||||
<li><a href="#orgb964b60">2.4.3. Test</a></li>
|
||||
<li><a href="#org3d0d964">2.4.1. Get</a></li>
|
||||
<li><a href="#org0a0aa81">2.4.2. Compute</a></li>
|
||||
<li><a href="#orgd149a44">2.4.3. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@ -362,8 +362,8 @@ for the JavaScript code in this tag.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org6888be3" class="outline-2">
|
||||
<h2 id="org6888be3"><span class="section-number-2">1</span> Context</h2>
|
||||
<div id="outline-container-org4221569" class="outline-2">
|
||||
<h2 id="org4221569"><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:
|
||||
@ -497,8 +497,8 @@ The following data stored in the context:
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org7272fb1" class="outline-3">
|
||||
<h3 id="org7272fb1"><span class="section-number-3">1.1</span> Data structure</h3>
|
||||
<div id="outline-container-orgac119fd" class="outline-3">
|
||||
<h3 id="orgac119fd"><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> {
|
||||
@ -544,8 +544,8 @@ following function returns <code>true</code>.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org208f9d6" class="outline-3">
|
||||
<h3 id="org208f9d6"><span class="section-number-3">1.2</span> Access functions</h3>
|
||||
<div id="outline-container-orge55bf12" class="outline-3">
|
||||
<h3 id="orge55bf12"><span class="section-number-3">1.2</span> Access functions</h3>
|
||||
<div class="outline-text-3" id="text-1-2">
|
||||
<p>
|
||||
Access functions return <code>QMCKL_SUCCESS</code> when the data has been
|
||||
@ -557,12 +557,12 @@ contains the requested data. Otherwise, this variable is untouched.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org650e8cd" class="outline-4">
|
||||
<h4 id="org650e8cd"><span class="section-number-4">1.2.1</span> Number of electrons</h4>
|
||||
<div id="outline-container-org6796aa6" class="outline-4">
|
||||
<h4 id="org6796aa6"><span class="section-number-4">1.2.1</span> Number of electrons</h4>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org3b9e26e" class="outline-4">
|
||||
<h4 id="org3b9e26e"><span class="section-number-4">1.2.2</span> Number of walkers</h4>
|
||||
<div id="outline-container-org1e3b0ce" class="outline-4">
|
||||
<h4 id="org1e3b0ce"><span class="section-number-4">1.2.2</span> Number of walkers</h4>
|
||||
<div class="outline-text-4" id="text-1-2-2">
|
||||
<p>
|
||||
A walker is a set of electron coordinates that are arguments of
|
||||
@ -571,12 +571,12 @@ the wave function. <code>walk_num</code> is the number of walkers.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgbababd3" class="outline-4">
|
||||
<h4 id="orgbababd3"><span class="section-number-4">1.2.3</span> Scaling factors Kappa</h4>
|
||||
<div id="outline-container-orga088904" class="outline-4">
|
||||
<h4 id="orga088904"><span class="section-number-4">1.2.3</span> Scaling factors Kappa</h4>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgcdf0a0a" class="outline-4">
|
||||
<h4 id="orgcdf0a0a"><span class="section-number-4">1.2.4</span> Electron coordinates</h4>
|
||||
<div id="outline-container-org9e5b169" class="outline-4">
|
||||
<h4 id="org9e5b169"><span class="section-number-4">1.2.4</span> Electron coordinates</h4>
|
||||
<div class="outline-text-4" id="text-1-2-4">
|
||||
<p>
|
||||
Returns the current electron coordinates. The pointer is assumed
|
||||
@ -620,8 +620,8 @@ The order of the indices is:
|
||||
</div>
|
||||
|
||||
|
||||
<div id="outline-container-orgd5417a6" class="outline-3">
|
||||
<h3 id="orgd5417a6"><span class="section-number-3">1.3</span> Initialization functions</h3>
|
||||
<div id="outline-container-orgebf387a" class="outline-3">
|
||||
<h3 id="orgebf387a"><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
|
||||
@ -666,8 +666,8 @@ in the context.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgec74f37" class="outline-3">
|
||||
<h3 id="orgec74f37"><span class="section-number-3">1.4</span> Test</h3>
|
||||
<div id="outline-container-org2467cb6" class="outline-3">
|
||||
<h3 id="org2467cb6"><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>*/
|
||||
@ -769,8 +769,8 @@ rc = qmckl_get_electron_coord (context, <span style="color: #8b2252;">'N'</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org88686a7" class="outline-2">
|
||||
<h2 id="org88686a7"><span class="section-number-2">2</span> Computation</h2>
|
||||
<div id="outline-container-org288a3b9" class="outline-2">
|
||||
<h2 id="org288a3b9"><span class="section-number-2">2</span> Computation</h2>
|
||||
<div class="outline-text-2" id="text-2">
|
||||
<p>
|
||||
The computed data is stored in the context so that it can be reused
|
||||
@ -783,12 +783,12 @@ current date is stored.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgb5fc938" class="outline-3">
|
||||
<h3 id="orgb5fc938"><span class="section-number-3">2.1</span> Electron-electron distances</h3>
|
||||
<div id="outline-container-org35e24d1" class="outline-3">
|
||||
<h3 id="org35e24d1"><span class="section-number-3">2.1</span> Electron-electron distances</h3>
|
||||
<div class="outline-text-3" id="text-2-1">
|
||||
</div>
|
||||
<div id="outline-container-orgf1bda1a" class="outline-4">
|
||||
<h4 id="orgf1bda1a"><span class="section-number-4">2.1.1</span> Get</h4>
|
||||
<div id="outline-container-org094d8e4" class="outline-4">
|
||||
<h4 id="org094d8e4"><span class="section-number-4">2.1.1</span> Get</h4>
|
||||
<div class="outline-text-4" id="text-2-1-1">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_get_electron_ee_distance</span>(<span style="color: #228b22;">qmckl_context</span> <span style="color: #a0522d;">context</span>, <span style="color: #228b22;">double</span>* <span style="color: #a020f0;">const</span> <span style="color: #a0522d;">distance</span>);
|
||||
@ -797,10 +797,10 @@ current date is stored.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org1207487" class="outline-4">
|
||||
<h4 id="org1207487"><span class="section-number-4">2.1.2</span> Compute</h4>
|
||||
<div id="outline-container-orgc42fccf" class="outline-4">
|
||||
<h4 id="orgc42fccf"><span class="section-number-4">2.1.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-1-2">
|
||||
<table id="orgb41f401" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org1c157f7" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -896,8 +896,8 @@ current date is stored.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org5efd036" class="outline-4">
|
||||
<h4 id="org5efd036"><span class="section-number-4">2.1.3</span> Test</h4>
|
||||
<div id="outline-container-org0e76dea" class="outline-4">
|
||||
<h4 id="org0e76dea"><span class="section-number-4">2.1.3</span> Test</h4>
|
||||
<div class="outline-text-4" id="text-2-1-3">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #0000ff;">assert</span>(<span style="color: #228b22;">qmckl_electron_provided</span>(<span style="color: #a0522d;">context</span>));
|
||||
@ -931,12 +931,12 @@ rc = qmckl_get_electron_ee_distance(context, ee_distance);
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org41dd312" class="outline-3">
|
||||
<h3 id="org41dd312"><span class="section-number-3">2.2</span> Electron-electron rescaled distances</h3>
|
||||
<div id="outline-container-org91bc43e" class="outline-3">
|
||||
<h3 id="org91bc43e"><span class="section-number-3">2.2</span> Electron-electron rescaled distances</h3>
|
||||
<div class="outline-text-3" id="text-2-2">
|
||||
</div>
|
||||
<div id="outline-container-org902e18f" class="outline-4">
|
||||
<h4 id="org902e18f"><span class="section-number-4">2.2.1</span> Get</h4>
|
||||
<div id="outline-container-orgcb7a8c8" class="outline-4">
|
||||
<h4 id="orgcb7a8c8"><span class="section-number-4">2.2.1</span> Get</h4>
|
||||
<div class="outline-text-4" id="text-2-2-1">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_get_electron_ee_distance_rescaled</span>(<span style="color: #228b22;">qmckl_context</span> <span style="color: #a0522d;">context</span>, <span style="color: #228b22;">double</span>* <span style="color: #a020f0;">const</span> <span style="color: #a0522d;">distance_rescaled</span>);
|
||||
@ -945,10 +945,10 @@ rc = qmckl_get_electron_ee_distance(context, ee_distance);
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgc59724a" class="outline-4">
|
||||
<h4 id="orgc59724a"><span class="section-number-4">2.2.2</span> Compute</h4>
|
||||
<div id="outline-container-org6971c20" class="outline-4">
|
||||
<h4 id="org6971c20"><span class="section-number-4">2.2.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-2-2">
|
||||
<table id="orge310237" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orgb37e7a9" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -1053,8 +1053,8 @@ rc = qmckl_get_electron_ee_distance(context, ee_distance);
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org0a169cb" class="outline-4">
|
||||
<h4 id="org0a169cb"><span class="section-number-4">2.2.3</span> Test</h4>
|
||||
<div id="outline-container-orged552fe" class="outline-4">
|
||||
<h4 id="orged552fe"><span class="section-number-4">2.2.3</span> Test</h4>
|
||||
<div class="outline-text-4" id="text-2-2-3">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #0000ff;">assert</span>(<span style="color: #228b22;">qmckl_electron_provided</span>(<span style="color: #a0522d;">context</span>));
|
||||
@ -1089,12 +1089,12 @@ rc = qmckl_get_electron_ee_distance_rescaled(context, ee_distance);
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orged03ec3" class="outline-3">
|
||||
<h3 id="orged03ec3"><span class="section-number-3">2.3</span> Electron-nucleus distances</h3>
|
||||
<div id="outline-container-org3451c48" class="outline-3">
|
||||
<h3 id="org3451c48"><span class="section-number-3">2.3</span> Electron-nucleus distances</h3>
|
||||
<div class="outline-text-3" id="text-2-3">
|
||||
</div>
|
||||
<div id="outline-container-org274cedf" class="outline-4">
|
||||
<h4 id="org274cedf"><span class="section-number-4">2.3.1</span> Get</h4>
|
||||
<div id="outline-container-orgfd0a20c" class="outline-4">
|
||||
<h4 id="orgfd0a20c"><span class="section-number-4">2.3.1</span> Get</h4>
|
||||
<div class="outline-text-4" id="text-2-3-1">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_get_electron_en_distance</span>(<span style="color: #228b22;">qmckl_context</span> <span style="color: #a0522d;">context</span>, <span style="color: #228b22;">double</span>* <span style="color: #a0522d;">distance</span>);
|
||||
@ -1103,10 +1103,10 @@ rc = qmckl_get_electron_ee_distance_rescaled(context, ee_distance);
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org4a1ac9a" class="outline-4">
|
||||
<h4 id="org4a1ac9a"><span class="section-number-4">2.3.2</span> Compute</h4>
|
||||
<div id="outline-container-org0ccae3b" class="outline-4">
|
||||
<h4 id="org0ccae3b"><span class="section-number-4">2.3.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-3-2">
|
||||
<table id="org0a97a7d" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org638e497" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -1223,8 +1223,8 @@ rc = qmckl_get_electron_ee_distance_rescaled(context, ee_distance);
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org2939c8b" class="outline-4">
|
||||
<h4 id="org2939c8b"><span class="section-number-4">2.3.3</span> Test</h4>
|
||||
<div id="outline-container-org25608c7" class="outline-4">
|
||||
<h4 id="org25608c7"><span class="section-number-4">2.3.3</span> Test</h4>
|
||||
<div class="outline-text-4" id="text-2-3-3">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c">
|
||||
@ -1275,12 +1275,12 @@ rc = qmckl_get_electron_en_distance(context, &(en_distance[0][0][0]));
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org73c06ea" class="outline-3">
|
||||
<h3 id="org73c06ea"><span class="section-number-3">2.4</span> Electron-nucleus rescaled distances</h3>
|
||||
<div id="outline-container-org12bef7a" class="outline-3">
|
||||
<h3 id="org12bef7a"><span class="section-number-3">2.4</span> Electron-nucleus rescaled distances</h3>
|
||||
<div class="outline-text-3" id="text-2-4">
|
||||
</div>
|
||||
<div id="outline-container-org949cfde" class="outline-4">
|
||||
<h4 id="org949cfde"><span class="section-number-4">2.4.1</span> Get</h4>
|
||||
<div id="outline-container-org3d0d964" class="outline-4">
|
||||
<h4 id="org3d0d964"><span class="section-number-4">2.4.1</span> Get</h4>
|
||||
<div class="outline-text-4" id="text-2-4-1">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_get_electron_en_distance_rescaled</span>(<span style="color: #228b22;">qmckl_context</span> <span style="color: #a0522d;">context</span>, <span style="color: #228b22;">double</span>* <span style="color: #a0522d;">distance_rescaled</span>);
|
||||
@ -1289,10 +1289,10 @@ rc = qmckl_get_electron_en_distance(context, &(en_distance[0][0][0]));
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgbfa2f41" class="outline-4">
|
||||
<h4 id="orgbfa2f41"><span class="section-number-4">2.4.2</span> Compute</h4>
|
||||
<div id="outline-container-org0a0aa81" class="outline-4">
|
||||
<h4 id="org0a0aa81"><span class="section-number-4">2.4.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-4-2">
|
||||
<table id="orge9a7a99" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org9e71b44" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -1424,8 +1424,8 @@ rc = qmckl_get_electron_en_distance(context, &(en_distance[0][0][0]));
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgb964b60" class="outline-4">
|
||||
<h4 id="orgb964b60"><span class="section-number-4">2.4.3</span> Test</h4>
|
||||
<div id="outline-container-orgd149a44" class="outline-4">
|
||||
<h4 id="orgd149a44"><span class="section-number-4">2.4.3</span> Test</h4>
|
||||
<div class="outline-text-4" id="text-2-4-3">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c">
|
||||
@ -1479,7 +1479,7 @@ rc = qmckl_get_electron_en_distance_rescaled(context, &(en_distance[0][0][0]
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: TREX CoE</p>
|
||||
<p class="date">Created: 2021-05-26 Wed 09:42</p>
|
||||
<p class="date">Created: 2021-06-02 Wed 23:52</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-05-26 Wed 09:42 -->
|
||||
<!-- 2021-06-02 Wed 23:52 -->
|
||||
<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,17 +311,17 @@ for the JavaScript code in this tag.
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents">
|
||||
<ul>
|
||||
<li><a href="#org33b2807">1. Decoding errors</a></li>
|
||||
<li><a href="#org0502409">2. Data structure in context</a></li>
|
||||
<li><a href="#org0e83bee">3. Updating errors in the context</a></li>
|
||||
<li><a href="#orgdd22932">4. Get the error</a></li>
|
||||
<li><a href="#orgc5e25e5">5. Failing</a></li>
|
||||
<li><a href="#orgecc4afc">1. Decoding errors</a></li>
|
||||
<li><a href="#org6c02f77">2. Data structure in context</a></li>
|
||||
<li><a href="#orga8fcb42">3. Updating errors in the context</a></li>
|
||||
<li><a href="#org4681951">4. Get the error</a></li>
|
||||
<li><a href="#orgc3ea586">5. Failing</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org33b2807" class="outline-2">
|
||||
<h2 id="org33b2807"><span class="section-number-2">1</span> Decoding errors</h2>
|
||||
<div id="outline-container-orgecc4afc" class="outline-2">
|
||||
<h2 id="orgecc4afc"><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
|
||||
@ -448,8 +448,8 @@ The text strings are extracted from the previous table.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org0502409" class="outline-2">
|
||||
<h2 id="org0502409"><span class="section-number-2">2</span> Data structure in context</h2>
|
||||
<div id="outline-container-org6c02f77" class="outline-2">
|
||||
<h2 id="org6c02f77"><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
|
||||
@ -472,8 +472,8 @@ dynamic memory allocation.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org0e83bee" class="outline-2">
|
||||
<h2 id="org0e83bee"><span class="section-number-2">3</span> Updating errors in the context</h2>
|
||||
<div id="outline-container-orga8fcb42" class="outline-2">
|
||||
<h2 id="orga8fcb42"><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>.
|
||||
@ -519,8 +519,8 @@ explaining the error. The exit code can't be <code>QMCKL_SUCCESS</code>.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgdd22932" class="outline-2">
|
||||
<h2 id="orgdd22932"><span class="section-number-2">4</span> Get the error</h2>
|
||||
<div id="outline-container-org4681951" class="outline-2">
|
||||
<h2 id="org4681951"><span class="section-number-2">4</span> Get the error</h2>
|
||||
<div class="outline-text-2" id="text-4">
|
||||
<p>
|
||||
Upon error, the error type and message can be obtained from the
|
||||
@ -561,8 +561,8 @@ function name and message is mandatory.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgc5e25e5" class="outline-2">
|
||||
<h2 id="orgc5e25e5"><span class="section-number-2">5</span> Failing</h2>
|
||||
<div id="outline-container-orgc3ea586" class="outline-2">
|
||||
<h2 id="orgc3ea586"><span class="section-number-2">5</span> Failing</h2>
|
||||
<div class="outline-text-2" id="text-5">
|
||||
<p>
|
||||
To make a function fail, the <code>qmckl_failwith</code> function should be
|
||||
@ -625,7 +625,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-05-26 Wed 09:42</p>
|
||||
<p class="date">Created: 2021-06-02 Wed 23:52</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-05-26 Wed 09:42 -->
|
||||
<!-- 2021-06-02 Wed 23:52 -->
|
||||
<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="#orge116098">1. Memory data structure for the context</a></li>
|
||||
<li><a href="#orgb81d28f">2. Passing info to allocation routines</a></li>
|
||||
<li><a href="#org27d269a">3. Allocation/deallocation functions</a></li>
|
||||
<li><a href="#orgde5280e">1. Memory data structure for the context</a></li>
|
||||
<li><a href="#org96df9fb">2. Passing info to allocation routines</a></li>
|
||||
<li><a href="#org958c727">3. Allocation/deallocation functions</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orge116098" class="outline-2">
|
||||
<h2 id="orge116098"><span class="section-number-2">1</span> Memory data structure for the context</h2>
|
||||
<div id="outline-container-orgde5280e" class="outline-2">
|
||||
<h2 id="orgde5280e"><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-orgb81d28f" class="outline-2">
|
||||
<h2 id="orgb81d28f"><span class="section-number-2">2</span> Passing info to allocation routines</h2>
|
||||
<div id="outline-container-org96df9fb" class="outline-2">
|
||||
<h2 id="org96df9fb"><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-org27d269a" class="outline-2">
|
||||
<h2 id="org27d269a"><span class="section-number-2">3</span> Allocation/deallocation functions</h2>
|
||||
<div id="outline-container-org958c727" class="outline-2">
|
||||
<h2 id="org958c727"><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-05-26 Wed 09:42</p>
|
||||
<p class="date">Created: 2021-06-02 Wed 23:52</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-05-26 Wed 09:42 -->
|
||||
<!-- 2021-06-02 Wed 23:52 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>Nucleus</title>
|
||||
@ -333,35 +333,35 @@ for the JavaScript code in this tag.
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents">
|
||||
<ul>
|
||||
<li><a href="#orgec04cab">1. Context</a>
|
||||
<li><a href="#org4e81b4d">1. Context</a>
|
||||
<ul>
|
||||
<li><a href="#orge91bac3">1.1. Data structure</a></li>
|
||||
<li><a href="#org72048b9">1.2. Access functions</a></li>
|
||||
<li><a href="#orgc876bc8">1.3. Initialization functions</a></li>
|
||||
<li><a href="#org6c39031">1.4. Test</a></li>
|
||||
<li><a href="#org4370001">1.1. Data structure</a></li>
|
||||
<li><a href="#org9c06d1a">1.2. Access functions</a></li>
|
||||
<li><a href="#orge6b695f">1.3. Initialization functions</a></li>
|
||||
<li><a href="#org09da32f">1.4. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgd799cf2">2. Computation</a>
|
||||
<li><a href="#org7bbd3ca">2. Computation</a>
|
||||
<ul>
|
||||
<li><a href="#org5b105fd">2.1. Nucleus-nucleus distances</a>
|
||||
<li><a href="#org5d8bca2">2.1. Nucleus-nucleus distances</a>
|
||||
<ul>
|
||||
<li><a href="#org2474612">2.1.1. Get</a></li>
|
||||
<li><a href="#org8f2fcf6">2.1.2. Compute</a></li>
|
||||
<li><a href="#org714c5b2">2.1.3. Test</a></li>
|
||||
<li><a href="#org098c4d0">2.1.1. Get</a></li>
|
||||
<li><a href="#orge66699c">2.1.2. Compute</a></li>
|
||||
<li><a href="#org4854def">2.1.3. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgf53538e">2.2. Nucleus-nucleus rescaled distances</a>
|
||||
<li><a href="#org8817454">2.2. Nucleus-nucleus rescaled distances</a>
|
||||
<ul>
|
||||
<li><a href="#org0f0859d">2.2.1. Get</a></li>
|
||||
<li><a href="#org1925a88">2.2.2. Compute</a></li>
|
||||
<li><a href="#org0e2ec26">2.2.3. Test</a></li>
|
||||
<li><a href="#org9d907c4">2.2.1. Get</a></li>
|
||||
<li><a href="#org9916508">2.2.2. Compute</a></li>
|
||||
<li><a href="#org0cf7839">2.2.3. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org2c2bec0">2.3. Nuclear repulsion energy</a>
|
||||
<li><a href="#org34ac5a2">2.3. Nuclear repulsion energy</a>
|
||||
<ul>
|
||||
<li><a href="#org9a17acd">2.3.1. Get</a></li>
|
||||
<li><a href="#orgacda5ab">2.3.2. Compute</a></li>
|
||||
<li><a href="#org17e2601">2.3.3. Test</a></li>
|
||||
<li><a href="#orgda434ab">2.3.1. Get</a></li>
|
||||
<li><a href="#org78954fb">2.3.2. Compute</a></li>
|
||||
<li><a href="#org858ec7d">2.3.3. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@ -370,8 +370,8 @@ for the JavaScript code in this tag.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgec04cab" class="outline-2">
|
||||
<h2 id="orgec04cab"><span class="section-number-2">1</span> Context</h2>
|
||||
<div id="outline-container-org4e81b4d" class="outline-2">
|
||||
<h2 id="org4e81b4d"><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:
|
||||
@ -463,8 +463,8 @@ The following data stored in the context:
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orge91bac3" class="outline-3">
|
||||
<h3 id="orge91bac3"><span class="section-number-3">1.1</span> Data structure</h3>
|
||||
<div id="outline-container-org4370001" class="outline-3">
|
||||
<h3 id="org4370001"><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_nucleus_struct</span> {
|
||||
@ -493,8 +493,8 @@ struct is then initialized and <code>provided == true</code>.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org72048b9" class="outline-3">
|
||||
<h3 id="org72048b9"><span class="section-number-3">1.2</span> Access functions</h3>
|
||||
<div id="outline-container-org9c06d1a" class="outline-3">
|
||||
<h3 id="org9c06d1a"><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 nuclei have been set, the following
|
||||
@ -508,8 +508,8 @@ function returns <code>true</code>.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgc876bc8" class="outline-3">
|
||||
<h3 id="orgc876bc8"><span class="section-number-3">1.3</span> Initialization functions</h3>
|
||||
<div id="outline-container-orge6b695f" class="outline-3">
|
||||
<h3 id="orge6b695f"><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 nuclei in the context, the
|
||||
@ -543,8 +543,8 @@ atoms. The coordinates should be given in atomic units.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org6c39031" class="outline-3">
|
||||
<h3 id="org6c39031"><span class="section-number-3">1.4</span> Test</h3>
|
||||
<div id="outline-container-org09da32f" class="outline-3">
|
||||
<h3 id="org09da32f"><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: #a020f0;">const</span> <span style="color: #228b22;">int64_t</span> <span style="color: #a0522d;">nucl_num</span> = chbrclf_nucl_num;
|
||||
@ -628,8 +628,8 @@ rc = qmckl_get_nucleus_charge(context, nucl_charge2);
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgd799cf2" class="outline-2">
|
||||
<h2 id="orgd799cf2"><span class="section-number-2">2</span> Computation</h2>
|
||||
<div id="outline-container-org7bbd3ca" class="outline-2">
|
||||
<h2 id="org7bbd3ca"><span class="section-number-2">2</span> Computation</h2>
|
||||
<div class="outline-text-2" id="text-2">
|
||||
<p>
|
||||
The computed data is stored in the context so that it can be reused
|
||||
@ -642,12 +642,12 @@ current date is stored.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org5b105fd" class="outline-3">
|
||||
<h3 id="org5b105fd"><span class="section-number-3">2.1</span> Nucleus-nucleus distances</h3>
|
||||
<div id="outline-container-org5d8bca2" class="outline-3">
|
||||
<h3 id="org5d8bca2"><span class="section-number-3">2.1</span> Nucleus-nucleus distances</h3>
|
||||
<div class="outline-text-3" id="text-2-1">
|
||||
</div>
|
||||
<div id="outline-container-org2474612" class="outline-4">
|
||||
<h4 id="org2474612"><span class="section-number-4">2.1.1</span> Get</h4>
|
||||
<div id="outline-container-org098c4d0" class="outline-4">
|
||||
<h4 id="org098c4d0"><span class="section-number-4">2.1.1</span> Get</h4>
|
||||
<div class="outline-text-4" id="text-2-1-1">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_get_nucleus_nn_distance</span>(<span style="color: #228b22;">qmckl_context</span> <span style="color: #a0522d;">context</span>, <span style="color: #228b22;">double</span>* <span style="color: #a0522d;">distance</span>);
|
||||
@ -656,10 +656,10 @@ current date is stored.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org8f2fcf6" class="outline-4">
|
||||
<h4 id="org8f2fcf6"><span class="section-number-4">2.1.2</span> Compute</h4>
|
||||
<div id="outline-container-orge66699c" class="outline-4">
|
||||
<h4 id="orge66699c"><span class="section-number-4">2.1.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-1-2">
|
||||
<table id="org0bb4658" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org37b30f2" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -737,8 +737,8 @@ current date is stored.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org714c5b2" class="outline-4">
|
||||
<h4 id="org714c5b2"><span class="section-number-4">2.1.3</span> Test</h4>
|
||||
<div id="outline-container-org4854def" class="outline-4">
|
||||
<h4 id="org4854def"><span class="section-number-4">2.1.3</span> Test</h4>
|
||||
<div class="outline-text-4" id="text-2-1-3">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c">/* <span style="color: #b22222;">Reference input data </span>*/
|
||||
@ -758,12 +758,12 @@ rc = qmckl_get_nucleus_nn_distance(context, distance);
|
||||
</div>
|
||||
|
||||
|
||||
<div id="outline-container-orgf53538e" class="outline-3">
|
||||
<h3 id="orgf53538e"><span class="section-number-3">2.2</span> Nucleus-nucleus rescaled distances</h3>
|
||||
<div id="outline-container-org8817454" class="outline-3">
|
||||
<h3 id="org8817454"><span class="section-number-3">2.2</span> Nucleus-nucleus rescaled distances</h3>
|
||||
<div class="outline-text-3" id="text-2-2">
|
||||
</div>
|
||||
<div id="outline-container-org0f0859d" class="outline-4">
|
||||
<h4 id="org0f0859d"><span class="section-number-4">2.2.1</span> Get</h4>
|
||||
<div id="outline-container-org9d907c4" class="outline-4">
|
||||
<h4 id="org9d907c4"><span class="section-number-4">2.2.1</span> Get</h4>
|
||||
<div class="outline-text-4" id="text-2-2-1">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_get_nucleus_nn_distance_rescaled</span>(<span style="color: #228b22;">qmckl_context</span> <span style="color: #a0522d;">context</span>, <span style="color: #228b22;">double</span>* <span style="color: #a0522d;">distance_rescaled</span>);
|
||||
@ -772,10 +772,10 @@ rc = qmckl_get_nucleus_nn_distance(context, distance);
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org1925a88" class="outline-4">
|
||||
<h4 id="org1925a88"><span class="section-number-4">2.2.2</span> Compute</h4>
|
||||
<div id="outline-container-org9916508" class="outline-4">
|
||||
<h4 id="org9916508"><span class="section-number-4">2.2.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-2-2">
|
||||
<table id="orgc5aa635" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orgb4e3a4c" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -854,8 +854,8 @@ rc = qmckl_get_nucleus_nn_distance(context, distance);
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org0e2ec26" class="outline-4">
|
||||
<h4 id="org0e2ec26"><span class="section-number-4">2.2.3</span> Test</h4>
|
||||
<div id="outline-container-org0cf7839" class="outline-4">
|
||||
<h4 id="org0cf7839"><span class="section-number-4">2.2.3</span> Test</h4>
|
||||
<div class="outline-text-4" id="text-2-2-3">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c">/* <span style="color: #b22222;">Reference input data </span>*/
|
||||
@ -875,8 +875,8 @@ rc = qmckl_get_nucleus_nn_distance(context, distance);
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org2c2bec0" class="outline-3">
|
||||
<h3 id="org2c2bec0"><span class="section-number-3">2.3</span> Nuclear repulsion energy</h3>
|
||||
<div id="outline-container-org34ac5a2" class="outline-3">
|
||||
<h3 id="org34ac5a2"><span class="section-number-3">2.3</span> Nuclear repulsion energy</h3>
|
||||
<div class="outline-text-3" id="text-2-3">
|
||||
<p>
|
||||
\[
|
||||
@ -885,8 +885,8 @@ rc = qmckl_get_nucleus_nn_distance(context, distance);
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org9a17acd" class="outline-4">
|
||||
<h4 id="org9a17acd"><span class="section-number-4">2.3.1</span> Get</h4>
|
||||
<div id="outline-container-orgda434ab" class="outline-4">
|
||||
<h4 id="orgda434ab"><span class="section-number-4">2.3.1</span> Get</h4>
|
||||
<div class="outline-text-4" id="text-2-3-1">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_get_nucleus_repulsion</span>(<span style="color: #228b22;">qmckl_context</span> <span style="color: #a0522d;">context</span>, <span style="color: #228b22;">double</span>* <span style="color: #a0522d;">energy</span>);
|
||||
@ -895,10 +895,10 @@ rc = qmckl_get_nucleus_nn_distance(context, distance);
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgacda5ab" class="outline-4">
|
||||
<h4 id="orgacda5ab"><span class="section-number-4">2.3.2</span> Compute</h4>
|
||||
<div id="outline-container-org78954fb" class="outline-4">
|
||||
<h4 id="org78954fb"><span class="section-number-4">2.3.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-3-2">
|
||||
<table id="org3848725" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orgf51025e" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -986,8 +986,8 @@ rc = qmckl_get_nucleus_nn_distance(context, distance);
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org17e2601" class="outline-4">
|
||||
<h4 id="org17e2601"><span class="section-number-4">2.3.3</span> Test</h4>
|
||||
<div id="outline-container-org858ec7d" class="outline-4">
|
||||
<h4 id="org858ec7d"><span class="section-number-4">2.3.3</span> Test</h4>
|
||||
<div class="outline-text-4" id="text-2-3-3">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c">/* <span style="color: #b22222;">Reference input data </span>*/
|
||||
@ -1007,7 +1007,7 @@ rc = qmckl_get_nucleus_repulsion(context, &rep);
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: TREX CoE</p>
|
||||
<p class="date">Created: 2021-05-26 Wed 09:42</p>
|
||||
<p class="date">Created: 2021-06-02 Wed 23:52</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-05-26 Wed 09:42 -->
|
||||
<!-- 2021-06-02 Wed 23:52 -->
|
||||
<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="#orgcd37a86">1. Control of the numerical precision</a></li>
|
||||
<li><a href="#orgca51fb7">2. Precision</a></li>
|
||||
<li><a href="#org4f170c5">3. Range</a></li>
|
||||
<li><a href="#org80744f0">4. Helper functions</a></li>
|
||||
<li><a href="#orgad78dc6">1. Control of the numerical precision</a></li>
|
||||
<li><a href="#org4ffdea7">2. Precision</a></li>
|
||||
<li><a href="#org0104a80">3. Range</a></li>
|
||||
<li><a href="#org7247bfe">4. Helper functions</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgcd37a86" class="outline-2">
|
||||
<h2 id="orgcd37a86"><span class="section-number-2">1</span> Control of the numerical precision</h2>
|
||||
<div id="outline-container-orgad78dc6" class="outline-2">
|
||||
<h2 id="orgad78dc6"><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="org22c6ab7" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org8c7d7f2" 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-orgca51fb7" class="outline-2">
|
||||
<h2 id="orgca51fb7"><span class="section-number-2">2</span> Precision</h2>
|
||||
<div id="outline-container-org4ffdea7" class="outline-2">
|
||||
<h2 id="org4ffdea7"><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-org4f170c5" class="outline-2">
|
||||
<h2 id="org4f170c5"><span class="section-number-2">3</span> Range</h2>
|
||||
<div id="outline-container-org0104a80" class="outline-2">
|
||||
<h2 id="org0104a80"><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-org80744f0" class="outline-2">
|
||||
<h2 id="org80744f0"><span class="section-number-2">4</span> Helper functions</h2>
|
||||
<div id="outline-container-org7247bfe" class="outline-2">
|
||||
<h2 id="org7247bfe"><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-05-26 Wed 09:42</p>
|
||||
<p class="date">Created: 2021-06-02 Wed 23:52</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-05-26 Wed 09:42 -->
|
||||
<!-- 2021-06-02 Wed 23:51 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>Data for Tests</title>
|
||||
@ -233,19 +233,19 @@ for the JavaScript code in this tag.
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents">
|
||||
<ul>
|
||||
<li><a href="#org5c48cec">1. CHBrClF</a>
|
||||
<li><a href="#org32679fe">1. CHBrClF</a>
|
||||
<ul>
|
||||
<li><a href="#orga9b6c0a">1.1. XYZ coordinates</a></li>
|
||||
<li><a href="#orga7438d6">1.2. Atomic basis set</a></li>
|
||||
<li><a href="#org7e55573">1.3. Electron coordinates</a></li>
|
||||
<li><a href="#orgf213945">1.1. XYZ coordinates</a></li>
|
||||
<li><a href="#orga61ef0f">1.2. Atomic basis set</a></li>
|
||||
<li><a href="#orgedcf3fe">1.3. Electron coordinates</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org5c48cec" class="outline-2">
|
||||
<h2 id="org5c48cec"><span class="section-number-2">1</span> CHBrClF</h2>
|
||||
<div id="outline-container-org32679fe" class="outline-2">
|
||||
<h2 id="org32679fe"><span class="section-number-2">1</span> CHBrClF</h2>
|
||||
<div class="outline-text-2" id="text-1">
|
||||
<p>
|
||||
This test is the all-electron Hartree-Fock wave function of CHClBr,
|
||||
@ -329,8 +329,8 @@ and with a high maximum angular momentum.
|
||||
</div>
|
||||
|
||||
|
||||
<div id="outline-container-orga9b6c0a" class="outline-3">
|
||||
<h3 id="orga9b6c0a"><span class="section-number-3">1.1</span> XYZ coordinates</h3>
|
||||
<div id="outline-container-orgf213945" class="outline-3">
|
||||
<h3 id="orgf213945"><span class="section-number-3">1.1</span> XYZ coordinates</h3>
|
||||
<div class="outline-text-3" id="text-1-1">
|
||||
<pre class="example">
|
||||
5
|
||||
@ -360,8 +360,8 @@ Nuclear coordinates are stored in atomic units in transposed format.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orga7438d6" class="outline-3">
|
||||
<h3 id="orga7438d6"><span class="section-number-3">1.2</span> Atomic basis set</h3>
|
||||
<div id="outline-container-orga61ef0f" class="outline-3">
|
||||
<h3 id="orga61ef0f"><span class="section-number-3">1.2</span> Atomic basis set</h3>
|
||||
<div class="outline-text-3" id="text-1-2">
|
||||
<pre class="example">
|
||||
HYDROGEN
|
||||
@ -836,8 +836,8 @@ F 1
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org7e55573" class="outline-3">
|
||||
<h3 id="org7e55573"><span class="section-number-3">1.3</span> Electron coordinates</h3>
|
||||
<div id="outline-container-orgedcf3fe" class="outline-3">
|
||||
<h3 id="orgedcf3fe"><span class="section-number-3">1.3</span> Electron coordinates</h3>
|
||||
<div class="outline-text-3" id="text-1-3">
|
||||
<p>
|
||||
Electron coordinates are stored in atomic units in normal format.
|
||||
@ -997,7 +997,7 @@ Electron coordinates are stored in atomic units in normal format.
|
||||
</div>
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="date">Created: 2021-05-26 Wed 09:42</p>
|
||||
<p class="date">Created: 2021-06-02 Wed 23:51</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-05-26 Wed 09:42 -->
|
||||
<!-- 2021-06-02 Wed 23:52 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>Utility functions</title>
|
||||
@ -333,13 +333,13 @@ for the JavaScript code in this tag.
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents">
|
||||
<ul>
|
||||
<li><a href="#orgf66c9de">1. Matrix operations</a>
|
||||
<li><a href="#org507abe7">1. Matrix operations</a>
|
||||
<ul>
|
||||
<li><a href="#orge0cfe2a">1.1. <code>qmckl_transpose</code></a>
|
||||
<li><a href="#orge5235f9">1.1. <code>qmckl_transpose</code></a>
|
||||
<ul>
|
||||
<li><a href="#org6b029ad">1.1.1. Requirements</a></li>
|
||||
<li><a href="#org755dc7e">1.1.2. C header</a></li>
|
||||
<li><a href="#orgb466c63">1.1.3. Source</a></li>
|
||||
<li><a href="#orgabe8520">1.1.1. Requirements</a></li>
|
||||
<li><a href="#orgd784c2f">1.1.2. C header</a></li>
|
||||
<li><a href="#org4514c47">1.1.3. Source</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@ -348,18 +348,18 @@ for the JavaScript code in this tag.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgf66c9de" class="outline-2">
|
||||
<h2 id="orgf66c9de"><span class="section-number-2">1</span> Matrix operations</h2>
|
||||
<div id="outline-container-org507abe7" class="outline-2">
|
||||
<h2 id="org507abe7"><span class="section-number-2">1</span> Matrix operations</h2>
|
||||
<div class="outline-text-2" id="text-1">
|
||||
</div>
|
||||
<div id="outline-container-orge0cfe2a" class="outline-3">
|
||||
<h3 id="orge0cfe2a"><span class="section-number-3">1.1</span> <code>qmckl_transpose</code></h3>
|
||||
<div id="outline-container-orge5235f9" class="outline-3">
|
||||
<h3 id="orge5235f9"><span class="section-number-3">1.1</span> <code>qmckl_transpose</code></h3>
|
||||
<div class="outline-text-3" id="text-1-1">
|
||||
<p>
|
||||
Transposes a matrix: \(B_{ji} = A_{ij}\)
|
||||
</p>
|
||||
|
||||
<table id="org5ddd394" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org380dd05" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -424,8 +424,8 @@ Transposes a matrix: \(B_{ji} = A_{ij}\)
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org6b029ad" class="outline-4">
|
||||
<h4 id="org6b029ad"><span class="section-number-4">1.1.1</span> Requirements</h4>
|
||||
<div id="outline-container-orgabe8520" class="outline-4">
|
||||
<h4 id="orgabe8520"><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>
|
||||
@ -439,8 +439,8 @@ Transposes a matrix: \(B_{ji} = A_{ij}\)
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org755dc7e" class="outline-4">
|
||||
<h4 id="org755dc7e"><span class="section-number-4">1.1.2</span> C header</h4>
|
||||
<div id="outline-container-orgd784c2f" class="outline-4">
|
||||
<h4 id="orgd784c2f"><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_transpose</span> (
|
||||
@ -456,8 +456,8 @@ Transposes a matrix: \(B_{ji} = A_{ij}\)
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgb466c63" class="outline-4">
|
||||
<h4 id="orgb466c63"><span class="section-number-4">1.1.3</span> Source</h4>
|
||||
<div id="outline-container-org4514c47" class="outline-4">
|
||||
<h4 id="org4514c47"><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_transpose_f</span><span style="color: #000000; background-color: #ffffff;">(context, m, n, A, LDA, B, LDB)</span><span style="color: #a0522d;"> </span><span style="color: #a020f0;">&</span>
|
||||
@ -516,7 +516,7 @@ Transposes a matrix: \(B_{ji} = A_{ij}\)
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: TREX CoE</p>
|
||||
<p class="date">Created: 2021-05-26 Wed 09:42</p>
|
||||
<p class="date">Created: 2021-06-02 Wed 23:52</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