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@cdf92e2464 🚀
This commit is contained in:
parent
1c162de62a
commit
80cb2b2d42
@ -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-12 Mon 13:06 -->
|
||||
<!-- 2021-07-13 Tue 07:55 -->
|
||||
<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-12 Mon 13:06</p>
|
||||
<p class="date">Created: 2021-07-13 Tue 07:55</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-12 Mon 13:06 -->
|
||||
<!-- 2021-07-13 Tue 07:55 -->
|
||||
<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="#org2c4e206">1. Using QMCkl</a></li>
|
||||
<li><a href="#orgef13a67">2. Developing in QMCkl</a>
|
||||
<li><a href="#orgcf445ff">1. Using QMCkl</a></li>
|
||||
<li><a href="#orge6a354d">2. Developing in QMCkl</a>
|
||||
<ul>
|
||||
<li><a href="#orgf26712c">2.1. Literate programming</a></li>
|
||||
<li><a href="#org64b2480">2.2. Source code editing</a></li>
|
||||
<li><a href="#org5ffd1b7">2.3. Choice of the programming language</a></li>
|
||||
<li><a href="#org9260fdb">2.4. Coding rules</a></li>
|
||||
<li><a href="#org8f34235">2.5. Design of the library</a></li>
|
||||
<li><a href="#org7b6dbaf">2.6. Naming conventions</a></li>
|
||||
<li><a href="#org4123f2c">2.7. Application programming interface</a></li>
|
||||
<li><a href="#org54a2167">2.8. Global state</a></li>
|
||||
<li><a href="#org3c6308a">2.9. Headers</a></li>
|
||||
<li><a href="#orge6e9c37">2.10. Low-level functions</a></li>
|
||||
<li><a href="#org075121a">2.11. High-level functions</a></li>
|
||||
<li><a href="#org9332f12">2.12. Numerical precision</a></li>
|
||||
<li><a href="#org67be232">2.13. Algorithms</a></li>
|
||||
<li><a href="#orgd27e34c">2.1. Literate programming</a></li>
|
||||
<li><a href="#org4ddeefb">2.2. Source code editing</a></li>
|
||||
<li><a href="#org8b16fb6">2.3. Choice of the programming language</a></li>
|
||||
<li><a href="#orge35d35b">2.4. Coding rules</a></li>
|
||||
<li><a href="#orgde2c903">2.5. Design of the library</a></li>
|
||||
<li><a href="#orge1df08f">2.6. Naming conventions</a></li>
|
||||
<li><a href="#orge0548e6">2.7. Application programming interface</a></li>
|
||||
<li><a href="#org5fd71eb">2.8. Global state</a></li>
|
||||
<li><a href="#org83ef917">2.9. Headers</a></li>
|
||||
<li><a href="#org3475604">2.10. Low-level functions</a></li>
|
||||
<li><a href="#org839564c">2.11. High-level functions</a></li>
|
||||
<li><a href="#org7792d28">2.12. Numerical precision</a></li>
|
||||
<li><a href="#orgc0aa789">2.13. Algorithms</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org2c4e206" class="outline-2">
|
||||
<h2 id="org2c4e206"><span class="section-number-2">1</span> Using QMCkl</h2>
|
||||
<div id="outline-container-orgcf445ff" class="outline-2">
|
||||
<h2 id="orgcf445ff"><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-orgef13a67" class="outline-2">
|
||||
<h2 id="orgef13a67"><span class="section-number-2">2</span> Developing in QMCkl</h2>
|
||||
<div id="outline-container-orge6a354d" class="outline-2">
|
||||
<h2 id="orge6a354d"><span class="section-number-2">2</span> Developing in QMCkl</h2>
|
||||
<div class="outline-text-2" id="text-2">
|
||||
</div>
|
||||
<div id="outline-container-orgf26712c" class="outline-3">
|
||||
<h3 id="orgf26712c"><span class="section-number-3">2.1</span> Literate programming</h3>
|
||||
<div id="outline-container-orgd27e34c" class="outline-3">
|
||||
<h3 id="orgd27e34c"><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-org64b2480" class="outline-3">
|
||||
<h3 id="org64b2480"><span class="section-number-3">2.2</span> Source code editing</h3>
|
||||
<div id="outline-container-org4ddeefb" class="outline-3">
|
||||
<h3 id="org4ddeefb"><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-org5ffd1b7" class="outline-3">
|
||||
<h3 id="org5ffd1b7"><span class="section-number-3">2.3</span> Choice of the programming language</h3>
|
||||
<div id="outline-container-org8b16fb6" class="outline-3">
|
||||
<h3 id="org8b16fb6"><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-org9260fdb" class="outline-3">
|
||||
<h3 id="org9260fdb"><span class="section-number-3">2.4</span> Coding rules</h3>
|
||||
<div id="outline-container-orge35d35b" class="outline-3">
|
||||
<h3 id="orge35d35b"><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-org8f34235" class="outline-3">
|
||||
<h3 id="org8f34235"><span class="section-number-3">2.5</span> Design of the library</h3>
|
||||
<div id="outline-container-orgde2c903" class="outline-3">
|
||||
<h3 id="orgde2c903"><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-org7b6dbaf" class="outline-3">
|
||||
<h3 id="org7b6dbaf"><span class="section-number-3">2.6</span> Naming conventions</h3>
|
||||
<div id="outline-container-orge1df08f" class="outline-3">
|
||||
<h3 id="orge1df08f"><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-org4123f2c" class="outline-3">
|
||||
<h3 id="org4123f2c"><span class="section-number-3">2.7</span> Application programming interface</h3>
|
||||
<div id="outline-container-orge0548e6" class="outline-3">
|
||||
<h3 id="orge0548e6"><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-org54a2167" class="outline-3">
|
||||
<h3 id="org54a2167"><span class="section-number-3">2.8</span> Global state</h3>
|
||||
<div id="outline-container-org5fd71eb" class="outline-3">
|
||||
<h3 id="org5fd71eb"><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="org945d52f">=context=</a> contains the global
|
||||
<code>qmckl_context_create</code> function. The <a id="orgc43c527">=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-org3c6308a" class="outline-3">
|
||||
<h3 id="org3c6308a"><span class="section-number-3">2.9</span> Headers</h3>
|
||||
<div id="outline-container-org83ef917" class="outline-3">
|
||||
<h3 id="org83ef917"><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-orge6e9c37" class="outline-3">
|
||||
<h3 id="orge6e9c37"><span class="section-number-3">2.10</span> Low-level functions</h3>
|
||||
<div id="outline-container-org3475604" class="outline-3">
|
||||
<h3 id="org3475604"><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="#org945d52f"><code>context</code></a>. They are not allowed to allocate/deallocate memory, and
|
||||
<a href="#orgc43c527"><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-org075121a" class="outline-3">
|
||||
<h3 id="org075121a"><span class="section-number-3">2.11</span> High-level functions</h3>
|
||||
<div id="outline-container-org839564c" class="outline-3">
|
||||
<h3 id="org839564c"><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="#org945d52f"><code>context</code></a> variable.
|
||||
the <a href="#orgc43c527"><code>context</code></a> variable.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org9332f12" class="outline-3">
|
||||
<h3 id="org9332f12"><span class="section-number-3">2.12</span> Numerical precision</h3>
|
||||
<div id="outline-container-org7792d28" class="outline-3">
|
||||
<h3 id="org7792d28"><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="#org945d52f"><code>context</code></a>
|
||||
functions will use the precision specified in the <a href="#orgc43c527"><code>context</code></a>
|
||||
variable.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org67be232" class="outline-3">
|
||||
<h3 id="org67be232"><span class="section-number-3">2.13</span> Algorithms</h3>
|
||||
<div id="outline-container-orgc0aa789" class="outline-3">
|
||||
<h3 id="orgc0aa789"><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-12 Mon 13:06</p>
|
||||
<p class="date">Created: 2021-07-13 Tue 07:55</p>
|
||||
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||
</div>
|
||||
</body>
|
||||
|
293
qmckl_ao.html
293
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-12 Mon 13:06 -->
|
||||
<!-- 2021-07-13 Tue 07:55 -->
|
||||
<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="#org7467bd7">1. Context</a>
|
||||
<li><a href="#orgf9a2516">1. Context</a>
|
||||
<ul>
|
||||
<li><a href="#org7266656">1.1. Data structure</a></li>
|
||||
<li><a href="#org8a7610f">1.2. Access functions</a></li>
|
||||
<li><a href="#org7e496a9">1.3. Initialization functions</a></li>
|
||||
<li><a href="#org6add9ef">1.4. Fortran interfaces</a></li>
|
||||
<li><a href="#orgd70bc4a">1.1. Data structure</a></li>
|
||||
<li><a href="#orgfc136a4">1.2. Access functions</a></li>
|
||||
<li><a href="#orgacef441">1.3. Initialization functions</a></li>
|
||||
<li><a href="#orge2bab03">1.4. Fortran interfaces</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgae244c2">2. Radial part</a>
|
||||
<li><a href="#org71b5a68">2. Radial part</a>
|
||||
<ul>
|
||||
<li><a href="#orgc571a39">2.1. <span class="todo TODO">TODO</span> Helper functions to accelerate calculations</a></li>
|
||||
<li><a href="#org2edc273">2.2. General functions for Gaussian basis functions</a></li>
|
||||
<li><a href="#org1d0b4e4">2.3. <span class="todo TODO">TODO</span> General functions for Slater basis functions</a></li>
|
||||
<li><a href="#org0917474">2.4. <span class="todo TODO">TODO</span> General functions for Radial functions on a grid</a></li>
|
||||
<li><a href="#org408a5e9">2.5. Computation of primitives</a>
|
||||
<li><a href="#org4bbd485">2.1. <span class="todo TODO">TODO</span> Helper functions to accelerate calculations</a></li>
|
||||
<li><a href="#orgcad1bdf">2.2. General functions for Gaussian basis functions</a></li>
|
||||
<li><a href="#org8d107bb">2.3. <span class="todo TODO">TODO</span> General functions for Slater basis functions</a></li>
|
||||
<li><a href="#orgd023d83">2.4. <span class="todo TODO">TODO</span> General functions for Radial functions on a grid</a></li>
|
||||
<li><a href="#org1cf016f">2.5. Computation of primitives</a>
|
||||
<ul>
|
||||
<li><a href="#org5680cfc">2.5.1. Get</a></li>
|
||||
<li><a href="#orgdde266a">2.5.2. Provide</a></li>
|
||||
<li><a href="#org0533830">2.5.3. Compute</a></li>
|
||||
<li><a href="#org1db2724">2.5.4. Test</a></li>
|
||||
<li><a href="#orga60028e">2.5.5. Ideas for improvement</a></li>
|
||||
<li><a href="#orgb2927a3">2.5.1. Get</a></li>
|
||||
<li><a href="#orgfbd0669">2.5.2. Provide</a></li>
|
||||
<li><a href="#org4906bd2">2.5.3. Compute</a></li>
|
||||
<li><a href="#org84159a0">2.5.4. Test</a></li>
|
||||
<li><a href="#org12eff54">2.5.5. Ideas for improvement</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org9dbab92">2.6. Computation of shells</a>
|
||||
<li><a href="#org8077c4a">2.6. Computation of shells</a>
|
||||
<ul>
|
||||
<li><a href="#orgb971038">2.6.1. Get</a></li>
|
||||
<li><a href="#orge37e773">2.6.2. Provide</a></li>
|
||||
<li><a href="#org19a6506">2.6.3. Compute</a></li>
|
||||
<li><a href="#org814f800">2.6.4. Test</a></li>
|
||||
<li><a href="#org1f9aaad">2.6.1. Get</a></li>
|
||||
<li><a href="#org581d78a">2.6.2. Provide</a></li>
|
||||
<li><a href="#org7d7f83d">2.6.3. Compute</a></li>
|
||||
<li><a href="#org68532f4">2.6.4. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org9c645d8">3. Polynomial part</a>
|
||||
<li><a href="#org8acae7d">3. Polynomial part</a>
|
||||
<ul>
|
||||
<li><a href="#org9d831e6">3.1. General functions for Powers of \(x-X_i\)</a>
|
||||
<li><a href="#org2a53367">3.1. General functions for Powers of \(x-X_i\)</a>
|
||||
<ul>
|
||||
<li><a href="#orgaae554a">3.1.1. Requirements</a></li>
|
||||
<li><a href="#orgbbbe241">3.1.2. C Header</a></li>
|
||||
<li><a href="#org5088cd7">3.1.3. Source</a></li>
|
||||
<li><a href="#orgb9e780f">3.1.4. C interface</a></li>
|
||||
<li><a href="#org9a9f55d">3.1.5. Fortran interface</a></li>
|
||||
<li><a href="#org5783ef2">3.1.6. Test</a></li>
|
||||
<li><a href="#orgefaeb6d">3.1.1. Requirements</a></li>
|
||||
<li><a href="#org205467f">3.1.2. C Header</a></li>
|
||||
<li><a href="#org3b977b5">3.1.3. Source</a></li>
|
||||
<li><a href="#orgb9f14b4">3.1.4. C interface</a></li>
|
||||
<li><a href="#org028ecc8">3.1.5. Fortran interface</a></li>
|
||||
<li><a href="#orgf9f1ffa">3.1.6. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org87ea783">3.2. General functions for Value, Gradient and Laplacian of a polynomial</a>
|
||||
<li><a href="#orgba21cce">3.2. General functions for Value, Gradient and Laplacian of a polynomial</a>
|
||||
<ul>
|
||||
<li><a href="#org365fdef">3.2.1. Requirements</a></li>
|
||||
<li><a href="#org8eb69b4">3.2.2. C Header</a></li>
|
||||
<li><a href="#org600203b">3.2.3. Source</a></li>
|
||||
<li><a href="#orga77c3c3">3.2.4. C interface</a></li>
|
||||
<li><a href="#orgcf159c8">3.2.5. Fortran interface</a></li>
|
||||
<li><a href="#org4751239">3.2.6. Test</a></li>
|
||||
<li><a href="#org37e025e">3.2.1. Requirements</a></li>
|
||||
<li><a href="#orgd9f14b3">3.2.2. C Header</a></li>
|
||||
<li><a href="#orgc190714">3.2.3. Source</a></li>
|
||||
<li><a href="#org01b83e2">3.2.4. C interface</a></li>
|
||||
<li><a href="#org6ac38d8">3.2.5. Fortran interface</a></li>
|
||||
<li><a href="#org4843f1f">3.2.6. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org6597bdb">4. Combining radial and polynomial parts</a>
|
||||
<li><a href="#orgfe5f70a">4. Combining radial and polynomial parts</a>
|
||||
<ul>
|
||||
<li>
|
||||
<ul>
|
||||
<li><a href="#orgdc520fc">4.0.1. <span class="todo TODO">TODO</span> Get</a></li>
|
||||
<li><a href="#orga3073d5">4.0.2. <span class="todo TODO">TODO</span> Provide</a></li>
|
||||
<li><a href="#org2070101">4.0.3. <span class="todo TODO">TODO</span> Compute</a></li>
|
||||
<li><a href="#orgadd0ef2">4.0.4. <span class="todo TODO">TODO</span> Test</a></li>
|
||||
<li><a href="#orgb177076">4.0.1. Get</a></li>
|
||||
<li><a href="#orga04f341">4.0.2. Provide</a></li>
|
||||
<li><a href="#orga7af53f">4.0.3. Compute</a></li>
|
||||
<li><a href="#orgffbbf89">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-org7467bd7" class="outline-2">
|
||||
<h2 id="org7467bd7"><span class="section-number-2">1</span> Context</h2>
|
||||
<div id="outline-container-orgf9a2516" class="outline-2">
|
||||
<h2 id="orgf9a2516"><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-org7266656" class="outline-3">
|
||||
<h3 id="org7266656"><span class="section-number-3">1.1</span> Data structure</h3>
|
||||
<div id="outline-container-orgd70bc4a" class="outline-3">
|
||||
<h3 id="orgd70bc4a"><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-org8a7610f" class="outline-3">
|
||||
<h3 id="org8a7610f"><span class="section-number-3">1.2</span> Access functions</h3>
|
||||
<div id="outline-container-orgfc136a4" class="outline-3">
|
||||
<h3 id="orgfc136a4"><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-org7e496a9" class="outline-3">
|
||||
<h3 id="org7e496a9"><span class="section-number-3">1.3</span> Initialization functions</h3>
|
||||
<div id="outline-container-orgacef441" class="outline-3">
|
||||
<h3 id="orgacef441"><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-org6add9ef" class="outline-3">
|
||||
<h3 id="org6add9ef"><span class="section-number-3">1.4</span> Fortran interfaces</h3>
|
||||
<div id="outline-container-orge2bab03" class="outline-3">
|
||||
<h3 id="orge2bab03"><span class="section-number-3">1.4</span> Fortran interfaces</h3>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgae244c2" class="outline-2">
|
||||
<h2 id="orgae244c2"><span class="section-number-2">2</span> Radial part</h2>
|
||||
<div id="outline-container-org71b5a68" class="outline-2">
|
||||
<h2 id="org71b5a68"><span class="section-number-2">2</span> Radial part</h2>
|
||||
<div class="outline-text-2" id="text-2">
|
||||
</div>
|
||||
<div id="outline-container-orgc571a39" class="outline-3">
|
||||
<h3 id="orgc571a39"><span class="section-number-3">2.1</span> <span class="todo TODO">TODO</span> Helper functions to accelerate calculations</h3>
|
||||
<div id="outline-container-org4bbd485" class="outline-3">
|
||||
<h3 id="org4bbd485"><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-org2edc273" class="outline-3">
|
||||
<h3 id="org2edc273"><span class="section-number-3">2.2</span> General functions for Gaussian basis functions</h3>
|
||||
<div id="outline-container-orgcad1bdf" class="outline-3">
|
||||
<h3 id="orgcad1bdf"><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-org1d0b4e4" class="outline-3">
|
||||
<h3 id="org1d0b4e4"><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-org8d107bb" class="outline-3">
|
||||
<h3 id="org8d107bb"><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-org0917474" class="outline-3">
|
||||
<h3 id="org0917474"><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-orgd023d83" class="outline-3">
|
||||
<h3 id="orgd023d83"><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-org408a5e9" class="outline-3">
|
||||
<h3 id="org408a5e9"><span class="section-number-3">2.5</span> Computation of primitives</h3>
|
||||
<div id="outline-container-org1cf016f" class="outline-3">
|
||||
<h3 id="org1cf016f"><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-org5680cfc" class="outline-4">
|
||||
<h4 id="org5680cfc"><span class="section-number-4">2.5.1</span> Get</h4>
|
||||
<div id="outline-container-orgb2927a3" class="outline-4">
|
||||
<h4 id="orgb2927a3"><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-orgdde266a" class="outline-4">
|
||||
<h4 id="orgdde266a"><span class="section-number-4">2.5.2</span> Provide</h4>
|
||||
<div id="outline-container-orgfbd0669" class="outline-4">
|
||||
<h4 id="orgfbd0669"><span class="section-number-4">2.5.2</span> Provide</h4>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org0533830" class="outline-4">
|
||||
<h4 id="org0533830"><span class="section-number-4">2.5.3</span> Compute</h4>
|
||||
<div id="outline-container-org4906bd2" class="outline-4">
|
||||
<h4 id="org4906bd2"><span class="section-number-4">2.5.3</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-5-3">
|
||||
<table id="org31766b9" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org0872fde" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -1223,12 +1223,12 @@ Requirements
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org1db2724" class="outline-4">
|
||||
<h4 id="org1db2724"><span class="section-number-4">2.5.4</span> Test</h4>
|
||||
<div id="outline-container-org84159a0" class="outline-4">
|
||||
<h4 id="org84159a0"><span class="section-number-4">2.5.4</span> Test</h4>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orga60028e" class="outline-4">
|
||||
<h4 id="orga60028e"><span class="section-number-4">2.5.5</span> Ideas for improvement</h4>
|
||||
<div id="outline-container-org12eff54" class="outline-4">
|
||||
<h4 id="org12eff54"><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-org9dbab92" class="outline-3">
|
||||
<h3 id="org9dbab92"><span class="section-number-3">2.6</span> Computation of shells</h3>
|
||||
<div id="outline-container-org8077c4a" class="outline-3">
|
||||
<h3 id="org8077c4a"><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-orgb971038" class="outline-4">
|
||||
<h4 id="orgb971038"><span class="section-number-4">2.6.1</span> Get</h4>
|
||||
<div id="outline-container-org1f9aaad" class="outline-4">
|
||||
<h4 id="org1f9aaad"><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-orge37e773" class="outline-4">
|
||||
<h4 id="orge37e773"><span class="section-number-4">2.6.2</span> Provide</h4>
|
||||
<div id="outline-container-org581d78a" class="outline-4">
|
||||
<h4 id="org581d78a"><span class="section-number-4">2.6.2</span> Provide</h4>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org19a6506" class="outline-4">
|
||||
<h4 id="org19a6506"><span class="section-number-4">2.6.3</span> Compute</h4>
|
||||
<div id="outline-container-org7d7f83d" class="outline-4">
|
||||
<h4 id="org7d7f83d"><span class="section-number-4">2.6.3</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-6-3">
|
||||
<table id="org31d4a92" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org9d35127" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -1518,14 +1518,14 @@ k=0;
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org814f800" class="outline-4">
|
||||
<h4 id="org814f800"><span class="section-number-4">2.6.4</span> Test</h4>
|
||||
<div id="outline-container-org68532f4" class="outline-4">
|
||||
<h4 id="org68532f4"><span class="section-number-4">2.6.4</span> Test</h4>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org9c645d8" class="outline-2">
|
||||
<h2 id="org9c645d8"><span class="section-number-2">3</span> Polynomial part</h2>
|
||||
<div id="outline-container-org8acae7d" class="outline-2">
|
||||
<h2 id="org8acae7d"><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-org9d831e6" class="outline-3">
|
||||
<h3 id="org9d831e6"><span class="section-number-3">3.1</span> General functions for Powers of \(x-X_i\)</h3>
|
||||
<div id="outline-container-org2a53367" class="outline-3">
|
||||
<h3 id="org2a53367"><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="orgecc1b20" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org8cb3ad1" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -1616,8 +1616,8 @@ the \(n\) points:
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgaae554a" class="outline-4">
|
||||
<h4 id="orgaae554a"><span class="section-number-4">3.1.1</span> Requirements</h4>
|
||||
<div id="outline-container-orgefaeb6d" class="outline-4">
|
||||
<h4 id="orgefaeb6d"><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-orgbbbe241" class="outline-4">
|
||||
<h4 id="orgbbbe241"><span class="section-number-4">3.1.2</span> C Header</h4>
|
||||
<div id="outline-container-org205467f" class="outline-4">
|
||||
<h4 id="org205467f"><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-org5088cd7" class="outline-4">
|
||||
<h4 id="org5088cd7"><span class="section-number-4">3.1.3</span> Source</h4>
|
||||
<div id="outline-container-org3b977b5" class="outline-4">
|
||||
<h4 id="org3b977b5"><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-orgb9e780f" class="outline-4">
|
||||
<h4 id="orgb9e780f"><span class="section-number-4">3.1.4</span> C interface</h4>
|
||||
<div id="outline-container-orgb9f14b4" class="outline-4">
|
||||
<h4 id="orgb9f14b4"><span class="section-number-4">3.1.4</span> C interface</h4>
|
||||
</div>
|
||||
<div id="outline-container-org9a9f55d" class="outline-4">
|
||||
<h4 id="org9a9f55d"><span class="section-number-4">3.1.5</span> Fortran interface</h4>
|
||||
<div id="outline-container-org028ecc8" class="outline-4">
|
||||
<h4 id="org028ecc8"><span class="section-number-4">3.1.5</span> Fortran interface</h4>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org5783ef2" class="outline-4">
|
||||
<h4 id="org5783ef2"><span class="section-number-4">3.1.6</span> Test</h4>
|
||||
<div id="outline-container-orgf9f1ffa" class="outline-4">
|
||||
<h4 id="orgf9f1ffa"><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-org87ea783" class="outline-3">
|
||||
<h3 id="org87ea783"><span class="section-number-3">3.2</span> General functions for Value, Gradient and Laplacian of a polynomial</h3>
|
||||
<div id="outline-container-orgba21cce" class="outline-3">
|
||||
<h3 id="orgba21cce"><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="org0922e9d" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org9050b2b" 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-org365fdef" class="outline-4">
|
||||
<h4 id="org365fdef"><span class="section-number-4">3.2.1</span> Requirements</h4>
|
||||
<div id="outline-container-org37e025e" class="outline-4">
|
||||
<h4 id="org37e025e"><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-org8eb69b4" class="outline-4">
|
||||
<h4 id="org8eb69b4"><span class="section-number-4">3.2.2</span> C Header</h4>
|
||||
<div id="outline-container-orgd9f14b3" class="outline-4">
|
||||
<h4 id="orgd9f14b3"><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-org600203b" class="outline-4">
|
||||
<h4 id="org600203b"><span class="section-number-4">3.2.3</span> Source</h4>
|
||||
<div id="outline-container-orgc190714" class="outline-4">
|
||||
<h4 id="orgc190714"><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-orga77c3c3" class="outline-4">
|
||||
<h4 id="orga77c3c3"><span class="section-number-4">3.2.4</span> C interface</h4>
|
||||
<div id="outline-container-org01b83e2" class="outline-4">
|
||||
<h4 id="org01b83e2"><span class="section-number-4">3.2.4</span> C interface</h4>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgcf159c8" class="outline-4">
|
||||
<h4 id="orgcf159c8"><span class="section-number-4">3.2.5</span> Fortran interface</h4>
|
||||
<div id="outline-container-org6ac38d8" class="outline-4">
|
||||
<h4 id="org6ac38d8"><span class="section-number-4">3.2.5</span> Fortran interface</h4>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org4751239" class="outline-4">
|
||||
<h4 id="org4751239"><span class="section-number-4">3.2.6</span> Test</h4>
|
||||
<div id="outline-container-org4843f1f" class="outline-4">
|
||||
<h4 id="org4843f1f"><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-org6597bdb" class="outline-2">
|
||||
<h2 id="org6597bdb"><span class="section-number-2">4</span> Combining radial and polynomial parts</h2>
|
||||
<div id="outline-container-orgfe5f70a" class="outline-2">
|
||||
<h2 id="orgfe5f70a"><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-orgdc520fc" class="outline-4">
|
||||
<h4 id="orgdc520fc"><span class="section-number-4">4.0.1</span> <span class="todo TODO">TODO</span> Get</h4>
|
||||
<div id="outline-container-orgb177076" class="outline-4">
|
||||
<h4 id="orgb177076"><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-orga3073d5" class="outline-4">
|
||||
<h4 id="orga3073d5"><span class="section-number-4">4.0.2</span> <span class="todo TODO">TODO</span> Provide</h4>
|
||||
<div id="outline-container-orga04f341" class="outline-4">
|
||||
<h4 id="orga04f341"><span class="section-number-4">4.0.2</span> Provide</h4>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org2070101" class="outline-4">
|
||||
<h4 id="org2070101"><span class="section-number-4">4.0.3</span> <span class="todo TODO">TODO</span> Compute</h4>
|
||||
<div id="outline-container-orga7af53f" class="outline-4">
|
||||
<h4 id="orga7af53f"><span class="section-number-4">4.0.3</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-4-0-3">
|
||||
<table id="org7483da2" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orgc0f0ca3" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -2301,6 +2301,13 @@ assert(0 == test_qmckl_ao_polynomial_vgl(context));
|
||||
<td class="org-left">Angular momentum of each shell</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="org-left"><code>double</code></td>
|
||||
<td class="org-left"><code>ao_factor[ao_num]</code></td>
|
||||
<td class="org-left">in</td>
|
||||
<td class="org-left">Normalization factor of the AOs</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="org-left"><code>double</code></td>
|
||||
<td class="org-left"><code>shell_vgl[5][walk_num][elec_num][shell_num]</code></td>
|
||||
@ -2322,7 +2329,7 @@ assert(0 == test_qmckl_ao_polynomial_vgl(context));
|
||||
ao_num, shell_num, elec_num, nucl_num, walk_num, <span style="color: #a020f0;">&</span>
|
||||
elec_coord, nucl_coord, nucleus_index, nucleus_shell_num, <span style="color: #a020f0;">&</span>
|
||||
nucleus_range, nucleus_max_ang_mom, shell_ang_mom, <span style="color: #a020f0;">&</span>
|
||||
shell_vgl, ao_vgl) <span style="color: #a020f0;">&</span>
|
||||
ao_factor, shell_vgl, ao_vgl) <span style="color: #a020f0;">&</span>
|
||||
<span style="color: #a020f0;">result</span>(info)
|
||||
<span style="color: #a020f0;">use</span> <span style="color: #0000ff;">qmckl</span>
|
||||
<span style="color: #a020f0;">implicit</span> <span style="color: #228b22;">none</span>
|
||||
@ -2339,6 +2346,7 @@ assert(0 == test_qmckl_ao_polynomial_vgl(context));
|
||||
<span style="color: #228b22;">double precision</span> , <span style="color: #a020f0;">intent</span>(in) ::<span style="color: #a0522d;"> nucleus_range(nucl_num)</span>
|
||||
<span style="color: #228b22;">integer</span> , <span style="color: #a020f0;">intent</span>(in) ::<span style="color: #a0522d;"> nucleus_max_ang_mom(nucl_num)</span>
|
||||
<span style="color: #228b22;">integer</span> , <span style="color: #a020f0;">intent</span>(in) ::<span style="color: #a0522d;"> shell_ang_mom(shell_num)</span>
|
||||
<span style="color: #228b22;">double precision</span> , <span style="color: #a020f0;">intent</span>(in) ::<span style="color: #a0522d;"> ao_factor(ao_num)</span>
|
||||
<span style="color: #228b22;">double precision</span> , <span style="color: #a020f0;">intent</span>(in) ::<span style="color: #a0522d;"> shell_vgl(shell_num,elec_num,walk_num,5)</span>
|
||||
<span style="color: #228b22;">double precision</span> , <span style="color: #a020f0;">intent</span>(out) ::<span style="color: #a0522d;"> ao_vgl(ao_num,elec_num,walk_num,5)</span>
|
||||
|
||||
@ -2400,31 +2408,35 @@ assert(0 == test_qmckl_ao_polynomial_vgl(context));
|
||||
<span style="color: #a020f0;">do</span> il = lstart(l), lstart(l+1)-1
|
||||
! <span style="color: #b22222;">Value</span>
|
||||
ao_vgl(k,ielec,iwalk,1) = <span style="color: #a020f0;">&</span>
|
||||
poly_vgl(1,il) * shell_vgl(ishell,ielec,iwalk,1)
|
||||
poly_vgl(1,il) * shell_vgl(ishell,ielec,iwalk,1) * ao_factor(k)
|
||||
|
||||
! <span style="color: #b22222;">Grad_x</span>
|
||||
ao_vgl(k,ielec,iwalk,2) = <span style="color: #a020f0;">&</span>
|
||||
ao_vgl(k,ielec,iwalk,2) = ( <span style="color: #a020f0;">&</span>
|
||||
poly_vgl(2,il) * shell_vgl(ishell,ielec,iwalk,1) + <span style="color: #a020f0;">&</span>
|
||||
poly_vgl(1,il) * shell_vgl(ishell,ielec,iwalk,2)
|
||||
poly_vgl(1,il) * shell_vgl(ishell,ielec,iwalk,2) <span style="color: #a020f0;">&</span>
|
||||
) * ao_factor(k)
|
||||
|
||||
! <span style="color: #b22222;">Grad_y</span>
|
||||
ao_vgl(k,ielec,iwalk,3) = <span style="color: #a020f0;">&</span>
|
||||
ao_vgl(k,ielec,iwalk,3) = ( <span style="color: #a020f0;">&</span>
|
||||
poly_vgl(3,il) * shell_vgl(ishell,ielec,iwalk,1) + <span style="color: #a020f0;">&</span>
|
||||
poly_vgl(1,il) * shell_vgl(ishell,ielec,iwalk,3)
|
||||
poly_vgl(1,il) * shell_vgl(ishell,ielec,iwalk,3) <span style="color: #a020f0;">&</span>
|
||||
) * ao_factor(k)
|
||||
|
||||
! <span style="color: #b22222;">Grad_z</span>
|
||||
ao_vgl(k,ielec,iwalk,4) = <span style="color: #a020f0;">&</span>
|
||||
ao_vgl(k,ielec,iwalk,4) = ( <span style="color: #a020f0;">&</span>
|
||||
poly_vgl(4,il) * shell_vgl(ishell,ielec,iwalk,1) + <span style="color: #a020f0;">&</span>
|
||||
poly_vgl(1,il) * shell_vgl(ishell,ielec,iwalk,4)
|
||||
poly_vgl(1,il) * shell_vgl(ishell,ielec,iwalk,4) <span style="color: #a020f0;">&</span>
|
||||
) * ao_factor(k)
|
||||
|
||||
! <span style="color: #b22222;">Lapl_z</span>
|
||||
ao_vgl(k,ielec,iwalk,5) = <span style="color: #a020f0;">&</span>
|
||||
ao_vgl(k,ielec,iwalk,5) = ( <span style="color: #a020f0;">&</span>
|
||||
poly_vgl(5,il) * shell_vgl(ishell,ielec,iwalk,1) + <span style="color: #a020f0;">&</span>
|
||||
poly_vgl(1,il) * shell_vgl(ishell,ielec,iwalk,5) + <span style="color: #a020f0;">&</span>
|
||||
2.d0 * ( <span style="color: #a020f0;">&</span>
|
||||
poly_vgl(2,il) * shell_vgl(ishell,ielec,iwalk,2) + <span style="color: #a020f0;">&</span>
|
||||
poly_vgl(3,il) * shell_vgl(ishell,ielec,iwalk,3) + <span style="color: #a020f0;">&</span>
|
||||
poly_vgl(4,il) * shell_vgl(ishell,ielec,iwalk,4) )
|
||||
poly_vgl(4,il) * shell_vgl(ishell,ielec,iwalk,4) ) <span style="color: #a020f0;">&</span>
|
||||
) * ao_factor(k)
|
||||
|
||||
k = k+1
|
||||
<span style="color: #a020f0;">end do</span>
|
||||
@ -2453,6 +2465,7 @@ assert(0 == test_qmckl_ao_polynomial_vgl(context));
|
||||
<span style="color: #a020f0;">const</span> <span style="color: #228b22;">double</span>* <span style="color: #a0522d;">nucleus_range</span>,
|
||||
<span style="color: #a020f0;">const</span> <span style="color: #228b22;">int32_t</span>* <span style="color: #a0522d;">nucleus_max_ang_mom</span>,
|
||||
<span style="color: #a020f0;">const</span> <span style="color: #228b22;">int32_t</span>* <span style="color: #a0522d;">shell_ang_mom</span>,
|
||||
<span style="color: #a020f0;">const</span> <span style="color: #228b22;">double</span>* <span style="color: #a0522d;">ao_factor</span>,
|
||||
<span style="color: #a020f0;">const</span> <span style="color: #228b22;">double</span>* <span style="color: #a0522d;">shell_vgl</span>,
|
||||
<span style="color: #228b22;">double</span>* <span style="color: #a020f0;">const</span> <span style="color: #a0522d;">ao_vgl</span> );
|
||||
</pre>
|
||||
@ -2460,14 +2473,14 @@ assert(0 == test_qmckl_ao_polynomial_vgl(context));
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgadd0ef2" class="outline-4">
|
||||
<h4 id="orgadd0ef2"><span class="section-number-4">4.0.4</span> <span class="todo TODO">TODO</span> Test</h4>
|
||||
<div id="outline-container-orgffbbf89" class="outline-4">
|
||||
<h4 id="orgffbbf89"><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-12 Mon 13:06</p>
|
||||
<p class="date">Created: 2021-07-13 Tue 07:55</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-12 Mon 13:06 -->
|
||||
<!-- 2021-07-13 Tue 07:55 -->
|
||||
<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="#org6621a0f">1. Context handling</a>
|
||||
<li><a href="#org80ac827">1. Context handling</a>
|
||||
<ul>
|
||||
<li><a href="#orgff3bfad">1.1. Data structure</a></li>
|
||||
<li><a href="#org600fe8e">1.2. Creation</a></li>
|
||||
<li><a href="#org038b40f">1.3. Locking</a></li>
|
||||
<li><a href="#org68453b5">1.4. <span class="todo TODO">TODO</span> Copy</a></li>
|
||||
<li><a href="#org9c931e4">1.5. Destroy</a></li>
|
||||
<li><a href="#org5dd1b6b">1.1. Data structure</a></li>
|
||||
<li><a href="#org87cec13">1.2. Creation</a></li>
|
||||
<li><a href="#org5c454c6">1.3. Locking</a></li>
|
||||
<li><a href="#orga880407">1.4. <span class="todo TODO">TODO</span> Copy</a></li>
|
||||
<li><a href="#orgc279cb8">1.5. Destroy</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org6621a0f" class="outline-2">
|
||||
<h2 id="org6621a0f"><span class="section-number-2">1</span> Context handling</h2>
|
||||
<div id="outline-container-org80ac827" class="outline-2">
|
||||
<h2 id="org80ac827"><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="orgd78088f"><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="org15c05b0"><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-orgff3bfad" class="outline-3">
|
||||
<h3 id="orgff3bfad"><span class="section-number-3">1.1</span> Data structure</h3>
|
||||
<div id="outline-container-org5dd1b6b" class="outline-3">
|
||||
<h3 id="org5dd1b6b"><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="#org600fe8e">qmckl<sub>context</sub><sub>create</sub></a>, <a href="#org9c931e4">qmckl<sub>context</sub><sub>destroy</sub></a> and <a href="#org68453b5">qmckl<sub>context</sub><sub>copy</sub></a>
|
||||
<a href="#org87cec13">qmckl<sub>context</sub><sub>create</sub></a>, <a href="#orgc279cb8">qmckl<sub>context</sub><sub>destroy</sub></a> and <a href="#orga880407">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-org600fe8e" class="outline-3">
|
||||
<h3 id="org600fe8e"><span class="section-number-3">1.2</span> Creation</h3>
|
||||
<div id="outline-container-org87cec13" class="outline-3">
|
||||
<h3 id="org87cec13"><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-org038b40f" class="outline-3">
|
||||
<h3 id="org038b40f"><span class="section-number-3">1.3</span> Locking</h3>
|
||||
<div id="outline-container-org5c454c6" class="outline-3">
|
||||
<h3 id="org5c454c6"><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-org68453b5" class="outline-3">
|
||||
<h3 id="org68453b5"><span class="section-number-3">1.4</span> <span class="todo TODO">TODO</span> Copy</h3>
|
||||
<div id="outline-container-orga880407" class="outline-3">
|
||||
<h3 id="orga880407"><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-org9c931e4" class="outline-3">
|
||||
<h3 id="org9c931e4"><span class="section-number-3">1.5</span> Destroy</h3>
|
||||
<div id="outline-container-orgc279cb8" class="outline-3">
|
||||
<h3 id="orgc279cb8"><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-12 Mon 13:06</p>
|
||||
<p class="date">Created: 2021-07-13 Tue 07:55</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-12 Mon 13:06 -->
|
||||
<!-- 2021-07-13 Tue 07:55 -->
|
||||
<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="#orgfccc100">1. Squared distance</a>
|
||||
<li><a href="#org78a9719">1. Squared distance</a>
|
||||
<ul>
|
||||
<li><a href="#org29755b6">1.1. <code>qmckl_distance_sq</code></a>
|
||||
<li><a href="#org865c244">1.1. <code>qmckl_distance_sq</code></a>
|
||||
<ul>
|
||||
<li><a href="#org8787156">1.1.1. Requirements</a></li>
|
||||
<li><a href="#org148ca62">1.1.2. C header</a></li>
|
||||
<li><a href="#orga32305d">1.1.3. Source</a></li>
|
||||
<li><a href="#org45dd55e">1.1.4. Performance</a></li>
|
||||
<li><a href="#orgd40a98f">1.1.1. Requirements</a></li>
|
||||
<li><a href="#orgd20e8b5">1.1.2. C header</a></li>
|
||||
<li><a href="#org809128c">1.1.3. Source</a></li>
|
||||
<li><a href="#org68fcbf3">1.1.4. Performance</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org65325c3">2. Distance</a>
|
||||
<li><a href="#org3768ff2">2. Distance</a>
|
||||
<ul>
|
||||
<li><a href="#orgf5c60aa">2.1. <code>qmckl_distance</code></a>
|
||||
<li><a href="#org3fe8be4">2.1. <code>qmckl_distance</code></a>
|
||||
<ul>
|
||||
<li><a href="#orgbb62487">2.1.1. Requirements</a></li>
|
||||
<li><a href="#org144c443">2.1.2. C header</a></li>
|
||||
<li><a href="#org0975c09">2.1.3. Source</a></li>
|
||||
<li><a href="#orgc2400f5">2.1.4. Performance</a></li>
|
||||
<li><a href="#org7e1ef1b">2.1.1. Requirements</a></li>
|
||||
<li><a href="#org12c5329">2.1.2. C header</a></li>
|
||||
<li><a href="#org56f7326">2.1.3. Source</a></li>
|
||||
<li><a href="#orgc486776">2.1.4. Performance</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgdc2d78f">3. Rescaled Distance</a>
|
||||
<li><a href="#org65fdf72">3. Rescaled Distance</a>
|
||||
<ul>
|
||||
<li><a href="#orgc7c8883">3.1. <code>qmckl_distance_rescaled</code></a>
|
||||
<li><a href="#org6ef78ee">3.1. <code>qmckl_distance_rescaled</code></a>
|
||||
<ul>
|
||||
<li><a href="#org19a23a3">3.1.1. Requirements</a></li>
|
||||
<li><a href="#orgd8e3d89">3.1.2. C header</a></li>
|
||||
<li><a href="#org7304f47">3.1.3. Source</a></li>
|
||||
<li><a href="#org5adc381">3.1.4. Performance</a></li>
|
||||
<li><a href="#org8145e60">3.1.1. Requirements</a></li>
|
||||
<li><a href="#org457f983">3.1.2. C header</a></li>
|
||||
<li><a href="#org54c2e74">3.1.3. Source</a></li>
|
||||
<li><a href="#org15fa802">3.1.4. Performance</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgb792b3d">4. Rescaled Distance Derivatives</a>
|
||||
<li><a href="#orgcc11322">4. Rescaled Distance Derivatives</a>
|
||||
<ul>
|
||||
<li><a href="#org70c4950">4.1. <code>qmckl_distance_rescaled_deriv_e</code></a>
|
||||
<li><a href="#org8da9138">4.1. <code>qmckl_distance_rescaled_deriv_e</code></a>
|
||||
<ul>
|
||||
<li><a href="#org192a68e">4.1.1. Requirements</a></li>
|
||||
<li><a href="#org01937e0">4.1.2. C header</a></li>
|
||||
<li><a href="#org8970608">4.1.3. Source</a></li>
|
||||
<li><a href="#orgf9423f0">4.1.4. Performance</a></li>
|
||||
<li><a href="#orgd6c7711">4.1.1. Requirements</a></li>
|
||||
<li><a href="#org604a336">4.1.2. C header</a></li>
|
||||
<li><a href="#org6b8e307">4.1.3. Source</a></li>
|
||||
<li><a href="#orgc5756ba">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-orgfccc100" class="outline-2">
|
||||
<h2 id="orgfccc100"><span class="section-number-2">1</span> Squared distance</h2>
|
||||
<div id="outline-container-org78a9719" class="outline-2">
|
||||
<h2 id="org78a9719"><span class="section-number-2">1</span> Squared distance</h2>
|
||||
<div class="outline-text-2" id="text-1">
|
||||
</div>
|
||||
<div id="outline-container-org29755b6" class="outline-3">
|
||||
<h3 id="org29755b6"><span class="section-number-3">1.1</span> <code>qmckl_distance_sq</code></h3>
|
||||
<div id="outline-container-org865c244" class="outline-3">
|
||||
<h3 id="org865c244"><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="org05a0ff7" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org5eaf5d9" 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-org8787156" class="outline-4">
|
||||
<h4 id="org8787156"><span class="section-number-4">1.1.1</span> Requirements</h4>
|
||||
<div id="outline-container-orgd40a98f" class="outline-4">
|
||||
<h4 id="orgd40a98f"><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-org148ca62" class="outline-4">
|
||||
<h4 id="org148ca62"><span class="section-number-4">1.1.2</span> C header</h4>
|
||||
<div id="outline-container-orgd20e8b5" class="outline-4">
|
||||
<h4 id="orgd20e8b5"><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-orga32305d" class="outline-4">
|
||||
<h4 id="orga32305d"><span class="section-number-4">1.1.3</span> Source</h4>
|
||||
<div id="outline-container-org809128c" class="outline-4">
|
||||
<h4 id="org809128c"><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-org45dd55e" class="outline-4">
|
||||
<h4 id="org45dd55e"><span class="section-number-4">1.1.4</span> Performance</h4>
|
||||
<div id="outline-container-org68fcbf3" class="outline-4">
|
||||
<h4 id="org68fcbf3"><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-org65325c3" class="outline-2">
|
||||
<h2 id="org65325c3"><span class="section-number-2">2</span> Distance</h2>
|
||||
<div id="outline-container-org3768ff2" class="outline-2">
|
||||
<h2 id="org3768ff2"><span class="section-number-2">2</span> Distance</h2>
|
||||
<div class="outline-text-2" id="text-2">
|
||||
</div>
|
||||
<div id="outline-container-orgf5c60aa" class="outline-3">
|
||||
<h3 id="orgf5c60aa"><span class="section-number-3">2.1</span> <code>qmckl_distance</code></h3>
|
||||
<div id="outline-container-org3fe8be4" class="outline-3">
|
||||
<h3 id="org3fe8be4"><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="org2e7f9bf" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orgf548432" 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-orgbb62487" class="outline-4">
|
||||
<h4 id="orgbb62487"><span class="section-number-4">2.1.1</span> Requirements</h4>
|
||||
<div id="outline-container-org7e1ef1b" class="outline-4">
|
||||
<h4 id="org7e1ef1b"><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-org144c443" class="outline-4">
|
||||
<h4 id="org144c443"><span class="section-number-4">2.1.2</span> C header</h4>
|
||||
<div id="outline-container-org12c5329" class="outline-4">
|
||||
<h4 id="org12c5329"><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-org0975c09" class="outline-4">
|
||||
<h4 id="org0975c09"><span class="section-number-4">2.1.3</span> Source</h4>
|
||||
<div id="outline-container-org56f7326" class="outline-4">
|
||||
<h4 id="org56f7326"><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-orgc2400f5" class="outline-4">
|
||||
<h4 id="orgc2400f5"><span class="section-number-4">2.1.4</span> Performance</h4>
|
||||
<div id="outline-container-orgc486776" class="outline-4">
|
||||
<h4 id="orgc486776"><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-orgdc2d78f" class="outline-2">
|
||||
<h2 id="orgdc2d78f"><span class="section-number-2">3</span> Rescaled Distance</h2>
|
||||
<div id="outline-container-org65fdf72" class="outline-2">
|
||||
<h2 id="org65fdf72"><span class="section-number-2">3</span> Rescaled Distance</h2>
|
||||
<div class="outline-text-2" id="text-3">
|
||||
</div>
|
||||
<div id="outline-container-orgc7c8883" class="outline-3">
|
||||
<h3 id="orgc7c8883"><span class="section-number-3">3.1</span> <code>qmckl_distance_rescaled</code></h3>
|
||||
<div id="outline-container-org6ef78ee" class="outline-3">
|
||||
<h3 id="org6ef78ee"><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="orgb70a0a3" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orgbe0a7b9" 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-org19a23a3" class="outline-4">
|
||||
<h4 id="org19a23a3"><span class="section-number-4">3.1.1</span> Requirements</h4>
|
||||
<div id="outline-container-org8145e60" class="outline-4">
|
||||
<h4 id="org8145e60"><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-orgd8e3d89" class="outline-4">
|
||||
<h4 id="orgd8e3d89"><span class="section-number-4">3.1.2</span> C header</h4>
|
||||
<div id="outline-container-org457f983" class="outline-4">
|
||||
<h4 id="org457f983"><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-org7304f47" class="outline-4">
|
||||
<h4 id="org7304f47"><span class="section-number-4">3.1.3</span> Source</h4>
|
||||
<div id="outline-container-org54c2e74" class="outline-4">
|
||||
<h4 id="org54c2e74"><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-org5adc381" class="outline-4">
|
||||
<h4 id="org5adc381"><span class="section-number-4">3.1.4</span> Performance</h4>
|
||||
<div id="outline-container-org15fa802" class="outline-4">
|
||||
<h4 id="org15fa802"><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-orgb792b3d" class="outline-2">
|
||||
<h2 id="orgb792b3d"><span class="section-number-2">4</span> Rescaled Distance Derivatives</h2>
|
||||
<div id="outline-container-orgcc11322" class="outline-2">
|
||||
<h2 id="orgcc11322"><span class="section-number-2">4</span> Rescaled Distance Derivatives</h2>
|
||||
<div class="outline-text-2" id="text-4">
|
||||
</div>
|
||||
<div id="outline-container-org70c4950" class="outline-3">
|
||||
<h3 id="org70c4950"><span class="section-number-3">4.1</span> <code>qmckl_distance_rescaled_deriv_e</code></h3>
|
||||
<div id="outline-container-org8da9138" class="outline-3">
|
||||
<h3 id="org8da9138"><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="org48a022b" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org8958031" 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-org192a68e" class="outline-4">
|
||||
<h4 id="org192a68e"><span class="section-number-4">4.1.1</span> Requirements</h4>
|
||||
<div id="outline-container-orgd6c7711" class="outline-4">
|
||||
<h4 id="orgd6c7711"><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-org01937e0" class="outline-4">
|
||||
<h4 id="org01937e0"><span class="section-number-4">4.1.2</span> C header</h4>
|
||||
<div id="outline-container-org604a336" class="outline-4">
|
||||
<h4 id="org604a336"><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-org8970608" class="outline-4">
|
||||
<h4 id="org8970608"><span class="section-number-4">4.1.3</span> Source</h4>
|
||||
<div id="outline-container-org6b8e307" class="outline-4">
|
||||
<h4 id="org6b8e307"><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-orgf9423f0" class="outline-4">
|
||||
<h4 id="orgf9423f0"><span class="section-number-4">4.1.4</span> Performance</h4>
|
||||
<div id="outline-container-orgc5756ba" class="outline-4">
|
||||
<h4 id="orgc5756ba"><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-12 Mon 13:06</p>
|
||||
<p class="date">Created: 2021-07-13 Tue 07:55</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-12 Mon 13:06 -->
|
||||
<!-- 2021-07-13 Tue 07:55 -->
|
||||
<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="#org77e487d">1. Context</a>
|
||||
<li><a href="#orge111413">1. Context</a>
|
||||
<ul>
|
||||
<li><a href="#orgea3cbfb">1.1. Data structure</a></li>
|
||||
<li><a href="#org9f0d847">1.2. Access functions</a>
|
||||
<li><a href="#org9863a5a">1.1. Data structure</a></li>
|
||||
<li><a href="#orgbe4b9bc">1.2. Access functions</a>
|
||||
<ul>
|
||||
<li><a href="#orgc3d1b4d">1.2.1. Number of electrons</a></li>
|
||||
<li><a href="#orgc28f071">1.2.2. Number of walkers</a></li>
|
||||
<li><a href="#org1187c67">1.2.3. Scaling factors Kappa</a></li>
|
||||
<li><a href="#org7fe9698">1.2.4. Electron coordinates</a></li>
|
||||
<li><a href="#orge4b5182">1.2.1. Number of electrons</a></li>
|
||||
<li><a href="#org2445749">1.2.2. Number of walkers</a></li>
|
||||
<li><a href="#orgbd9bbfc">1.2.3. Scaling factors Kappa</a></li>
|
||||
<li><a href="#orge0e2efe">1.2.4. Electron coordinates</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgdb1c52a">1.3. Initialization functions</a></li>
|
||||
<li><a href="#org340f05d">1.4. Test</a></li>
|
||||
<li><a href="#org90a0605">1.3. Initialization functions</a></li>
|
||||
<li><a href="#org69dcb94">1.4. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgadb1315">2. Computation</a>
|
||||
<li><a href="#org8d73afc">2. Computation</a>
|
||||
<ul>
|
||||
<li><a href="#orge2df12b">2.1. Electron-electron distances</a>
|
||||
<li><a href="#orgb28442f">2.1. Electron-electron distances</a>
|
||||
<ul>
|
||||
<li><a href="#org2cb2fa6">2.1.1. Get</a></li>
|
||||
<li><a href="#orga809ad1">2.1.2. Compute</a></li>
|
||||
<li><a href="#orgbd83ffe">2.1.3. Test</a></li>
|
||||
<li><a href="#orgc85ae09">2.1.1. Get</a></li>
|
||||
<li><a href="#orgf1d4e54">2.1.2. Compute</a></li>
|
||||
<li><a href="#org03c5f86">2.1.3. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org9283a03">2.2. Electron-electron rescaled distances</a>
|
||||
<li><a href="#orgefc1168">2.2. Electron-electron rescaled distances</a>
|
||||
<ul>
|
||||
<li><a href="#orge95f98a">2.2.1. Get</a></li>
|
||||
<li><a href="#orgb97543c">2.2.2. Compute</a></li>
|
||||
<li><a href="#org63a1e76">2.2.3. Test</a></li>
|
||||
<li><a href="#org6118ab5">2.2.1. Get</a></li>
|
||||
<li><a href="#org0a5e259">2.2.2. Compute</a></li>
|
||||
<li><a href="#org39719bd">2.2.3. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgb170110">2.3. Electron-electron rescaled distance gradients and laplacian with respect to electron coords</a>
|
||||
<li><a href="#org7f2e257">2.3. Electron-electron rescaled distance gradients and laplacian with respect to electron coords</a>
|
||||
<ul>
|
||||
<li><a href="#orge74ce47">2.3.1. Get</a></li>
|
||||
<li><a href="#org073ae8e">2.3.2. Compute</a></li>
|
||||
<li><a href="#orgd73cf19">2.3.3. Test</a></li>
|
||||
<li><a href="#org288be4e">2.3.1. Get</a></li>
|
||||
<li><a href="#org1e674e7">2.3.2. Compute</a></li>
|
||||
<li><a href="#org53cb814">2.3.3. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org920b63d">2.4. Electron-nucleus distances</a>
|
||||
<li><a href="#org66f654a">2.4. Electron-nucleus distances</a>
|
||||
<ul>
|
||||
<li><a href="#org792e99a">2.4.1. Get</a></li>
|
||||
<li><a href="#orgd3059b0">2.4.2. Compute</a></li>
|
||||
<li><a href="#org7e692e7">2.4.3. Test</a></li>
|
||||
<li><a href="#orgb1323c6">2.4.1. Get</a></li>
|
||||
<li><a href="#org35f0b08">2.4.2. Compute</a></li>
|
||||
<li><a href="#orge798b72">2.4.3. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org48b65cf">2.5. Electron-nucleus rescaled distances</a>
|
||||
<li><a href="#orgb66928b">2.5. Electron-nucleus rescaled distances</a>
|
||||
<ul>
|
||||
<li><a href="#orgccfc2c3">2.5.1. Get</a></li>
|
||||
<li><a href="#org0bcf405">2.5.2. Compute</a></li>
|
||||
<li><a href="#orgd391677">2.5.3. Test</a></li>
|
||||
<li><a href="#org2d762a5">2.5.1. Get</a></li>
|
||||
<li><a href="#org948b55b">2.5.2. Compute</a></li>
|
||||
<li><a href="#org72a0ef9">2.5.3. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org9348b92">2.6. Electron-nucleus rescaled distance gradients and laplacian with respect to electron coords</a>
|
||||
<li><a href="#org0ea0c85">2.6. Electron-nucleus rescaled distance gradients and laplacian with respect to electron coords</a>
|
||||
<ul>
|
||||
<li><a href="#org66baf0f">2.6.1. Get</a></li>
|
||||
<li><a href="#org853c107">2.6.2. Compute</a></li>
|
||||
<li><a href="#orge143a1e">2.6.3. Test</a></li>
|
||||
<li><a href="#orga9bca1a">2.6.1. Get</a></li>
|
||||
<li><a href="#orgd392b93">2.6.2. Compute</a></li>
|
||||
<li><a href="#orgdbc9d8d">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-org77e487d" class="outline-2">
|
||||
<h2 id="org77e487d"><span class="section-number-2">1</span> Context</h2>
|
||||
<div id="outline-container-orge111413" class="outline-2">
|
||||
<h2 id="orge111413"><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-orgea3cbfb" class="outline-3">
|
||||
<h3 id="orgea3cbfb"><span class="section-number-3">1.1</span> Data structure</h3>
|
||||
<div id="outline-container-org9863a5a" class="outline-3">
|
||||
<h3 id="org9863a5a"><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-org9f0d847" class="outline-3">
|
||||
<h3 id="org9f0d847"><span class="section-number-3">1.2</span> Access functions</h3>
|
||||
<div id="outline-container-orgbe4b9bc" class="outline-3">
|
||||
<h3 id="orgbe4b9bc"><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-orgc3d1b4d" class="outline-4">
|
||||
<h4 id="orgc3d1b4d"><span class="section-number-4">1.2.1</span> Number of electrons</h4>
|
||||
<div id="outline-container-orge4b5182" class="outline-4">
|
||||
<h4 id="orge4b5182"><span class="section-number-4">1.2.1</span> Number of electrons</h4>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgc28f071" class="outline-4">
|
||||
<h4 id="orgc28f071"><span class="section-number-4">1.2.2</span> Number of walkers</h4>
|
||||
<div id="outline-container-org2445749" class="outline-4">
|
||||
<h4 id="org2445749"><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-org1187c67" class="outline-4">
|
||||
<h4 id="org1187c67"><span class="section-number-4">1.2.3</span> Scaling factors Kappa</h4>
|
||||
<div id="outline-container-orgbd9bbfc" class="outline-4">
|
||||
<h4 id="orgbd9bbfc"><span class="section-number-4">1.2.3</span> Scaling factors Kappa</h4>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org7fe9698" class="outline-4">
|
||||
<h4 id="org7fe9698"><span class="section-number-4">1.2.4</span> Electron coordinates</h4>
|
||||
<div id="outline-container-orge0e2efe" class="outline-4">
|
||||
<h4 id="orge0e2efe"><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-orgdb1c52a" class="outline-3">
|
||||
<h3 id="orgdb1c52a"><span class="section-number-3">1.3</span> Initialization functions</h3>
|
||||
<div id="outline-container-org90a0605" class="outline-3">
|
||||
<h3 id="org90a0605"><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-org340f05d" class="outline-3">
|
||||
<h3 id="org340f05d"><span class="section-number-3">1.4</span> Test</h3>
|
||||
<div id="outline-container-org69dcb94" class="outline-3">
|
||||
<h3 id="org69dcb94"><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-orgadb1315" class="outline-2">
|
||||
<h2 id="orgadb1315"><span class="section-number-2">2</span> Computation</h2>
|
||||
<div id="outline-container-org8d73afc" class="outline-2">
|
||||
<h2 id="org8d73afc"><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-orge2df12b" class="outline-3">
|
||||
<h3 id="orge2df12b"><span class="section-number-3">2.1</span> Electron-electron distances</h3>
|
||||
<div id="outline-container-orgb28442f" class="outline-3">
|
||||
<h3 id="orgb28442f"><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-org2cb2fa6" class="outline-4">
|
||||
<h4 id="org2cb2fa6"><span class="section-number-4">2.1.1</span> Get</h4>
|
||||
<div id="outline-container-orgc85ae09" class="outline-4">
|
||||
<h4 id="orgc85ae09"><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-orga809ad1" class="outline-4">
|
||||
<h4 id="orga809ad1"><span class="section-number-4">2.1.2</span> Compute</h4>
|
||||
<div id="outline-container-orgf1d4e54" class="outline-4">
|
||||
<h4 id="orgf1d4e54"><span class="section-number-4">2.1.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-1-2">
|
||||
<table id="orgcffcb0f" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org0d209ac" 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-orgbd83ffe" class="outline-4">
|
||||
<h4 id="orgbd83ffe"><span class="section-number-4">2.1.3</span> Test</h4>
|
||||
<div id="outline-container-org03c5f86" class="outline-4">
|
||||
<h4 id="org03c5f86"><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-org9283a03" class="outline-3">
|
||||
<h3 id="org9283a03"><span class="section-number-3">2.2</span> Electron-electron rescaled distances</h3>
|
||||
<div id="outline-container-orgefc1168" class="outline-3">
|
||||
<h3 id="orgefc1168"><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-orge95f98a" class="outline-4">
|
||||
<h4 id="orge95f98a"><span class="section-number-4">2.2.1</span> Get</h4>
|
||||
<div id="outline-container-org6118ab5" class="outline-4">
|
||||
<h4 id="org6118ab5"><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-orgb97543c" class="outline-4">
|
||||
<h4 id="orgb97543c"><span class="section-number-4">2.2.2</span> Compute</h4>
|
||||
<div id="outline-container-org0a5e259" class="outline-4">
|
||||
<h4 id="org0a5e259"><span class="section-number-4">2.2.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-2-2">
|
||||
<table id="org7e1b09f" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org88ee496" 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-org63a1e76" class="outline-4">
|
||||
<h4 id="org63a1e76"><span class="section-number-4">2.2.3</span> Test</h4>
|
||||
<div id="outline-container-org39719bd" class="outline-4">
|
||||
<h4 id="org39719bd"><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-orgb170110" class="outline-3">
|
||||
<h3 id="orgb170110"><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-org7f2e257" class="outline-3">
|
||||
<h3 id="org7f2e257"><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-orge74ce47" class="outline-4">
|
||||
<h4 id="orge74ce47"><span class="section-number-4">2.3.1</span> Get</h4>
|
||||
<div id="outline-container-org288be4e" class="outline-4">
|
||||
<h4 id="org288be4e"><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-org073ae8e" class="outline-4">
|
||||
<h4 id="org073ae8e"><span class="section-number-4">2.3.2</span> Compute</h4>
|
||||
<div id="outline-container-org1e674e7" class="outline-4">
|
||||
<h4 id="org1e674e7"><span class="section-number-4">2.3.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-3-2">
|
||||
<table id="org383d632" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orgea06ed2" 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-orgd73cf19" class="outline-4">
|
||||
<h4 id="orgd73cf19"><span class="section-number-4">2.3.3</span> Test</h4>
|
||||
<div id="outline-container-org53cb814" class="outline-4">
|
||||
<h4 id="org53cb814"><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-org920b63d" class="outline-3">
|
||||
<h3 id="org920b63d"><span class="section-number-3">2.4</span> Electron-nucleus distances</h3>
|
||||
<div id="outline-container-org66f654a" class="outline-3">
|
||||
<h3 id="org66f654a"><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-org792e99a" class="outline-4">
|
||||
<h4 id="org792e99a"><span class="section-number-4">2.4.1</span> Get</h4>
|
||||
<div id="outline-container-orgb1323c6" class="outline-4">
|
||||
<h4 id="orgb1323c6"><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-orgd3059b0" class="outline-4">
|
||||
<h4 id="orgd3059b0"><span class="section-number-4">2.4.2</span> Compute</h4>
|
||||
<div id="outline-container-org35f0b08" class="outline-4">
|
||||
<h4 id="org35f0b08"><span class="section-number-4">2.4.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-4-2">
|
||||
<table id="org6794aae" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orge3ada70" 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-org7e692e7" class="outline-4">
|
||||
<h4 id="org7e692e7"><span class="section-number-4">2.4.3</span> Test</h4>
|
||||
<div id="outline-container-orge798b72" class="outline-4">
|
||||
<h4 id="orge798b72"><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-org48b65cf" class="outline-3">
|
||||
<h3 id="org48b65cf"><span class="section-number-3">2.5</span> Electron-nucleus rescaled distances</h3>
|
||||
<div id="outline-container-orgb66928b" class="outline-3">
|
||||
<h3 id="orgb66928b"><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-orgccfc2c3" class="outline-4">
|
||||
<h4 id="orgccfc2c3"><span class="section-number-4">2.5.1</span> Get</h4>
|
||||
<div id="outline-container-org2d762a5" class="outline-4">
|
||||
<h4 id="org2d762a5"><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-org0bcf405" class="outline-4">
|
||||
<h4 id="org0bcf405"><span class="section-number-4">2.5.2</span> Compute</h4>
|
||||
<div id="outline-container-org948b55b" class="outline-4">
|
||||
<h4 id="org948b55b"><span class="section-number-4">2.5.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-5-2">
|
||||
<table id="orgb7b0cef" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orgf248db5" 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-orgd391677" class="outline-4">
|
||||
<h4 id="orgd391677"><span class="section-number-4">2.5.3</span> Test</h4>
|
||||
<div id="outline-container-org72a0ef9" class="outline-4">
|
||||
<h4 id="org72a0ef9"><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-org9348b92" class="outline-3">
|
||||
<h3 id="org9348b92"><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-org0ea0c85" class="outline-3">
|
||||
<h3 id="org0ea0c85"><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-org66baf0f" class="outline-4">
|
||||
<h4 id="org66baf0f"><span class="section-number-4">2.6.1</span> Get</h4>
|
||||
<div id="outline-container-orga9bca1a" class="outline-4">
|
||||
<h4 id="orga9bca1a"><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-org853c107" class="outline-4">
|
||||
<h4 id="org853c107"><span class="section-number-4">2.6.2</span> Compute</h4>
|
||||
<div id="outline-container-orgd392b93" class="outline-4">
|
||||
<h4 id="orgd392b93"><span class="section-number-4">2.6.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-6-2">
|
||||
<table id="org80ac162" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org81ceedf" 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-orge143a1e" class="outline-4">
|
||||
<h4 id="orge143a1e"><span class="section-number-4">2.6.3</span> Test</h4>
|
||||
<div id="outline-container-orgdbc9d8d" class="outline-4">
|
||||
<h4 id="orgdbc9d8d"><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-12 Mon 13:06</p>
|
||||
<p class="date">Created: 2021-07-13 Tue 07:55</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-12 Mon 13:06 -->
|
||||
<!-- 2021-07-13 Tue 07:55 -->
|
||||
<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="#orga56292a">1. Decoding errors</a></li>
|
||||
<li><a href="#org189fbe1">2. Data structure in context</a></li>
|
||||
<li><a href="#orgb70d4f1">3. Updating errors in the context</a></li>
|
||||
<li><a href="#orgcd87e32">4. Get the error</a></li>
|
||||
<li><a href="#org0760fe3">5. Failing</a></li>
|
||||
<li><a href="#org424d0ef">1. Decoding errors</a></li>
|
||||
<li><a href="#orgb203ab9">2. Data structure in context</a></li>
|
||||
<li><a href="#orgf0d6951">3. Updating errors in the context</a></li>
|
||||
<li><a href="#orgf5814a8">4. Get the error</a></li>
|
||||
<li><a href="#org9be77b3">5. Failing</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orga56292a" class="outline-2">
|
||||
<h2 id="orga56292a"><span class="section-number-2">1</span> Decoding errors</h2>
|
||||
<div id="outline-container-org424d0ef" class="outline-2">
|
||||
<h2 id="org424d0ef"><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-org189fbe1" class="outline-2">
|
||||
<h2 id="org189fbe1"><span class="section-number-2">2</span> Data structure in context</h2>
|
||||
<div id="outline-container-orgb203ab9" class="outline-2">
|
||||
<h2 id="orgb203ab9"><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-orgb70d4f1" class="outline-2">
|
||||
<h2 id="orgb70d4f1"><span class="section-number-2">3</span> Updating errors in the context</h2>
|
||||
<div id="outline-container-orgf0d6951" class="outline-2">
|
||||
<h2 id="orgf0d6951"><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-orgcd87e32" class="outline-2">
|
||||
<h2 id="orgcd87e32"><span class="section-number-2">4</span> Get the error</h2>
|
||||
<div id="outline-container-orgf5814a8" class="outline-2">
|
||||
<h2 id="orgf5814a8"><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-org0760fe3" class="outline-2">
|
||||
<h2 id="org0760fe3"><span class="section-number-2">5</span> Failing</h2>
|
||||
<div id="outline-container-org9be77b3" class="outline-2">
|
||||
<h2 id="org9be77b3"><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-12 Mon 13:06</p>
|
||||
<p class="date">Created: 2021-07-13 Tue 07:55</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-12 Mon 13:06 -->
|
||||
<!-- 2021-07-13 Tue 07:55 -->
|
||||
<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="#org5836065">1. Context</a>
|
||||
<li><a href="#org3e1db46">1. Context</a>
|
||||
<ul>
|
||||
<li><a href="#orgcc5284d">1.1. Data structure</a></li>
|
||||
<li><a href="#org1d3280f">1.2. Access functions</a></li>
|
||||
<li><a href="#orga937c10">1.3. Initialization functions</a></li>
|
||||
<li><a href="#orgff191d8">1.4. Test</a></li>
|
||||
<li><a href="#org844350a">1.1. Data structure</a></li>
|
||||
<li><a href="#orgbd8ee3b">1.2. Access functions</a></li>
|
||||
<li><a href="#org16aeae8">1.3. Initialization functions</a></li>
|
||||
<li><a href="#org3256f86">1.4. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orge853d48">2. Computation</a>
|
||||
<li><a href="#org613068d">2. Computation</a>
|
||||
<ul>
|
||||
<li><a href="#orgec09004">2.1. Asymptotic component for \(f_{ee}\)</a>
|
||||
<li><a href="#org7921d01">2.1. Asymptotic component for \(f_{ee}\)</a>
|
||||
<ul>
|
||||
<li><a href="#org5f66c7d">2.1.1. Get</a></li>
|
||||
<li><a href="#orge92fd43">2.1.2. Compute</a></li>
|
||||
<li><a href="#orgad5504f">2.1.3. Test</a></li>
|
||||
<li><a href="#org888246c">2.1.1. Get</a></li>
|
||||
<li><a href="#orgfa91369">2.1.2. Compute</a></li>
|
||||
<li><a href="#orgef7c93a">2.1.3. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org6fee8aa">2.2. Electron-electron component \(f_{ee}\)</a>
|
||||
<li><a href="#orgcfce409">2.2. Electron-electron component \(f_{ee}\)</a>
|
||||
<ul>
|
||||
<li><a href="#org0750f21">2.2.1. Get</a></li>
|
||||
<li><a href="#orge84a983">2.2.2. Compute</a></li>
|
||||
<li><a href="#org1e7abbb">2.2.3. Test</a></li>
|
||||
<li><a href="#org744a0ba">2.2.1. Get</a></li>
|
||||
<li><a href="#org84bbcdc">2.2.2. Compute</a></li>
|
||||
<li><a href="#orgb3be324">2.2.3. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org8bb7465">2.3. Electron-electron component derivative \(f'_{ee}\)</a>
|
||||
<li><a href="#org443cedb">2.3. Electron-electron component derivative \(f'_{ee}\)</a>
|
||||
<ul>
|
||||
<li><a href="#orgbdcfb04">2.3.1. Get</a></li>
|
||||
<li><a href="#org6af57b3">2.3.2. Compute</a></li>
|
||||
<li><a href="#orgf4aa2e7">2.3.3. Test</a></li>
|
||||
<li><a href="#org500dd2a">2.3.1. Get</a></li>
|
||||
<li><a href="#org81717dc">2.3.2. Compute</a></li>
|
||||
<li><a href="#org47fd9b7">2.3.3. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org2d31e6e">2.4. Electron-nucleus component \(f_{en}\)</a>
|
||||
<li><a href="#org11309f7">2.4. Electron-nucleus component \(f_{en}\)</a>
|
||||
<ul>
|
||||
<li><a href="#org623b47c">2.4.1. Get</a></li>
|
||||
<li><a href="#org0abcb9a">2.4.2. Compute</a></li>
|
||||
<li><a href="#org399d86e">2.4.3. Test</a></li>
|
||||
<li><a href="#org51764f4">2.4.1. Get</a></li>
|
||||
<li><a href="#org67946c8">2.4.2. Compute</a></li>
|
||||
<li><a href="#org5bfec52">2.4.3. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org0c62295">2.5. Electron-nucleus component derivative \(f'_{en}\)</a>
|
||||
<li><a href="#orge63e36d">2.5. Electron-nucleus component derivative \(f'_{en}\)</a>
|
||||
<ul>
|
||||
<li><a href="#orgce83cb6">2.5.1. Get</a></li>
|
||||
<li><a href="#orge291421">2.5.2. Compute</a></li>
|
||||
<li><a href="#orgda31a86">2.5.3. Test</a></li>
|
||||
<li><a href="#orgb885980">2.5.1. Get</a></li>
|
||||
<li><a href="#org78e0b3d">2.5.2. Compute</a></li>
|
||||
<li><a href="#org2fe500f">2.5.3. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgb64dc31">2.6. Electron-electron rescaled distances for each order</a>
|
||||
<li><a href="#org3aad738">2.6. Electron-electron rescaled distances for each order</a>
|
||||
<ul>
|
||||
<li><a href="#org27868b0">2.6.1. Get</a></li>
|
||||
<li><a href="#org0ac5785">2.6.2. Compute</a></li>
|
||||
<li><a href="#org3876f4b">2.6.3. Test</a></li>
|
||||
<li><a href="#org75652df">2.6.1. Get</a></li>
|
||||
<li><a href="#org0b927a3">2.6.2. Compute</a></li>
|
||||
<li><a href="#orga141c58">2.6.3. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgac2f967">2.7. Electron-electron rescaled distances for each order and derivatives</a>
|
||||
<li><a href="#orgd73268a">2.7. Electron-electron rescaled distances for each order and derivatives</a>
|
||||
<ul>
|
||||
<li><a href="#org7a4a9ef">2.7.1. Get</a></li>
|
||||
<li><a href="#org7d448a0">2.7.2. Compute</a></li>
|
||||
<li><a href="#org3edec75">2.7.3. Test</a></li>
|
||||
<li><a href="#orgda12845">2.7.1. Get</a></li>
|
||||
<li><a href="#orga6f390a">2.7.2. Compute</a></li>
|
||||
<li><a href="#orgc7abd9b">2.7.3. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org4bc8d74">2.8. Electron-nucleus rescaled distances for each order</a>
|
||||
<li><a href="#org4dd1132">2.8. Electron-nucleus rescaled distances for each order</a>
|
||||
<ul>
|
||||
<li><a href="#orge0ed879">2.8.1. Get</a></li>
|
||||
<li><a href="#orgcd1a330">2.8.2. Compute</a></li>
|
||||
<li><a href="#orgd98fe36">2.8.3. Test</a></li>
|
||||
<li><a href="#orgead7dee">2.8.1. Get</a></li>
|
||||
<li><a href="#orgd03bfde">2.8.2. Compute</a></li>
|
||||
<li><a href="#org2eac056">2.8.3. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgaf059b7">2.9. Electron-nucleus rescaled distances for each order and derivatives</a>
|
||||
<li><a href="#org286bb83">2.9. Electron-nucleus rescaled distances for each order and derivatives</a>
|
||||
<ul>
|
||||
<li><a href="#orge3fe847">2.9.1. Get</a></li>
|
||||
<li><a href="#orgac698d1">2.9.2. Compute</a></li>
|
||||
<li><a href="#org5677720">2.9.3. Test</a></li>
|
||||
<li><a href="#org6a966a0">2.9.1. Get</a></li>
|
||||
<li><a href="#orgaf322be">2.9.2. Compute</a></li>
|
||||
<li><a href="#org3264247">2.9.3. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org1aae216">2.10. Prepare for electron-electron-nucleus Jastrow \(f_{een}\)</a>
|
||||
<li><a href="#orgd221b2a">2.10. Prepare for electron-electron-nucleus Jastrow \(f_{een}\)</a>
|
||||
<ul>
|
||||
<li><a href="#org70ece26">2.10.1. Get</a></li>
|
||||
<li><a href="#org6f5dcd1">2.10.2. Compute dim<sub>cord</sub><sub>vect</sub></a></li>
|
||||
<li><a href="#org432b8f2">2.10.3. Compute cord<sub>vect</sub><sub>full</sub></a></li>
|
||||
<li><a href="#org4b8c742">2.10.4. Compute lkpm<sub>combined</sub><sub>index</sub></a></li>
|
||||
<li><a href="#org3e9f304">2.10.5. Test</a></li>
|
||||
<li><a href="#org6387a97">2.10.1. Get</a></li>
|
||||
<li><a href="#orgc28c769">2.10.2. Compute dim<sub>cord</sub><sub>vect</sub></a></li>
|
||||
<li><a href="#org9c88efc">2.10.3. Compute cord<sub>vect</sub><sub>full</sub></a></li>
|
||||
<li><a href="#org2d00297">2.10.4. Compute lkpm<sub>combined</sub><sub>index</sub></a></li>
|
||||
<li><a href="#org6272a7a">2.10.5. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orga97538d">2.11. Electron-electron-nucleus Jastrow \(f_{een}\)</a>
|
||||
<li><a href="#orgc4bda97">2.11. Electron-electron-nucleus Jastrow \(f_{een}\)</a>
|
||||
<ul>
|
||||
<li><a href="#orgd5f9b7d">2.11.1. Get</a></li>
|
||||
<li><a href="#org9584038">2.11.2. Compute</a></li>
|
||||
<li><a href="#orgdec6ff9">2.11.3. Test</a></li>
|
||||
<li><a href="#orgb772728">2.11.1. Get</a></li>
|
||||
<li><a href="#orgfea0d5b">2.11.2. Compute</a></li>
|
||||
<li><a href="#org04c5d11">2.11.3. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgbb5c439">2.12. Electron-electron-nucleus Jastrow \(f_{een}\) derivative</a>
|
||||
<li><a href="#orgea3a972">2.12. Electron-electron-nucleus Jastrow \(f_{een}\) derivative</a>
|
||||
<ul>
|
||||
<li><a href="#org4c6fc07">2.12.1. Get</a></li>
|
||||
<li><a href="#org87369b2">2.12.2. Compute</a></li>
|
||||
<li><a href="#org7ef2778">2.12.3. Test</a></li>
|
||||
<li><a href="#org971c67b">2.12.1. Get</a></li>
|
||||
<li><a href="#org2373175">2.12.2. Compute</a></li>
|
||||
<li><a href="#org67b8283">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-org5836065" class="outline-2">
|
||||
<h2 id="org5836065"><span class="section-number-2">1</span> Context</h2>
|
||||
<div id="outline-container-org3e1db46" class="outline-2">
|
||||
<h2 id="org3e1db46"><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="orgf55b97f" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orgab04989" 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="org799fbc9"><span style="color: #a020f0;">import</span> numpy <span style="color: #a020f0;">as</span> np
|
||||
<pre class="src src-python" id="org7028791"><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-orgcc5284d" class="outline-3">
|
||||
<h3 id="orgcc5284d"><span class="section-number-3">1.1</span> Data structure</h3>
|
||||
<div id="outline-container-org844350a" class="outline-3">
|
||||
<h3 id="org844350a"><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-org1d3280f" class="outline-3">
|
||||
<h3 id="org1d3280f"><span class="section-number-3">1.2</span> Access functions</h3>
|
||||
<div id="outline-container-orgbd8ee3b" class="outline-3">
|
||||
<h3 id="orgbd8ee3b"><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-orga937c10" class="outline-3">
|
||||
<h3 id="orga937c10"><span class="section-number-3">1.3</span> Initialization functions</h3>
|
||||
<div id="outline-container-org16aeae8" class="outline-3">
|
||||
<h3 id="org16aeae8"><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-orgff191d8" class="outline-3">
|
||||
<h3 id="orgff191d8"><span class="section-number-3">1.4</span> Test</h3>
|
||||
<div id="outline-container-org3256f86" class="outline-3">
|
||||
<h3 id="org3256f86"><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-orge853d48" class="outline-2">
|
||||
<h2 id="orge853d48"><span class="section-number-2">2</span> Computation</h2>
|
||||
<div id="outline-container-org613068d" class="outline-2">
|
||||
<h2 id="org613068d"><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-orgec09004" class="outline-3">
|
||||
<h3 id="orgec09004"><span class="section-number-3">2.1</span> Asymptotic component for \(f_{ee}\)</h3>
|
||||
<div id="outline-container-org7921d01" class="outline-3">
|
||||
<h3 id="org7921d01"><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-org5f66c7d" class="outline-4">
|
||||
<h4 id="org5f66c7d"><span class="section-number-4">2.1.1</span> Get</h4>
|
||||
<div id="outline-container-org888246c" class="outline-4">
|
||||
<h4 id="org888246c"><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-orge92fd43" class="outline-4">
|
||||
<h4 id="orge92fd43"><span class="section-number-4">2.1.2</span> Compute</h4>
|
||||
<div id="outline-container-orgfa91369" class="outline-4">
|
||||
<h4 id="orgfa91369"><span class="section-number-4">2.1.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-1-2">
|
||||
<table id="org5f32dfe" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org0a3277f" 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-orgad5504f" class="outline-4">
|
||||
<h4 id="orgad5504f"><span class="section-number-4">2.1.3</span> Test</h4>
|
||||
<div id="outline-container-orgef7c93a" class="outline-4">
|
||||
<h4 id="orgef7c93a"><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-org6fee8aa" class="outline-3">
|
||||
<h3 id="org6fee8aa"><span class="section-number-3">2.2</span> Electron-electron component \(f_{ee}\)</h3>
|
||||
<div id="outline-container-orgcfce409" class="outline-3">
|
||||
<h3 id="orgcfce409"><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-org0750f21" class="outline-4">
|
||||
<h4 id="org0750f21"><span class="section-number-4">2.2.1</span> Get</h4>
|
||||
<div id="outline-container-org744a0ba" class="outline-4">
|
||||
<h4 id="org744a0ba"><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-orge84a983" class="outline-4">
|
||||
<h4 id="orge84a983"><span class="section-number-4">2.2.2</span> Compute</h4>
|
||||
<div id="outline-container-org84bbcdc" class="outline-4">
|
||||
<h4 id="org84bbcdc"><span class="section-number-4">2.2.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-2-2">
|
||||
<table id="orgde3d5a9" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org742e1eb" 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-org1e7abbb" class="outline-4">
|
||||
<h4 id="org1e7abbb"><span class="section-number-4">2.2.3</span> Test</h4>
|
||||
<div id="outline-container-orgb3be324" class="outline-4">
|
||||
<h4 id="orgb3be324"><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-org8bb7465" class="outline-3">
|
||||
<h3 id="org8bb7465"><span class="section-number-3">2.3</span> Electron-electron component derivative \(f'_{ee}\)</h3>
|
||||
<div id="outline-container-org443cedb" class="outline-3">
|
||||
<h3 id="org443cedb"><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-orgbdcfb04" class="outline-4">
|
||||
<h4 id="orgbdcfb04"><span class="section-number-4">2.3.1</span> Get</h4>
|
||||
<div id="outline-container-org500dd2a" class="outline-4">
|
||||
<h4 id="org500dd2a"><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-org6af57b3" class="outline-4">
|
||||
<h4 id="org6af57b3"><span class="section-number-4">2.3.2</span> Compute</h4>
|
||||
<div id="outline-container-org81717dc" class="outline-4">
|
||||
<h4 id="org81717dc"><span class="section-number-4">2.3.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-3-2">
|
||||
<table id="orga295525" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org341f589" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -1853,8 +1853,8 @@ TODO: Add equation
|
||||
</div>
|
||||
|
||||
|
||||
<div id="outline-container-orgf4aa2e7" class="outline-4">
|
||||
<h4 id="orgf4aa2e7"><span class="section-number-4">2.3.3</span> Test</h4>
|
||||
<div id="outline-container-org47fd9b7" class="outline-4">
|
||||
<h4 id="org47fd9b7"><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-org2d31e6e" class="outline-3">
|
||||
<h3 id="org2d31e6e"><span class="section-number-3">2.4</span> Electron-nucleus component \(f_{en}\)</h3>
|
||||
<div id="outline-container-org11309f7" class="outline-3">
|
||||
<h3 id="org11309f7"><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-org623b47c" class="outline-4">
|
||||
<h4 id="org623b47c"><span class="section-number-4">2.4.1</span> Get</h4>
|
||||
<div id="outline-container-org51764f4" class="outline-4">
|
||||
<h4 id="org51764f4"><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-org0abcb9a" class="outline-4">
|
||||
<h4 id="org0abcb9a"><span class="section-number-4">2.4.2</span> Compute</h4>
|
||||
<div id="outline-container-org67946c8" class="outline-4">
|
||||
<h4 id="org67946c8"><span class="section-number-4">2.4.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-4-2">
|
||||
<table id="orge9d1c68" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orgdb95ad0" 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-org399d86e" class="outline-4">
|
||||
<h4 id="org399d86e"><span class="section-number-4">2.4.3</span> Test</h4>
|
||||
<div id="outline-container-org5bfec52" class="outline-4">
|
||||
<h4 id="org5bfec52"><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-org0c62295" class="outline-3">
|
||||
<h3 id="org0c62295"><span class="section-number-3">2.5</span> Electron-nucleus component derivative \(f'_{en}\)</h3>
|
||||
<div id="outline-container-orge63e36d" class="outline-3">
|
||||
<h3 id="orge63e36d"><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-orgce83cb6" class="outline-4">
|
||||
<h4 id="orgce83cb6"><span class="section-number-4">2.5.1</span> Get</h4>
|
||||
<div id="outline-container-orgb885980" class="outline-4">
|
||||
<h4 id="orgb885980"><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-orge291421" class="outline-4">
|
||||
<h4 id="orge291421"><span class="section-number-4">2.5.2</span> Compute</h4>
|
||||
<div id="outline-container-org78e0b3d" class="outline-4">
|
||||
<h4 id="org78e0b3d"><span class="section-number-4">2.5.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-5-2">
|
||||
<table id="org13d5cec" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org8e5005a" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -2338,8 +2338,8 @@ TODO: write equations.
|
||||
</div>
|
||||
|
||||
|
||||
<div id="outline-container-orgda31a86" class="outline-4">
|
||||
<h4 id="orgda31a86"><span class="section-number-4">2.5.3</span> Test</h4>
|
||||
<div id="outline-container-org2fe500f" class="outline-4">
|
||||
<h4 id="org2fe500f"><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-orgb64dc31" class="outline-3">
|
||||
<h3 id="orgb64dc31"><span class="section-number-3">2.6</span> Electron-electron rescaled distances for each order</h3>
|
||||
<div id="outline-container-org3aad738" class="outline-3">
|
||||
<h3 id="org3aad738"><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-org27868b0" class="outline-4">
|
||||
<h4 id="org27868b0"><span class="section-number-4">2.6.1</span> Get</h4>
|
||||
<div id="outline-container-org75652df" class="outline-4">
|
||||
<h4 id="org75652df"><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-org0ac5785" class="outline-4">
|
||||
<h4 id="org0ac5785"><span class="section-number-4">2.6.2</span> Compute</h4>
|
||||
<div id="outline-container-org0b927a3" class="outline-4">
|
||||
<h4 id="org0b927a3"><span class="section-number-4">2.6.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-6-2">
|
||||
<table id="orgee8910d" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org6a3177f" 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-org3876f4b" class="outline-4">
|
||||
<h4 id="org3876f4b"><span class="section-number-4">2.6.3</span> Test</h4>
|
||||
<div id="outline-container-orga141c58" class="outline-4">
|
||||
<h4 id="orga141c58"><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-orgac2f967" class="outline-3">
|
||||
<h3 id="orgac2f967"><span class="section-number-3">2.7</span> Electron-electron rescaled distances for each order and derivatives</h3>
|
||||
<div id="outline-container-orgd73268a" class="outline-3">
|
||||
<h3 id="orgd73268a"><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-org7a4a9ef" class="outline-4">
|
||||
<h4 id="org7a4a9ef"><span class="section-number-4">2.7.1</span> Get</h4>
|
||||
<div id="outline-container-orgda12845" class="outline-4">
|
||||
<h4 id="orgda12845"><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-org7d448a0" class="outline-4">
|
||||
<h4 id="org7d448a0"><span class="section-number-4">2.7.2</span> Compute</h4>
|
||||
<div id="outline-container-orga6f390a" class="outline-4">
|
||||
<h4 id="orga6f390a"><span class="section-number-4">2.7.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-7-2">
|
||||
<table id="orged9eabe" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orga76fe21" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -2783,8 +2783,8 @@ TODO: write formulae
|
||||
</div>
|
||||
|
||||
|
||||
<div id="outline-container-org3edec75" class="outline-4">
|
||||
<h4 id="org3edec75"><span class="section-number-4">2.7.3</span> Test</h4>
|
||||
<div id="outline-container-orgc7abd9b" class="outline-4">
|
||||
<h4 id="orgc7abd9b"><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-org4bc8d74" class="outline-3">
|
||||
<h3 id="org4bc8d74"><span class="section-number-3">2.8</span> Electron-nucleus rescaled distances for each order</h3>
|
||||
<div id="outline-container-org4dd1132" class="outline-3">
|
||||
<h3 id="org4dd1132"><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-orge0ed879" class="outline-4">
|
||||
<h4 id="orge0ed879"><span class="section-number-4">2.8.1</span> Get</h4>
|
||||
<div id="outline-container-orgead7dee" class="outline-4">
|
||||
<h4 id="orgead7dee"><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-orgcd1a330" class="outline-4">
|
||||
<h4 id="orgcd1a330"><span class="section-number-4">2.8.2</span> Compute</h4>
|
||||
<div id="outline-container-orgd03bfde" class="outline-4">
|
||||
<h4 id="orgd03bfde"><span class="section-number-4">2.8.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-8-2">
|
||||
<table id="org3395221" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org7f0e2cc" 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-orgd98fe36" class="outline-4">
|
||||
<h4 id="orgd98fe36"><span class="section-number-4">2.8.3</span> Test</h4>
|
||||
<div id="outline-container-org2eac056" class="outline-4">
|
||||
<h4 id="org2eac056"><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-orgaf059b7" class="outline-3">
|
||||
<h3 id="orgaf059b7"><span class="section-number-3">2.9</span> Electron-nucleus rescaled distances for each order and derivatives</h3>
|
||||
<div id="outline-container-org286bb83" class="outline-3">
|
||||
<h3 id="org286bb83"><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-orge3fe847" class="outline-4">
|
||||
<h4 id="orge3fe847"><span class="section-number-4">2.9.1</span> Get</h4>
|
||||
<div id="outline-container-org6a966a0" class="outline-4">
|
||||
<h4 id="org6a966a0"><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-orgac698d1" class="outline-4">
|
||||
<h4 id="orgac698d1"><span class="section-number-4">2.9.2</span> Compute</h4>
|
||||
<div id="outline-container-orgaf322be" class="outline-4">
|
||||
<h4 id="orgaf322be"><span class="section-number-4">2.9.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-9-2">
|
||||
<table id="org2e1923b" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orge2375f5" 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-org5677720" class="outline-4">
|
||||
<h4 id="org5677720"><span class="section-number-4">2.9.3</span> Test</h4>
|
||||
<div id="outline-container-org3264247" class="outline-4">
|
||||
<h4 id="org3264247"><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-org1aae216" class="outline-3">
|
||||
<h3 id="org1aae216"><span class="section-number-3">2.10</span> Prepare for electron-electron-nucleus Jastrow \(f_{een}\)</h3>
|
||||
<div id="outline-container-orgd221b2a" class="outline-3">
|
||||
<h3 id="orgd221b2a"><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-org70ece26" class="outline-4">
|
||||
<h4 id="org70ece26"><span class="section-number-4">2.10.1</span> Get</h4>
|
||||
<div id="outline-container-org6387a97" class="outline-4">
|
||||
<h4 id="org6387a97"><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-org6f5dcd1" class="outline-4">
|
||||
<h4 id="org6f5dcd1"><span class="section-number-4">2.10.2</span> Compute dim<sub>cord</sub><sub>vect</sub></h4>
|
||||
<div id="outline-container-orgc28c769" class="outline-4">
|
||||
<h4 id="orgc28c769"><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="org74160f8" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org117c7c2" 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-org432b8f2" class="outline-4">
|
||||
<h4 id="org432b8f2"><span class="section-number-4">2.10.3</span> Compute cord<sub>vect</sub><sub>full</sub></h4>
|
||||
<div id="outline-container-org9c88efc" class="outline-4">
|
||||
<h4 id="org9c88efc"><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="orgd76c8a5" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org04a1502" 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-org4b8c742" class="outline-4">
|
||||
<h4 id="org4b8c742"><span class="section-number-4">2.10.4</span> Compute lkpm<sub>combined</sub><sub>index</sub></h4>
|
||||
<div id="outline-container-org2d00297" class="outline-4">
|
||||
<h4 id="org2d00297"><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="org990d233" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org305d2a9" 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-org3e9f304" class="outline-4">
|
||||
<h4 id="org3e9f304"><span class="section-number-4">2.10.5</span> Test</h4>
|
||||
<div id="outline-container-org6272a7a" class="outline-4">
|
||||
<h4 id="org6272a7a"><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-orga97538d" class="outline-3">
|
||||
<h3 id="orga97538d"><span class="section-number-3">2.11</span> Electron-electron-nucleus Jastrow \(f_{een}\)</h3>
|
||||
<div id="outline-container-orgc4bda97" class="outline-3">
|
||||
<h3 id="orgc4bda97"><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-orgd5f9b7d" class="outline-4">
|
||||
<h4 id="orgd5f9b7d"><span class="section-number-4">2.11.1</span> Get</h4>
|
||||
<div id="outline-container-orgb772728" class="outline-4">
|
||||
<h4 id="orgb772728"><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-org9584038" class="outline-4">
|
||||
<h4 id="org9584038"><span class="section-number-4">2.11.2</span> Compute</h4>
|
||||
<div id="outline-container-orgfea0d5b" class="outline-4">
|
||||
<h4 id="orgfea0d5b"><span class="section-number-4">2.11.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-11-2">
|
||||
<table id="orgdd5c07b" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org9544751" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -3838,8 +3838,8 @@ TODO: write equations.
|
||||
</div>
|
||||
|
||||
|
||||
<div id="outline-container-orgdec6ff9" class="outline-4">
|
||||
<h4 id="orgdec6ff9"><span class="section-number-4">2.11.3</span> Test</h4>
|
||||
<div id="outline-container-org04c5d11" class="outline-4">
|
||||
<h4 id="org04c5d11"><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-orgbb5c439" class="outline-3">
|
||||
<h3 id="orgbb5c439"><span class="section-number-3">2.12</span> Electron-electron-nucleus Jastrow \(f_{een}\) derivative</h3>
|
||||
<div id="outline-container-orgea3a972" class="outline-3">
|
||||
<h3 id="orgea3a972"><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-org4c6fc07" class="outline-4">
|
||||
<h4 id="org4c6fc07"><span class="section-number-4">2.12.1</span> Get</h4>
|
||||
<div id="outline-container-org971c67b" class="outline-4">
|
||||
<h4 id="org971c67b"><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-org87369b2" class="outline-4">
|
||||
<h4 id="org87369b2"><span class="section-number-4">2.12.2</span> Compute</h4>
|
||||
<div id="outline-container-org2373175" class="outline-4">
|
||||
<h4 id="org2373175"><span class="section-number-4">2.12.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-12-2">
|
||||
<table id="org9865c0a" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org2631ffd" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -4103,8 +4103,8 @@ TODO: write equations.
|
||||
</div>
|
||||
|
||||
|
||||
<div id="outline-container-org7ef2778" class="outline-4">
|
||||
<h4 id="org7ef2778"><span class="section-number-4">2.12.3</span> Test</h4>
|
||||
<div id="outline-container-org67b8283" class="outline-4">
|
||||
<h4 id="org67b8283"><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-12 Mon 13:06</p>
|
||||
<p class="date">Created: 2021-07-13 Tue 07:55</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-12 Mon 13:06 -->
|
||||
<!-- 2021-07-13 Tue 07:55 -->
|
||||
<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="#org1b4389f">1. Memory data structure for the context</a></li>
|
||||
<li><a href="#orgf9b5eed">2. Passing info to allocation routines</a></li>
|
||||
<li><a href="#orgd0177bf">3. Allocation/deallocation functions</a></li>
|
||||
<li><a href="#orge2b7907">1. Memory data structure for the context</a></li>
|
||||
<li><a href="#org8358b9d">2. Passing info to allocation routines</a></li>
|
||||
<li><a href="#org33d1dc1">3. Allocation/deallocation functions</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org1b4389f" class="outline-2">
|
||||
<h2 id="org1b4389f"><span class="section-number-2">1</span> Memory data structure for the context</h2>
|
||||
<div id="outline-container-orge2b7907" class="outline-2">
|
||||
<h2 id="orge2b7907"><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-orgf9b5eed" class="outline-2">
|
||||
<h2 id="orgf9b5eed"><span class="section-number-2">2</span> Passing info to allocation routines</h2>
|
||||
<div id="outline-container-org8358b9d" class="outline-2">
|
||||
<h2 id="org8358b9d"><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-orgd0177bf" class="outline-2">
|
||||
<h2 id="orgd0177bf"><span class="section-number-2">3</span> Allocation/deallocation functions</h2>
|
||||
<div id="outline-container-org33d1dc1" class="outline-2">
|
||||
<h2 id="org33d1dc1"><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-12 Mon 13:06</p>
|
||||
<p class="date">Created: 2021-07-13 Tue 07:55</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-12 Mon 13:06 -->
|
||||
<!-- 2021-07-13 Tue 07:55 -->
|
||||
<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="#org2fe2d7d">1. Context</a>
|
||||
<li><a href="#orgb007881">1. Context</a>
|
||||
<ul>
|
||||
<li><a href="#org3d19ab6">1.1. Data structure</a></li>
|
||||
<li><a href="#org1f02fb6">1.2. Access functions</a></li>
|
||||
<li><a href="#org6e45fca">1.3. Initialization functions</a></li>
|
||||
<li><a href="#org8f7faf6">1.4. Test</a></li>
|
||||
<li><a href="#org614e1c7">1.1. Data structure</a></li>
|
||||
<li><a href="#orgee20e99">1.2. Access functions</a></li>
|
||||
<li><a href="#org4bed7cf">1.3. Initialization functions</a></li>
|
||||
<li><a href="#org171adb2">1.4. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org5f40360">2. Computation</a>
|
||||
<li><a href="#org0c4bac4">2. Computation</a>
|
||||
<ul>
|
||||
<li><a href="#org2687147">2.1. Nucleus-nucleus distances</a>
|
||||
<li><a href="#org3306be9">2.1. Nucleus-nucleus distances</a>
|
||||
<ul>
|
||||
<li><a href="#org38a98f2">2.1.1. Get</a></li>
|
||||
<li><a href="#orgd405b7b">2.1.2. Compute</a></li>
|
||||
<li><a href="#orgf9cb84b">2.1.3. Test</a></li>
|
||||
<li><a href="#org2099e6c">2.1.1. Get</a></li>
|
||||
<li><a href="#org6b6f5e6">2.1.2. Compute</a></li>
|
||||
<li><a href="#org5aadfbf">2.1.3. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org9f26fd7">2.2. Nucleus-nucleus rescaled distances</a>
|
||||
<li><a href="#org3068edb">2.2. Nucleus-nucleus rescaled distances</a>
|
||||
<ul>
|
||||
<li><a href="#org7f10258">2.2.1. Get</a></li>
|
||||
<li><a href="#org879aa80">2.2.2. Compute</a></li>
|
||||
<li><a href="#orgb48c8a2">2.2.3. Test</a></li>
|
||||
<li><a href="#org8bd397c">2.2.1. Get</a></li>
|
||||
<li><a href="#orgbaa2c35">2.2.2. Compute</a></li>
|
||||
<li><a href="#org1849338">2.2.3. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org0228e16">2.3. Nuclear repulsion energy</a>
|
||||
<li><a href="#org860f228">2.3. Nuclear repulsion energy</a>
|
||||
<ul>
|
||||
<li><a href="#orgf9f5d02">2.3.1. Get</a></li>
|
||||
<li><a href="#org2a6535c">2.3.2. Compute</a></li>
|
||||
<li><a href="#org5812c54">2.3.3. Test</a></li>
|
||||
<li><a href="#orgbba0563">2.3.1. Get</a></li>
|
||||
<li><a href="#orgd43534c">2.3.2. Compute</a></li>
|
||||
<li><a href="#orgd366b32">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-org2fe2d7d" class="outline-2">
|
||||
<h2 id="org2fe2d7d"><span class="section-number-2">1</span> Context</h2>
|
||||
<div id="outline-container-orgb007881" class="outline-2">
|
||||
<h2 id="orgb007881"><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-org3d19ab6" class="outline-3">
|
||||
<h3 id="org3d19ab6"><span class="section-number-3">1.1</span> Data structure</h3>
|
||||
<div id="outline-container-org614e1c7" class="outline-3">
|
||||
<h3 id="org614e1c7"><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-org1f02fb6" class="outline-3">
|
||||
<h3 id="org1f02fb6"><span class="section-number-3">1.2</span> Access functions</h3>
|
||||
<div id="outline-container-orgee20e99" class="outline-3">
|
||||
<h3 id="orgee20e99"><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-org6e45fca" class="outline-3">
|
||||
<h3 id="org6e45fca"><span class="section-number-3">1.3</span> Initialization functions</h3>
|
||||
<div id="outline-container-org4bed7cf" class="outline-3">
|
||||
<h3 id="org4bed7cf"><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-org8f7faf6" class="outline-3">
|
||||
<h3 id="org8f7faf6"><span class="section-number-3">1.4</span> Test</h3>
|
||||
<div id="outline-container-org171adb2" class="outline-3">
|
||||
<h3 id="org171adb2"><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-org5f40360" class="outline-2">
|
||||
<h2 id="org5f40360"><span class="section-number-2">2</span> Computation</h2>
|
||||
<div id="outline-container-org0c4bac4" class="outline-2">
|
||||
<h2 id="org0c4bac4"><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-org2687147" class="outline-3">
|
||||
<h3 id="org2687147"><span class="section-number-3">2.1</span> Nucleus-nucleus distances</h3>
|
||||
<div id="outline-container-org3306be9" class="outline-3">
|
||||
<h3 id="org3306be9"><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-org38a98f2" class="outline-4">
|
||||
<h4 id="org38a98f2"><span class="section-number-4">2.1.1</span> Get</h4>
|
||||
<div id="outline-container-org2099e6c" class="outline-4">
|
||||
<h4 id="org2099e6c"><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-orgd405b7b" class="outline-4">
|
||||
<h4 id="orgd405b7b"><span class="section-number-4">2.1.2</span> Compute</h4>
|
||||
<div id="outline-container-org6b6f5e6" class="outline-4">
|
||||
<h4 id="org6b6f5e6"><span class="section-number-4">2.1.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-1-2">
|
||||
<table id="orgd5ef2f8" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orgdf87a4f" 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-orgf9cb84b" class="outline-4">
|
||||
<h4 id="orgf9cb84b"><span class="section-number-4">2.1.3</span> Test</h4>
|
||||
<div id="outline-container-org5aadfbf" class="outline-4">
|
||||
<h4 id="org5aadfbf"><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-org9f26fd7" class="outline-3">
|
||||
<h3 id="org9f26fd7"><span class="section-number-3">2.2</span> Nucleus-nucleus rescaled distances</h3>
|
||||
<div id="outline-container-org3068edb" class="outline-3">
|
||||
<h3 id="org3068edb"><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-org7f10258" class="outline-4">
|
||||
<h4 id="org7f10258"><span class="section-number-4">2.2.1</span> Get</h4>
|
||||
<div id="outline-container-org8bd397c" class="outline-4">
|
||||
<h4 id="org8bd397c"><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-org879aa80" class="outline-4">
|
||||
<h4 id="org879aa80"><span class="section-number-4">2.2.2</span> Compute</h4>
|
||||
<div id="outline-container-orgbaa2c35" class="outline-4">
|
||||
<h4 id="orgbaa2c35"><span class="section-number-4">2.2.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-2-2">
|
||||
<table id="org8ae60ba" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org42854e8" 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-orgb48c8a2" class="outline-4">
|
||||
<h4 id="orgb48c8a2"><span class="section-number-4">2.2.3</span> Test</h4>
|
||||
<div id="outline-container-org1849338" class="outline-4">
|
||||
<h4 id="org1849338"><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-org0228e16" class="outline-3">
|
||||
<h3 id="org0228e16"><span class="section-number-3">2.3</span> Nuclear repulsion energy</h3>
|
||||
<div id="outline-container-org860f228" class="outline-3">
|
||||
<h3 id="org860f228"><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-orgf9f5d02" class="outline-4">
|
||||
<h4 id="orgf9f5d02"><span class="section-number-4">2.3.1</span> Get</h4>
|
||||
<div id="outline-container-orgbba0563" class="outline-4">
|
||||
<h4 id="orgbba0563"><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-org2a6535c" class="outline-4">
|
||||
<h4 id="org2a6535c"><span class="section-number-4">2.3.2</span> Compute</h4>
|
||||
<div id="outline-container-orgd43534c" class="outline-4">
|
||||
<h4 id="orgd43534c"><span class="section-number-4">2.3.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-3-2">
|
||||
<table id="org2a5f0e1" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orga3fc834" 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-org5812c54" class="outline-4">
|
||||
<h4 id="org5812c54"><span class="section-number-4">2.3.3</span> Test</h4>
|
||||
<div id="outline-container-orgd366b32" class="outline-4">
|
||||
<h4 id="orgd366b32"><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-12 Mon 13:06</p>
|
||||
<p class="date">Created: 2021-07-13 Tue 07:55</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-12 Mon 13:06 -->
|
||||
<!-- 2021-07-13 Tue 07:55 -->
|
||||
<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="#org24f093d">1. Control of the numerical precision</a></li>
|
||||
<li><a href="#org48795f6">2. Precision</a></li>
|
||||
<li><a href="#org2a1460c">3. Range</a></li>
|
||||
<li><a href="#org966fb2e">4. Helper functions</a></li>
|
||||
<li><a href="#org5fd6934">1. Control of the numerical precision</a></li>
|
||||
<li><a href="#org1e5ecf9">2. Precision</a></li>
|
||||
<li><a href="#org6b10a31">3. Range</a></li>
|
||||
<li><a href="#org64e94c9">4. Helper functions</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org24f093d" class="outline-2">
|
||||
<h2 id="org24f093d"><span class="section-number-2">1</span> Control of the numerical precision</h2>
|
||||
<div id="outline-container-org5fd6934" class="outline-2">
|
||||
<h2 id="org5fd6934"><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="orgac3056d" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orga459cfa" 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-org48795f6" class="outline-2">
|
||||
<h2 id="org48795f6"><span class="section-number-2">2</span> Precision</h2>
|
||||
<div id="outline-container-org1e5ecf9" class="outline-2">
|
||||
<h2 id="org1e5ecf9"><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-org2a1460c" class="outline-2">
|
||||
<h2 id="org2a1460c"><span class="section-number-2">3</span> Range</h2>
|
||||
<div id="outline-container-org6b10a31" class="outline-2">
|
||||
<h2 id="org6b10a31"><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-org966fb2e" class="outline-2">
|
||||
<h2 id="org966fb2e"><span class="section-number-2">4</span> Helper functions</h2>
|
||||
<div id="outline-container-org64e94c9" class="outline-2">
|
||||
<h2 id="org64e94c9"><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-12 Mon 13:06</p>
|
||||
<p class="date">Created: 2021-07-13 Tue 07:55</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-12 Mon 13:06 -->
|
||||
<!-- 2021-07-13 Tue 07:55 -->
|
||||
<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="#org4589c11">1. CHBrClF</a>
|
||||
<li><a href="#orga10770f">1. CHBrClF</a>
|
||||
<ul>
|
||||
<li><a href="#orgde47af4">1.1. XYZ coordinates</a></li>
|
||||
<li><a href="#org6061e38">1.2. Atomic basis set</a></li>
|
||||
<li><a href="#org1720e9a">1.3. <span class="todo TODO">TODO</span> Molecular orbitals</a></li>
|
||||
<li><a href="#org4dcdf5e">1.4. Electron coordinates</a></li>
|
||||
<li><a href="#org3989fdf">1.1. XYZ coordinates</a></li>
|
||||
<li><a href="#org129c211">1.2. Atomic basis set</a></li>
|
||||
<li><a href="#orga483be7">1.3. <span class="todo TODO">TODO</span> Molecular orbitals</a></li>
|
||||
<li><a href="#orgffe6243">1.4. Electron coordinates</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgece7228">2. N2</a>
|
||||
<li><a href="#org1f3630a">2. N2</a>
|
||||
<ul>
|
||||
<li><a href="#org62ce303">2.1. XYZ coordinates</a></li>
|
||||
<li><a href="#orgb9fa7d4">2.2. Electron coordinates</a></li>
|
||||
<li><a href="#orgacd17b5">2.3. Jastrow related data</a></li>
|
||||
<li><a href="#orgfd84044">2.1. XYZ coordinates</a></li>
|
||||
<li><a href="#orge71b480">2.2. Electron coordinates</a></li>
|
||||
<li><a href="#orga51665d">2.3. Jastrow related data</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org4589c11" class="outline-2">
|
||||
<h2 id="org4589c11"><span class="section-number-2">1</span> CHBrClF</h2>
|
||||
<div id="outline-container-orga10770f" class="outline-2">
|
||||
<h2 id="orga10770f"><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-orgde47af4" class="outline-3">
|
||||
<h3 id="orgde47af4"><span class="section-number-3">1.1</span> XYZ coordinates</h3>
|
||||
<div id="outline-container-org3989fdf" class="outline-3">
|
||||
<h3 id="org3989fdf"><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-org6061e38" class="outline-3">
|
||||
<h3 id="org6061e38"><span class="section-number-3">1.2</span> Atomic basis set</h3>
|
||||
<div id="outline-container-org129c211" class="outline-3">
|
||||
<h3 id="org129c211"><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-org1720e9a" class="outline-3">
|
||||
<h3 id="org1720e9a"><span class="section-number-3">1.3</span> <span class="todo TODO">TODO</span> Molecular orbitals</h3>
|
||||
<div id="outline-container-orga483be7" class="outline-3">
|
||||
<h3 id="orga483be7"><span class="section-number-3">1.3</span> <span class="todo TODO">TODO</span> Molecular orbitals</h3>
|
||||
</div>
|
||||
<div id="outline-container-org4dcdf5e" class="outline-3">
|
||||
<h3 id="org4dcdf5e"><span class="section-number-3">1.4</span> Electron coordinates</h3>
|
||||
<div id="outline-container-orgffe6243" class="outline-3">
|
||||
<h3 id="orgffe6243"><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-orgece7228" class="outline-2">
|
||||
<h2 id="orgece7228"><span class="section-number-2">2</span> N2</h2>
|
||||
<div id="outline-container-org1f3630a" class="outline-2">
|
||||
<h2 id="org1f3630a"><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-org62ce303" class="outline-3">
|
||||
<h3 id="org62ce303"><span class="section-number-3">2.1</span> XYZ coordinates</h3>
|
||||
<div id="outline-container-orgfd84044" class="outline-3">
|
||||
<h3 id="orgfd84044"><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-orgb9fa7d4" class="outline-3">
|
||||
<h3 id="orgb9fa7d4"><span class="section-number-3">2.2</span> Electron coordinates</h3>
|
||||
<div id="outline-container-orge71b480" class="outline-3">
|
||||
<h3 id="orge71b480"><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-orgacd17b5" class="outline-3">
|
||||
<h3 id="orgacd17b5"><span class="section-number-3">2.3</span> Jastrow related data</h3>
|
||||
<div id="outline-container-orga51665d" class="outline-3">
|
||||
<h3 id="orga51665d"><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-12 Mon 13:06</p>
|
||||
<p class="date">Created: 2021-07-13 Tue 07:55</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-12 Mon 13:06 -->
|
||||
<!-- 2021-07-13 Tue 07:55 -->
|
||||
<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="#org4e7023b">1. Matrix operations</a>
|
||||
<li><a href="#orgacdee48">1. Matrix operations</a>
|
||||
<ul>
|
||||
<li><a href="#org7dce547">1.1. <code>qmckl_transpose</code></a>
|
||||
<li><a href="#orgbd6edeb">1.1. <code>qmckl_transpose</code></a>
|
||||
<ul>
|
||||
<li><a href="#org9feea99">1.1.1. Requirements</a></li>
|
||||
<li><a href="#orged35b95">1.1.2. C header</a></li>
|
||||
<li><a href="#org8b1ac12">1.1.3. Source</a></li>
|
||||
<li><a href="#orgbbfe816">1.1.1. Requirements</a></li>
|
||||
<li><a href="#org97bb537">1.1.2. C header</a></li>
|
||||
<li><a href="#orgd1aa1cb">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-org4e7023b" class="outline-2">
|
||||
<h2 id="org4e7023b"><span class="section-number-2">1</span> Matrix operations</h2>
|
||||
<div id="outline-container-orgacdee48" class="outline-2">
|
||||
<h2 id="orgacdee48"><span class="section-number-2">1</span> Matrix operations</h2>
|
||||
<div class="outline-text-2" id="text-1">
|
||||
</div>
|
||||
<div id="outline-container-org7dce547" class="outline-3">
|
||||
<h3 id="org7dce547"><span class="section-number-3">1.1</span> <code>qmckl_transpose</code></h3>
|
||||
<div id="outline-container-orgbd6edeb" class="outline-3">
|
||||
<h3 id="orgbd6edeb"><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="org272fcec" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org3d52741" 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-org9feea99" class="outline-4">
|
||||
<h4 id="org9feea99"><span class="section-number-4">1.1.1</span> Requirements</h4>
|
||||
<div id="outline-container-orgbbfe816" class="outline-4">
|
||||
<h4 id="orgbbfe816"><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-orged35b95" class="outline-4">
|
||||
<h4 id="orged35b95"><span class="section-number-4">1.1.2</span> C header</h4>
|
||||
<div id="outline-container-org97bb537" class="outline-4">
|
||||
<h4 id="org97bb537"><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-org8b1ac12" class="outline-4">
|
||||
<h4 id="org8b1ac12"><span class="section-number-4">1.1.3</span> Source</h4>
|
||||
<div id="outline-container-orgd1aa1cb" class="outline-4">
|
||||
<h4 id="orgd1aa1cb"><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-12 Mon 13:06</p>
|
||||
<p class="date">Created: 2021-07-13 Tue 07:55</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