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@e5806e676b 🚀
This commit is contained in:
parent
3384e4146f
commit
0a9cc56b44
@ -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-07-19 Mon 07:27 -->
|
||||
<!-- 2021-07-23 Fri 07:03 -->
|
||||
<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>
|
||||
@ -353,7 +353,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-07-19 Mon 07:27</p>
|
||||
<p class="date">Created: 2021-07-23 Fri 07:03</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-07-19 Mon 07:27 -->
|
||||
<!-- 2021-07-23 Fri 07:03 -->
|
||||
<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="#orgc0bfe94">1. Using QMCkl</a></li>
|
||||
<li><a href="#org49bcf6d">2. Developing in QMCkl</a>
|
||||
<li><a href="#org898dbac">1. Using QMCkl</a></li>
|
||||
<li><a href="#orgd384583">2. Developing in QMCkl</a>
|
||||
<ul>
|
||||
<li><a href="#org255d16c">2.1. Literate programming</a></li>
|
||||
<li><a href="#org29ee55a">2.2. Source code editing</a></li>
|
||||
<li><a href="#orged53547">2.3. Choice of the programming language</a></li>
|
||||
<li><a href="#org6c3b86e">2.4. Coding rules</a></li>
|
||||
<li><a href="#orgbc37e72">2.5. Design of the library</a></li>
|
||||
<li><a href="#orgffb23f9">2.6. Naming conventions</a></li>
|
||||
<li><a href="#org2e3f92b">2.7. Application programming interface</a></li>
|
||||
<li><a href="#orgc376964">2.8. Global state</a></li>
|
||||
<li><a href="#org0d06065">2.9. Headers</a></li>
|
||||
<li><a href="#orgf32be60">2.10. Low-level functions</a></li>
|
||||
<li><a href="#org176a762">2.11. High-level functions</a></li>
|
||||
<li><a href="#orgd512ce6">2.12. Numerical precision</a></li>
|
||||
<li><a href="#org7bf20a0">2.13. Algorithms</a></li>
|
||||
<li><a href="#orgfd35f56">2.1. Literate programming</a></li>
|
||||
<li><a href="#org9be69e9">2.2. Source code editing</a></li>
|
||||
<li><a href="#org8feaf0e">2.3. Choice of the programming language</a></li>
|
||||
<li><a href="#orgedade24">2.4. Coding rules</a></li>
|
||||
<li><a href="#orgd74c3e1">2.5. Design of the library</a></li>
|
||||
<li><a href="#orgb4a8317">2.6. Naming conventions</a></li>
|
||||
<li><a href="#org2c98ed4">2.7. Application programming interface</a></li>
|
||||
<li><a href="#org96553d6">2.8. Global state</a></li>
|
||||
<li><a href="#org9a6012a">2.9. Headers</a></li>
|
||||
<li><a href="#orge867202">2.10. Low-level functions</a></li>
|
||||
<li><a href="#orgbc822d8">2.11. High-level functions</a></li>
|
||||
<li><a href="#orga69826c">2.12. Numerical precision</a></li>
|
||||
<li><a href="#org8a54673">2.13. Algorithms</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgc0bfe94" class="outline-2">
|
||||
<h2 id="orgc0bfe94"><span class="section-number-2">1</span> Using QMCkl</h2>
|
||||
<div id="outline-container-org898dbac" class="outline-2">
|
||||
<h2 id="org898dbac"><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-org49bcf6d" class="outline-2">
|
||||
<h2 id="org49bcf6d"><span class="section-number-2">2</span> Developing in QMCkl</h2>
|
||||
<div id="outline-container-orgd384583" class="outline-2">
|
||||
<h2 id="orgd384583"><span class="section-number-2">2</span> Developing in QMCkl</h2>
|
||||
<div class="outline-text-2" id="text-2">
|
||||
</div>
|
||||
<div id="outline-container-org255d16c" class="outline-3">
|
||||
<h3 id="org255d16c"><span class="section-number-3">2.1</span> Literate programming</h3>
|
||||
<div id="outline-container-orgfd35f56" class="outline-3">
|
||||
<h3 id="orgfd35f56"><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-org29ee55a" class="outline-3">
|
||||
<h3 id="org29ee55a"><span class="section-number-3">2.2</span> Source code editing</h3>
|
||||
<div id="outline-container-org9be69e9" class="outline-3">
|
||||
<h3 id="org9be69e9"><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-orged53547" class="outline-3">
|
||||
<h3 id="orged53547"><span class="section-number-3">2.3</span> Choice of the programming language</h3>
|
||||
<div id="outline-container-org8feaf0e" class="outline-3">
|
||||
<h3 id="org8feaf0e"><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-org6c3b86e" class="outline-3">
|
||||
<h3 id="org6c3b86e"><span class="section-number-3">2.4</span> Coding rules</h3>
|
||||
<div id="outline-container-orgedade24" class="outline-3">
|
||||
<h3 id="orgedade24"><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-orgbc37e72" class="outline-3">
|
||||
<h3 id="orgbc37e72"><span class="section-number-3">2.5</span> Design of the library</h3>
|
||||
<div id="outline-container-orgd74c3e1" class="outline-3">
|
||||
<h3 id="orgd74c3e1"><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-orgffb23f9" class="outline-3">
|
||||
<h3 id="orgffb23f9"><span class="section-number-3">2.6</span> Naming conventions</h3>
|
||||
<div id="outline-container-orgb4a8317" class="outline-3">
|
||||
<h3 id="orgb4a8317"><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-org2e3f92b" class="outline-3">
|
||||
<h3 id="org2e3f92b"><span class="section-number-3">2.7</span> Application programming interface</h3>
|
||||
<div id="outline-container-org2c98ed4" class="outline-3">
|
||||
<h3 id="org2c98ed4"><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-orgc376964" class="outline-3">
|
||||
<h3 id="orgc376964"><span class="section-number-3">2.8</span> Global state</h3>
|
||||
<div id="outline-container-org96553d6" class="outline-3">
|
||||
<h3 id="org96553d6"><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="orgb547eb4">=context=</a> contains the global
|
||||
<code>qmckl_context_create</code> function. The <a id="org17e4f8d">=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-org0d06065" class="outline-3">
|
||||
<h3 id="org0d06065"><span class="section-number-3">2.9</span> Headers</h3>
|
||||
<div id="outline-container-org9a6012a" class="outline-3">
|
||||
<h3 id="org9a6012a"><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-orgf32be60" class="outline-3">
|
||||
<h3 id="orgf32be60"><span class="section-number-3">2.10</span> Low-level functions</h3>
|
||||
<div id="outline-container-orge867202" class="outline-3">
|
||||
<h3 id="orge867202"><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="#orgb547eb4"><code>context</code></a>. They are not allowed to allocate/deallocate memory, and
|
||||
<a href="#org17e4f8d"><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-org176a762" class="outline-3">
|
||||
<h3 id="org176a762"><span class="section-number-3">2.11</span> High-level functions</h3>
|
||||
<div id="outline-container-orgbc822d8" class="outline-3">
|
||||
<h3 id="orgbc822d8"><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="#orgb547eb4"><code>context</code></a> variable.
|
||||
the <a href="#org17e4f8d"><code>context</code></a> variable.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgd512ce6" class="outline-3">
|
||||
<h3 id="orgd512ce6"><span class="section-number-3">2.12</span> Numerical precision</h3>
|
||||
<div id="outline-container-orga69826c" class="outline-3">
|
||||
<h3 id="orga69826c"><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="#orgb547eb4"><code>context</code></a>
|
||||
functions will use the precision specified in the <a href="#org17e4f8d"><code>context</code></a>
|
||||
variable.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org7bf20a0" class="outline-3">
|
||||
<h3 id="org7bf20a0"><span class="section-number-3">2.13</span> Algorithms</h3>
|
||||
<div id="outline-container-org8a54673" class="outline-3">
|
||||
<h3 id="org8a54673"><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-07-19 Mon 07:27</p>
|
||||
<p class="date">Created: 2021-07-23 Fri 07:03</p>
|
||||
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||
</div>
|
||||
</body>
|
||||
|
260
qmckl_ao.html
260
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-07-19 Mon 07:27 -->
|
||||
<!-- 2021-07-23 Fri 07:03 -->
|
||||
<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,71 +333,71 @@ for the JavaScript code in this tag.
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents">
|
||||
<ul>
|
||||
<li><a href="#org127fef0">1. Context</a>
|
||||
<li><a href="#org60603d1">1. Context</a>
|
||||
<ul>
|
||||
<li><a href="#orgaaecbc3">1.1. Data structure</a></li>
|
||||
<li><a href="#orgdf4d8d9">1.2. Access functions</a></li>
|
||||
<li><a href="#orgb7cbbfe">1.3. Initialization functions</a></li>
|
||||
<li><a href="#orgc2440cc">1.4. Fortran interfaces</a></li>
|
||||
<li><a href="#org60b0e3f">1.1. Data structure</a></li>
|
||||
<li><a href="#orgf07709b">1.2. Access functions</a></li>
|
||||
<li><a href="#orgae120f1">1.3. Initialization functions</a></li>
|
||||
<li><a href="#org1bb466a">1.4. Fortran interfaces</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org2beb13e">2. Radial part</a>
|
||||
<li><a href="#org33a24d9">2. Radial part</a>
|
||||
<ul>
|
||||
<li><a href="#org1393f5e">2.1. <span class="todo TODO">TODO</span> Helper functions to accelerate calculations</a></li>
|
||||
<li><a href="#orgf17f880">2.2. General functions for Gaussian basis functions</a></li>
|
||||
<li><a href="#org01f3ab4">2.3. <span class="todo TODO">TODO</span> General functions for Slater basis functions</a></li>
|
||||
<li><a href="#org85e2f61">2.4. <span class="todo TODO">TODO</span> General functions for Radial functions on a grid</a></li>
|
||||
<li><a href="#orgcbb807c">2.5. Computation of primitives</a>
|
||||
<li><a href="#orgf5d1dc6">2.1. <span class="todo TODO">TODO</span> Helper functions to accelerate calculations</a></li>
|
||||
<li><a href="#org1c595d3">2.2. General functions for Gaussian basis functions</a></li>
|
||||
<li><a href="#org816c229">2.3. <span class="todo TODO">TODO</span> General functions for Slater basis functions</a></li>
|
||||
<li><a href="#orga6ecbb4">2.4. <span class="todo TODO">TODO</span> General functions for Radial functions on a grid</a></li>
|
||||
<li><a href="#orgecf62f0">2.5. Computation of primitives</a>
|
||||
<ul>
|
||||
<li><a href="#org87101be">2.5.1. Get</a></li>
|
||||
<li><a href="#orgd6a8033">2.5.2. Provide</a></li>
|
||||
<li><a href="#org44e5957">2.5.3. Compute</a></li>
|
||||
<li><a href="#org10707c9">2.5.4. Test</a></li>
|
||||
<li><a href="#org28f9567">2.5.5. Ideas for improvement</a></li>
|
||||
<li><a href="#org0c8a5fb">2.5.1. Get</a></li>
|
||||
<li><a href="#org524641c">2.5.2. Provide</a></li>
|
||||
<li><a href="#orgefaceff">2.5.3. Compute</a></li>
|
||||
<li><a href="#orga2a7aae">2.5.4. Test</a></li>
|
||||
<li><a href="#org04215ff">2.5.5. Ideas for improvement</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org9cb12ed">2.6. Computation of shells</a>
|
||||
<li><a href="#org31bdc8e">2.6. Computation of shells</a>
|
||||
<ul>
|
||||
<li><a href="#org98e3166">2.6.1. Get</a></li>
|
||||
<li><a href="#org0d79dc9">2.6.2. Provide</a></li>
|
||||
<li><a href="#org33d0924">2.6.3. Compute</a></li>
|
||||
<li><a href="#orgf8528fa">2.6.4. Test</a></li>
|
||||
<li><a href="#orgdee00ed">2.6.1. Get</a></li>
|
||||
<li><a href="#org592f9c8">2.6.2. Provide</a></li>
|
||||
<li><a href="#org0b1a84b">2.6.3. Compute</a></li>
|
||||
<li><a href="#orga75e240">2.6.4. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org9289300">3. Polynomial part</a>
|
||||
<li><a href="#orgfb26abc">3. Polynomial part</a>
|
||||
<ul>
|
||||
<li><a href="#org1d131ec">3.1. General functions for Powers of \(x-X_i\)</a>
|
||||
<li><a href="#orgb1d8200">3.1. General functions for Powers of \(x-X_i\)</a>
|
||||
<ul>
|
||||
<li><a href="#org1868ec8">3.1.1. Requirements</a></li>
|
||||
<li><a href="#org5a8cff5">3.1.2. C Header</a></li>
|
||||
<li><a href="#org2551410">3.1.3. Source</a></li>
|
||||
<li><a href="#orgebd4201">3.1.4. C interface</a></li>
|
||||
<li><a href="#orgbfc2afc">3.1.5. Fortran interface</a></li>
|
||||
<li><a href="#orgc6a7757">3.1.6. Test</a></li>
|
||||
<li><a href="#org2ca7e95">3.1.1. Requirements</a></li>
|
||||
<li><a href="#org6dbad48">3.1.2. C Header</a></li>
|
||||
<li><a href="#orgf6e0d3d">3.1.3. Source</a></li>
|
||||
<li><a href="#org2b88b75">3.1.4. C interface</a></li>
|
||||
<li><a href="#orgdbce4f7">3.1.5. Fortran interface</a></li>
|
||||
<li><a href="#orgf69bf39">3.1.6. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orge7e102b">3.2. General functions for Value, Gradient and Laplacian of a polynomial</a>
|
||||
<li><a href="#org8310ca0">3.2. General functions for Value, Gradient and Laplacian of a polynomial</a>
|
||||
<ul>
|
||||
<li><a href="#orgbeb38c9">3.2.1. Requirements</a></li>
|
||||
<li><a href="#org6c88a9b">3.2.2. C Header</a></li>
|
||||
<li><a href="#org3181122">3.2.3. Source</a></li>
|
||||
<li><a href="#org9b91b18">3.2.4. C interface</a></li>
|
||||
<li><a href="#org40a9e35">3.2.5. Fortran interface</a></li>
|
||||
<li><a href="#org9f43b3d">3.2.6. Test</a></li>
|
||||
<li><a href="#org8fac957">3.2.1. Requirements</a></li>
|
||||
<li><a href="#org9d3a2c8">3.2.2. C Header</a></li>
|
||||
<li><a href="#org1f93d06">3.2.3. Source</a></li>
|
||||
<li><a href="#org6a87bff">3.2.4. C interface</a></li>
|
||||
<li><a href="#orgc0deb2b">3.2.5. Fortran interface</a></li>
|
||||
<li><a href="#org5543de9">3.2.6. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org6b651e4">4. Combining radial and polynomial parts</a>
|
||||
<li><a href="#org154c9eb">4. Combining radial and polynomial parts</a>
|
||||
<ul>
|
||||
<li>
|
||||
<ul>
|
||||
<li><a href="#org6b17526">4.0.1. Get</a></li>
|
||||
<li><a href="#orge19ec59">4.0.2. Provide</a></li>
|
||||
<li><a href="#orgf29ecf7">4.0.3. Compute</a></li>
|
||||
<li><a href="#org62b6a90">4.0.4. Test</a></li>
|
||||
<li><a href="#orgb7dcdc8">4.0.1. Get</a></li>
|
||||
<li><a href="#org7c0d5bf">4.0.2. Provide</a></li>
|
||||
<li><a href="#org16717ab">4.0.3. Compute</a></li>
|
||||
<li><a href="#org9dd67f0">4.0.4. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@ -406,8 +406,8 @@ for the JavaScript code in this tag.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org127fef0" class="outline-2">
|
||||
<h2 id="org127fef0"><span class="section-number-2">1</span> Context</h2>
|
||||
<div id="outline-container-org60603d1" class="outline-2">
|
||||
<h2 id="org60603d1"><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:
|
||||
@ -679,8 +679,8 @@ prim_factor = [ 1.0006253235944540e+01, 2.4169531573445120e+00, 7.96109248497664
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgaaecbc3" class="outline-3">
|
||||
<h3 id="orgaaecbc3"><span class="section-number-3">1.1</span> Data structure</h3>
|
||||
<div id="outline-container-org60b0e3f" class="outline-3">
|
||||
<h3 id="org60b0e3f"><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> {
|
||||
@ -753,8 +753,8 @@ this mechanism.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgdf4d8d9" class="outline-3">
|
||||
<h3 id="orgdf4d8d9"><span class="section-number-3">1.2</span> Access functions</h3>
|
||||
<div id="outline-container-orgf07709b" class="outline-3">
|
||||
<h3 id="orgf07709b"><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
|
||||
@ -768,8 +768,8 @@ function returns <code>true</code>.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgb7cbbfe" class="outline-3">
|
||||
<h3 id="orgb7cbbfe"><span class="section-number-3">1.3</span> Initialization functions</h3>
|
||||
<div id="outline-container-orgae120f1" class="outline-3">
|
||||
<h3 id="orgae120f1"><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
|
||||
@ -807,20 +807,20 @@ the context.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgc2440cc" class="outline-3">
|
||||
<h3 id="orgc2440cc"><span class="section-number-3">1.4</span> Fortran interfaces</h3>
|
||||
<div id="outline-container-org1bb466a" class="outline-3">
|
||||
<h3 id="org1bb466a"><span class="section-number-3">1.4</span> Fortran interfaces</h3>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org2beb13e" class="outline-2">
|
||||
<h2 id="org2beb13e"><span class="section-number-2">2</span> Radial part</h2>
|
||||
<div id="outline-container-org33a24d9" class="outline-2">
|
||||
<h2 id="org33a24d9"><span class="section-number-2">2</span> Radial part</h2>
|
||||
<div class="outline-text-2" id="text-2">
|
||||
</div>
|
||||
<div id="outline-container-org1393f5e" class="outline-3">
|
||||
<h3 id="org1393f5e"><span class="section-number-3">2.1</span> <span class="todo TODO">TODO</span> Helper functions to accelerate calculations</h3>
|
||||
<div id="outline-container-orgf5d1dc6" class="outline-3">
|
||||
<h3 id="orgf5d1dc6"><span class="section-number-3">2.1</span> <span class="todo TODO">TODO</span> Helper functions to accelerate calculations</h3>
|
||||
</div>
|
||||
<div id="outline-container-orgf17f880" class="outline-3">
|
||||
<h3 id="orgf17f880"><span class="section-number-3">2.2</span> General functions for Gaussian basis functions</h3>
|
||||
<div id="outline-container-org1c595d3" class="outline-3">
|
||||
<h3 id="org1c595d3"><span class="section-number-3">2.2</span> General functions for Gaussian basis functions</h3>
|
||||
<div class="outline-text-3" id="text-2-2">
|
||||
<p>
|
||||
<code>qmckl_ao_gaussian_vgl</code> computes the values, gradients and
|
||||
@ -1052,18 +1052,18 @@ Requirements
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org01f3ab4" class="outline-3">
|
||||
<h3 id="org01f3ab4"><span class="section-number-3">2.3</span> <span class="todo TODO">TODO</span> General functions for Slater basis functions</h3>
|
||||
<div id="outline-container-org816c229" class="outline-3">
|
||||
<h3 id="org816c229"><span class="section-number-3">2.3</span> <span class="todo TODO">TODO</span> General functions for Slater basis functions</h3>
|
||||
</div>
|
||||
<div id="outline-container-org85e2f61" class="outline-3">
|
||||
<h3 id="org85e2f61"><span class="section-number-3">2.4</span> <span class="todo TODO">TODO</span> General functions for Radial functions on a grid</h3>
|
||||
<div id="outline-container-orga6ecbb4" class="outline-3">
|
||||
<h3 id="orga6ecbb4"><span class="section-number-3">2.4</span> <span class="todo TODO">TODO</span> General functions for Radial functions on a grid</h3>
|
||||
</div>
|
||||
<div id="outline-container-orgcbb807c" class="outline-3">
|
||||
<h3 id="orgcbb807c"><span class="section-number-3">2.5</span> Computation of primitives</h3>
|
||||
<div id="outline-container-orgecf62f0" class="outline-3">
|
||||
<h3 id="orgecf62f0"><span class="section-number-3">2.5</span> Computation of primitives</h3>
|
||||
<div class="outline-text-3" id="text-2-5">
|
||||
</div>
|
||||
<div id="outline-container-org87101be" class="outline-4">
|
||||
<h4 id="org87101be"><span class="section-number-4">2.5.1</span> Get</h4>
|
||||
<div id="outline-container-org0c8a5fb" class="outline-4">
|
||||
<h4 id="org0c8a5fb"><span class="section-number-4">2.5.1</span> Get</h4>
|
||||
<div class="outline-text-4" id="text-2-5-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_ao_basis_primitive_vgl</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;">primitive_vgl</span>);
|
||||
@ -1072,14 +1072,14 @@ Requirements
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgd6a8033" class="outline-4">
|
||||
<h4 id="orgd6a8033"><span class="section-number-4">2.5.2</span> Provide</h4>
|
||||
<div id="outline-container-org524641c" class="outline-4">
|
||||
<h4 id="org524641c"><span class="section-number-4">2.5.2</span> Provide</h4>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org44e5957" class="outline-4">
|
||||
<h4 id="org44e5957"><span class="section-number-4">2.5.3</span> Compute</h4>
|
||||
<div id="outline-container-orgefaceff" class="outline-4">
|
||||
<h4 id="orgefaceff"><span class="section-number-4">2.5.3</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-5-3">
|
||||
<table id="orge92fdea" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orgfe83903" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -1223,12 +1223,12 @@ Requirements
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org10707c9" class="outline-4">
|
||||
<h4 id="org10707c9"><span class="section-number-4">2.5.4</span> Test</h4>
|
||||
<div id="outline-container-orga2a7aae" class="outline-4">
|
||||
<h4 id="orga2a7aae"><span class="section-number-4">2.5.4</span> Test</h4>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org28f9567" class="outline-4">
|
||||
<h4 id="org28f9567"><span class="section-number-4">2.5.5</span> Ideas for improvement</h4>
|
||||
<div id="outline-container-org04215ff" class="outline-4">
|
||||
<h4 id="org04215ff"><span class="section-number-4">2.5.5</span> Ideas for improvement</h4>
|
||||
<div class="outline-text-4" id="text-2-5-5">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c">// <span style="color: #b22222;">m : walkers</span>
|
||||
@ -1265,12 +1265,12 @@ k=0;
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org9cb12ed" class="outline-3">
|
||||
<h3 id="org9cb12ed"><span class="section-number-3">2.6</span> Computation of shells</h3>
|
||||
<div id="outline-container-org31bdc8e" class="outline-3">
|
||||
<h3 id="org31bdc8e"><span class="section-number-3">2.6</span> Computation of shells</h3>
|
||||
<div class="outline-text-3" id="text-2-6">
|
||||
</div>
|
||||
<div id="outline-container-org98e3166" class="outline-4">
|
||||
<h4 id="org98e3166"><span class="section-number-4">2.6.1</span> Get</h4>
|
||||
<div id="outline-container-orgdee00ed" class="outline-4">
|
||||
<h4 id="orgdee00ed"><span class="section-number-4">2.6.1</span> Get</h4>
|
||||
<div class="outline-text-4" id="text-2-6-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_ao_basis_shell_vgl</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;">shell_vgl</span>);
|
||||
@ -1279,14 +1279,14 @@ k=0;
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org0d79dc9" class="outline-4">
|
||||
<h4 id="org0d79dc9"><span class="section-number-4">2.6.2</span> Provide</h4>
|
||||
<div id="outline-container-org592f9c8" class="outline-4">
|
||||
<h4 id="org592f9c8"><span class="section-number-4">2.6.2</span> Provide</h4>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org33d0924" class="outline-4">
|
||||
<h4 id="org33d0924"><span class="section-number-4">2.6.3</span> Compute</h4>
|
||||
<div id="outline-container-org0b1a84b" class="outline-4">
|
||||
<h4 id="org0b1a84b"><span class="section-number-4">2.6.3</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-6-3">
|
||||
<table id="org9fea9e0" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orgfde3f3f" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -1518,14 +1518,14 @@ k=0;
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgf8528fa" class="outline-4">
|
||||
<h4 id="orgf8528fa"><span class="section-number-4">2.6.4</span> Test</h4>
|
||||
<div id="outline-container-orga75e240" class="outline-4">
|
||||
<h4 id="orga75e240"><span class="section-number-4">2.6.4</span> Test</h4>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org9289300" class="outline-2">
|
||||
<h2 id="org9289300"><span class="section-number-2">3</span> Polynomial part</h2>
|
||||
<div id="outline-container-orgfb26abc" class="outline-2">
|
||||
<h2 id="orgfb26abc"><span class="section-number-2">3</span> Polynomial part</h2>
|
||||
<div class="outline-text-2" id="text-3">
|
||||
<p>
|
||||
Going from the atomic basis set to AOs implies a systematic
|
||||
@ -1545,8 +1545,8 @@ f & : & f_{xxx}, f_{xxy}, f_{xxz}, f_{xyy}, f_{xyz}, f_{xzz}, f_{yyy}, f_{yyz},
|
||||
\end{eqnarray}
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org1d131ec" class="outline-3">
|
||||
<h3 id="org1d131ec"><span class="section-number-3">3.1</span> General functions for Powers of \(x-X_i\)</h3>
|
||||
<div id="outline-container-orgb1d8200" class="outline-3">
|
||||
<h3 id="orgb1d8200"><span class="section-number-3">3.1</span> General functions for Powers of \(x-X_i\)</h3>
|
||||
<div class="outline-text-3" id="text-3-1">
|
||||
<p>
|
||||
The <code>qmckl_ao_power</code> function computes all the powers of the <code>n</code>
|
||||
@ -1558,7 +1558,7 @@ the \(n\) points:
|
||||
\[ P_{ik} = X_i^k \]
|
||||
</p>
|
||||
|
||||
<table id="orge5dc255" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orgba94a23" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -1616,8 +1616,8 @@ the \(n\) points:
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org1868ec8" class="outline-4">
|
||||
<h4 id="org1868ec8"><span class="section-number-4">3.1.1</span> Requirements</h4>
|
||||
<div id="outline-container-org2ca7e95" class="outline-4">
|
||||
<h4 id="org2ca7e95"><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>
|
||||
@ -1630,8 +1630,8 @@ the \(n\) points:
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org5a8cff5" class="outline-4">
|
||||
<h4 id="org5a8cff5"><span class="section-number-4">3.1.2</span> C Header</h4>
|
||||
<div id="outline-container-org6dbad48" class="outline-4">
|
||||
<h4 id="org6dbad48"><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_ao_power</span> (
|
||||
@ -1646,8 +1646,8 @@ the \(n\) points:
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org2551410" class="outline-4">
|
||||
<h4 id="org2551410"><span class="section-number-4">3.1.3</span> Source</h4>
|
||||
<div id="outline-container-orgf6e0d3d" class="outline-4">
|
||||
<h4 id="orgf6e0d3d"><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: #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>
|
||||
@ -1698,15 +1698,15 @@ the \(n\) points:
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgebd4201" class="outline-4">
|
||||
<h4 id="orgebd4201"><span class="section-number-4">3.1.4</span> C interface</h4>
|
||||
<div id="outline-container-org2b88b75" class="outline-4">
|
||||
<h4 id="org2b88b75"><span class="section-number-4">3.1.4</span> C interface</h4>
|
||||
</div>
|
||||
<div id="outline-container-orgbfc2afc" class="outline-4">
|
||||
<h4 id="orgbfc2afc"><span class="section-number-4">3.1.5</span> Fortran interface</h4>
|
||||
<div id="outline-container-orgdbce4f7" class="outline-4">
|
||||
<h4 id="orgdbce4f7"><span class="section-number-4">3.1.5</span> Fortran interface</h4>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgc6a7757" class="outline-4">
|
||||
<h4 id="orgc6a7757"><span class="section-number-4">3.1.6</span> Test</h4>
|
||||
<div id="outline-container-orgf69bf39" class="outline-4">
|
||||
<h4 id="orgf69bf39"><span class="section-number-4">3.1.6</span> Test</h4>
|
||||
<div class="outline-text-4" id="text-3-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)
|
||||
@ -1757,8 +1757,8 @@ the \(n\) points:
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orge7e102b" class="outline-3">
|
||||
<h3 id="orge7e102b"><span class="section-number-3">3.2</span> General functions for Value, Gradient and Laplacian of a polynomial</h3>
|
||||
<div id="outline-container-org8310ca0" class="outline-3">
|
||||
<h3 id="org8310ca0"><span class="section-number-3">3.2</span> General functions for Value, Gradient and Laplacian of a polynomial</h3>
|
||||
<div class="outline-text-3" id="text-3-2">
|
||||
<p>
|
||||
A polynomial is centered on a nucleus \(\mathbf{R}_i\)
|
||||
@ -1803,7 +1803,7 @@ Laplacians at a given point in space, of all polynomials with an
|
||||
angular momentum up to <code>lmax</code>.
|
||||
</p>
|
||||
|
||||
<table id="orgba95da1" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orgb7c9fc6" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -1882,8 +1882,8 @@ angular momentum up to <code>lmax</code>.
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgbeb38c9" class="outline-4">
|
||||
<h4 id="orgbeb38c9"><span class="section-number-4">3.2.1</span> Requirements</h4>
|
||||
<div id="outline-container-org8fac957" class="outline-4">
|
||||
<h4 id="org8fac957"><span class="section-number-4">3.2.1</span> Requirements</h4>
|
||||
<div class="outline-text-4" id="text-3-2-1">
|
||||
<ul class="org-ul">
|
||||
<li><code>context</code> is not <code>QMCKL_NULL_CONTEXT</code></li>
|
||||
@ -1908,8 +1908,8 @@ For example, with a=0, b=2 and c=1 the string is "yyz"</li>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org6c88a9b" class="outline-4">
|
||||
<h4 id="org6c88a9b"><span class="section-number-4">3.2.2</span> C Header</h4>
|
||||
<div id="outline-container-org9d3a2c8" class="outline-4">
|
||||
<h4 id="org9d3a2c8"><span class="section-number-4">3.2.2</span> C Header</h4>
|
||||
<div class="outline-text-4" id="text-3-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_compute_ao_vgl</span> (
|
||||
@ -1927,8 +1927,8 @@ For example, with a=0, b=2 and c=1 the string is "yyz"</li>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org3181122" class="outline-4">
|
||||
<h4 id="org3181122"><span class="section-number-4">3.2.3</span> Source</h4>
|
||||
<div id="outline-container-org1f93d06" class="outline-4">
|
||||
<h4 id="org1f93d06"><span class="section-number-4">3.2.3</span> Source</h4>
|
||||
<div class="outline-text-4" id="text-3-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>
|
||||
@ -2062,16 +2062,16 @@ For example, with a=0, b=2 and c=1 the string is "yyz"</li>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org9b91b18" class="outline-4">
|
||||
<h4 id="org9b91b18"><span class="section-number-4">3.2.4</span> C interface</h4>
|
||||
<div id="outline-container-org6a87bff" class="outline-4">
|
||||
<h4 id="org6a87bff"><span class="section-number-4">3.2.4</span> C interface</h4>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org40a9e35" class="outline-4">
|
||||
<h4 id="org40a9e35"><span class="section-number-4">3.2.5</span> Fortran interface</h4>
|
||||
<div id="outline-container-orgc0deb2b" class="outline-4">
|
||||
<h4 id="orgc0deb2b"><span class="section-number-4">3.2.5</span> Fortran interface</h4>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org9f43b3d" class="outline-4">
|
||||
<h4 id="org9f43b3d"><span class="section-number-4">3.2.6</span> Test</h4>
|
||||
<div id="outline-container-org5543de9" class="outline-4">
|
||||
<h4 id="org5543de9"><span class="section-number-4">3.2.6</span> Test</h4>
|
||||
<div class="outline-text-4" id="text-3-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)
|
||||
@ -2176,12 +2176,12 @@ assert(0 == test_qmckl_ao_polynomial_vgl(context));
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org6b651e4" class="outline-2">
|
||||
<h2 id="org6b651e4"><span class="section-number-2">4</span> Combining radial and polynomial parts</h2>
|
||||
<div id="outline-container-org154c9eb" class="outline-2">
|
||||
<h2 id="org154c9eb"><span class="section-number-2">4</span> Combining radial and polynomial parts</h2>
|
||||
<div class="outline-text-2" id="text-4">
|
||||
</div>
|
||||
<div id="outline-container-org6b17526" class="outline-4">
|
||||
<h4 id="org6b17526"><span class="section-number-4">4.0.1</span> Get</h4>
|
||||
<div id="outline-container-orgb7dcdc8" class="outline-4">
|
||||
<h4 id="orgb7dcdc8"><span class="section-number-4">4.0.1</span> Get</h4>
|
||||
<div class="outline-text-4" id="text-4-0-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_ao_vgl</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;">ao_vgl</span>);
|
||||
@ -2190,14 +2190,14 @@ assert(0 == test_qmckl_ao_polynomial_vgl(context));
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orge19ec59" class="outline-4">
|
||||
<h4 id="orge19ec59"><span class="section-number-4">4.0.2</span> Provide</h4>
|
||||
<div id="outline-container-org7c0d5bf" class="outline-4">
|
||||
<h4 id="org7c0d5bf"><span class="section-number-4">4.0.2</span> Provide</h4>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgf29ecf7" class="outline-4">
|
||||
<h4 id="orgf29ecf7"><span class="section-number-4">4.0.3</span> Compute</h4>
|
||||
<div id="outline-container-org16717ab" class="outline-4">
|
||||
<h4 id="org16717ab"><span class="section-number-4">4.0.3</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-4-0-3">
|
||||
<table id="org39a3a7d" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orgd4da61b" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -2473,14 +2473,14 @@ assert(0 == test_qmckl_ao_polynomial_vgl(context));
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org62b6a90" class="outline-4">
|
||||
<h4 id="org62b6a90"><span class="section-number-4">4.0.4</span> Test</h4>
|
||||
<div id="outline-container-org9dd67f0" class="outline-4">
|
||||
<h4 id="org9dd67f0"><span class="section-number-4">4.0.4</span> Test</h4>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: TREX CoE</p>
|
||||
<p class="date">Created: 2021-07-19 Mon 07:27</p>
|
||||
<p class="date">Created: 2021-07-23 Fri 07:03</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-07-19 Mon 07:27 -->
|
||||
<!-- 2021-07-23 Fri 07:03 -->
|
||||
<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="#org62be99d">1. Context handling</a>
|
||||
<li><a href="#org420a1ff">1. Context handling</a>
|
||||
<ul>
|
||||
<li><a href="#orgd71aa32">1.1. Data structure</a></li>
|
||||
<li><a href="#org3538025">1.2. Creation</a></li>
|
||||
<li><a href="#org24894b7">1.3. Locking</a></li>
|
||||
<li><a href="#orga596cf4">1.4. <span class="todo TODO">TODO</span> Copy</a></li>
|
||||
<li><a href="#org5c223f4">1.5. Destroy</a></li>
|
||||
<li><a href="#orge71f1d4">1.1. Data structure</a></li>
|
||||
<li><a href="#org55bf5ea">1.2. Creation</a></li>
|
||||
<li><a href="#org4ac29f0">1.3. Locking</a></li>
|
||||
<li><a href="#orgbe62ed7">1.4. <span class="todo TODO">TODO</span> Copy</a></li>
|
||||
<li><a href="#org5593ff0">1.5. Destroy</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org62be99d" class="outline-2">
|
||||
<h2 id="org62be99d"><span class="section-number-2">1</span> Context handling</h2>
|
||||
<div id="outline-container-org420a1ff" class="outline-2">
|
||||
<h2 id="org420a1ff"><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="org6640273"><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="orgcbf8b4d"><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-orgd71aa32" class="outline-3">
|
||||
<h3 id="orgd71aa32"><span class="section-number-3">1.1</span> Data structure</h3>
|
||||
<div id="outline-container-orge71f1d4" class="outline-3">
|
||||
<h3 id="orge71f1d4"><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="#org3538025">qmckl<sub>context</sub><sub>create</sub></a>, <a href="#org5c223f4">qmckl<sub>context</sub><sub>destroy</sub></a> and <a href="#orga596cf4">qmckl<sub>context</sub><sub>copy</sub></a>
|
||||
<a href="#org55bf5ea">qmckl<sub>context</sub><sub>create</sub></a>, <a href="#org5593ff0">qmckl<sub>context</sub><sub>destroy</sub></a> and <a href="#orgbe62ed7">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-org3538025" class="outline-3">
|
||||
<h3 id="org3538025"><span class="section-number-3">1.2</span> Creation</h3>
|
||||
<div id="outline-container-org55bf5ea" class="outline-3">
|
||||
<h3 id="org55bf5ea"><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.
|
||||
@ -502,8 +502,8 @@ To create a new context, <code>qmckl_context_create()</code> should be used.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-org24894b7" class="outline-3">
|
||||
<h3 id="org24894b7"><span class="section-number-3">1.3</span> Locking</h3>
|
||||
<div id="outline-container-org4ac29f0" class="outline-3">
|
||||
<h3 id="org4ac29f0"><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
|
||||
@ -548,8 +548,8 @@ number of times the thread has locked it is saved in the
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orga596cf4" class="outline-3">
|
||||
<h3 id="orga596cf4"><span class="section-number-3">1.4</span> <span class="todo TODO">TODO</span> Copy</h3>
|
||||
<div id="outline-container-orgbe62ed7" class="outline-3">
|
||||
<h3 id="orgbe62ed7"><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
|
||||
@ -597,8 +597,8 @@ number of times the thread has locked it is saved in the
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-org5c223f4" class="outline-3">
|
||||
<h3 id="org5c223f4"><span class="section-number-3">1.5</span> Destroy</h3>
|
||||
<div id="outline-container-org5593ff0" class="outline-3">
|
||||
<h3 id="org5593ff0"><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.
|
||||
@ -652,7 +652,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-07-19 Mon 07:27</p>
|
||||
<p class="date">Created: 2021-07-23 Fri 07:03</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-07-19 Mon 07:27 -->
|
||||
<!-- 2021-07-23 Fri 07:03 -->
|
||||
<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,50 +333,50 @@ for the JavaScript code in this tag.
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents">
|
||||
<ul>
|
||||
<li><a href="#org4bab8cc">1. Squared distance</a>
|
||||
<li><a href="#org2bc2e98">1. Squared distance</a>
|
||||
<ul>
|
||||
<li><a href="#org80d8f29">1.1. <code>qmckl_distance_sq</code></a>
|
||||
<li><a href="#org5e0aa7b">1.1. <code>qmckl_distance_sq</code></a>
|
||||
<ul>
|
||||
<li><a href="#org1096113">1.1.1. Requirements</a></li>
|
||||
<li><a href="#orga047aa9">1.1.2. C header</a></li>
|
||||
<li><a href="#orgde4ad25">1.1.3. Source</a></li>
|
||||
<li><a href="#orge4bbe60">1.1.4. Performance</a></li>
|
||||
<li><a href="#orgd6dcb20">1.1.1. Requirements</a></li>
|
||||
<li><a href="#org839e7c7">1.1.2. C header</a></li>
|
||||
<li><a href="#org3449089">1.1.3. Source</a></li>
|
||||
<li><a href="#org1cf4d93">1.1.4. Performance</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgdb6b28b">2. Distance</a>
|
||||
<li><a href="#org1425073">2. Distance</a>
|
||||
<ul>
|
||||
<li><a href="#orga275046">2.1. <code>qmckl_distance</code></a>
|
||||
<li><a href="#orgc457ee9">2.1. <code>qmckl_distance</code></a>
|
||||
<ul>
|
||||
<li><a href="#org275bba0">2.1.1. Requirements</a></li>
|
||||
<li><a href="#orgf666d5b">2.1.2. C header</a></li>
|
||||
<li><a href="#orgbe5e11b">2.1.3. Source</a></li>
|
||||
<li><a href="#orge0d819c">2.1.4. Performance</a></li>
|
||||
<li><a href="#org1c577bd">2.1.1. Requirements</a></li>
|
||||
<li><a href="#org2501a71">2.1.2. C header</a></li>
|
||||
<li><a href="#org11ce5bc">2.1.3. Source</a></li>
|
||||
<li><a href="#org381885a">2.1.4. Performance</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org1becef5">3. Rescaled Distance</a>
|
||||
<li><a href="#orgab54bbd">3. Rescaled Distance</a>
|
||||
<ul>
|
||||
<li><a href="#org7e5569a">3.1. <code>qmckl_distance_rescaled</code></a>
|
||||
<li><a href="#org7ad3e62">3.1. <code>qmckl_distance_rescaled</code></a>
|
||||
<ul>
|
||||
<li><a href="#orgd37dba8">3.1.1. Requirements</a></li>
|
||||
<li><a href="#org8849fd2">3.1.2. C header</a></li>
|
||||
<li><a href="#orgbbdb826">3.1.3. Source</a></li>
|
||||
<li><a href="#orga26f926">3.1.4. Performance</a></li>
|
||||
<li><a href="#orgb00d9b5">3.1.1. Requirements</a></li>
|
||||
<li><a href="#orgbf3c8b4">3.1.2. C header</a></li>
|
||||
<li><a href="#orgfdc6245">3.1.3. Source</a></li>
|
||||
<li><a href="#org9af5175">3.1.4. Performance</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orge98a03e">4. Rescaled Distance Derivatives</a>
|
||||
<li><a href="#org1cdc581">4. Rescaled Distance Derivatives</a>
|
||||
<ul>
|
||||
<li><a href="#org9115ff3">4.1. <code>qmckl_distance_rescaled_deriv_e</code></a>
|
||||
<li><a href="#org1456bcd">4.1. <code>qmckl_distance_rescaled_deriv_e</code></a>
|
||||
<ul>
|
||||
<li><a href="#org7bffaef">4.1.1. Requirements</a></li>
|
||||
<li><a href="#orgcc1f0fd">4.1.2. C header</a></li>
|
||||
<li><a href="#org96eae47">4.1.3. Source</a></li>
|
||||
<li><a href="#org8a596b5">4.1.4. Performance</a></li>
|
||||
<li><a href="#org266c817">4.1.1. Requirements</a></li>
|
||||
<li><a href="#org0a48f4d">4.1.2. C header</a></li>
|
||||
<li><a href="#org16b71e3">4.1.3. Source</a></li>
|
||||
<li><a href="#orgc740631">4.1.4. Performance</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@ -385,12 +385,12 @@ for the JavaScript code in this tag.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org4bab8cc" class="outline-2">
|
||||
<h2 id="org4bab8cc"><span class="section-number-2">1</span> Squared distance</h2>
|
||||
<div id="outline-container-org2bc2e98" class="outline-2">
|
||||
<h2 id="org2bc2e98"><span class="section-number-2">1</span> Squared distance</h2>
|
||||
<div class="outline-text-2" id="text-1">
|
||||
</div>
|
||||
<div id="outline-container-org80d8f29" class="outline-3">
|
||||
<h3 id="org80d8f29"><span class="section-number-3">1.1</span> <code>qmckl_distance_sq</code></h3>
|
||||
<div id="outline-container-org5e0aa7b" class="outline-3">
|
||||
<h3 id="org5e0aa7b"><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
|
||||
@ -403,7 +403,7 @@ between all pairs of points in two sets, one point within each set:
|
||||
\]
|
||||
</p>
|
||||
|
||||
<table id="org13ebb02" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org919745d" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -496,8 +496,8 @@ between all pairs of points in two sets, one point within each set:
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org1096113" class="outline-4">
|
||||
<h4 id="org1096113"><span class="section-number-4">1.1.1</span> Requirements</h4>
|
||||
<div id="outline-container-orgd6dcb20" class="outline-4">
|
||||
<h4 id="orgd6dcb20"><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>
|
||||
@ -515,8 +515,8 @@ between all pairs of points in two sets, one point within each set:
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orga047aa9" class="outline-4">
|
||||
<h4 id="orga047aa9"><span class="section-number-4">1.1.2</span> C header</h4>
|
||||
<div id="outline-container-org839e7c7" class="outline-4">
|
||||
<h4 id="org839e7c7"><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_deriv_e</span> (
|
||||
@ -536,8 +536,8 @@ between all pairs of points in two sets, one point within each set:
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgde4ad25" class="outline-4">
|
||||
<h4 id="orgde4ad25"><span class="section-number-4">1.1.3</span> Source</h4>
|
||||
<div id="outline-container-org3449089" class="outline-4">
|
||||
<h4 id="org3449089"><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>
|
||||
@ -672,8 +672,8 @@ between all pairs of points in two sets, one point within each set:
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orge4bbe60" class="outline-4">
|
||||
<h4 id="orge4bbe60"><span class="section-number-4">1.1.4</span> Performance</h4>
|
||||
<div id="outline-container-org1cf4d93" class="outline-4">
|
||||
<h4 id="org1cf4d93"><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
|
||||
@ -683,12 +683,12 @@ transposed.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-orgdb6b28b" class="outline-2">
|
||||
<h2 id="orgdb6b28b"><span class="section-number-2">2</span> Distance</h2>
|
||||
<div id="outline-container-org1425073" class="outline-2">
|
||||
<h2 id="org1425073"><span class="section-number-2">2</span> Distance</h2>
|
||||
<div class="outline-text-2" id="text-2">
|
||||
</div>
|
||||
<div id="outline-container-orga275046" class="outline-3">
|
||||
<h3 id="orga275046"><span class="section-number-3">2.1</span> <code>qmckl_distance</code></h3>
|
||||
<div id="outline-container-orgc457ee9" class="outline-3">
|
||||
<h3 id="orgc457ee9"><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
|
||||
@ -706,7 +706,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="orgfca8f3b" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org2b33162" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -799,8 +799,8 @@ the leading dimension: <code>[n][3]</code> in C and <code>(3,n)</code> in Fortra
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org275bba0" class="outline-4">
|
||||
<h4 id="org275bba0"><span class="section-number-4">2.1.1</span> Requirements</h4>
|
||||
<div id="outline-container-org1c577bd" class="outline-4">
|
||||
<h4 id="org1c577bd"><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>
|
||||
@ -818,8 +818,8 @@ the leading dimension: <code>[n][3]</code> in C and <code>(3,n)</code> in Fortra
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgf666d5b" class="outline-4">
|
||||
<h4 id="orgf666d5b"><span class="section-number-4">2.1.2</span> C header</h4>
|
||||
<div id="outline-container-org2501a71" class="outline-4">
|
||||
<h4 id="org2501a71"><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_deriv_e</span> (
|
||||
@ -839,8 +839,8 @@ the leading dimension: <code>[n][3]</code> in C and <code>(3,n)</code> in Fortra
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgbe5e11b" class="outline-4">
|
||||
<h4 id="orgbe5e11b"><span class="section-number-4">2.1.3</span> Source</h4>
|
||||
<div id="outline-container-org11ce5bc" class="outline-4">
|
||||
<h4 id="org11ce5bc"><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>
|
||||
@ -1007,8 +1007,8 @@ the leading dimension: <code>[n][3]</code> in C and <code>(3,n)</code> in Fortra
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orge0d819c" class="outline-4">
|
||||
<h4 id="orge0d819c"><span class="section-number-4">2.1.4</span> Performance</h4>
|
||||
<div id="outline-container-org381885a" class="outline-4">
|
||||
<h4 id="org381885a"><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.
|
||||
@ -1018,12 +1018,12 @@ This function is more efficient when <code>A</code> and <code>B</code> are trans
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org1becef5" class="outline-2">
|
||||
<h2 id="org1becef5"><span class="section-number-2">3</span> Rescaled Distance</h2>
|
||||
<div id="outline-container-orgab54bbd" class="outline-2">
|
||||
<h2 id="orgab54bbd"><span class="section-number-2">3</span> Rescaled Distance</h2>
|
||||
<div class="outline-text-2" id="text-3">
|
||||
</div>
|
||||
<div id="outline-container-org7e5569a" class="outline-3">
|
||||
<h3 id="org7e5569a"><span class="section-number-3">3.1</span> <code>qmckl_distance_rescaled</code></h3>
|
||||
<div id="outline-container-org7ad3e62" class="outline-3">
|
||||
<h3 id="org7ad3e62"><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
|
||||
@ -1041,7 +1041,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="org3c9b486" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orgb5ff32d" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -1141,8 +1141,8 @@ the leading dimension: <code>[n][3]</code> in C and <code>(3,n)</code> in Fortra
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgd37dba8" class="outline-4">
|
||||
<h4 id="orgd37dba8"><span class="section-number-4">3.1.1</span> Requirements</h4>
|
||||
<div id="outline-container-orgb00d9b5" class="outline-4">
|
||||
<h4 id="orgb00d9b5"><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>
|
||||
@ -1160,8 +1160,8 @@ the leading dimension: <code>[n][3]</code> in C and <code>(3,n)</code> in Fortra
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org8849fd2" class="outline-4">
|
||||
<h4 id="org8849fd2"><span class="section-number-4">3.1.2</span> C header</h4>
|
||||
<div id="outline-container-orgbf3c8b4" class="outline-4">
|
||||
<h4 id="orgbf3c8b4"><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_deriv_e</span> (
|
||||
@ -1182,8 +1182,8 @@ the leading dimension: <code>[n][3]</code> in C and <code>(3,n)</code> in Fortra
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgbbdb826" class="outline-4">
|
||||
<h4 id="orgbbdb826"><span class="section-number-4">3.1.3</span> Source</h4>
|
||||
<div id="outline-container-orgfdc6245" class="outline-4">
|
||||
<h4 id="orgfdc6245"><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>
|
||||
@ -1353,8 +1353,8 @@ the leading dimension: <code>[n][3]</code> in C and <code>(3,n)</code> in Fortra
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orga26f926" class="outline-4">
|
||||
<h4 id="orga26f926"><span class="section-number-4">3.1.4</span> Performance</h4>
|
||||
<div id="outline-container-org9af5175" class="outline-4">
|
||||
<h4 id="org9af5175"><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.
|
||||
@ -1363,12 +1363,12 @@ This function is more efficient when <code>A</code> and <code>B</code> are trans
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-orge98a03e" class="outline-2">
|
||||
<h2 id="orge98a03e"><span class="section-number-2">4</span> Rescaled Distance Derivatives</h2>
|
||||
<div id="outline-container-org1cdc581" class="outline-2">
|
||||
<h2 id="org1cdc581"><span class="section-number-2">4</span> Rescaled Distance Derivatives</h2>
|
||||
<div class="outline-text-2" id="text-4">
|
||||
</div>
|
||||
<div id="outline-container-org9115ff3" class="outline-3">
|
||||
<h3 id="org9115ff3"><span class="section-number-3">4.1</span> <code>qmckl_distance_rescaled_deriv_e</code></h3>
|
||||
<div id="outline-container-org1456bcd" class="outline-3">
|
||||
<h3 id="org1456bcd"><span class="section-number-3">4.1</span> <code>qmckl_distance_rescaled_deriv_e</code></h3>
|
||||
<div class="outline-text-3" id="text-4-1">
|
||||
<p>
|
||||
<code>qmckl_distance_rescaled_deriv_e</code> computes the matrix of the gradient and laplacian of the
|
||||
@ -1435,7 +1435,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="orge489190" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org95d7e9b" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -1535,8 +1535,8 @@ the leading dimension: <code>[n][3]</code> in C and <code>(3,n)</code> in Fortra
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org7bffaef" class="outline-4">
|
||||
<h4 id="org7bffaef"><span class="section-number-4">4.1.1</span> Requirements</h4>
|
||||
<div id="outline-container-org266c817" class="outline-4">
|
||||
<h4 id="org266c817"><span class="section-number-4">4.1.1</span> Requirements</h4>
|
||||
<div class="outline-text-4" id="text-4-1-1">
|
||||
<ul class="org-ul">
|
||||
<li><code>context</code> is not <code>QMCKL_NULL_CONTEXT</code></li>
|
||||
@ -1554,8 +1554,8 @@ the leading dimension: <code>[n][3]</code> in C and <code>(3,n)</code> in Fortra
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgcc1f0fd" class="outline-4">
|
||||
<h4 id="orgcc1f0fd"><span class="section-number-4">4.1.2</span> C header</h4>
|
||||
<div id="outline-container-org0a48f4d" class="outline-4">
|
||||
<h4 id="org0a48f4d"><span class="section-number-4">4.1.2</span> C header</h4>
|
||||
<div class="outline-text-4" id="text-4-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_deriv_e</span> (
|
||||
@ -1576,8 +1576,8 @@ the leading dimension: <code>[n][3]</code> in C and <code>(3,n)</code> in Fortra
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org96eae47" class="outline-4">
|
||||
<h4 id="org96eae47"><span class="section-number-4">4.1.3</span> Source</h4>
|
||||
<div id="outline-container-org16b71e3" class="outline-4">
|
||||
<h4 id="org16b71e3"><span class="section-number-4">4.1.3</span> Source</h4>
|
||||
<div class="outline-text-4" id="text-4-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_deriv_e_f(context, transa, transb, m, n, </span><span style="color: #a020f0;">&</span>
|
||||
@ -1768,8 +1768,8 @@ the leading dimension: <code>[n][3]</code> in C and <code>(3,n)</code> in Fortra
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org8a596b5" class="outline-4">
|
||||
<h4 id="org8a596b5"><span class="section-number-4">4.1.4</span> Performance</h4>
|
||||
<div id="outline-container-orgc740631" class="outline-4">
|
||||
<h4 id="orgc740631"><span class="section-number-4">4.1.4</span> Performance</h4>
|
||||
<div class="outline-text-4" id="text-4-1-4">
|
||||
<p>
|
||||
This function is more efficient when <code>A</code> and <code>B</code> are transposed.
|
||||
@ -1781,7 +1781,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-07-19 Mon 07:27</p>
|
||||
<p class="date">Created: 2021-07-23 Fri 07:03</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-07-19 Mon 07:27 -->
|
||||
<!-- 2021-07-23 Fri 07:03 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>Electrons</title>
|
||||
@ -333,63 +333,63 @@ for the JavaScript code in this tag.
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents">
|
||||
<ul>
|
||||
<li><a href="#org1cfc1fb">1. Context</a>
|
||||
<li><a href="#org0d2a51a">1. Context</a>
|
||||
<ul>
|
||||
<li><a href="#orgbc31474">1.1. Data structure</a></li>
|
||||
<li><a href="#orgdbe2935">1.2. Access functions</a>
|
||||
<li><a href="#orgcaf06ae">1.1. Data structure</a></li>
|
||||
<li><a href="#org28f7e71">1.2. Access functions</a>
|
||||
<ul>
|
||||
<li><a href="#org3f0bca8">1.2.1. Number of electrons</a></li>
|
||||
<li><a href="#org58f9387">1.2.2. Number of walkers</a></li>
|
||||
<li><a href="#orge5395e3">1.2.3. Scaling factors Kappa</a></li>
|
||||
<li><a href="#orgec5bcda">1.2.4. Electron coordinates</a></li>
|
||||
<li><a href="#orgd200021">1.2.1. Number of electrons</a></li>
|
||||
<li><a href="#org0c2486e">1.2.2. Number of walkers</a></li>
|
||||
<li><a href="#orgb046a7f">1.2.3. Scaling factors Kappa</a></li>
|
||||
<li><a href="#orgd00d9db">1.2.4. Electron coordinates</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgfb5c333">1.3. Initialization functions</a></li>
|
||||
<li><a href="#orga51fa32">1.4. Test</a></li>
|
||||
<li><a href="#org14ecce0">1.3. Initialization functions</a></li>
|
||||
<li><a href="#org45fe183">1.4. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org7ac8942">2. Computation</a>
|
||||
<li><a href="#org554ae9d">2. Computation</a>
|
||||
<ul>
|
||||
<li><a href="#org51daa21">2.1. Electron-electron distances</a>
|
||||
<li><a href="#org4ca48cd">2.1. Electron-electron distances</a>
|
||||
<ul>
|
||||
<li><a href="#org467ca2f">2.1.1. Get</a></li>
|
||||
<li><a href="#orge984dbb">2.1.2. Compute</a></li>
|
||||
<li><a href="#org682a88d">2.1.3. Test</a></li>
|
||||
<li><a href="#org9911a41">2.1.1. Get</a></li>
|
||||
<li><a href="#org50d4794">2.1.2. Compute</a></li>
|
||||
<li><a href="#orgf9b5834">2.1.3. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org2e78ffe">2.2. Electron-electron rescaled distances</a>
|
||||
<li><a href="#org83a0273">2.2. Electron-electron rescaled distances</a>
|
||||
<ul>
|
||||
<li><a href="#org8f9464c">2.2.1. Get</a></li>
|
||||
<li><a href="#org215a851">2.2.2. Compute</a></li>
|
||||
<li><a href="#org7f43d1f">2.2.3. Test</a></li>
|
||||
<li><a href="#orgb97bf35">2.2.1. Get</a></li>
|
||||
<li><a href="#org57d80ee">2.2.2. Compute</a></li>
|
||||
<li><a href="#org8f18582">2.2.3. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgdf4c552">2.3. Electron-electron rescaled distance gradients and laplacian with respect to electron coords</a>
|
||||
<li><a href="#orgcf033cb">2.3. Electron-electron rescaled distance gradients and laplacian with respect to electron coords</a>
|
||||
<ul>
|
||||
<li><a href="#org9d0d6db">2.3.1. Get</a></li>
|
||||
<li><a href="#org5a74b66">2.3.2. Compute</a></li>
|
||||
<li><a href="#orgc9817b2">2.3.3. Test</a></li>
|
||||
<li><a href="#org494f55a">2.3.1. Get</a></li>
|
||||
<li><a href="#orgd0a61fc">2.3.2. Compute</a></li>
|
||||
<li><a href="#orgb2ce0d6">2.3.3. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgecb1125">2.4. Electron-nucleus distances</a>
|
||||
<li><a href="#org85afd9f">2.4. Electron-nucleus distances</a>
|
||||
<ul>
|
||||
<li><a href="#org802ea7d">2.4.1. Get</a></li>
|
||||
<li><a href="#orgedd0d3c">2.4.2. Compute</a></li>
|
||||
<li><a href="#orgded20b9">2.4.3. Test</a></li>
|
||||
<li><a href="#org963e72f">2.4.1. Get</a></li>
|
||||
<li><a href="#org56e8ec7">2.4.2. Compute</a></li>
|
||||
<li><a href="#org333c4af">2.4.3. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org6abbe5c">2.5. Electron-nucleus rescaled distances</a>
|
||||
<li><a href="#org42ed690">2.5. Electron-nucleus rescaled distances</a>
|
||||
<ul>
|
||||
<li><a href="#orgbb0f8a6">2.5.1. Get</a></li>
|
||||
<li><a href="#orgd1cbf12">2.5.2. Compute</a></li>
|
||||
<li><a href="#org92c224e">2.5.3. Test</a></li>
|
||||
<li><a href="#org30f7217">2.5.1. Get</a></li>
|
||||
<li><a href="#org37087e3">2.5.2. Compute</a></li>
|
||||
<li><a href="#org9b91484">2.5.3. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgc8fe80e">2.6. Electron-nucleus rescaled distance gradients and laplacian with respect to electron coords</a>
|
||||
<li><a href="#orgc80e87c">2.6. Electron-nucleus rescaled distance gradients and laplacian with respect to electron coords</a>
|
||||
<ul>
|
||||
<li><a href="#org8ada5c2">2.6.1. Get</a></li>
|
||||
<li><a href="#orgf6f5bf5">2.6.2. Compute</a></li>
|
||||
<li><a href="#orge955d9d">2.6.3. Test</a></li>
|
||||
<li><a href="#orgdf0fe3f">2.6.1. Get</a></li>
|
||||
<li><a href="#orgdec122d">2.6.2. Compute</a></li>
|
||||
<li><a href="#orgfbcb438">2.6.3. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@ -398,8 +398,8 @@ for the JavaScript code in this tag.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org1cfc1fb" class="outline-2">
|
||||
<h2 id="org1cfc1fb"><span class="section-number-2">1</span> Context</h2>
|
||||
<div id="outline-container-org0d2a51a" class="outline-2">
|
||||
<h2 id="org0d2a51a"><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:
|
||||
@ -557,8 +557,8 @@ The following data stored in the context:
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgbc31474" class="outline-3">
|
||||
<h3 id="orgbc31474"><span class="section-number-3">1.1</span> Data structure</h3>
|
||||
<div id="outline-container-orgcaf06ae" class="outline-3">
|
||||
<h3 id="orgcaf06ae"><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> {
|
||||
@ -633,8 +633,8 @@ this mechanism.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgdbe2935" class="outline-3">
|
||||
<h3 id="orgdbe2935"><span class="section-number-3">1.2</span> Access functions</h3>
|
||||
<div id="outline-container-org28f7e71" class="outline-3">
|
||||
<h3 id="org28f7e71"><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
|
||||
@ -646,12 +646,12 @@ contains the requested data. Otherwise, this variable is untouched.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org3f0bca8" class="outline-4">
|
||||
<h4 id="org3f0bca8"><span class="section-number-4">1.2.1</span> Number of electrons</h4>
|
||||
<div id="outline-container-orgd200021" class="outline-4">
|
||||
<h4 id="orgd200021"><span class="section-number-4">1.2.1</span> Number of electrons</h4>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org58f9387" class="outline-4">
|
||||
<h4 id="org58f9387"><span class="section-number-4">1.2.2</span> Number of walkers</h4>
|
||||
<div id="outline-container-org0c2486e" class="outline-4">
|
||||
<h4 id="org0c2486e"><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
|
||||
@ -660,12 +660,12 @@ the wave function. <code>walk_num</code> is the number of walkers.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orge5395e3" class="outline-4">
|
||||
<h4 id="orge5395e3"><span class="section-number-4">1.2.3</span> Scaling factors Kappa</h4>
|
||||
<div id="outline-container-orgb046a7f" class="outline-4">
|
||||
<h4 id="orgb046a7f"><span class="section-number-4">1.2.3</span> Scaling factors Kappa</h4>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgec5bcda" class="outline-4">
|
||||
<h4 id="orgec5bcda"><span class="section-number-4">1.2.4</span> Electron coordinates</h4>
|
||||
<div id="outline-container-orgd00d9db" class="outline-4">
|
||||
<h4 id="orgd00d9db"><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
|
||||
@ -709,8 +709,8 @@ The order of the indices is:
|
||||
</div>
|
||||
|
||||
|
||||
<div id="outline-container-orgfb5c333" class="outline-3">
|
||||
<h3 id="orgfb5c333"><span class="section-number-3">1.3</span> Initialization functions</h3>
|
||||
<div id="outline-container-org14ecce0" class="outline-3">
|
||||
<h3 id="org14ecce0"><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
|
||||
@ -797,8 +797,8 @@ in the context.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orga51fa32" class="outline-3">
|
||||
<h3 id="orga51fa32"><span class="section-number-3">1.4</span> Test</h3>
|
||||
<div id="outline-container-org45fe183" class="outline-3">
|
||||
<h3 id="org45fe183"><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>*/
|
||||
@ -904,8 +904,8 @@ rc = qmckl_get_electron_coord (context, <span style="color: #8b2252;">'N'</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org7ac8942" class="outline-2">
|
||||
<h2 id="org7ac8942"><span class="section-number-2">2</span> Computation</h2>
|
||||
<div id="outline-container-org554ae9d" class="outline-2">
|
||||
<h2 id="org554ae9d"><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
|
||||
@ -918,12 +918,12 @@ current date is stored.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org51daa21" class="outline-3">
|
||||
<h3 id="org51daa21"><span class="section-number-3">2.1</span> Electron-electron distances</h3>
|
||||
<div id="outline-container-org4ca48cd" class="outline-3">
|
||||
<h3 id="org4ca48cd"><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-org467ca2f" class="outline-4">
|
||||
<h4 id="org467ca2f"><span class="section-number-4">2.1.1</span> Get</h4>
|
||||
<div id="outline-container-org9911a41" class="outline-4">
|
||||
<h4 id="org9911a41"><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>);
|
||||
@ -932,10 +932,10 @@ current date is stored.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orge984dbb" class="outline-4">
|
||||
<h4 id="orge984dbb"><span class="section-number-4">2.1.2</span> Compute</h4>
|
||||
<div id="outline-container-org50d4794" class="outline-4">
|
||||
<h4 id="org50d4794"><span class="section-number-4">2.1.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-1-2">
|
||||
<table id="orgf117b1f" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orgb4726b1" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -1031,8 +1031,8 @@ current date is stored.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org682a88d" class="outline-4">
|
||||
<h4 id="org682a88d"><span class="section-number-4">2.1.3</span> Test</h4>
|
||||
<div id="outline-container-orgf9b5834" class="outline-4">
|
||||
<h4 id="orgf9b5834"><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>));
|
||||
@ -1066,8 +1066,8 @@ rc = qmckl_get_electron_ee_distance(context, ee_distance);
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org2e78ffe" class="outline-3">
|
||||
<h3 id="org2e78ffe"><span class="section-number-3">2.2</span> Electron-electron rescaled distances</h3>
|
||||
<div id="outline-container-org83a0273" class="outline-3">
|
||||
<h3 id="org83a0273"><span class="section-number-3">2.2</span> Electron-electron rescaled distances</h3>
|
||||
<div class="outline-text-3" id="text-2-2">
|
||||
<p>
|
||||
<code>ee_distance_rescaled</code> stores the matrix of the rescaled distances between all
|
||||
@ -1085,8 +1085,8 @@ where \(C_{ij}\) is the matrix of electron-electron distances.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org8f9464c" class="outline-4">
|
||||
<h4 id="org8f9464c"><span class="section-number-4">2.2.1</span> Get</h4>
|
||||
<div id="outline-container-orgb97bf35" class="outline-4">
|
||||
<h4 id="orgb97bf35"><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>);
|
||||
@ -1095,10 +1095,10 @@ where \(C_{ij}\) is the matrix of electron-electron distances.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org215a851" class="outline-4">
|
||||
<h4 id="org215a851"><span class="section-number-4">2.2.2</span> Compute</h4>
|
||||
<div id="outline-container-org57d80ee" class="outline-4">
|
||||
<h4 id="org57d80ee"><span class="section-number-4">2.2.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-2-2">
|
||||
<table id="org207ac86" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orgba70f5c" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -1203,8 +1203,8 @@ where \(C_{ij}\) is the matrix of electron-electron distances.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org7f43d1f" class="outline-4">
|
||||
<h4 id="org7f43d1f"><span class="section-number-4">2.2.3</span> Test</h4>
|
||||
<div id="outline-container-org8f18582" class="outline-4">
|
||||
<h4 id="org8f18582"><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>));
|
||||
@ -1238,8 +1238,8 @@ rc = qmckl_get_electron_ee_distance_rescaled(context, ee_distance_rescaled);
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgdf4c552" class="outline-3">
|
||||
<h3 id="orgdf4c552"><span class="section-number-3">2.3</span> Electron-electron rescaled distance gradients and laplacian with respect to electron coords</h3>
|
||||
<div id="outline-container-orgcf033cb" class="outline-3">
|
||||
<h3 id="orgcf033cb"><span class="section-number-3">2.3</span> Electron-electron rescaled distance gradients and laplacian with respect to electron coords</h3>
|
||||
<div class="outline-text-3" id="text-2-3">
|
||||
<p>
|
||||
The rescaled distances which is given as \(R = (1 - \exp{-\kappa r})/\kappa\)
|
||||
@ -1251,8 +1251,8 @@ gives the Laplacian \(\partial x^2 + \partial y^2 + \partial z^2\).
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org9d0d6db" class="outline-4">
|
||||
<h4 id="org9d0d6db"><span class="section-number-4">2.3.1</span> Get</h4>
|
||||
<div id="outline-container-org494f55a" class="outline-4">
|
||||
<h4 id="org494f55a"><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_ee_distance_rescaled_deriv_e</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_deriv_e</span>);
|
||||
@ -1261,10 +1261,10 @@ gives the Laplacian \(\partial x^2 + \partial y^2 + \partial z^2\).
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org5a74b66" class="outline-4">
|
||||
<h4 id="org5a74b66"><span class="section-number-4">2.3.2</span> Compute</h4>
|
||||
<div id="outline-container-orgd0a61fc" class="outline-4">
|
||||
<h4 id="orgd0a61fc"><span class="section-number-4">2.3.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-3-2">
|
||||
<table id="org0421dd3" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org0791320" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -1369,8 +1369,8 @@ gives the Laplacian \(\partial x^2 + \partial y^2 + \partial z^2\).
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgc9817b2" class="outline-4">
|
||||
<h4 id="orgc9817b2"><span class="section-number-4">2.3.3</span> Test</h4>
|
||||
<div id="outline-container-orgb2ce0d6" class="outline-4">
|
||||
<h4 id="orgb2ce0d6"><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: #0000ff;">assert</span>(<span style="color: #228b22;">qmckl_electron_provided</span>(<span style="color: #a0522d;">context</span>));
|
||||
@ -1405,12 +1405,12 @@ rc = qmckl_get_electron_ee_distance_rescaled_deriv_e(context, ee_distance_rescal
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgecb1125" class="outline-3">
|
||||
<h3 id="orgecb1125"><span class="section-number-3">2.4</span> Electron-nucleus distances</h3>
|
||||
<div id="outline-container-org85afd9f" class="outline-3">
|
||||
<h3 id="org85afd9f"><span class="section-number-3">2.4</span> Electron-nucleus distances</h3>
|
||||
<div class="outline-text-3" id="text-2-4">
|
||||
</div>
|
||||
<div id="outline-container-org802ea7d" class="outline-4">
|
||||
<h4 id="org802ea7d"><span class="section-number-4">2.4.1</span> Get</h4>
|
||||
<div id="outline-container-org963e72f" class="outline-4">
|
||||
<h4 id="org963e72f"><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</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>);
|
||||
@ -1419,10 +1419,10 @@ rc = qmckl_get_electron_ee_distance_rescaled_deriv_e(context, ee_distance_rescal
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgedd0d3c" class="outline-4">
|
||||
<h4 id="orgedd0d3c"><span class="section-number-4">2.4.2</span> Compute</h4>
|
||||
<div id="outline-container-org56e8ec7" class="outline-4">
|
||||
<h4 id="org56e8ec7"><span class="section-number-4">2.4.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-4-2">
|
||||
<table id="org4409cb5" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orgf14f567" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -1539,8 +1539,8 @@ rc = qmckl_get_electron_ee_distance_rescaled_deriv_e(context, ee_distance_rescal
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgded20b9" class="outline-4">
|
||||
<h4 id="orgded20b9"><span class="section-number-4">2.4.3</span> Test</h4>
|
||||
<div id="outline-container-org333c4af" class="outline-4">
|
||||
<h4 id="org333c4af"><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">
|
||||
@ -1588,8 +1588,8 @@ rc = qmckl_get_electron_en_distance(context, &(en_distance[0][0][0]));
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org6abbe5c" class="outline-3">
|
||||
<h3 id="org6abbe5c"><span class="section-number-3">2.5</span> Electron-nucleus rescaled distances</h3>
|
||||
<div id="outline-container-org42ed690" class="outline-3">
|
||||
<h3 id="org42ed690"><span class="section-number-3">2.5</span> Electron-nucleus rescaled distances</h3>
|
||||
<div class="outline-text-3" id="text-2-5">
|
||||
<p>
|
||||
<code>en_distance_rescaled</code> stores the matrix of the rescaled distances between
|
||||
@ -1607,8 +1607,8 @@ where \(C_{ij}\) is the matrix of electron-nucleus distances.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgbb0f8a6" class="outline-4">
|
||||
<h4 id="orgbb0f8a6"><span class="section-number-4">2.5.1</span> Get</h4>
|
||||
<div id="outline-container-org30f7217" class="outline-4">
|
||||
<h4 id="org30f7217"><span class="section-number-4">2.5.1</span> Get</h4>
|
||||
<div class="outline-text-4" id="text-2-5-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>);
|
||||
@ -1617,10 +1617,10 @@ where \(C_{ij}\) is the matrix of electron-nucleus distances.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgd1cbf12" class="outline-4">
|
||||
<h4 id="orgd1cbf12"><span class="section-number-4">2.5.2</span> Compute</h4>
|
||||
<div id="outline-container-org37087e3" class="outline-4">
|
||||
<h4 id="org37087e3"><span class="section-number-4">2.5.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-5-2">
|
||||
<table id="org70e2f15" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org2cc827f" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -1752,8 +1752,8 @@ where \(C_{ij}\) is the matrix of electron-nucleus distances.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org92c224e" class="outline-4">
|
||||
<h4 id="org92c224e"><span class="section-number-4">2.5.3</span> Test</h4>
|
||||
<div id="outline-container-org9b91484" class="outline-4">
|
||||
<h4 id="org9b91484"><span class="section-number-4">2.5.3</span> Test</h4>
|
||||
<div class="outline-text-4" id="text-2-5-3">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c">
|
||||
@ -1801,8 +1801,8 @@ rc = qmckl_get_electron_en_distance_rescaled(context, &(en_distance_rescaled
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgc8fe80e" class="outline-3">
|
||||
<h3 id="orgc8fe80e"><span class="section-number-3">2.6</span> Electron-nucleus rescaled distance gradients and laplacian with respect to electron coords</h3>
|
||||
<div id="outline-container-orgc80e87c" class="outline-3">
|
||||
<h3 id="orgc80e87c"><span class="section-number-3">2.6</span> Electron-nucleus rescaled distance gradients and laplacian with respect to electron coords</h3>
|
||||
<div class="outline-text-3" id="text-2-6">
|
||||
<p>
|
||||
The rescaled distances which is given as \(R = (1 - \exp{-\kappa r})/\kappa\)
|
||||
@ -1814,8 +1814,8 @@ gives the Laplacian \(\partial x^2 + \partial y^2 + \partial z^2\).
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org8ada5c2" class="outline-4">
|
||||
<h4 id="org8ada5c2"><span class="section-number-4">2.6.1</span> Get</h4>
|
||||
<div id="outline-container-orgdf0fe3f" class="outline-4">
|
||||
<h4 id="orgdf0fe3f"><span class="section-number-4">2.6.1</span> Get</h4>
|
||||
<div class="outline-text-4" id="text-2-6-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_deriv_e</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_deriv_e</span>);
|
||||
@ -1824,10 +1824,10 @@ gives the Laplacian \(\partial x^2 + \partial y^2 + \partial z^2\).
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgf6f5bf5" class="outline-4">
|
||||
<h4 id="orgf6f5bf5"><span class="section-number-4">2.6.2</span> Compute</h4>
|
||||
<div id="outline-container-orgdec122d" class="outline-4">
|
||||
<h4 id="orgdec122d"><span class="section-number-4">2.6.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-6-2">
|
||||
<table id="org7a4f968" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org775f907" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -1960,8 +1960,8 @@ gives the Laplacian \(\partial x^2 + \partial y^2 + \partial z^2\).
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orge955d9d" class="outline-4">
|
||||
<h4 id="orge955d9d"><span class="section-number-4">2.6.3</span> Test</h4>
|
||||
<div id="outline-container-orgfbcb438" class="outline-4">
|
||||
<h4 id="orgfbcb438"><span class="section-number-4">2.6.3</span> Test</h4>
|
||||
<div class="outline-text-4" id="text-2-6-3">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c">
|
||||
@ -2016,7 +2016,7 @@ rc = qmckl_get_electron_en_distance_rescaled_deriv_e(context, &(en_distance_
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: TREX CoE</p>
|
||||
<p class="date">Created: 2021-07-19 Mon 07:27</p>
|
||||
<p class="date">Created: 2021-07-23 Fri 07:03</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-07-19 Mon 07:27 -->
|
||||
<!-- 2021-07-23 Fri 07:03 -->
|
||||
<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="#orgaa759fe">1. Decoding errors</a></li>
|
||||
<li><a href="#orga4a9075">2. Data structure in context</a></li>
|
||||
<li><a href="#org6f33a98">3. Updating errors in the context</a></li>
|
||||
<li><a href="#org1afea16">4. Get the error</a></li>
|
||||
<li><a href="#org0ed6385">5. Failing</a></li>
|
||||
<li><a href="#org1cd3227">1. Decoding errors</a></li>
|
||||
<li><a href="#org777c4e4">2. Data structure in context</a></li>
|
||||
<li><a href="#org288f10b">3. Updating errors in the context</a></li>
|
||||
<li><a href="#org45bb1ee">4. Get the error</a></li>
|
||||
<li><a href="#orgc044da2">5. Failing</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgaa759fe" class="outline-2">
|
||||
<h2 id="orgaa759fe"><span class="section-number-2">1</span> Decoding errors</h2>
|
||||
<div id="outline-container-org1cd3227" class="outline-2">
|
||||
<h2 id="org1cd3227"><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
|
||||
@ -451,8 +451,8 @@ The text strings are extracted from the previous table.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orga4a9075" class="outline-2">
|
||||
<h2 id="orga4a9075"><span class="section-number-2">2</span> Data structure in context</h2>
|
||||
<div id="outline-container-org777c4e4" class="outline-2">
|
||||
<h2 id="org777c4e4"><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
|
||||
@ -475,8 +475,8 @@ dynamic memory allocation.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org6f33a98" class="outline-2">
|
||||
<h2 id="org6f33a98"><span class="section-number-2">3</span> Updating errors in the context</h2>
|
||||
<div id="outline-container-org288f10b" class="outline-2">
|
||||
<h2 id="org288f10b"><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>.
|
||||
@ -522,8 +522,8 @@ explaining the error. The exit code can't be <code>QMCKL_SUCCESS</code>.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org1afea16" class="outline-2">
|
||||
<h2 id="org1afea16"><span class="section-number-2">4</span> Get the error</h2>
|
||||
<div id="outline-container-org45bb1ee" class="outline-2">
|
||||
<h2 id="org45bb1ee"><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
|
||||
@ -564,8 +564,8 @@ function name and message is mandatory.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org0ed6385" class="outline-2">
|
||||
<h2 id="org0ed6385"><span class="section-number-2">5</span> Failing</h2>
|
||||
<div id="outline-container-orgc044da2" class="outline-2">
|
||||
<h2 id="orgc044da2"><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
|
||||
@ -628,7 +628,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-07-19 Mon 07:27</p>
|
||||
<p class="date">Created: 2021-07-23 Fri 07:03</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-07-19 Mon 07:27 -->
|
||||
<!-- 2021-07-23 Fri 07:03 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>Jastrow Factor</title>
|
||||
@ -333,100 +333,100 @@ for the JavaScript code in this tag.
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents">
|
||||
<ul>
|
||||
<li><a href="#org6a41bc0">1. Context</a>
|
||||
<li><a href="#orgc261393">1. Context</a>
|
||||
<ul>
|
||||
<li><a href="#orgf3d1351">1.1. Data structure</a></li>
|
||||
<li><a href="#orgc08638d">1.2. Access functions</a></li>
|
||||
<li><a href="#orgee54b91">1.3. Initialization functions</a></li>
|
||||
<li><a href="#org9208a5b">1.4. Test</a></li>
|
||||
<li><a href="#orgfa7f002">1.1. Data structure</a></li>
|
||||
<li><a href="#org661db50">1.2. Access functions</a></li>
|
||||
<li><a href="#orgbeab5fa">1.3. Initialization functions</a></li>
|
||||
<li><a href="#orgf05310c">1.4. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org190a9a9">2. Computation</a>
|
||||
<li><a href="#orgd4c6efe">2. Computation</a>
|
||||
<ul>
|
||||
<li><a href="#org9a715e9">2.1. Asymptotic component for \(f_{ee}\)</a>
|
||||
<li><a href="#org4c3ebbe">2.1. Asymptotic component for \(f_{ee}\)</a>
|
||||
<ul>
|
||||
<li><a href="#orgb71db71">2.1.1. Get</a></li>
|
||||
<li><a href="#orge8f9255">2.1.2. Compute</a></li>
|
||||
<li><a href="#org77c8ad9">2.1.3. Test</a></li>
|
||||
<li><a href="#org5938c2e">2.1.1. Get</a></li>
|
||||
<li><a href="#orge8a3306">2.1.2. Compute</a></li>
|
||||
<li><a href="#org6739a71">2.1.3. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgdd65128">2.2. Electron-electron component \(f_{ee}\)</a>
|
||||
<li><a href="#org23c6624">2.2. Electron-electron component \(f_{ee}\)</a>
|
||||
<ul>
|
||||
<li><a href="#org4b4ff3e">2.2.1. Get</a></li>
|
||||
<li><a href="#orgac8d11e">2.2.2. Compute</a></li>
|
||||
<li><a href="#orga09cae6">2.2.3. Test</a></li>
|
||||
<li><a href="#orgaa7ae3d">2.2.1. Get</a></li>
|
||||
<li><a href="#orgff1b66f">2.2.2. Compute</a></li>
|
||||
<li><a href="#org06c6705">2.2.3. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orga04e130">2.3. Electron-electron component derivative \(f'_{ee}\)</a>
|
||||
<li><a href="#orgfc7771f">2.3. Electron-electron component derivative \(f'_{ee}\)</a>
|
||||
<ul>
|
||||
<li><a href="#org82337c0">2.3.1. Get</a></li>
|
||||
<li><a href="#orgc03fad7">2.3.2. Compute</a></li>
|
||||
<li><a href="#org392d358">2.3.3. Test</a></li>
|
||||
<li><a href="#org8a98409">2.3.1. Get</a></li>
|
||||
<li><a href="#org8ded74b">2.3.2. Compute</a></li>
|
||||
<li><a href="#orgcf58c3b">2.3.3. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org270c954">2.4. Electron-nucleus component \(f_{en}\)</a>
|
||||
<li><a href="#orgb36d85a">2.4. Electron-nucleus component \(f_{en}\)</a>
|
||||
<ul>
|
||||
<li><a href="#org83b8e4a">2.4.1. Get</a></li>
|
||||
<li><a href="#orga31b8bc">2.4.2. Compute</a></li>
|
||||
<li><a href="#orgdea1258">2.4.3. Test</a></li>
|
||||
<li><a href="#org1018496">2.4.1. Get</a></li>
|
||||
<li><a href="#orgf28ab8f">2.4.2. Compute</a></li>
|
||||
<li><a href="#org810943d">2.4.3. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orge2a3904">2.5. Electron-nucleus component derivative \(f'_{en}\)</a>
|
||||
<li><a href="#orgf91d0a2">2.5. Electron-nucleus component derivative \(f'_{en}\)</a>
|
||||
<ul>
|
||||
<li><a href="#orgadeb5be">2.5.1. Get</a></li>
|
||||
<li><a href="#org35783de">2.5.2. Compute</a></li>
|
||||
<li><a href="#orgc35b562">2.5.3. Test</a></li>
|
||||
<li><a href="#orgb3646d1">2.5.1. Get</a></li>
|
||||
<li><a href="#orga4c62ba">2.5.2. Compute</a></li>
|
||||
<li><a href="#orgf458a4f">2.5.3. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgc9ce93a">2.6. Electron-electron rescaled distances for each order</a>
|
||||
<li><a href="#org251b86c">2.6. Electron-electron rescaled distances for each order</a>
|
||||
<ul>
|
||||
<li><a href="#org43b308a">2.6.1. Get</a></li>
|
||||
<li><a href="#org2582019">2.6.2. Compute</a></li>
|
||||
<li><a href="#orgc1202d8">2.6.3. Test</a></li>
|
||||
<li><a href="#orga850535">2.6.1. Get</a></li>
|
||||
<li><a href="#orgcc6b147">2.6.2. Compute</a></li>
|
||||
<li><a href="#org8741c04">2.6.3. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org9eca90e">2.7. Electron-electron rescaled distances for each order and derivatives</a>
|
||||
<li><a href="#orge95a369">2.7. Electron-electron rescaled distances for each order and derivatives</a>
|
||||
<ul>
|
||||
<li><a href="#org323cff9">2.7.1. Get</a></li>
|
||||
<li><a href="#orgc6513e9">2.7.2. Compute</a></li>
|
||||
<li><a href="#orga40fc29">2.7.3. Test</a></li>
|
||||
<li><a href="#orga07887c">2.7.1. Get</a></li>
|
||||
<li><a href="#org7e08a10">2.7.2. Compute</a></li>
|
||||
<li><a href="#orga7070e9">2.7.3. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgf96bd6d">2.8. Electron-nucleus rescaled distances for each order</a>
|
||||
<li><a href="#orgdb3a484">2.8. Electron-nucleus rescaled distances for each order</a>
|
||||
<ul>
|
||||
<li><a href="#orgd9a1957">2.8.1. Get</a></li>
|
||||
<li><a href="#org6b9181d">2.8.2. Compute</a></li>
|
||||
<li><a href="#org77fe289">2.8.3. Test</a></li>
|
||||
<li><a href="#orgf41f700">2.8.1. Get</a></li>
|
||||
<li><a href="#org5cd083c">2.8.2. Compute</a></li>
|
||||
<li><a href="#org5f1e017">2.8.3. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgb226874">2.9. Electron-nucleus rescaled distances for each order and derivatives</a>
|
||||
<li><a href="#orga1d614c">2.9. Electron-nucleus rescaled distances for each order and derivatives</a>
|
||||
<ul>
|
||||
<li><a href="#org60486f3">2.9.1. Get</a></li>
|
||||
<li><a href="#orgf3ec23b">2.9.2. Compute</a></li>
|
||||
<li><a href="#orgd37855f">2.9.3. Test</a></li>
|
||||
<li><a href="#org156e282">2.9.1. Get</a></li>
|
||||
<li><a href="#org0dd7715">2.9.2. Compute</a></li>
|
||||
<li><a href="#orgab4739e">2.9.3. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org2171179">2.10. Prepare for electron-electron-nucleus Jastrow \(f_{een}\)</a>
|
||||
<li><a href="#org52e5ca8">2.10. Prepare for electron-electron-nucleus Jastrow \(f_{een}\)</a>
|
||||
<ul>
|
||||
<li><a href="#orgd1fbe4f">2.10.1. Get</a></li>
|
||||
<li><a href="#orgd77a5c0">2.10.2. Compute dim<sub>cord</sub><sub>vect</sub></a></li>
|
||||
<li><a href="#orgb20ad39">2.10.3. Compute cord<sub>vect</sub><sub>full</sub></a></li>
|
||||
<li><a href="#org079edbe">2.10.4. Compute lkpm<sub>combined</sub><sub>index</sub></a></li>
|
||||
<li><a href="#org6c1f020">2.10.5. Test</a></li>
|
||||
<li><a href="#org9d23817">2.10.1. Get</a></li>
|
||||
<li><a href="#org7715375">2.10.2. Compute dim<sub>cord</sub><sub>vect</sub></a></li>
|
||||
<li><a href="#orgca00b03">2.10.3. Compute cord<sub>vect</sub><sub>full</sub></a></li>
|
||||
<li><a href="#orgec6c25c">2.10.4. Compute lkpm<sub>combined</sub><sub>index</sub></a></li>
|
||||
<li><a href="#orgc838dda">2.10.5. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgf9b305c">2.11. Electron-electron-nucleus Jastrow \(f_{een}\)</a>
|
||||
<li><a href="#org48c27c4">2.11. Electron-electron-nucleus Jastrow \(f_{een}\)</a>
|
||||
<ul>
|
||||
<li><a href="#org9450821">2.11.1. Get</a></li>
|
||||
<li><a href="#orgf552928">2.11.2. Compute</a></li>
|
||||
<li><a href="#orgb40283d">2.11.3. Test</a></li>
|
||||
<li><a href="#orgb84f867">2.11.1. Get</a></li>
|
||||
<li><a href="#org4c0084f">2.11.2. Compute</a></li>
|
||||
<li><a href="#org769f447">2.11.3. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org7e70a9c">2.12. Electron-electron-nucleus Jastrow \(f_{een}\) derivative</a>
|
||||
<li><a href="#org6ff60b2">2.12. Electron-electron-nucleus Jastrow \(f_{een}\) derivative</a>
|
||||
<ul>
|
||||
<li><a href="#org3cdb7bd">2.12.1. Get</a></li>
|
||||
<li><a href="#orge330553">2.12.2. Compute</a></li>
|
||||
<li><a href="#orgcdf3b07">2.12.3. Test</a></li>
|
||||
<li><a href="#org526fa6a">2.12.1. Get</a></li>
|
||||
<li><a href="#org78eacd0">2.12.2. Compute</a></li>
|
||||
<li><a href="#org5d16c32">2.12.3. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@ -435,14 +435,14 @@ for the JavaScript code in this tag.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org6a41bc0" class="outline-2">
|
||||
<h2 id="org6a41bc0"><span class="section-number-2">1</span> Context</h2>
|
||||
<div id="outline-container-orgc261393" class="outline-2">
|
||||
<h2 id="orgc261393"><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:
|
||||
</p>
|
||||
|
||||
<table id="orgc41688c" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org2770cf9" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -734,7 +734,7 @@ For H2O we have the following data:
|
||||
</p>
|
||||
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-python" id="org9a8041a"><span style="color: #a020f0;">import</span> numpy <span style="color: #a020f0;">as</span> np
|
||||
<pre class="src src-python" id="org30f65d8"><span style="color: #a020f0;">import</span> numpy <span style="color: #a020f0;">as</span> np
|
||||
|
||||
<span style="color: #a0522d;">elec_num</span> = 10
|
||||
<span style="color: #a0522d;">nucl_num</span> = 2
|
||||
@ -884,8 +884,8 @@ For H2O we have the following data:
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgf3d1351" class="outline-3">
|
||||
<h3 id="orgf3d1351"><span class="section-number-3">1.1</span> Data structure</h3>
|
||||
<div id="outline-container-orgfa7f002" class="outline-3">
|
||||
<h3 id="orgfa7f002"><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_jastrow_struct</span>{
|
||||
@ -972,8 +972,8 @@ this mechanism.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgc08638d" class="outline-3">
|
||||
<h3 id="orgc08638d"><span class="section-number-3">1.2</span> Access functions</h3>
|
||||
<div id="outline-container-org661db50" class="outline-3">
|
||||
<h3 id="org661db50"><span class="section-number-3">1.2</span> Access functions</h3>
|
||||
<div class="outline-text-3" id="text-1-2">
|
||||
<p>
|
||||
Along with these core functions, calculation of the jastrow factor
|
||||
@ -993,8 +993,8 @@ function returns <code>true</code>.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgee54b91" class="outline-3">
|
||||
<h3 id="orgee54b91"><span class="section-number-3">1.3</span> Initialization functions</h3>
|
||||
<div id="outline-container-orgbeab5fa" class="outline-3">
|
||||
<h3 id="orgbeab5fa"><span class="section-number-3">1.3</span> Initialization functions</h3>
|
||||
<div class="outline-text-3" id="text-1-3">
|
||||
<p>
|
||||
To prepare for the Jastrow and its derivative, all the following functions need to be
|
||||
@ -1020,8 +1020,8 @@ are precontracted using BLAS LEVEL 3 operations for an optimal FLOP count.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org9208a5b" class="outline-3">
|
||||
<h3 id="org9208a5b"><span class="section-number-3">1.4</span> Test</h3>
|
||||
<div id="outline-container-orgf05310c" class="outline-3">
|
||||
<h3 id="orgf05310c"><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>*/
|
||||
@ -1196,8 +1196,8 @@ rc = qmckl_get_nucleus_charge(context, nucl_charge2);
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org190a9a9" class="outline-2">
|
||||
<h2 id="org190a9a9"><span class="section-number-2">2</span> Computation</h2>
|
||||
<div id="outline-container-orgd4c6efe" class="outline-2">
|
||||
<h2 id="orgd4c6efe"><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
|
||||
@ -1210,8 +1210,8 @@ current date is stored.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org9a715e9" class="outline-3">
|
||||
<h3 id="org9a715e9"><span class="section-number-3">2.1</span> Asymptotic component for \(f_{ee}\)</h3>
|
||||
<div id="outline-container-org4c3ebbe" class="outline-3">
|
||||
<h3 id="org4c3ebbe"><span class="section-number-3">2.1</span> Asymptotic component for \(f_{ee}\)</h3>
|
||||
<div class="outline-text-3" id="text-2-1">
|
||||
<p>
|
||||
Calculate the asymptotic component <code>asymp_jasb</code> to be substracted from the final
|
||||
@ -1226,8 +1226,8 @@ via the <code>bord_vector</code> and the electron-electron rescale factor <code>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgb71db71" class="outline-4">
|
||||
<h4 id="orgb71db71"><span class="section-number-4">2.1.1</span> Get</h4>
|
||||
<div id="outline-container-org5938c2e" class="outline-4">
|
||||
<h4 id="org5938c2e"><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_jastrow_asymp_jasb</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;">asymp_jasb</span>);
|
||||
@ -1236,10 +1236,10 @@ via the <code>bord_vector</code> and the electron-electron rescale factor <code>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orge8f9255" class="outline-4">
|
||||
<h4 id="orge8f9255"><span class="section-number-4">2.1.2</span> Compute</h4>
|
||||
<div id="outline-container-orge8a3306" class="outline-4">
|
||||
<h4 id="orge8a3306"><span class="section-number-4">2.1.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-1-2">
|
||||
<table id="org1622f8c" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orgbb7f9d2" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -1344,8 +1344,8 @@ via the <code>bord_vector</code> and the electron-electron rescale factor <code>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="outline-container-org77c8ad9" class="outline-4">
|
||||
<h4 id="org77c8ad9"><span class="section-number-4">2.1.3</span> Test</h4>
|
||||
<div id="outline-container-org6739a71" class="outline-4">
|
||||
<h4 id="org6739a71"><span class="section-number-4">2.1.3</span> Test</h4>
|
||||
<div class="outline-text-4" id="text-2-1-3">
|
||||
<pre class="example">
|
||||
asym_one : 0.43340325572525706
|
||||
@ -1402,8 +1402,8 @@ rc = qmckl_get_jastrow_asymp_jasb(context, asymp_jasb);
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgdd65128" class="outline-3">
|
||||
<h3 id="orgdd65128"><span class="section-number-3">2.2</span> Electron-electron component \(f_{ee}\)</h3>
|
||||
<div id="outline-container-org23c6624" class="outline-3">
|
||||
<h3 id="org23c6624"><span class="section-number-3">2.2</span> Electron-electron component \(f_{ee}\)</h3>
|
||||
<div class="outline-text-3" id="text-2-2">
|
||||
<p>
|
||||
Calculate the electron-electron jastrow component <code>factor_ee</code> using the <code>asymp_jasb</code>
|
||||
@ -1418,8 +1418,8 @@ f_{ee} = \sum_{i,j<i} \left\{ \frac{ \eta B_0 C_{ij}}{1 - B_1 C_{ij}} - J_{asym
|
||||
</div>
|
||||
|
||||
|
||||
<div id="outline-container-org4b4ff3e" class="outline-4">
|
||||
<h4 id="org4b4ff3e"><span class="section-number-4">2.2.1</span> Get</h4>
|
||||
<div id="outline-container-orgaa7ae3d" class="outline-4">
|
||||
<h4 id="orgaa7ae3d"><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_jastrow_factor_ee</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;">factor_ee</span>);
|
||||
@ -1428,10 +1428,10 @@ f_{ee} = \sum_{i,j<i} \left\{ \frac{ \eta B_0 C_{ij}}{1 - B_1 C_{ij}} - J_{asym
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgac8d11e" class="outline-4">
|
||||
<h4 id="orgac8d11e"><span class="section-number-4">2.2.2</span> Compute</h4>
|
||||
<div id="outline-container-orgff1b66f" class="outline-4">
|
||||
<h4 id="orgff1b66f"><span class="section-number-4">2.2.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-2-2">
|
||||
<table id="org97bde2f" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orgced279c" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -1598,8 +1598,8 @@ f_{ee} = \sum_{i,j<i} \left\{ \frac{ \eta B_0 C_{ij}}{1 - B_1 C_{ij}} - J_{asym
|
||||
</div>
|
||||
|
||||
|
||||
<div id="outline-container-orga09cae6" class="outline-4">
|
||||
<h4 id="orga09cae6"><span class="section-number-4">2.2.3</span> Test</h4>
|
||||
<div id="outline-container-org06c6705" class="outline-4">
|
||||
<h4 id="org06c6705"><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;">Check if Jastrow is properly initialized </span>*/
|
||||
@ -1617,8 +1617,8 @@ rc = qmckl_get_jastrow_factor_ee(context, factor_ee);
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orga04e130" class="outline-3">
|
||||
<h3 id="orga04e130"><span class="section-number-3">2.3</span> Electron-electron component derivative \(f'_{ee}\)</h3>
|
||||
<div id="outline-container-orgfc7771f" class="outline-3">
|
||||
<h3 id="orgfc7771f"><span class="section-number-3">2.3</span> Electron-electron component derivative \(f'_{ee}\)</h3>
|
||||
<div class="outline-text-3" id="text-2-3">
|
||||
<p>
|
||||
Calculate the derivative of the <code>factor_ee</code> using the <code>ee_distance_rescaled</code> and
|
||||
@ -1633,8 +1633,8 @@ TODO: Add equation
|
||||
</div>
|
||||
|
||||
|
||||
<div id="outline-container-org82337c0" class="outline-4">
|
||||
<h4 id="org82337c0"><span class="section-number-4">2.3.1</span> Get</h4>
|
||||
<div id="outline-container-org8a98409" class="outline-4">
|
||||
<h4 id="org8a98409"><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_jastrow_factor_ee_deriv_e</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;">factor_ee_deriv_e</span>);
|
||||
@ -1643,10 +1643,10 @@ TODO: Add equation
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgc03fad7" class="outline-4">
|
||||
<h4 id="orgc03fad7"><span class="section-number-4">2.3.2</span> Compute</h4>
|
||||
<div id="outline-container-org8ded74b" class="outline-4">
|
||||
<h4 id="org8ded74b"><span class="section-number-4">2.3.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-3-2">
|
||||
<table id="org75175d8" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orge08b65a" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -1853,8 +1853,8 @@ TODO: Add equation
|
||||
</div>
|
||||
|
||||
|
||||
<div id="outline-container-org392d358" class="outline-4">
|
||||
<h4 id="org392d358"><span class="section-number-4">2.3.3</span> Test</h4>
|
||||
<div id="outline-container-orgcf58c3b" class="outline-4">
|
||||
<h4 id="orgcf58c3b"><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;">Check if Jastrow is properly initialized </span>*/
|
||||
@ -1876,8 +1876,8 @@ rc = qmckl_get_jastrow_factor_ee_deriv_e(context, &(factor_ee_deriv_e[0][0][
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org270c954" class="outline-3">
|
||||
<h3 id="org270c954"><span class="section-number-3">2.4</span> Electron-nucleus component \(f_{en}\)</h3>
|
||||
<div id="outline-container-orgb36d85a" class="outline-3">
|
||||
<h3 id="orgb36d85a"><span class="section-number-3">2.4</span> Electron-nucleus component \(f_{en}\)</h3>
|
||||
<div class="outline-text-3" id="text-2-4">
|
||||
<p>
|
||||
Calculate the electron-electron jastrow component <code>factor_en</code> using the <code>aord_vector</code>
|
||||
@ -1892,8 +1892,8 @@ f_{en} = \sum_{i,j<i} \left\{ \frac{ A_0 C_{ij}}{1 - A_1 C_{ij}} + \sum^{nord}_{
|
||||
</div>
|
||||
|
||||
|
||||
<div id="outline-container-org83b8e4a" class="outline-4">
|
||||
<h4 id="org83b8e4a"><span class="section-number-4">2.4.1</span> Get</h4>
|
||||
<div id="outline-container-org1018496" class="outline-4">
|
||||
<h4 id="org1018496"><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_jastrow_factor_en</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;">factor_en</span>);
|
||||
@ -1902,10 +1902,10 @@ f_{en} = \sum_{i,j<i} \left\{ \frac{ A_0 C_{ij}}{1 - A_1 C_{ij}} + \sum^{nord}_{
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orga31b8bc" class="outline-4">
|
||||
<h4 id="orga31b8bc"><span class="section-number-4">2.4.2</span> Compute</h4>
|
||||
<div id="outline-container-orgf28ab8f" class="outline-4">
|
||||
<h4 id="orgf28ab8f"><span class="section-number-4">2.4.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-4-2">
|
||||
<table id="org6d25741" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org7c5e5e3" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -2079,8 +2079,8 @@ f_{en} = \sum_{i,j<i} \left\{ \frac{ A_0 C_{ij}}{1 - A_1 C_{ij}} + \sum^{nord}_{
|
||||
</div>
|
||||
|
||||
|
||||
<div id="outline-container-orgdea1258" class="outline-4">
|
||||
<h4 id="orgdea1258"><span class="section-number-4">2.4.3</span> Test</h4>
|
||||
<div id="outline-container-org810943d" class="outline-4">
|
||||
<h4 id="org810943d"><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">/* <span style="color: #b22222;">Check if Jastrow is properly initialized </span>*/
|
||||
@ -2098,8 +2098,8 @@ rc = qmckl_get_jastrow_factor_en(context, factor_en);
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orge2a3904" class="outline-3">
|
||||
<h3 id="orge2a3904"><span class="section-number-3">2.5</span> Electron-nucleus component derivative \(f'_{en}\)</h3>
|
||||
<div id="outline-container-orgf91d0a2" class="outline-3">
|
||||
<h3 id="orgf91d0a2"><span class="section-number-3">2.5</span> Electron-nucleus component derivative \(f'_{en}\)</h3>
|
||||
<div class="outline-text-3" id="text-2-5">
|
||||
<p>
|
||||
Calculate the electron-electron jastrow component <code>factor_en_deriv_e</code> derivative
|
||||
@ -2112,8 +2112,8 @@ TODO: write equations.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgadeb5be" class="outline-4">
|
||||
<h4 id="orgadeb5be"><span class="section-number-4">2.5.1</span> Get</h4>
|
||||
<div id="outline-container-orgb3646d1" class="outline-4">
|
||||
<h4 id="orgb3646d1"><span class="section-number-4">2.5.1</span> Get</h4>
|
||||
<div class="outline-text-4" id="text-2-5-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_jastrow_factor_en_deriv_e</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;">factor_en_deriv_e</span>);
|
||||
@ -2122,10 +2122,10 @@ TODO: write equations.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org35783de" class="outline-4">
|
||||
<h4 id="org35783de"><span class="section-number-4">2.5.2</span> Compute</h4>
|
||||
<div id="outline-container-orga4c62ba" class="outline-4">
|
||||
<h4 id="orga4c62ba"><span class="section-number-4">2.5.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-5-2">
|
||||
<table id="org74d9fd4" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org2a0b07e" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -2338,8 +2338,8 @@ TODO: write equations.
|
||||
</div>
|
||||
|
||||
|
||||
<div id="outline-container-orgc35b562" class="outline-4">
|
||||
<h4 id="orgc35b562"><span class="section-number-4">2.5.3</span> Test</h4>
|
||||
<div id="outline-container-orgf458a4f" class="outline-4">
|
||||
<h4 id="orgf458a4f"><span class="section-number-4">2.5.3</span> Test</h4>
|
||||
<div class="outline-text-4" id="text-2-5-3">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c">/* <span style="color: #b22222;">Check if Jastrow is properly initialized </span>*/
|
||||
@ -2361,8 +2361,8 @@ rc = qmckl_get_jastrow_factor_en_deriv_e(context, &(factor_en_deriv_e[0][0][
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgc9ce93a" class="outline-3">
|
||||
<h3 id="orgc9ce93a"><span class="section-number-3">2.6</span> Electron-electron rescaled distances for each order</h3>
|
||||
<div id="outline-container-org251b86c" class="outline-3">
|
||||
<h3 id="org251b86c"><span class="section-number-3">2.6</span> Electron-electron rescaled distances for each order</h3>
|
||||
<div class="outline-text-3" id="text-2-6">
|
||||
<p>
|
||||
<code>een_rescaled_e</code> stores the table of the rescaled distances between all
|
||||
@ -2380,8 +2380,8 @@ where \(C_{ij}\) is the matrix of electron-electron distances.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org43b308a" class="outline-4">
|
||||
<h4 id="org43b308a"><span class="section-number-4">2.6.1</span> Get</h4>
|
||||
<div id="outline-container-orga850535" class="outline-4">
|
||||
<h4 id="orga850535"><span class="section-number-4">2.6.1</span> Get</h4>
|
||||
<div class="outline-text-4" id="text-2-6-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_jastrow_een_rescaled_e</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>);
|
||||
@ -2390,10 +2390,10 @@ where \(C_{ij}\) is the matrix of electron-electron distances.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org2582019" class="outline-4">
|
||||
<h4 id="org2582019"><span class="section-number-4">2.6.2</span> Compute</h4>
|
||||
<div id="outline-container-orgcc6b147" class="outline-4">
|
||||
<h4 id="orgcc6b147"><span class="section-number-4">2.6.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-6-2">
|
||||
<table id="orgcba7c65" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org84032b5" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -2552,8 +2552,8 @@ where \(C_{ij}\) is the matrix of electron-electron distances.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgc1202d8" class="outline-4">
|
||||
<h4 id="orgc1202d8"><span class="section-number-4">2.6.3</span> Test</h4>
|
||||
<div id="outline-container-org8741c04" class="outline-4">
|
||||
<h4 id="org8741c04"><span class="section-number-4">2.6.3</span> Test</h4>
|
||||
<div class="outline-text-4" id="text-2-6-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>));
|
||||
@ -2576,8 +2576,8 @@ rc = qmckl_get_jastrow_een_rescaled_e(context, &(een_rescaled_e[0][0][0][0])
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org9eca90e" class="outline-3">
|
||||
<h3 id="org9eca90e"><span class="section-number-3">2.7</span> Electron-electron rescaled distances for each order and derivatives</h3>
|
||||
<div id="outline-container-orge95a369" class="outline-3">
|
||||
<h3 id="orge95a369"><span class="section-number-3">2.7</span> Electron-electron rescaled distances for each order and derivatives</h3>
|
||||
<div class="outline-text-3" id="text-2-7">
|
||||
<p>
|
||||
<code>een_rescaled_e</code> stores the table of the rescaled distances between all
|
||||
@ -2591,8 +2591,8 @@ TODO: write formulae
|
||||
</div>
|
||||
|
||||
|
||||
<div id="outline-container-org323cff9" class="outline-4">
|
||||
<h4 id="org323cff9"><span class="section-number-4">2.7.1</span> Get</h4>
|
||||
<div id="outline-container-orga07887c" class="outline-4">
|
||||
<h4 id="orga07887c"><span class="section-number-4">2.7.1</span> Get</h4>
|
||||
<div class="outline-text-4" id="text-2-7-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_jastrow_een_rescaled_e_deriv_e</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>);
|
||||
@ -2601,10 +2601,10 @@ TODO: write formulae
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgc6513e9" class="outline-4">
|
||||
<h4 id="orgc6513e9"><span class="section-number-4">2.7.2</span> Compute</h4>
|
||||
<div id="outline-container-org7e08a10" class="outline-4">
|
||||
<h4 id="org7e08a10"><span class="section-number-4">2.7.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-7-2">
|
||||
<table id="org6edf238" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org213fee6" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -2783,8 +2783,8 @@ TODO: write formulae
|
||||
</div>
|
||||
|
||||
|
||||
<div id="outline-container-orga40fc29" class="outline-4">
|
||||
<h4 id="orga40fc29"><span class="section-number-4">2.7.3</span> Test</h4>
|
||||
<div id="outline-container-orga7070e9" class="outline-4">
|
||||
<h4 id="orga7070e9"><span class="section-number-4">2.7.3</span> Test</h4>
|
||||
<div class="outline-text-4" id="text-2-7-3">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c">//<span style="color: #b22222;">assert(qmckl_electron_provided(context));</span>
|
||||
@ -2795,8 +2795,8 @@ TODO: write formulae
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgf96bd6d" class="outline-3">
|
||||
<h3 id="orgf96bd6d"><span class="section-number-3">2.8</span> Electron-nucleus rescaled distances for each order</h3>
|
||||
<div id="outline-container-orgdb3a484" class="outline-3">
|
||||
<h3 id="orgdb3a484"><span class="section-number-3">2.8</span> Electron-nucleus rescaled distances for each order</h3>
|
||||
<div class="outline-text-3" id="text-2-8">
|
||||
<p>
|
||||
<code>een_rescaled_n</code> stores the table of the rescaled distances between
|
||||
@ -2814,8 +2814,8 @@ where \(C_{ia}\) is the matrix of electron-nucleus distances.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgd9a1957" class="outline-4">
|
||||
<h4 id="orgd9a1957"><span class="section-number-4">2.8.1</span> Get</h4>
|
||||
<div id="outline-container-orgf41f700" class="outline-4">
|
||||
<h4 id="orgf41f700"><span class="section-number-4">2.8.1</span> Get</h4>
|
||||
<div class="outline-text-4" id="text-2-8-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_jastrow_een_rescaled_n</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>);
|
||||
@ -2824,10 +2824,10 @@ where \(C_{ia}\) is the matrix of electron-nucleus distances.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org6b9181d" class="outline-4">
|
||||
<h4 id="org6b9181d"><span class="section-number-4">2.8.2</span> Compute</h4>
|
||||
<div id="outline-container-org5cd083c" class="outline-4">
|
||||
<h4 id="org5cd083c"><span class="section-number-4">2.8.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-8-2">
|
||||
<table id="org20c5f64" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org60703f6" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -2983,8 +2983,8 @@ where \(C_{ia}\) is the matrix of electron-nucleus distances.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org77fe289" class="outline-4">
|
||||
<h4 id="org77fe289"><span class="section-number-4">2.8.3</span> Test</h4>
|
||||
<div id="outline-container-org5f1e017" class="outline-4">
|
||||
<h4 id="org5f1e017"><span class="section-number-4">2.8.3</span> Test</h4>
|
||||
<div class="outline-text-4" id="text-2-8-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>));
|
||||
@ -3006,8 +3006,8 @@ rc = qmckl_get_jastrow_een_rescaled_n(context, &(een_rescaled_n[0][0][0][0])
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgb226874" class="outline-3">
|
||||
<h3 id="orgb226874"><span class="section-number-3">2.9</span> Electron-nucleus rescaled distances for each order and derivatives</h3>
|
||||
<div id="outline-container-orga1d614c" class="outline-3">
|
||||
<h3 id="orga1d614c"><span class="section-number-3">2.9</span> Electron-nucleus rescaled distances for each order and derivatives</h3>
|
||||
<div class="outline-text-3" id="text-2-9">
|
||||
<p>
|
||||
<code>een_rescaled_n_deriv_e</code> stores the table of the rescaled distances between
|
||||
@ -3016,8 +3016,8 @@ electrons and nucleii raised to the power \(p\) defined by <code>cord_num</code>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="outline-container-org60486f3" class="outline-4">
|
||||
<h4 id="org60486f3"><span class="section-number-4">2.9.1</span> Get</h4>
|
||||
<div id="outline-container-org156e282" class="outline-4">
|
||||
<h4 id="org156e282"><span class="section-number-4">2.9.1</span> Get</h4>
|
||||
<div class="outline-text-4" id="text-2-9-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_jastrow_een_rescaled_n_deriv_e</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>);
|
||||
@ -3026,10 +3026,10 @@ electrons and nucleii raised to the power \(p\) defined by <code>cord_num</code>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgf3ec23b" class="outline-4">
|
||||
<h4 id="orgf3ec23b"><span class="section-number-4">2.9.2</span> Compute</h4>
|
||||
<div id="outline-container-org0dd7715" class="outline-4">
|
||||
<h4 id="org0dd7715"><span class="section-number-4">2.9.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-9-2">
|
||||
<table id="org90f2756" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org83f47dc" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -3231,8 +3231,8 @@ electrons and nucleii raised to the power \(p\) defined by <code>cord_num</code>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgd37855f" class="outline-4">
|
||||
<h4 id="orgd37855f"><span class="section-number-4">2.9.3</span> Test</h4>
|
||||
<div id="outline-container-orgab4739e" class="outline-4">
|
||||
<h4 id="orgab4739e"><span class="section-number-4">2.9.3</span> Test</h4>
|
||||
<div class="outline-text-4" id="text-2-9-3">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c">//<span style="color: #b22222;">assert(qmckl_electron_provided(context));</span>
|
||||
@ -3243,8 +3243,8 @@ electrons and nucleii raised to the power \(p\) defined by <code>cord_num</code>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org2171179" class="outline-3">
|
||||
<h3 id="org2171179"><span class="section-number-3">2.10</span> Prepare for electron-electron-nucleus Jastrow \(f_{een}\)</h3>
|
||||
<div id="outline-container-org52e5ca8" class="outline-3">
|
||||
<h3 id="org52e5ca8"><span class="section-number-3">2.10</span> Prepare for electron-electron-nucleus Jastrow \(f_{een}\)</h3>
|
||||
<div class="outline-text-3" id="text-2-10">
|
||||
<p>
|
||||
Prepare <code>cord_vect_full</code> and <code>lkpm_combined_index</code> tables required for the
|
||||
@ -3253,8 +3253,8 @@ calculation of the three-body jastrow <code>factor_een</code> and its derivative
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgd1fbe4f" class="outline-4">
|
||||
<h4 id="orgd1fbe4f"><span class="section-number-4">2.10.1</span> Get</h4>
|
||||
<div id="outline-container-org9d23817" class="outline-4">
|
||||
<h4 id="org9d23817"><span class="section-number-4">2.10.1</span> Get</h4>
|
||||
<div class="outline-text-4" id="text-2-10-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_jastrow_dim_cord_vect</span>(<span style="color: #228b22;">qmckl_context</span> <span style="color: #a0522d;">context</span>, <span style="color: #228b22;">int64_t</span>* <span style="color: #a020f0;">const</span> <span style="color: #a0522d;">dim_cord_vect</span>);
|
||||
@ -3265,10 +3265,10 @@ calculation of the three-body jastrow <code>factor_een</code> and its derivative
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgd77a5c0" class="outline-4">
|
||||
<h4 id="orgd77a5c0"><span class="section-number-4">2.10.2</span> Compute dim<sub>cord</sub><sub>vect</sub></h4>
|
||||
<div id="outline-container-org7715375" class="outline-4">
|
||||
<h4 id="org7715375"><span class="section-number-4">2.10.2</span> Compute dim<sub>cord</sub><sub>vect</sub></h4>
|
||||
<div class="outline-text-4" id="text-2-10-2">
|
||||
<table id="orge3dd961" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org65087c6" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -3358,10 +3358,10 @@ calculation of the three-body jastrow <code>factor_een</code> and its derivative
|
||||
</div>
|
||||
|
||||
|
||||
<div id="outline-container-orgb20ad39" class="outline-4">
|
||||
<h4 id="orgb20ad39"><span class="section-number-4">2.10.3</span> Compute cord<sub>vect</sub><sub>full</sub></h4>
|
||||
<div id="outline-container-orgca00b03" class="outline-4">
|
||||
<h4 id="orgca00b03"><span class="section-number-4">2.10.3</span> Compute cord<sub>vect</sub><sub>full</sub></h4>
|
||||
<div class="outline-text-4" id="text-2-10-3">
|
||||
<table id="org409ea1d" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org27d5d4a" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -3501,10 +3501,10 @@ calculation of the three-body jastrow <code>factor_een</code> and its derivative
|
||||
</div>
|
||||
|
||||
|
||||
<div id="outline-container-org079edbe" class="outline-4">
|
||||
<h4 id="org079edbe"><span class="section-number-4">2.10.4</span> Compute lkpm<sub>combined</sub><sub>index</sub></h4>
|
||||
<div id="outline-container-orgec6c25c" class="outline-4">
|
||||
<h4 id="orgec6c25c"><span class="section-number-4">2.10.4</span> Compute lkpm<sub>combined</sub><sub>index</sub></h4>
|
||||
<div class="outline-text-4" id="text-2-10-4">
|
||||
<table id="orgd467c6a" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orgdac2dc9" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -3614,8 +3614,8 @@ calculation of the three-body jastrow <code>factor_een</code> and its derivative
|
||||
</div>
|
||||
|
||||
|
||||
<div id="outline-container-org6c1f020" class="outline-4">
|
||||
<h4 id="org6c1f020"><span class="section-number-4">2.10.5</span> Test</h4>
|
||||
<div id="outline-container-orgc838dda" class="outline-4">
|
||||
<h4 id="orgc838dda"><span class="section-number-4">2.10.5</span> Test</h4>
|
||||
<div class="outline-text-4" id="text-2-10-5">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c">//<span style="color: #b22222;">assert(qmckl_electron_provided(context));</span>
|
||||
@ -3627,8 +3627,8 @@ calculation of the three-body jastrow <code>factor_een</code> and its derivative
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgf9b305c" class="outline-3">
|
||||
<h3 id="orgf9b305c"><span class="section-number-3">2.11</span> Electron-electron-nucleus Jastrow \(f_{een}\)</h3>
|
||||
<div id="outline-container-org48c27c4" class="outline-3">
|
||||
<h3 id="org48c27c4"><span class="section-number-3">2.11</span> Electron-electron-nucleus Jastrow \(f_{een}\)</h3>
|
||||
<div class="outline-text-3" id="text-2-11">
|
||||
<p>
|
||||
Calculate the electron-electron-nuclear three-body jastrow component <code>factor_een</code>
|
||||
@ -3640,8 +3640,8 @@ TODO: write equations.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org9450821" class="outline-4">
|
||||
<h4 id="org9450821"><span class="section-number-4">2.11.1</span> Get</h4>
|
||||
<div id="outline-container-orgb84f867" class="outline-4">
|
||||
<h4 id="orgb84f867"><span class="section-number-4">2.11.1</span> Get</h4>
|
||||
<div class="outline-text-4" id="text-2-11-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_jastrow_factor_een</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;">factor_een</span>);
|
||||
@ -3650,10 +3650,10 @@ TODO: write equations.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgf552928" class="outline-4">
|
||||
<h4 id="orgf552928"><span class="section-number-4">2.11.2</span> Compute</h4>
|
||||
<div id="outline-container-org4c0084f" class="outline-4">
|
||||
<h4 id="org4c0084f"><span class="section-number-4">2.11.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-11-2">
|
||||
<table id="org6eba651" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orgf1c7e97" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -3838,8 +3838,8 @@ TODO: write equations.
|
||||
</div>
|
||||
|
||||
|
||||
<div id="outline-container-orgb40283d" class="outline-4">
|
||||
<h4 id="orgb40283d"><span class="section-number-4">2.11.3</span> Test</h4>
|
||||
<div id="outline-container-org769f447" class="outline-4">
|
||||
<h4 id="org769f447"><span class="section-number-4">2.11.3</span> Test</h4>
|
||||
<div class="outline-text-4" id="text-2-11-3">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c">/* <span style="color: #b22222;">Check if Jastrow is properly initialized </span>*/
|
||||
@ -3852,8 +3852,8 @@ TODO: write equations.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org7e70a9c" class="outline-3">
|
||||
<h3 id="org7e70a9c"><span class="section-number-3">2.12</span> Electron-electron-nucleus Jastrow \(f_{een}\) derivative</h3>
|
||||
<div id="outline-container-org6ff60b2" class="outline-3">
|
||||
<h3 id="org6ff60b2"><span class="section-number-3">2.12</span> Electron-electron-nucleus Jastrow \(f_{een}\) derivative</h3>
|
||||
<div class="outline-text-3" id="text-2-12">
|
||||
<p>
|
||||
Calculate the electron-electron-nuclear three-body jastrow component <code>factor_een_deriv_e</code>
|
||||
@ -3865,8 +3865,8 @@ TODO: write equations.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org3cdb7bd" class="outline-4">
|
||||
<h4 id="org3cdb7bd"><span class="section-number-4">2.12.1</span> Get</h4>
|
||||
<div id="outline-container-org526fa6a" class="outline-4">
|
||||
<h4 id="org526fa6a"><span class="section-number-4">2.12.1</span> Get</h4>
|
||||
<div class="outline-text-4" id="text-2-12-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_jastrow_factor_een_deriv_e</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;">factor_een_deriv_e</span>);
|
||||
@ -3875,10 +3875,10 @@ TODO: write equations.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orge330553" class="outline-4">
|
||||
<h4 id="orge330553"><span class="section-number-4">2.12.2</span> Compute</h4>
|
||||
<div id="outline-container-org78eacd0" class="outline-4">
|
||||
<h4 id="org78eacd0"><span class="section-number-4">2.12.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-12-2">
|
||||
<table id="org5d0cbb7" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orgfd6afca" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -4103,8 +4103,8 @@ TODO: write equations.
|
||||
</div>
|
||||
|
||||
|
||||
<div id="outline-container-orgcdf3b07" class="outline-4">
|
||||
<h4 id="orgcdf3b07"><span class="section-number-4">2.12.3</span> Test</h4>
|
||||
<div id="outline-container-org5d16c32" class="outline-4">
|
||||
<h4 id="org5d16c32"><span class="section-number-4">2.12.3</span> Test</h4>
|
||||
<div class="outline-text-4" id="text-2-12-3">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c">///<span style="color: #b22222;">* Check if Jastrow is properly initialized */</span>
|
||||
@ -4118,7 +4118,7 @@ TODO: write equations.
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: TREX CoE</p>
|
||||
<p class="date">Created: 2021-07-19 Mon 07:27</p>
|
||||
<p class="date">Created: 2021-07-23 Fri 07:03</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-07-19 Mon 07:27 -->
|
||||
<!-- 2021-07-23 Fri 07:03 -->
|
||||
<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="#org5299761">1. Memory data structure for the context</a></li>
|
||||
<li><a href="#org468f48d">2. Passing info to allocation routines</a></li>
|
||||
<li><a href="#org0ddfcfb">3. Allocation/deallocation functions</a></li>
|
||||
<li><a href="#org56ab81c">1. Memory data structure for the context</a></li>
|
||||
<li><a href="#org61447a1">2. Passing info to allocation routines</a></li>
|
||||
<li><a href="#orga937e34">3. Allocation/deallocation functions</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org5299761" class="outline-2">
|
||||
<h2 id="org5299761"><span class="section-number-2">1</span> Memory data structure for the context</h2>
|
||||
<div id="outline-container-org56ab81c" class="outline-2">
|
||||
<h2 id="org56ab81c"><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-org468f48d" class="outline-2">
|
||||
<h2 id="org468f48d"><span class="section-number-2">2</span> Passing info to allocation routines</h2>
|
||||
<div id="outline-container-org61447a1" class="outline-2">
|
||||
<h2 id="org61447a1"><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-org0ddfcfb" class="outline-2">
|
||||
<h2 id="org0ddfcfb"><span class="section-number-2">3</span> Allocation/deallocation functions</h2>
|
||||
<div id="outline-container-orga937e34" class="outline-2">
|
||||
<h2 id="orga937e34"><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-07-19 Mon 07:27</p>
|
||||
<p class="date">Created: 2021-07-23 Fri 07:03</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-07-19 Mon 07:27 -->
|
||||
<!-- 2021-07-23 Fri 07:03 -->
|
||||
<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="#org39b97d3">1. Context</a>
|
||||
<li><a href="#orgea94b88">1. Context</a>
|
||||
<ul>
|
||||
<li><a href="#orgc9317b6">1.1. Data structure</a></li>
|
||||
<li><a href="#orge84a120">1.2. Access functions</a></li>
|
||||
<li><a href="#orga86b854">1.3. Initialization functions</a></li>
|
||||
<li><a href="#orgb3a3014">1.4. Test</a></li>
|
||||
<li><a href="#org536e6a9">1.1. Data structure</a></li>
|
||||
<li><a href="#org7c19c98">1.2. Access functions</a></li>
|
||||
<li><a href="#orgfd755c7">1.3. Initialization functions</a></li>
|
||||
<li><a href="#org4d7263e">1.4. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orge49d7b3">2. Computation</a>
|
||||
<li><a href="#orgc1d32f7">2. Computation</a>
|
||||
<ul>
|
||||
<li><a href="#org5f17e70">2.1. Nucleus-nucleus distances</a>
|
||||
<li><a href="#org3352d7b">2.1. Nucleus-nucleus distances</a>
|
||||
<ul>
|
||||
<li><a href="#orgf31c96c">2.1.1. Get</a></li>
|
||||
<li><a href="#orgb9f83b3">2.1.2. Compute</a></li>
|
||||
<li><a href="#orged7d0db">2.1.3. Test</a></li>
|
||||
<li><a href="#orgd553357">2.1.1. Get</a></li>
|
||||
<li><a href="#org1ceb857">2.1.2. Compute</a></li>
|
||||
<li><a href="#org5e05de3">2.1.3. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org81b5e4e">2.2. Nucleus-nucleus rescaled distances</a>
|
||||
<li><a href="#orgfdb23a6">2.2. Nucleus-nucleus rescaled distances</a>
|
||||
<ul>
|
||||
<li><a href="#org9fdca41">2.2.1. Get</a></li>
|
||||
<li><a href="#orgeabb2bc">2.2.2. Compute</a></li>
|
||||
<li><a href="#org6f24f19">2.2.3. Test</a></li>
|
||||
<li><a href="#org5305b38">2.2.1. Get</a></li>
|
||||
<li><a href="#orgd9b97a7">2.2.2. Compute</a></li>
|
||||
<li><a href="#org3a0d1fa">2.2.3. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgff5dfcc">2.3. Nuclear repulsion energy</a>
|
||||
<li><a href="#orgac46fe1">2.3. Nuclear repulsion energy</a>
|
||||
<ul>
|
||||
<li><a href="#orgfa9cefa">2.3.1. Get</a></li>
|
||||
<li><a href="#org55fe985">2.3.2. Compute</a></li>
|
||||
<li><a href="#org140505a">2.3.3. Test</a></li>
|
||||
<li><a href="#org495b405">2.3.1. Get</a></li>
|
||||
<li><a href="#org7d545e7">2.3.2. Compute</a></li>
|
||||
<li><a href="#orgacd2d03">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-org39b97d3" class="outline-2">
|
||||
<h2 id="org39b97d3"><span class="section-number-2">1</span> Context</h2>
|
||||
<div id="outline-container-orgea94b88" class="outline-2">
|
||||
<h2 id="orgea94b88"><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-orgc9317b6" class="outline-3">
|
||||
<h3 id="orgc9317b6"><span class="section-number-3">1.1</span> Data structure</h3>
|
||||
<div id="outline-container-org536e6a9" class="outline-3">
|
||||
<h3 id="org536e6a9"><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> {
|
||||
@ -523,8 +523,8 @@ this mechanism.
|
||||
|
||||
|
||||
|
||||
<div id="outline-container-orge84a120" class="outline-3">
|
||||
<h3 id="orge84a120"><span class="section-number-3">1.2</span> Access functions</h3>
|
||||
<div id="outline-container-org7c19c98" class="outline-3">
|
||||
<h3 id="org7c19c98"><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
|
||||
@ -538,8 +538,8 @@ function returns <code>true</code>.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orga86b854" class="outline-3">
|
||||
<h3 id="orga86b854"><span class="section-number-3">1.3</span> Initialization functions</h3>
|
||||
<div id="outline-container-orgfd755c7" class="outline-3">
|
||||
<h3 id="orgfd755c7"><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
|
||||
@ -574,8 +574,8 @@ atoms. The coordinates should be given in atomic units.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgb3a3014" class="outline-3">
|
||||
<h3 id="orgb3a3014"><span class="section-number-3">1.4</span> Test</h3>
|
||||
<div id="outline-container-org4d7263e" class="outline-3">
|
||||
<h3 id="org4d7263e"><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;
|
||||
@ -659,8 +659,8 @@ rc = qmckl_get_nucleus_charge(context, nucl_charge2);
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orge49d7b3" class="outline-2">
|
||||
<h2 id="orge49d7b3"><span class="section-number-2">2</span> Computation</h2>
|
||||
<div id="outline-container-orgc1d32f7" class="outline-2">
|
||||
<h2 id="orgc1d32f7"><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
|
||||
@ -673,12 +673,12 @@ current date is stored.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org5f17e70" class="outline-3">
|
||||
<h3 id="org5f17e70"><span class="section-number-3">2.1</span> Nucleus-nucleus distances</h3>
|
||||
<div id="outline-container-org3352d7b" class="outline-3">
|
||||
<h3 id="org3352d7b"><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-orgf31c96c" class="outline-4">
|
||||
<h4 id="orgf31c96c"><span class="section-number-4">2.1.1</span> Get</h4>
|
||||
<div id="outline-container-orgd553357" class="outline-4">
|
||||
<h4 id="orgd553357"><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>);
|
||||
@ -687,10 +687,10 @@ current date is stored.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgb9f83b3" class="outline-4">
|
||||
<h4 id="orgb9f83b3"><span class="section-number-4">2.1.2</span> Compute</h4>
|
||||
<div id="outline-container-org1ceb857" class="outline-4">
|
||||
<h4 id="org1ceb857"><span class="section-number-4">2.1.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-1-2">
|
||||
<table id="orgf6dc150" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org12ae492" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -768,8 +768,8 @@ current date is stored.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orged7d0db" class="outline-4">
|
||||
<h4 id="orged7d0db"><span class="section-number-4">2.1.3</span> Test</h4>
|
||||
<div id="outline-container-org5e05de3" class="outline-4">
|
||||
<h4 id="org5e05de3"><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>*/
|
||||
@ -789,12 +789,12 @@ rc = qmckl_get_nucleus_nn_distance(context, distance);
|
||||
</div>
|
||||
|
||||
|
||||
<div id="outline-container-org81b5e4e" class="outline-3">
|
||||
<h3 id="org81b5e4e"><span class="section-number-3">2.2</span> Nucleus-nucleus rescaled distances</h3>
|
||||
<div id="outline-container-orgfdb23a6" class="outline-3">
|
||||
<h3 id="orgfdb23a6"><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-org9fdca41" class="outline-4">
|
||||
<h4 id="org9fdca41"><span class="section-number-4">2.2.1</span> Get</h4>
|
||||
<div id="outline-container-org5305b38" class="outline-4">
|
||||
<h4 id="org5305b38"><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>);
|
||||
@ -803,10 +803,10 @@ rc = qmckl_get_nucleus_nn_distance(context, distance);
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgeabb2bc" class="outline-4">
|
||||
<h4 id="orgeabb2bc"><span class="section-number-4">2.2.2</span> Compute</h4>
|
||||
<div id="outline-container-orgd9b97a7" class="outline-4">
|
||||
<h4 id="orgd9b97a7"><span class="section-number-4">2.2.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-2-2">
|
||||
<table id="orgea84a9e" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org37470ca" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -885,8 +885,8 @@ rc = qmckl_get_nucleus_nn_distance(context, distance);
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org6f24f19" class="outline-4">
|
||||
<h4 id="org6f24f19"><span class="section-number-4">2.2.3</span> Test</h4>
|
||||
<div id="outline-container-org3a0d1fa" class="outline-4">
|
||||
<h4 id="org3a0d1fa"><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>*/
|
||||
@ -906,8 +906,8 @@ rc = qmckl_get_nucleus_nn_distance(context, distance);
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgff5dfcc" class="outline-3">
|
||||
<h3 id="orgff5dfcc"><span class="section-number-3">2.3</span> Nuclear repulsion energy</h3>
|
||||
<div id="outline-container-orgac46fe1" class="outline-3">
|
||||
<h3 id="orgac46fe1"><span class="section-number-3">2.3</span> Nuclear repulsion energy</h3>
|
||||
<div class="outline-text-3" id="text-2-3">
|
||||
<p>
|
||||
\[
|
||||
@ -916,8 +916,8 @@ rc = qmckl_get_nucleus_nn_distance(context, distance);
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgfa9cefa" class="outline-4">
|
||||
<h4 id="orgfa9cefa"><span class="section-number-4">2.3.1</span> Get</h4>
|
||||
<div id="outline-container-org495b405" class="outline-4">
|
||||
<h4 id="org495b405"><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>);
|
||||
@ -926,10 +926,10 @@ rc = qmckl_get_nucleus_nn_distance(context, distance);
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org55fe985" class="outline-4">
|
||||
<h4 id="org55fe985"><span class="section-number-4">2.3.2</span> Compute</h4>
|
||||
<div id="outline-container-org7d545e7" class="outline-4">
|
||||
<h4 id="org7d545e7"><span class="section-number-4">2.3.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-3-2">
|
||||
<table id="org7d89297" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org91b2310" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -1017,8 +1017,8 @@ rc = qmckl_get_nucleus_nn_distance(context, distance);
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org140505a" class="outline-4">
|
||||
<h4 id="org140505a"><span class="section-number-4">2.3.3</span> Test</h4>
|
||||
<div id="outline-container-orgacd2d03" class="outline-4">
|
||||
<h4 id="orgacd2d03"><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>*/
|
||||
@ -1038,7 +1038,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-07-19 Mon 07:27</p>
|
||||
<p class="date">Created: 2021-07-23 Fri 07:03</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-07-19 Mon 07:27 -->
|
||||
<!-- 2021-07-23 Fri 07:03 -->
|
||||
<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="#org56b671f">1. Control of the numerical precision</a></li>
|
||||
<li><a href="#org544074f">2. Precision</a></li>
|
||||
<li><a href="#org8920889">3. Range</a></li>
|
||||
<li><a href="#orgb117c50">4. Helper functions</a></li>
|
||||
<li><a href="#org5b3b661">1. Control of the numerical precision</a></li>
|
||||
<li><a href="#org0d5941e">2. Precision</a></li>
|
||||
<li><a href="#org4a5e43e">3. Range</a></li>
|
||||
<li><a href="#orge80aabf">4. Helper functions</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org56b671f" class="outline-2">
|
||||
<h2 id="org56b671f"><span class="section-number-2">1</span> Control of the numerical precision</h2>
|
||||
<div id="outline-container-org5b3b661" class="outline-2">
|
||||
<h2 id="org5b3b661"><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="org3b751ee" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org8206359" 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-org544074f" class="outline-2">
|
||||
<h2 id="org544074f"><span class="section-number-2">2</span> Precision</h2>
|
||||
<div id="outline-container-org0d5941e" class="outline-2">
|
||||
<h2 id="org0d5941e"><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-org8920889" class="outline-2">
|
||||
<h2 id="org8920889"><span class="section-number-2">3</span> Range</h2>
|
||||
<div id="outline-container-org4a5e43e" class="outline-2">
|
||||
<h2 id="org4a5e43e"><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-orgb117c50" class="outline-2">
|
||||
<h2 id="orgb117c50"><span class="section-number-2">4</span> Helper functions</h2>
|
||||
<div id="outline-container-orge80aabf" class="outline-2">
|
||||
<h2 id="orge80aabf"><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-07-19 Mon 07:27</p>
|
||||
<p class="date">Created: 2021-07-23 Fri 07:03</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-07-19 Mon 07:27 -->
|
||||
<!-- 2021-07-23 Fri 07:03 -->
|
||||
<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,27 +233,27 @@ for the JavaScript code in this tag.
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents">
|
||||
<ul>
|
||||
<li><a href="#orga73c390">1. CHBrClF</a>
|
||||
<li><a href="#org554255b">1. CHBrClF</a>
|
||||
<ul>
|
||||
<li><a href="#orgfb5e136">1.1. XYZ coordinates</a></li>
|
||||
<li><a href="#org2513cf1">1.2. Atomic basis set</a></li>
|
||||
<li><a href="#org4ab0158">1.3. <span class="todo TODO">TODO</span> Molecular orbitals</a></li>
|
||||
<li><a href="#org890066d">1.4. Electron coordinates</a></li>
|
||||
<li><a href="#org951a18d">1.1. XYZ coordinates</a></li>
|
||||
<li><a href="#org28b819d">1.2. Atomic basis set</a></li>
|
||||
<li><a href="#org95a0ac1">1.3. <span class="todo TODO">TODO</span> Molecular orbitals</a></li>
|
||||
<li><a href="#orgc2a88c3">1.4. Electron coordinates</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org88b7a19">2. N2</a>
|
||||
<li><a href="#orgbe24881">2. N2</a>
|
||||
<ul>
|
||||
<li><a href="#orgf0c0622">2.1. XYZ coordinates</a></li>
|
||||
<li><a href="#org5df9695">2.2. Electron coordinates</a></li>
|
||||
<li><a href="#org2d5ad6a">2.3. Jastrow related data</a></li>
|
||||
<li><a href="#orgbe4421a">2.1. XYZ coordinates</a></li>
|
||||
<li><a href="#org52b333b">2.2. Electron coordinates</a></li>
|
||||
<li><a href="#org10878a4">2.3. Jastrow related data</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orga73c390" class="outline-2">
|
||||
<h2 id="orga73c390"><span class="section-number-2">1</span> CHBrClF</h2>
|
||||
<div id="outline-container-org554255b" class="outline-2">
|
||||
<h2 id="org554255b"><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,
|
||||
@ -337,8 +337,8 @@ and with a high maximum angular momentum.
|
||||
</div>
|
||||
|
||||
|
||||
<div id="outline-container-orgfb5e136" class="outline-3">
|
||||
<h3 id="orgfb5e136"><span class="section-number-3">1.1</span> XYZ coordinates</h3>
|
||||
<div id="outline-container-org951a18d" class="outline-3">
|
||||
<h3 id="org951a18d"><span class="section-number-3">1.1</span> XYZ coordinates</h3>
|
||||
<div class="outline-text-3" id="text-1-1">
|
||||
<pre class="example">
|
||||
5
|
||||
@ -368,8 +368,8 @@ Nuclear coordinates are stored in atomic units in transposed format.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org2513cf1" class="outline-3">
|
||||
<h3 id="org2513cf1"><span class="section-number-3">1.2</span> Atomic basis set</h3>
|
||||
<div id="outline-container-org28b819d" class="outline-3">
|
||||
<h3 id="org28b819d"><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
|
||||
@ -1214,11 +1214,11 @@ F 1
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org4ab0158" class="outline-3">
|
||||
<h3 id="org4ab0158"><span class="section-number-3">1.3</span> <span class="todo TODO">TODO</span> Molecular orbitals</h3>
|
||||
<div id="outline-container-org95a0ac1" class="outline-3">
|
||||
<h3 id="org95a0ac1"><span class="section-number-3">1.3</span> <span class="todo TODO">TODO</span> Molecular orbitals</h3>
|
||||
</div>
|
||||
<div id="outline-container-org890066d" class="outline-3">
|
||||
<h3 id="org890066d"><span class="section-number-3">1.4</span> Electron coordinates</h3>
|
||||
<div id="outline-container-orgc2a88c3" class="outline-3">
|
||||
<h3 id="orgc2a88c3"><span class="section-number-3">1.4</span> Electron coordinates</h3>
|
||||
<div class="outline-text-3" id="text-1-4">
|
||||
<p>
|
||||
Electron coordinates are stored in atomic units in normal format.
|
||||
@ -1378,8 +1378,8 @@ Electron coordinates are stored in atomic units in normal format.
|
||||
</div>
|
||||
|
||||
|
||||
<div id="outline-container-org88b7a19" class="outline-2">
|
||||
<h2 id="org88b7a19"><span class="section-number-2">2</span> N2</h2>
|
||||
<div id="outline-container-orgbe24881" class="outline-2">
|
||||
<h2 id="orgbe24881"><span class="section-number-2">2</span> N2</h2>
|
||||
<div class="outline-text-2" id="text-2">
|
||||
<p>
|
||||
This test is mainly for the Jastrow factor and was supplied by
|
||||
@ -1420,8 +1420,8 @@ treated by pseudopotentials thus excluded from the actual calculation.
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgf0c0622" class="outline-3">
|
||||
<h3 id="orgf0c0622"><span class="section-number-3">2.1</span> XYZ coordinates</h3>
|
||||
<div id="outline-container-orgbe4421a" class="outline-3">
|
||||
<h3 id="orgbe4421a"><span class="section-number-3">2.1</span> XYZ coordinates</h3>
|
||||
<div class="outline-text-3" id="text-2-1">
|
||||
<pre class="example">
|
||||
2
|
||||
@ -1448,8 +1448,8 @@ Nuclear coordinates are stored in atomic units in transposed format.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org5df9695" class="outline-3">
|
||||
<h3 id="org5df9695"><span class="section-number-3">2.2</span> Electron coordinates</h3>
|
||||
<div id="outline-container-org52b333b" class="outline-3">
|
||||
<h3 id="org52b333b"><span class="section-number-3">2.2</span> Electron coordinates</h3>
|
||||
<div class="outline-text-3" id="text-2-2">
|
||||
<p>
|
||||
Electron coordinates are stored in atomic units in normal format.
|
||||
@ -1478,8 +1478,8 @@ Electron coordinates are stored in atomic units in normal format.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org2d5ad6a" class="outline-3">
|
||||
<h3 id="org2d5ad6a"><span class="section-number-3">2.3</span> Jastrow related data</h3>
|
||||
<div id="outline-container-org10878a4" class="outline-3">
|
||||
<h3 id="org10878a4"><span class="section-number-3">2.3</span> Jastrow related data</h3>
|
||||
<div class="outline-text-3" id="text-2-3">
|
||||
<p>
|
||||
This test is mainly for the Jastrow factor and was supplied by
|
||||
@ -1578,7 +1578,7 @@ Ramon Panades Baruetta.
|
||||
</div>
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="date">Created: 2021-07-19 Mon 07:27</p>
|
||||
<p class="date">Created: 2021-07-23 Fri 07:03</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-07-19 Mon 07:27 -->
|
||||
<!-- 2021-07-23 Fri 07:03 -->
|
||||
<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="#orgdebb888">1. Matrix operations</a>
|
||||
<li><a href="#org2de9fa6">1. Matrix operations</a>
|
||||
<ul>
|
||||
<li><a href="#orged2a37d">1.1. <code>qmckl_transpose</code></a>
|
||||
<li><a href="#orgd7538a3">1.1. <code>qmckl_transpose</code></a>
|
||||
<ul>
|
||||
<li><a href="#orge438f23">1.1.1. Requirements</a></li>
|
||||
<li><a href="#org75cd260">1.1.2. C header</a></li>
|
||||
<li><a href="#orge109a31">1.1.3. Source</a></li>
|
||||
<li><a href="#orge93c42b">1.1.1. Requirements</a></li>
|
||||
<li><a href="#org332bcd2">1.1.2. C header</a></li>
|
||||
<li><a href="#orge467e3b">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-orgdebb888" class="outline-2">
|
||||
<h2 id="orgdebb888"><span class="section-number-2">1</span> Matrix operations</h2>
|
||||
<div id="outline-container-org2de9fa6" class="outline-2">
|
||||
<h2 id="org2de9fa6"><span class="section-number-2">1</span> Matrix operations</h2>
|
||||
<div class="outline-text-2" id="text-1">
|
||||
</div>
|
||||
<div id="outline-container-orged2a37d" class="outline-3">
|
||||
<h3 id="orged2a37d"><span class="section-number-3">1.1</span> <code>qmckl_transpose</code></h3>
|
||||
<div id="outline-container-orgd7538a3" class="outline-3">
|
||||
<h3 id="orgd7538a3"><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="orgc7748dc" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org3358848" 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-orge438f23" class="outline-4">
|
||||
<h4 id="orge438f23"><span class="section-number-4">1.1.1</span> Requirements</h4>
|
||||
<div id="outline-container-orge93c42b" class="outline-4">
|
||||
<h4 id="orge93c42b"><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-org75cd260" class="outline-4">
|
||||
<h4 id="org75cd260"><span class="section-number-4">1.1.2</span> C header</h4>
|
||||
<div id="outline-container-org332bcd2" class="outline-4">
|
||||
<h4 id="org332bcd2"><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-orge109a31" class="outline-4">
|
||||
<h4 id="orge109a31"><span class="section-number-4">1.1.3</span> Source</h4>
|
||||
<div id="outline-container-orge467e3b" class="outline-4">
|
||||
<h4 id="orge467e3b"><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-07-19 Mon 07:27</p>
|
||||
<p class="date">Created: 2021-07-23 Fri 07:03</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