mirror of
https://github.com/TREX-CoE/qmckl.git
synced 2024-11-03 20:54:09 +01:00
Deploying to gh-pages from @ TREX-CoE/qmckl@9c2d01b33d 🚀
This commit is contained in:
parent
9ad791ae7d
commit
56b548d9c0
@ -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-10-13 Wed 10:18 -->
|
||||
<!-- 2021-10-13 Wed 11:20 -->
|
||||
<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>
|
||||
@ -356,7 +356,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-10-13 Wed 10:18</p>
|
||||
<p class="date">Created: 2021-10-13 Wed 11:20</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-10-13 Wed 10:18 -->
|
||||
<!-- 2021-10-13 Wed 11:20 -->
|
||||
<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="#org0c753c8">1. Using QMCkl</a></li>
|
||||
<li><a href="#org2897d23">2. Developing in QMCkl</a>
|
||||
<li><a href="#orgcaecbc9">1. Using QMCkl</a></li>
|
||||
<li><a href="#org315e5b4">2. Developing in QMCkl</a>
|
||||
<ul>
|
||||
<li><a href="#orged6c7c5">2.1. Literate programming</a></li>
|
||||
<li><a href="#org41118e6">2.2. Source code editing</a></li>
|
||||
<li><a href="#org0fde267">2.3. Choice of the programming language</a></li>
|
||||
<li><a href="#org9405c07">2.4. Coding rules</a></li>
|
||||
<li><a href="#org5747e30">2.5. Design of the library</a></li>
|
||||
<li><a href="#orga8c5cf9">2.6. Naming conventions</a></li>
|
||||
<li><a href="#orgd4559c1">2.7. Application programming interface</a></li>
|
||||
<li><a href="#org260d7cd">2.8. Global state</a></li>
|
||||
<li><a href="#org53e0a5a">2.9. Headers</a></li>
|
||||
<li><a href="#orga256d12">2.10. Low-level functions</a></li>
|
||||
<li><a href="#org4065b46">2.11. High-level functions</a></li>
|
||||
<li><a href="#org9ffa464">2.12. Numerical precision</a></li>
|
||||
<li><a href="#orgd30476a">2.13. Algorithms</a></li>
|
||||
<li><a href="#orgdf57a10">2.1. Literate programming</a></li>
|
||||
<li><a href="#orgb9eb0ad">2.2. Source code editing</a></li>
|
||||
<li><a href="#org28f8e97">2.3. Choice of the programming language</a></li>
|
||||
<li><a href="#org47974a4">2.4. Coding rules</a></li>
|
||||
<li><a href="#org9638275">2.5. Design of the library</a></li>
|
||||
<li><a href="#org5ee0045">2.6. Naming conventions</a></li>
|
||||
<li><a href="#org88c667d">2.7. Application programming interface</a></li>
|
||||
<li><a href="#org77f076a">2.8. Global state</a></li>
|
||||
<li><a href="#org2150814">2.9. Headers</a></li>
|
||||
<li><a href="#org4a49afc">2.10. Low-level functions</a></li>
|
||||
<li><a href="#org6d84994">2.11. High-level functions</a></li>
|
||||
<li><a href="#org217bf91">2.12. Numerical precision</a></li>
|
||||
<li><a href="#org0dd82d0">2.13. Algorithms</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org0c753c8" class="outline-2">
|
||||
<h2 id="org0c753c8"><span class="section-number-2">1</span> Using QMCkl</h2>
|
||||
<div id="outline-container-orgcaecbc9" class="outline-2">
|
||||
<h2 id="orgcaecbc9"><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-org2897d23" class="outline-2">
|
||||
<h2 id="org2897d23"><span class="section-number-2">2</span> Developing in QMCkl</h2>
|
||||
<div id="outline-container-org315e5b4" class="outline-2">
|
||||
<h2 id="org315e5b4"><span class="section-number-2">2</span> Developing in QMCkl</h2>
|
||||
<div class="outline-text-2" id="text-2">
|
||||
</div>
|
||||
<div id="outline-container-orged6c7c5" class="outline-3">
|
||||
<h3 id="orged6c7c5"><span class="section-number-3">2.1</span> Literate programming</h3>
|
||||
<div id="outline-container-orgdf57a10" class="outline-3">
|
||||
<h3 id="orgdf57a10"><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-org41118e6" class="outline-3">
|
||||
<h3 id="org41118e6"><span class="section-number-3">2.2</span> Source code editing</h3>
|
||||
<div id="outline-container-orgb9eb0ad" class="outline-3">
|
||||
<h3 id="orgb9eb0ad"><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-org0fde267" class="outline-3">
|
||||
<h3 id="org0fde267"><span class="section-number-3">2.3</span> Choice of the programming language</h3>
|
||||
<div id="outline-container-org28f8e97" class="outline-3">
|
||||
<h3 id="org28f8e97"><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-org9405c07" class="outline-3">
|
||||
<h3 id="org9405c07"><span class="section-number-3">2.4</span> Coding rules</h3>
|
||||
<div id="outline-container-org47974a4" class="outline-3">
|
||||
<h3 id="org47974a4"><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-org5747e30" class="outline-3">
|
||||
<h3 id="org5747e30"><span class="section-number-3">2.5</span> Design of the library</h3>
|
||||
<div id="outline-container-org9638275" class="outline-3">
|
||||
<h3 id="org9638275"><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-orga8c5cf9" class="outline-3">
|
||||
<h3 id="orga8c5cf9"><span class="section-number-3">2.6</span> Naming conventions</h3>
|
||||
<div id="outline-container-org5ee0045" class="outline-3">
|
||||
<h3 id="org5ee0045"><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-orgd4559c1" class="outline-3">
|
||||
<h3 id="orgd4559c1"><span class="section-number-3">2.7</span> Application programming interface</h3>
|
||||
<div id="outline-container-org88c667d" class="outline-3">
|
||||
<h3 id="org88c667d"><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-org260d7cd" class="outline-3">
|
||||
<h3 id="org260d7cd"><span class="section-number-3">2.8</span> Global state</h3>
|
||||
<div id="outline-container-org77f076a" class="outline-3">
|
||||
<h3 id="org77f076a"><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="org48bf924">=context=</a> contains the global
|
||||
<code>qmckl_context_create</code> function. The <a id="orgaea7150">=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-org53e0a5a" class="outline-3">
|
||||
<h3 id="org53e0a5a"><span class="section-number-3">2.9</span> Headers</h3>
|
||||
<div id="outline-container-org2150814" class="outline-3">
|
||||
<h3 id="org2150814"><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-orga256d12" class="outline-3">
|
||||
<h3 id="orga256d12"><span class="section-number-3">2.10</span> Low-level functions</h3>
|
||||
<div id="outline-container-org4a49afc" class="outline-3">
|
||||
<h3 id="org4a49afc"><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="#org48bf924"><code>context</code></a>. They are not allowed to allocate/deallocate memory, and
|
||||
<a href="#orgaea7150"><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-org4065b46" class="outline-3">
|
||||
<h3 id="org4065b46"><span class="section-number-3">2.11</span> High-level functions</h3>
|
||||
<div id="outline-container-org6d84994" class="outline-3">
|
||||
<h3 id="org6d84994"><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="#org48bf924"><code>context</code></a> variable.
|
||||
the <a href="#orgaea7150"><code>context</code></a> variable.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org9ffa464" class="outline-3">
|
||||
<h3 id="org9ffa464"><span class="section-number-3">2.12</span> Numerical precision</h3>
|
||||
<div id="outline-container-org217bf91" class="outline-3">
|
||||
<h3 id="org217bf91"><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="#org48bf924"><code>context</code></a>
|
||||
functions will use the precision specified in the <a href="#orgaea7150"><code>context</code></a>
|
||||
variable.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgd30476a" class="outline-3">
|
||||
<h3 id="orgd30476a"><span class="section-number-3">2.13</span> Algorithms</h3>
|
||||
<div id="outline-container-org0dd82d0" class="outline-3">
|
||||
<h3 id="org0dd82d0"><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-10-13 Wed 10:18</p>
|
||||
<p class="date">Created: 2021-10-13 Wed 11:20</p>
|
||||
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||
</div>
|
||||
</body>
|
||||
|
260
qmckl_ao.html
260
qmckl_ao.html
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2021-10-13 Wed 10:18 -->
|
||||
<!-- 2021-10-13 Wed 11:20 -->
|
||||
<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="#org856a730">1. Context</a>
|
||||
<li><a href="#org003adae">1. Context</a>
|
||||
<ul>
|
||||
<li><a href="#orgb7b52c2">1.1. Data structure</a></li>
|
||||
<li><a href="#orgc4c638a">1.2. Access functions</a></li>
|
||||
<li><a href="#org4d848f5">1.3. Initialization functions</a></li>
|
||||
<li><a href="#orgb5ec0f0">1.4. Fortran interfaces</a></li>
|
||||
<li><a href="#org2ecb6b9">1.1. Data structure</a></li>
|
||||
<li><a href="#org1b30065">1.2. Access functions</a></li>
|
||||
<li><a href="#org51b1962">1.3. Initialization functions</a></li>
|
||||
<li><a href="#org3d9b932">1.4. Fortran interfaces</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org840ed6e">2. Radial part</a>
|
||||
<li><a href="#org0496cb8">2. Radial part</a>
|
||||
<ul>
|
||||
<li><a href="#orge442ad4">2.1. <span class="todo TODO">TODO</span> Helper functions to accelerate calculations</a></li>
|
||||
<li><a href="#org155873a">2.2. General functions for Gaussian basis functions</a></li>
|
||||
<li><a href="#orgf29e332">2.3. <span class="todo TODO">TODO</span> General functions for Slater basis functions</a></li>
|
||||
<li><a href="#org758a1f9">2.4. <span class="todo TODO">TODO</span> General functions for Radial functions on a grid</a></li>
|
||||
<li><a href="#org2ce9b62">2.5. Computation of primitives</a>
|
||||
<li><a href="#orgb9d7570">2.1. <span class="todo TODO">TODO</span> Helper functions to accelerate calculations</a></li>
|
||||
<li><a href="#orgd52647e">2.2. General functions for Gaussian basis functions</a></li>
|
||||
<li><a href="#org776e843">2.3. <span class="todo TODO">TODO</span> General functions for Slater basis functions</a></li>
|
||||
<li><a href="#org5fca057">2.4. <span class="todo TODO">TODO</span> General functions for Radial functions on a grid</a></li>
|
||||
<li><a href="#org506c6df">2.5. Computation of primitives</a>
|
||||
<ul>
|
||||
<li><a href="#org7c61692">2.5.1. Get</a></li>
|
||||
<li><a href="#org6213829">2.5.2. Provide</a></li>
|
||||
<li><a href="#org1af3025">2.5.3. Compute</a></li>
|
||||
<li><a href="#orgb00c7da">2.5.4. Test</a></li>
|
||||
<li><a href="#orgac03bfa">2.5.5. Ideas for improvement</a></li>
|
||||
<li><a href="#org061adfb">2.5.1. Get</a></li>
|
||||
<li><a href="#org65aa858">2.5.2. Provide</a></li>
|
||||
<li><a href="#orgbe081d2">2.5.3. Compute</a></li>
|
||||
<li><a href="#orgb8998f4">2.5.4. Test</a></li>
|
||||
<li><a href="#org14ee026">2.5.5. Ideas for improvement</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org74e03d7">2.6. Computation of shells</a>
|
||||
<li><a href="#org2822910">2.6. Computation of shells</a>
|
||||
<ul>
|
||||
<li><a href="#org03ac1f1">2.6.1. Get</a></li>
|
||||
<li><a href="#orgd1e65ac">2.6.2. Provide</a></li>
|
||||
<li><a href="#org4e986d7">2.6.3. Compute</a></li>
|
||||
<li><a href="#org7ece21a">2.6.4. Test</a></li>
|
||||
<li><a href="#org293a60f">2.6.1. Get</a></li>
|
||||
<li><a href="#orgb0bee59">2.6.2. Provide</a></li>
|
||||
<li><a href="#org727f9ae">2.6.3. Compute</a></li>
|
||||
<li><a href="#org171c18d">2.6.4. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgbd2d626">3. Polynomial part</a>
|
||||
<li><a href="#org2f031e5">3. Polynomial part</a>
|
||||
<ul>
|
||||
<li><a href="#org0339b5e">3.1. General functions for Powers of \(x-X_i\)</a>
|
||||
<li><a href="#orgc06e046">3.1. General functions for Powers of \(x-X_i\)</a>
|
||||
<ul>
|
||||
<li><a href="#orga40f163">3.1.1. Requirements</a></li>
|
||||
<li><a href="#orgdf070d1">3.1.2. C Header</a></li>
|
||||
<li><a href="#org3594abe">3.1.3. Source</a></li>
|
||||
<li><a href="#orgdd6f734">3.1.4. C interface</a></li>
|
||||
<li><a href="#org9331f24">3.1.5. Fortran interface</a></li>
|
||||
<li><a href="#org4631fb4">3.1.6. Test</a></li>
|
||||
<li><a href="#org2a488bd">3.1.1. Requirements</a></li>
|
||||
<li><a href="#orgf77dde4">3.1.2. C Header</a></li>
|
||||
<li><a href="#orgb81d064">3.1.3. Source</a></li>
|
||||
<li><a href="#org83272d1">3.1.4. C interface</a></li>
|
||||
<li><a href="#orgde368d7">3.1.5. Fortran interface</a></li>
|
||||
<li><a href="#org44b5c7d">3.1.6. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org0a93be0">3.2. General functions for Value, Gradient and Laplacian of a polynomial</a>
|
||||
<li><a href="#orgef7da4e">3.2. General functions for Value, Gradient and Laplacian of a polynomial</a>
|
||||
<ul>
|
||||
<li><a href="#orge842397">3.2.1. Requirements</a></li>
|
||||
<li><a href="#org49b724a">3.2.2. C Header</a></li>
|
||||
<li><a href="#orgc61025e">3.2.3. Source</a></li>
|
||||
<li><a href="#orgb57b013">3.2.4. C interface</a></li>
|
||||
<li><a href="#org36a4150">3.2.5. Fortran interface</a></li>
|
||||
<li><a href="#orga19cd91">3.2.6. Test</a></li>
|
||||
<li><a href="#org35570b4">3.2.1. Requirements</a></li>
|
||||
<li><a href="#org67be7fa">3.2.2. C Header</a></li>
|
||||
<li><a href="#orgdfdf75c">3.2.3. Source</a></li>
|
||||
<li><a href="#orge488076">3.2.4. C interface</a></li>
|
||||
<li><a href="#orgded99dd">3.2.5. Fortran interface</a></li>
|
||||
<li><a href="#org7b31a36">3.2.6. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org8294959">4. Combining radial and polynomial parts</a>
|
||||
<li><a href="#org649c8d2">4. Combining radial and polynomial parts</a>
|
||||
<ul>
|
||||
<li>
|
||||
<ul>
|
||||
<li><a href="#orgb9ecaba">4.0.1. Get</a></li>
|
||||
<li><a href="#orge1e9755">4.0.2. Provide</a></li>
|
||||
<li><a href="#org2ebcf9f">4.0.3. Compute</a></li>
|
||||
<li><a href="#orgea7bf57">4.0.4. Test</a></li>
|
||||
<li><a href="#org72db2d4">4.0.1. Get</a></li>
|
||||
<li><a href="#orgde7032a">4.0.2. Provide</a></li>
|
||||
<li><a href="#orgb99dfb1">4.0.3. Compute</a></li>
|
||||
<li><a href="#org30c49d5">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-org856a730" class="outline-2">
|
||||
<h2 id="org856a730"><span class="section-number-2">1</span> Context</h2>
|
||||
<div id="outline-container-org003adae" class="outline-2">
|
||||
<h2 id="org003adae"><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-orgb7b52c2" class="outline-3">
|
||||
<h3 id="orgb7b52c2"><span class="section-number-3">1.1</span> Data structure</h3>
|
||||
<div id="outline-container-org2ecb6b9" class="outline-3">
|
||||
<h3 id="org2ecb6b9"><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-orgc4c638a" class="outline-3">
|
||||
<h3 id="orgc4c638a"><span class="section-number-3">1.2</span> Access functions</h3>
|
||||
<div id="outline-container-org1b30065" class="outline-3">
|
||||
<h3 id="org1b30065"><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-org4d848f5" class="outline-3">
|
||||
<h3 id="org4d848f5"><span class="section-number-3">1.3</span> Initialization functions</h3>
|
||||
<div id="outline-container-org51b1962" class="outline-3">
|
||||
<h3 id="org51b1962"><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-orgb5ec0f0" class="outline-3">
|
||||
<h3 id="orgb5ec0f0"><span class="section-number-3">1.4</span> Fortran interfaces</h3>
|
||||
<div id="outline-container-org3d9b932" class="outline-3">
|
||||
<h3 id="org3d9b932"><span class="section-number-3">1.4</span> Fortran interfaces</h3>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org840ed6e" class="outline-2">
|
||||
<h2 id="org840ed6e"><span class="section-number-2">2</span> Radial part</h2>
|
||||
<div id="outline-container-org0496cb8" class="outline-2">
|
||||
<h2 id="org0496cb8"><span class="section-number-2">2</span> Radial part</h2>
|
||||
<div class="outline-text-2" id="text-2">
|
||||
</div>
|
||||
<div id="outline-container-orge442ad4" class="outline-3">
|
||||
<h3 id="orge442ad4"><span class="section-number-3">2.1</span> <span class="todo TODO">TODO</span> Helper functions to accelerate calculations</h3>
|
||||
<div id="outline-container-orgb9d7570" class="outline-3">
|
||||
<h3 id="orgb9d7570"><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-org155873a" class="outline-3">
|
||||
<h3 id="org155873a"><span class="section-number-3">2.2</span> General functions for Gaussian basis functions</h3>
|
||||
<div id="outline-container-orgd52647e" class="outline-3">
|
||||
<h3 id="orgd52647e"><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-orgf29e332" class="outline-3">
|
||||
<h3 id="orgf29e332"><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-org776e843" class="outline-3">
|
||||
<h3 id="org776e843"><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-org758a1f9" class="outline-3">
|
||||
<h3 id="org758a1f9"><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-org5fca057" class="outline-3">
|
||||
<h3 id="org5fca057"><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-org2ce9b62" class="outline-3">
|
||||
<h3 id="org2ce9b62"><span class="section-number-3">2.5</span> Computation of primitives</h3>
|
||||
<div id="outline-container-org506c6df" class="outline-3">
|
||||
<h3 id="org506c6df"><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-org7c61692" class="outline-4">
|
||||
<h4 id="org7c61692"><span class="section-number-4">2.5.1</span> Get</h4>
|
||||
<div id="outline-container-org061adfb" class="outline-4">
|
||||
<h4 id="org061adfb"><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-org6213829" class="outline-4">
|
||||
<h4 id="org6213829"><span class="section-number-4">2.5.2</span> Provide</h4>
|
||||
<div id="outline-container-org65aa858" class="outline-4">
|
||||
<h4 id="org65aa858"><span class="section-number-4">2.5.2</span> Provide</h4>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org1af3025" class="outline-4">
|
||||
<h4 id="org1af3025"><span class="section-number-4">2.5.3</span> Compute</h4>
|
||||
<div id="outline-container-orgbe081d2" class="outline-4">
|
||||
<h4 id="orgbe081d2"><span class="section-number-4">2.5.3</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-5-3">
|
||||
<table id="org58a3921" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org8f317b6" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -1213,12 +1213,12 @@ Requirements
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgb00c7da" class="outline-4">
|
||||
<h4 id="orgb00c7da"><span class="section-number-4">2.5.4</span> Test</h4>
|
||||
<div id="outline-container-orgb8998f4" class="outline-4">
|
||||
<h4 id="orgb8998f4"><span class="section-number-4">2.5.4</span> Test</h4>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgac03bfa" class="outline-4">
|
||||
<h4 id="orgac03bfa"><span class="section-number-4">2.5.5</span> Ideas for improvement</h4>
|
||||
<div id="outline-container-org14ee026" class="outline-4">
|
||||
<h4 id="org14ee026"><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;">j : electrons</span>
|
||||
@ -1252,12 +1252,12 @@ k=0;
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org74e03d7" class="outline-3">
|
||||
<h3 id="org74e03d7"><span class="section-number-3">2.6</span> Computation of shells</h3>
|
||||
<div id="outline-container-org2822910" class="outline-3">
|
||||
<h3 id="org2822910"><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-org03ac1f1" class="outline-4">
|
||||
<h4 id="org03ac1f1"><span class="section-number-4">2.6.1</span> Get</h4>
|
||||
<div id="outline-container-org293a60f" class="outline-4">
|
||||
<h4 id="org293a60f"><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>);
|
||||
@ -1266,14 +1266,14 @@ k=0;
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgd1e65ac" class="outline-4">
|
||||
<h4 id="orgd1e65ac"><span class="section-number-4">2.6.2</span> Provide</h4>
|
||||
<div id="outline-container-orgb0bee59" class="outline-4">
|
||||
<h4 id="orgb0bee59"><span class="section-number-4">2.6.2</span> Provide</h4>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org4e986d7" class="outline-4">
|
||||
<h4 id="org4e986d7"><span class="section-number-4">2.6.3</span> Compute</h4>
|
||||
<div id="outline-container-org727f9ae" class="outline-4">
|
||||
<h4 id="org727f9ae"><span class="section-number-4">2.6.3</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-6-3">
|
||||
<table id="org7bbfa3d" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org58953b6" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -1494,14 +1494,14 @@ k=0;
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org7ece21a" class="outline-4">
|
||||
<h4 id="org7ece21a"><span class="section-number-4">2.6.4</span> Test</h4>
|
||||
<div id="outline-container-org171c18d" class="outline-4">
|
||||
<h4 id="org171c18d"><span class="section-number-4">2.6.4</span> Test</h4>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgbd2d626" class="outline-2">
|
||||
<h2 id="orgbd2d626"><span class="section-number-2">3</span> Polynomial part</h2>
|
||||
<div id="outline-container-org2f031e5" class="outline-2">
|
||||
<h2 id="org2f031e5"><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
|
||||
@ -1521,8 +1521,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-org0339b5e" class="outline-3">
|
||||
<h3 id="org0339b5e"><span class="section-number-3">3.1</span> General functions for Powers of \(x-X_i\)</h3>
|
||||
<div id="outline-container-orgc06e046" class="outline-3">
|
||||
<h3 id="orgc06e046"><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>
|
||||
@ -1534,7 +1534,7 @@ the \(n\) points:
|
||||
\[ P_{ik} = X_i^k \]
|
||||
</p>
|
||||
|
||||
<table id="org6e88ddd" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orgb4fb834" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -1592,8 +1592,8 @@ the \(n\) points:
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orga40f163" class="outline-4">
|
||||
<h4 id="orga40f163"><span class="section-number-4">3.1.1</span> Requirements</h4>
|
||||
<div id="outline-container-org2a488bd" class="outline-4">
|
||||
<h4 id="org2a488bd"><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>
|
||||
@ -1606,8 +1606,8 @@ the \(n\) points:
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgdf070d1" class="outline-4">
|
||||
<h4 id="orgdf070d1"><span class="section-number-4">3.1.2</span> C Header</h4>
|
||||
<div id="outline-container-orgf77dde4" class="outline-4">
|
||||
<h4 id="orgf77dde4"><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> (
|
||||
@ -1622,8 +1622,8 @@ the \(n\) points:
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org3594abe" class="outline-4">
|
||||
<h4 id="org3594abe"><span class="section-number-4">3.1.3</span> Source</h4>
|
||||
<div id="outline-container-orgb81d064" class="outline-4">
|
||||
<h4 id="orgb81d064"><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>
|
||||
@ -1674,15 +1674,15 @@ the \(n\) points:
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgdd6f734" class="outline-4">
|
||||
<h4 id="orgdd6f734"><span class="section-number-4">3.1.4</span> C interface</h4>
|
||||
<div id="outline-container-org83272d1" class="outline-4">
|
||||
<h4 id="org83272d1"><span class="section-number-4">3.1.4</span> C interface</h4>
|
||||
</div>
|
||||
<div id="outline-container-org9331f24" class="outline-4">
|
||||
<h4 id="org9331f24"><span class="section-number-4">3.1.5</span> Fortran interface</h4>
|
||||
<div id="outline-container-orgde368d7" class="outline-4">
|
||||
<h4 id="orgde368d7"><span class="section-number-4">3.1.5</span> Fortran interface</h4>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org4631fb4" class="outline-4">
|
||||
<h4 id="org4631fb4"><span class="section-number-4">3.1.6</span> Test</h4>
|
||||
<div id="outline-container-org44b5c7d" class="outline-4">
|
||||
<h4 id="org44b5c7d"><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)
|
||||
@ -1733,8 +1733,8 @@ the \(n\) points:
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org0a93be0" class="outline-3">
|
||||
<h3 id="org0a93be0"><span class="section-number-3">3.2</span> General functions for Value, Gradient and Laplacian of a polynomial</h3>
|
||||
<div id="outline-container-orgef7da4e" class="outline-3">
|
||||
<h3 id="orgef7da4e"><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\)
|
||||
@ -1779,7 +1779,7 @@ Laplacians at a given point in space, of all polynomials with an
|
||||
angular momentum up to <code>lmax</code>.
|
||||
</p>
|
||||
|
||||
<table id="org0bd8bf7" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org9739282" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -1858,8 +1858,8 @@ angular momentum up to <code>lmax</code>.
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orge842397" class="outline-4">
|
||||
<h4 id="orge842397"><span class="section-number-4">3.2.1</span> Requirements</h4>
|
||||
<div id="outline-container-org35570b4" class="outline-4">
|
||||
<h4 id="org35570b4"><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>
|
||||
@ -1884,8 +1884,8 @@ For example, with a=0, b=2 and c=1 the string is "yyz"</li>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org49b724a" class="outline-4">
|
||||
<h4 id="org49b724a"><span class="section-number-4">3.2.2</span> C Header</h4>
|
||||
<div id="outline-container-org67be7fa" class="outline-4">
|
||||
<h4 id="org67be7fa"><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_ao_polynomial_vgl</span> (
|
||||
@ -1903,8 +1903,8 @@ For example, with a=0, b=2 and c=1 the string is "yyz"</li>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgc61025e" class="outline-4">
|
||||
<h4 id="orgc61025e"><span class="section-number-4">3.2.3</span> Source</h4>
|
||||
<div id="outline-container-orgdfdf75c" class="outline-4">
|
||||
<h4 id="orgdfdf75c"><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>
|
||||
@ -2038,16 +2038,16 @@ For example, with a=0, b=2 and c=1 the string is "yyz"</li>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgb57b013" class="outline-4">
|
||||
<h4 id="orgb57b013"><span class="section-number-4">3.2.4</span> C interface</h4>
|
||||
<div id="outline-container-orge488076" class="outline-4">
|
||||
<h4 id="orge488076"><span class="section-number-4">3.2.4</span> C interface</h4>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org36a4150" class="outline-4">
|
||||
<h4 id="org36a4150"><span class="section-number-4">3.2.5</span> Fortran interface</h4>
|
||||
<div id="outline-container-orgded99dd" class="outline-4">
|
||||
<h4 id="orgded99dd"><span class="section-number-4">3.2.5</span> Fortran interface</h4>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orga19cd91" class="outline-4">
|
||||
<h4 id="orga19cd91"><span class="section-number-4">3.2.6</span> Test</h4>
|
||||
<div id="outline-container-org7b31a36" class="outline-4">
|
||||
<h4 id="org7b31a36"><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)
|
||||
@ -2152,12 +2152,12 @@ assert(0 == test_qmckl_ao_polynomial_vgl(context));
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org8294959" class="outline-2">
|
||||
<h2 id="org8294959"><span class="section-number-2">4</span> Combining radial and polynomial parts</h2>
|
||||
<div id="outline-container-org649c8d2" class="outline-2">
|
||||
<h2 id="org649c8d2"><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-orgb9ecaba" class="outline-4">
|
||||
<h4 id="orgb9ecaba"><span class="section-number-4">4.0.1</span> Get</h4>
|
||||
<div id="outline-container-org72db2d4" class="outline-4">
|
||||
<h4 id="org72db2d4"><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>);
|
||||
@ -2166,14 +2166,14 @@ assert(0 == test_qmckl_ao_polynomial_vgl(context));
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orge1e9755" class="outline-4">
|
||||
<h4 id="orge1e9755"><span class="section-number-4">4.0.2</span> Provide</h4>
|
||||
<div id="outline-container-orgde7032a" class="outline-4">
|
||||
<h4 id="orgde7032a"><span class="section-number-4">4.0.2</span> Provide</h4>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org2ebcf9f" class="outline-4">
|
||||
<h4 id="org2ebcf9f"><span class="section-number-4">4.0.3</span> Compute</h4>
|
||||
<div id="outline-container-orgb99dfb1" class="outline-4">
|
||||
<h4 id="orgb99dfb1"><span class="section-number-4">4.0.3</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-4-0-3">
|
||||
<table id="org11770ea" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org8c19a35" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -2438,14 +2438,14 @@ assert(0 == test_qmckl_ao_polynomial_vgl(context));
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgea7bf57" class="outline-4">
|
||||
<h4 id="orgea7bf57"><span class="section-number-4">4.0.4</span> Test</h4>
|
||||
<div id="outline-container-org30c49d5" class="outline-4">
|
||||
<h4 id="org30c49d5"><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-10-13 Wed 10:18</p>
|
||||
<p class="date">Created: 2021-10-13 Wed 11:20</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-10-13 Wed 10:18 -->
|
||||
<!-- 2021-10-13 Wed 11:20 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>BLAS 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="#org741dacb">1. Matrix operations</a>
|
||||
<li><a href="#org21ac435">1. Matrix operations</a>
|
||||
<ul>
|
||||
<li><a href="#org5140ac0">1.1. <code>qmckl_dgemm</code></a>
|
||||
<li><a href="#org34f6535">1.1. <code>qmckl_dgemm</code></a>
|
||||
<ul>
|
||||
<li><a href="#orgd5e0150">1.1.1. Requirements</a></li>
|
||||
<li><a href="#org430b98c">1.1.2. C header</a></li>
|
||||
<li><a href="#org28bbdc6">1.1.3. Source</a></li>
|
||||
<li><a href="#org4420fe7">1.1.1. Requirements</a></li>
|
||||
<li><a href="#orgbd0fffe">1.1.2. C header</a></li>
|
||||
<li><a href="#org1e0aeda">1.1.3. Source</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@ -348,19 +348,19 @@ for the JavaScript code in this tag.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org741dacb" class="outline-2">
|
||||
<h2 id="org741dacb"><span class="section-number-2">1</span> Matrix operations</h2>
|
||||
<div id="outline-container-org21ac435" class="outline-2">
|
||||
<h2 id="org21ac435"><span class="section-number-2">1</span> Matrix operations</h2>
|
||||
<div class="outline-text-2" id="text-1">
|
||||
</div>
|
||||
<div id="outline-container-org5140ac0" class="outline-3">
|
||||
<h3 id="org5140ac0"><span class="section-number-3">1.1</span> <code>qmckl_dgemm</code></h3>
|
||||
<div id="outline-container-org34f6535" class="outline-3">
|
||||
<h3 id="org34f6535"><span class="section-number-3">1.1</span> <code>qmckl_dgemm</code></h3>
|
||||
<div class="outline-text-3" id="text-1-1">
|
||||
<p>
|
||||
Matrix multiply l\(C_{ij} = \beta C_{ij} + \alpha \sum_{k} A_{ik} \cdot B_{kj}\) using Fortran <code>matmul</code> function.
|
||||
TODO: Add description about the external library dependence.
|
||||
</p>
|
||||
|
||||
<table id="org31a9aee" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org7837645" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -474,8 +474,8 @@ TODO: Add description about the external library dependence.
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgd5e0150" class="outline-4">
|
||||
<h4 id="orgd5e0150"><span class="section-number-4">1.1.1</span> Requirements</h4>
|
||||
<div id="outline-container-org4420fe7" class="outline-4">
|
||||
<h4 id="org4420fe7"><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>
|
||||
@ -492,8 +492,8 @@ TODO: Add description about the external library dependence.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org430b98c" class="outline-4">
|
||||
<h4 id="org430b98c"><span class="section-number-4">1.1.2</span> C header</h4>
|
||||
<div id="outline-container-orgbd0fffe" class="outline-4">
|
||||
<h4 id="orgbd0fffe"><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_dgemm</span> (
|
||||
@ -517,8 +517,8 @@ TODO: Add description about the external library dependence.
|
||||
</div>
|
||||
|
||||
|
||||
<div id="outline-container-org28bbdc6" class="outline-4">
|
||||
<h4 id="org28bbdc6"><span class="section-number-4">1.1.3</span> Source</h4>
|
||||
<div id="outline-container-org1e0aeda" class="outline-4">
|
||||
<h4 id="org1e0aeda"><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_dgemm_f</span><span style="color: #000000; background-color: #ffffff;">(context, TransA, TransB, m, n, k, alpha, A, LDA, B, LDB, beta, C, LDC)</span><span style="color: #a0522d;"> </span><span style="color: #a020f0;">&</span>
|
||||
@ -617,7 +617,7 @@ TODO: Add description about the external library dependence.
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: TREX CoE</p>
|
||||
<p class="date">Created: 2021-10-13 Wed 10:18</p>
|
||||
<p class="date">Created: 2021-10-13 Wed 11:20</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-10-13 Wed 10:18 -->
|
||||
<!-- 2021-10-13 Wed 11:20 -->
|
||||
<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="#orga4b7bb6">1. Context handling</a>
|
||||
<li><a href="#org668e8ff">1. Context handling</a>
|
||||
<ul>
|
||||
<li><a href="#org30bfa92">1.1. Data structure</a></li>
|
||||
<li><a href="#orge73659d">1.2. Creation</a></li>
|
||||
<li><a href="#orgf10ed0b">1.3. Locking</a></li>
|
||||
<li><a href="#org9a94341">1.4. <span class="todo TODO">TODO</span> Copy</a></li>
|
||||
<li><a href="#org596f267">1.5. Destroy</a></li>
|
||||
<li><a href="#orgbbf8b6b">1.1. Data structure</a></li>
|
||||
<li><a href="#orgc035ad4">1.2. Creation</a></li>
|
||||
<li><a href="#org3e2ee39">1.3. Locking</a></li>
|
||||
<li><a href="#org4a464f7">1.4. <span class="todo TODO">TODO</span> Copy</a></li>
|
||||
<li><a href="#org182b1f0">1.5. Destroy</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orga4b7bb6" class="outline-2">
|
||||
<h2 id="orga4b7bb6"><span class="section-number-2">1</span> Context handling</h2>
|
||||
<div id="outline-container-org668e8ff" class="outline-2">
|
||||
<h2 id="org668e8ff"><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="orgb9f3ad2"><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="org89a1c86"><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-org30bfa92" class="outline-3">
|
||||
<h3 id="org30bfa92"><span class="section-number-3">1.1</span> Data structure</h3>
|
||||
<div id="outline-container-orgbbf8b6b" class="outline-3">
|
||||
<h3 id="orgbbf8b6b"><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="#orge73659d">qmckl<sub>context</sub><sub>create</sub></a>, <a href="#org596f267">qmckl<sub>context</sub><sub>destroy</sub></a> and <a href="#org9a94341">qmckl<sub>context</sub><sub>copy</sub></a>
|
||||
<a href="#orgc035ad4">qmckl<sub>context</sub><sub>create</sub></a>, <a href="#org182b1f0">qmckl<sub>context</sub><sub>destroy</sub></a> and <a href="#org4a464f7">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-orge73659d" class="outline-3">
|
||||
<h3 id="orge73659d"><span class="section-number-3">1.2</span> Creation</h3>
|
||||
<div id="outline-container-orgc035ad4" class="outline-3">
|
||||
<h3 id="orgc035ad4"><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-orgf10ed0b" class="outline-3">
|
||||
<h3 id="orgf10ed0b"><span class="section-number-3">1.3</span> Locking</h3>
|
||||
<div id="outline-container-org3e2ee39" class="outline-3">
|
||||
<h3 id="org3e2ee39"><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-org9a94341" class="outline-3">
|
||||
<h3 id="org9a94341"><span class="section-number-3">1.4</span> <span class="todo TODO">TODO</span> Copy</h3>
|
||||
<div id="outline-container-org4a464f7" class="outline-3">
|
||||
<h3 id="org4a464f7"><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-org596f267" class="outline-3">
|
||||
<h3 id="org596f267"><span class="section-number-3">1.5</span> Destroy</h3>
|
||||
<div id="outline-container-org182b1f0" class="outline-3">
|
||||
<h3 id="org182b1f0"><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-10-13 Wed 10:18</p>
|
||||
<p class="date">Created: 2021-10-13 Wed 11:20</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-10-13 Wed 10:18 -->
|
||||
<!-- 2021-10-13 Wed 11:20 -->
|
||||
<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="#org5a33134">1. Squared distance</a>
|
||||
<li><a href="#org48518c8">1. Squared distance</a>
|
||||
<ul>
|
||||
<li><a href="#orgff7e36b">1.1. <code>qmckl_distance_sq</code></a>
|
||||
<li><a href="#orgdd89c94">1.1. <code>qmckl_distance_sq</code></a>
|
||||
<ul>
|
||||
<li><a href="#org7dd7bd2">1.1.1. Requirements</a></li>
|
||||
<li><a href="#org6148000">1.1.2. C header</a></li>
|
||||
<li><a href="#orga9d05e1">1.1.3. Source</a></li>
|
||||
<li><a href="#orgf1bf91f">1.1.4. Performance</a></li>
|
||||
<li><a href="#orgf7566c9">1.1.1. Requirements</a></li>
|
||||
<li><a href="#orgdf8a062">1.1.2. C header</a></li>
|
||||
<li><a href="#org8c9a65c">1.1.3. Source</a></li>
|
||||
<li><a href="#orge5b8a5c">1.1.4. Performance</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org51e478d">2. Distance</a>
|
||||
<li><a href="#orgba976a2">2. Distance</a>
|
||||
<ul>
|
||||
<li><a href="#org20ca90b">2.1. <code>qmckl_distance</code></a>
|
||||
<li><a href="#orgb650423">2.1. <code>qmckl_distance</code></a>
|
||||
<ul>
|
||||
<li><a href="#org666e518">2.1.1. Requirements</a></li>
|
||||
<li><a href="#org35d60b6">2.1.2. C header</a></li>
|
||||
<li><a href="#org79186a7">2.1.3. Source</a></li>
|
||||
<li><a href="#org89ed18b">2.1.4. Performance</a></li>
|
||||
<li><a href="#orgb5de7ae">2.1.1. Requirements</a></li>
|
||||
<li><a href="#org3a320e9">2.1.2. C header</a></li>
|
||||
<li><a href="#org9406f51">2.1.3. Source</a></li>
|
||||
<li><a href="#orgad17e4c">2.1.4. Performance</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org03f4252">3. Rescaled Distance</a>
|
||||
<li><a href="#org9f5accb">3. Rescaled Distance</a>
|
||||
<ul>
|
||||
<li><a href="#org8d1937c">3.1. <code>qmckl_distance_rescaled</code></a>
|
||||
<li><a href="#org6e022e7">3.1. <code>qmckl_distance_rescaled</code></a>
|
||||
<ul>
|
||||
<li><a href="#orgfe47a11">3.1.1. Requirements</a></li>
|
||||
<li><a href="#orgd730036">3.1.2. C header</a></li>
|
||||
<li><a href="#orge2de77c">3.1.3. Source</a></li>
|
||||
<li><a href="#org96499a7">3.1.4. Performance</a></li>
|
||||
<li><a href="#org7c668e9">3.1.1. Requirements</a></li>
|
||||
<li><a href="#org1637b10">3.1.2. C header</a></li>
|
||||
<li><a href="#orgb18f38a">3.1.3. Source</a></li>
|
||||
<li><a href="#org73a8873">3.1.4. Performance</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orga879115">4. Rescaled Distance Derivatives</a>
|
||||
<li><a href="#org3dc05b0">4. Rescaled Distance Derivatives</a>
|
||||
<ul>
|
||||
<li><a href="#org7134cd3">4.1. <code>qmckl_distance_rescaled_deriv_e</code></a>
|
||||
<li><a href="#orgfc4057e">4.1. <code>qmckl_distance_rescaled_deriv_e</code></a>
|
||||
<ul>
|
||||
<li><a href="#org60da571">4.1.1. Requirements</a></li>
|
||||
<li><a href="#orgf60aa63">4.1.2. C header</a></li>
|
||||
<li><a href="#org9ae06f8">4.1.3. Source</a></li>
|
||||
<li><a href="#orgf7ca448">4.1.4. Performance</a></li>
|
||||
<li><a href="#org859137d">4.1.1. Requirements</a></li>
|
||||
<li><a href="#org2cc9344">4.1.2. C header</a></li>
|
||||
<li><a href="#org6bbb7de">4.1.3. Source</a></li>
|
||||
<li><a href="#org8a2f272">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-org5a33134" class="outline-2">
|
||||
<h2 id="org5a33134"><span class="section-number-2">1</span> Squared distance</h2>
|
||||
<div id="outline-container-org48518c8" class="outline-2">
|
||||
<h2 id="org48518c8"><span class="section-number-2">1</span> Squared distance</h2>
|
||||
<div class="outline-text-2" id="text-1">
|
||||
</div>
|
||||
<div id="outline-container-orgff7e36b" class="outline-3">
|
||||
<h3 id="orgff7e36b"><span class="section-number-3">1.1</span> <code>qmckl_distance_sq</code></h3>
|
||||
<div id="outline-container-orgdd89c94" class="outline-3">
|
||||
<h3 id="orgdd89c94"><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="org9e8b5e4" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org581f05c" 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-org7dd7bd2" class="outline-4">
|
||||
<h4 id="org7dd7bd2"><span class="section-number-4">1.1.1</span> Requirements</h4>
|
||||
<div id="outline-container-orgf7566c9" class="outline-4">
|
||||
<h4 id="orgf7566c9"><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-org6148000" class="outline-4">
|
||||
<h4 id="org6148000"><span class="section-number-4">1.1.2</span> C header</h4>
|
||||
<div id="outline-container-orgdf8a062" class="outline-4">
|
||||
<h4 id="orgdf8a062"><span class="section-number-4">1.1.2</span> C header</h4>
|
||||
<div class="outline-text-4" id="text-1-1-2">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_distance_sq</span> (
|
||||
@ -536,8 +536,8 @@ between all pairs of points in two sets, one point within each set:
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orga9d05e1" class="outline-4">
|
||||
<h4 id="orga9d05e1"><span class="section-number-4">1.1.3</span> Source</h4>
|
||||
<div id="outline-container-org8c9a65c" class="outline-4">
|
||||
<h4 id="org8c9a65c"><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-orgf1bf91f" class="outline-4">
|
||||
<h4 id="orgf1bf91f"><span class="section-number-4">1.1.4</span> Performance</h4>
|
||||
<div id="outline-container-orge5b8a5c" class="outline-4">
|
||||
<h4 id="orge5b8a5c"><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-org51e478d" class="outline-2">
|
||||
<h2 id="org51e478d"><span class="section-number-2">2</span> Distance</h2>
|
||||
<div id="outline-container-orgba976a2" class="outline-2">
|
||||
<h2 id="orgba976a2"><span class="section-number-2">2</span> Distance</h2>
|
||||
<div class="outline-text-2" id="text-2">
|
||||
</div>
|
||||
<div id="outline-container-org20ca90b" class="outline-3">
|
||||
<h3 id="org20ca90b"><span class="section-number-3">2.1</span> <code>qmckl_distance</code></h3>
|
||||
<div id="outline-container-orgb650423" class="outline-3">
|
||||
<h3 id="orgb650423"><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="org92a4fe4" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org10cbab2" 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-org666e518" class="outline-4">
|
||||
<h4 id="org666e518"><span class="section-number-4">2.1.1</span> Requirements</h4>
|
||||
<div id="outline-container-orgb5de7ae" class="outline-4">
|
||||
<h4 id="orgb5de7ae"><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-org35d60b6" class="outline-4">
|
||||
<h4 id="org35d60b6"><span class="section-number-4">2.1.2</span> C header</h4>
|
||||
<div id="outline-container-org3a320e9" class="outline-4">
|
||||
<h4 id="org3a320e9"><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</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-org79186a7" class="outline-4">
|
||||
<h4 id="org79186a7"><span class="section-number-4">2.1.3</span> Source</h4>
|
||||
<div id="outline-container-org9406f51" class="outline-4">
|
||||
<h4 id="org9406f51"><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-org89ed18b" class="outline-4">
|
||||
<h4 id="org89ed18b"><span class="section-number-4">2.1.4</span> Performance</h4>
|
||||
<div id="outline-container-orgad17e4c" class="outline-4">
|
||||
<h4 id="orgad17e4c"><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-org03f4252" class="outline-2">
|
||||
<h2 id="org03f4252"><span class="section-number-2">3</span> Rescaled Distance</h2>
|
||||
<div id="outline-container-org9f5accb" class="outline-2">
|
||||
<h2 id="org9f5accb"><span class="section-number-2">3</span> Rescaled Distance</h2>
|
||||
<div class="outline-text-2" id="text-3">
|
||||
</div>
|
||||
<div id="outline-container-org8d1937c" class="outline-3">
|
||||
<h3 id="org8d1937c"><span class="section-number-3">3.1</span> <code>qmckl_distance_rescaled</code></h3>
|
||||
<div id="outline-container-org6e022e7" class="outline-3">
|
||||
<h3 id="org6e022e7"><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="orgd3ec261" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orgeec4bdd" 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-orgfe47a11" class="outline-4">
|
||||
<h4 id="orgfe47a11"><span class="section-number-4">3.1.1</span> Requirements</h4>
|
||||
<div id="outline-container-org7c668e9" class="outline-4">
|
||||
<h4 id="org7c668e9"><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-orgd730036" class="outline-4">
|
||||
<h4 id="orgd730036"><span class="section-number-4">3.1.2</span> C header</h4>
|
||||
<div id="outline-container-org1637b10" class="outline-4">
|
||||
<h4 id="org1637b10"><span class="section-number-4">3.1.2</span> C header</h4>
|
||||
<div class="outline-text-4" id="text-3-1-2">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_distance_rescaled</span> (
|
||||
@ -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-orge2de77c" class="outline-4">
|
||||
<h4 id="orge2de77c"><span class="section-number-4">3.1.3</span> Source</h4>
|
||||
<div id="outline-container-orgb18f38a" class="outline-4">
|
||||
<h4 id="orgb18f38a"><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-org96499a7" class="outline-4">
|
||||
<h4 id="org96499a7"><span class="section-number-4">3.1.4</span> Performance</h4>
|
||||
<div id="outline-container-org73a8873" class="outline-4">
|
||||
<h4 id="org73a8873"><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-orga879115" class="outline-2">
|
||||
<h2 id="orga879115"><span class="section-number-2">4</span> Rescaled Distance Derivatives</h2>
|
||||
<div id="outline-container-org3dc05b0" class="outline-2">
|
||||
<h2 id="org3dc05b0"><span class="section-number-2">4</span> Rescaled Distance Derivatives</h2>
|
||||
<div class="outline-text-2" id="text-4">
|
||||
</div>
|
||||
<div id="outline-container-org7134cd3" class="outline-3">
|
||||
<h3 id="org7134cd3"><span class="section-number-3">4.1</span> <code>qmckl_distance_rescaled_deriv_e</code></h3>
|
||||
<div id="outline-container-orgfc4057e" class="outline-3">
|
||||
<h3 id="orgfc4057e"><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="org4af9933" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orgda9354e" 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-org60da571" class="outline-4">
|
||||
<h4 id="org60da571"><span class="section-number-4">4.1.1</span> Requirements</h4>
|
||||
<div id="outline-container-org859137d" class="outline-4">
|
||||
<h4 id="org859137d"><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-orgf60aa63" class="outline-4">
|
||||
<h4 id="orgf60aa63"><span class="section-number-4">4.1.2</span> C header</h4>
|
||||
<div id="outline-container-org2cc9344" class="outline-4">
|
||||
<h4 id="org2cc9344"><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-org9ae06f8" class="outline-4">
|
||||
<h4 id="org9ae06f8"><span class="section-number-4">4.1.3</span> Source</h4>
|
||||
<div id="outline-container-org6bbb7de" class="outline-4">
|
||||
<h4 id="org6bbb7de"><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-orgf7ca448" class="outline-4">
|
||||
<h4 id="orgf7ca448"><span class="section-number-4">4.1.4</span> Performance</h4>
|
||||
<div id="outline-container-org8a2f272" class="outline-4">
|
||||
<h4 id="org8a2f272"><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-10-13 Wed 10:18</p>
|
||||
<p class="date">Created: 2021-10-13 Wed 11:20</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-10-13 Wed 10:18 -->
|
||||
<!-- 2021-10-13 Wed 11:20 -->
|
||||
<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="#org05af73b">1. Context</a>
|
||||
<li><a href="#orgb60cddf">1. Context</a>
|
||||
<ul>
|
||||
<li><a href="#orgeca03d9">1.1. Data structure</a></li>
|
||||
<li><a href="#orgd34a317">1.2. Access functions</a>
|
||||
<li><a href="#org79b55c8">1.1. Data structure</a></li>
|
||||
<li><a href="#org569e685">1.2. Access functions</a>
|
||||
<ul>
|
||||
<li><a href="#org693b08f">1.2.1. Number of electrons</a></li>
|
||||
<li><a href="#orgca13757">1.2.2. Number of walkers</a></li>
|
||||
<li><a href="#orgbaf8bd6">1.2.3. Scaling factors Kappa</a></li>
|
||||
<li><a href="#org9412e1c">1.2.4. Electron coordinates</a></li>
|
||||
<li><a href="#org858aef6">1.2.1. Number of electrons</a></li>
|
||||
<li><a href="#org450c098">1.2.2. Number of walkers</a></li>
|
||||
<li><a href="#org5213f8d">1.2.3. Scaling factors Kappa</a></li>
|
||||
<li><a href="#orgf40f7d8">1.2.4. Electron coordinates</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org65c1217">1.3. Initialization functions</a></li>
|
||||
<li><a href="#orgde6a047">1.4. Test</a></li>
|
||||
<li><a href="#org4d9bcd2">1.3. Initialization functions</a></li>
|
||||
<li><a href="#org0102feb">1.4. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org8e014c8">2. Computation</a>
|
||||
<li><a href="#org52db1b1">2. Computation</a>
|
||||
<ul>
|
||||
<li><a href="#org7525e62">2.1. Electron-electron distances</a>
|
||||
<li><a href="#orgdff2c28">2.1. Electron-electron distances</a>
|
||||
<ul>
|
||||
<li><a href="#orga5dacf5">2.1.1. Get</a></li>
|
||||
<li><a href="#org6ef474e">2.1.2. Compute</a></li>
|
||||
<li><a href="#orga6fe920">2.1.3. Test</a></li>
|
||||
<li><a href="#orgf517725">2.1.1. Get</a></li>
|
||||
<li><a href="#orgfe131ea">2.1.2. Compute</a></li>
|
||||
<li><a href="#org2310b81">2.1.3. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgc084944">2.2. Electron-electron rescaled distances</a>
|
||||
<li><a href="#org3b5da54">2.2. Electron-electron rescaled distances</a>
|
||||
<ul>
|
||||
<li><a href="#org44c2c08">2.2.1. Get</a></li>
|
||||
<li><a href="#org85a2e07">2.2.2. Compute</a></li>
|
||||
<li><a href="#org5bebd82">2.2.3. Test</a></li>
|
||||
<li><a href="#orgb030a12">2.2.1. Get</a></li>
|
||||
<li><a href="#orgcb2e8e5">2.2.2. Compute</a></li>
|
||||
<li><a href="#org98d2fac">2.2.3. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org0160e5d">2.3. Electron-electron rescaled distance gradients and laplacian with respect to electron coords</a>
|
||||
<li><a href="#org6e54822">2.3. Electron-electron rescaled distance gradients and laplacian with respect to electron coords</a>
|
||||
<ul>
|
||||
<li><a href="#org371a7b4">2.3.1. Get</a></li>
|
||||
<li><a href="#org62387c0">2.3.2. Compute</a></li>
|
||||
<li><a href="#org11f7635">2.3.3. Test</a></li>
|
||||
<li><a href="#org88adc48">2.3.1. Get</a></li>
|
||||
<li><a href="#org46b1da4">2.3.2. Compute</a></li>
|
||||
<li><a href="#org887bd2c">2.3.3. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org39e2bda">2.4. Electron-nucleus distances</a>
|
||||
<li><a href="#org1cdd43c">2.4. Electron-nucleus distances</a>
|
||||
<ul>
|
||||
<li><a href="#org3615bcd">2.4.1. Get</a></li>
|
||||
<li><a href="#org21b7aa2">2.4.2. Compute</a></li>
|
||||
<li><a href="#org93a9bb8">2.4.3. Test</a></li>
|
||||
<li><a href="#org3c6235f">2.4.1. Get</a></li>
|
||||
<li><a href="#org7b389be">2.4.2. Compute</a></li>
|
||||
<li><a href="#org1b08785">2.4.3. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org7e92dad">2.5. Electron-nucleus rescaled distances</a>
|
||||
<li><a href="#org7896848">2.5. Electron-nucleus rescaled distances</a>
|
||||
<ul>
|
||||
<li><a href="#org804e652">2.5.1. Get</a></li>
|
||||
<li><a href="#org7642010">2.5.2. Compute</a></li>
|
||||
<li><a href="#org8f7606d">2.5.3. Test</a></li>
|
||||
<li><a href="#org130853b">2.5.1. Get</a></li>
|
||||
<li><a href="#org37ee4a6">2.5.2. Compute</a></li>
|
||||
<li><a href="#org3b31571">2.5.3. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org16a9c39">2.6. Electron-nucleus rescaled distance gradients and laplacian with respect to electron coords</a>
|
||||
<li><a href="#orgde85241">2.6. Electron-nucleus rescaled distance gradients and laplacian with respect to electron coords</a>
|
||||
<ul>
|
||||
<li><a href="#org6a6d0c2">2.6.1. Get</a></li>
|
||||
<li><a href="#orgb641108">2.6.2. Compute</a></li>
|
||||
<li><a href="#orgd191531">2.6.3. Test</a></li>
|
||||
<li><a href="#orgd7376da">2.6.1. Get</a></li>
|
||||
<li><a href="#org935c334">2.6.2. Compute</a></li>
|
||||
<li><a href="#org9bba097">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-org05af73b" class="outline-2">
|
||||
<h2 id="org05af73b"><span class="section-number-2">1</span> Context</h2>
|
||||
<div id="outline-container-orgb60cddf" class="outline-2">
|
||||
<h2 id="orgb60cddf"><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-orgeca03d9" class="outline-3">
|
||||
<h3 id="orgeca03d9"><span class="section-number-3">1.1</span> Data structure</h3>
|
||||
<div id="outline-container-org79b55c8" class="outline-3">
|
||||
<h3 id="org79b55c8"><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-orgd34a317" class="outline-3">
|
||||
<h3 id="orgd34a317"><span class="section-number-3">1.2</span> Access functions</h3>
|
||||
<div id="outline-container-org569e685" class="outline-3">
|
||||
<h3 id="org569e685"><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-org693b08f" class="outline-4">
|
||||
<h4 id="org693b08f"><span class="section-number-4">1.2.1</span> Number of electrons</h4>
|
||||
<div id="outline-container-org858aef6" class="outline-4">
|
||||
<h4 id="org858aef6"><span class="section-number-4">1.2.1</span> Number of electrons</h4>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgca13757" class="outline-4">
|
||||
<h4 id="orgca13757"><span class="section-number-4">1.2.2</span> Number of walkers</h4>
|
||||
<div id="outline-container-org450c098" class="outline-4">
|
||||
<h4 id="org450c098"><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-orgbaf8bd6" class="outline-4">
|
||||
<h4 id="orgbaf8bd6"><span class="section-number-4">1.2.3</span> Scaling factors Kappa</h4>
|
||||
<div id="outline-container-org5213f8d" class="outline-4">
|
||||
<h4 id="org5213f8d"><span class="section-number-4">1.2.3</span> Scaling factors Kappa</h4>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org9412e1c" class="outline-4">
|
||||
<h4 id="org9412e1c"><span class="section-number-4">1.2.4</span> Electron coordinates</h4>
|
||||
<div id="outline-container-orgf40f7d8" class="outline-4">
|
||||
<h4 id="orgf40f7d8"><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-org65c1217" class="outline-3">
|
||||
<h3 id="org65c1217"><span class="section-number-3">1.3</span> Initialization functions</h3>
|
||||
<div id="outline-container-org4d9bcd2" class="outline-3">
|
||||
<h3 id="org4d9bcd2"><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-orgde6a047" class="outline-3">
|
||||
<h3 id="orgde6a047"><span class="section-number-3">1.4</span> Test</h3>
|
||||
<div id="outline-container-org0102feb" class="outline-3">
|
||||
<h3 id="org0102feb"><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-org8e014c8" class="outline-2">
|
||||
<h2 id="org8e014c8"><span class="section-number-2">2</span> Computation</h2>
|
||||
<div id="outline-container-org52db1b1" class="outline-2">
|
||||
<h2 id="org52db1b1"><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-org7525e62" class="outline-3">
|
||||
<h3 id="org7525e62"><span class="section-number-3">2.1</span> Electron-electron distances</h3>
|
||||
<div id="outline-container-orgdff2c28" class="outline-3">
|
||||
<h3 id="orgdff2c28"><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-orga5dacf5" class="outline-4">
|
||||
<h4 id="orga5dacf5"><span class="section-number-4">2.1.1</span> Get</h4>
|
||||
<div id="outline-container-orgf517725" class="outline-4">
|
||||
<h4 id="orgf517725"><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-org6ef474e" class="outline-4">
|
||||
<h4 id="org6ef474e"><span class="section-number-4">2.1.2</span> Compute</h4>
|
||||
<div id="outline-container-orgfe131ea" class="outline-4">
|
||||
<h4 id="orgfe131ea"><span class="section-number-4">2.1.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-1-2">
|
||||
<table id="org6cc42a4" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org4403697" 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-orga6fe920" class="outline-4">
|
||||
<h4 id="orga6fe920"><span class="section-number-4">2.1.3</span> Test</h4>
|
||||
<div id="outline-container-org2310b81" class="outline-4">
|
||||
<h4 id="org2310b81"><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-orgc084944" class="outline-3">
|
||||
<h3 id="orgc084944"><span class="section-number-3">2.2</span> Electron-electron rescaled distances</h3>
|
||||
<div id="outline-container-org3b5da54" class="outline-3">
|
||||
<h3 id="org3b5da54"><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-org44c2c08" class="outline-4">
|
||||
<h4 id="org44c2c08"><span class="section-number-4">2.2.1</span> Get</h4>
|
||||
<div id="outline-container-orgb030a12" class="outline-4">
|
||||
<h4 id="orgb030a12"><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-org85a2e07" class="outline-4">
|
||||
<h4 id="org85a2e07"><span class="section-number-4">2.2.2</span> Compute</h4>
|
||||
<div id="outline-container-orgcb2e8e5" class="outline-4">
|
||||
<h4 id="orgcb2e8e5"><span class="section-number-4">2.2.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-2-2">
|
||||
<table id="orgd06eb4e" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org7f50f1b" 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-org5bebd82" class="outline-4">
|
||||
<h4 id="org5bebd82"><span class="section-number-4">2.2.3</span> Test</h4>
|
||||
<div id="outline-container-org98d2fac" class="outline-4">
|
||||
<h4 id="org98d2fac"><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-org0160e5d" class="outline-3">
|
||||
<h3 id="org0160e5d"><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-org6e54822" class="outline-3">
|
||||
<h3 id="org6e54822"><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-org371a7b4" class="outline-4">
|
||||
<h4 id="org371a7b4"><span class="section-number-4">2.3.1</span> Get</h4>
|
||||
<div id="outline-container-org88adc48" class="outline-4">
|
||||
<h4 id="org88adc48"><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-org62387c0" class="outline-4">
|
||||
<h4 id="org62387c0"><span class="section-number-4">2.3.2</span> Compute</h4>
|
||||
<div id="outline-container-org46b1da4" class="outline-4">
|
||||
<h4 id="org46b1da4"><span class="section-number-4">2.3.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-3-2">
|
||||
<table id="org5d8568e" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org0429378" 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-org11f7635" class="outline-4">
|
||||
<h4 id="org11f7635"><span class="section-number-4">2.3.3</span> Test</h4>
|
||||
<div id="outline-container-org887bd2c" class="outline-4">
|
||||
<h4 id="org887bd2c"><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-org39e2bda" class="outline-3">
|
||||
<h3 id="org39e2bda"><span class="section-number-3">2.4</span> Electron-nucleus distances</h3>
|
||||
<div id="outline-container-org1cdd43c" class="outline-3">
|
||||
<h3 id="org1cdd43c"><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-org3615bcd" class="outline-4">
|
||||
<h4 id="org3615bcd"><span class="section-number-4">2.4.1</span> Get</h4>
|
||||
<div id="outline-container-org3c6235f" class="outline-4">
|
||||
<h4 id="org3c6235f"><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-org21b7aa2" class="outline-4">
|
||||
<h4 id="org21b7aa2"><span class="section-number-4">2.4.2</span> Compute</h4>
|
||||
<div id="outline-container-org7b389be" class="outline-4">
|
||||
<h4 id="org7b389be"><span class="section-number-4">2.4.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-4-2">
|
||||
<table id="orge1449b3" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org5eb0697" 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-org93a9bb8" class="outline-4">
|
||||
<h4 id="org93a9bb8"><span class="section-number-4">2.4.3</span> Test</h4>
|
||||
<div id="outline-container-org1b08785" class="outline-4">
|
||||
<h4 id="org1b08785"><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-org7e92dad" class="outline-3">
|
||||
<h3 id="org7e92dad"><span class="section-number-3">2.5</span> Electron-nucleus rescaled distances</h3>
|
||||
<div id="outline-container-org7896848" class="outline-3">
|
||||
<h3 id="org7896848"><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-org804e652" class="outline-4">
|
||||
<h4 id="org804e652"><span class="section-number-4">2.5.1</span> Get</h4>
|
||||
<div id="outline-container-org130853b" class="outline-4">
|
||||
<h4 id="org130853b"><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-org7642010" class="outline-4">
|
||||
<h4 id="org7642010"><span class="section-number-4">2.5.2</span> Compute</h4>
|
||||
<div id="outline-container-org37ee4a6" class="outline-4">
|
||||
<h4 id="org37ee4a6"><span class="section-number-4">2.5.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-5-2">
|
||||
<table id="org3239245" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org0d4c88a" 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-org8f7606d" class="outline-4">
|
||||
<h4 id="org8f7606d"><span class="section-number-4">2.5.3</span> Test</h4>
|
||||
<div id="outline-container-org3b31571" class="outline-4">
|
||||
<h4 id="org3b31571"><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-org16a9c39" class="outline-3">
|
||||
<h3 id="org16a9c39"><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-orgde85241" class="outline-3">
|
||||
<h3 id="orgde85241"><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-org6a6d0c2" class="outline-4">
|
||||
<h4 id="org6a6d0c2"><span class="section-number-4">2.6.1</span> Get</h4>
|
||||
<div id="outline-container-orgd7376da" class="outline-4">
|
||||
<h4 id="orgd7376da"><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-orgb641108" class="outline-4">
|
||||
<h4 id="orgb641108"><span class="section-number-4">2.6.2</span> Compute</h4>
|
||||
<div id="outline-container-org935c334" class="outline-4">
|
||||
<h4 id="org935c334"><span class="section-number-4">2.6.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-6-2">
|
||||
<table id="org8445172" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org5122da2" 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-orgd191531" class="outline-4">
|
||||
<h4 id="orgd191531"><span class="section-number-4">2.6.3</span> Test</h4>
|
||||
<div id="outline-container-org9bba097" class="outline-4">
|
||||
<h4 id="org9bba097"><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-10-13 Wed 10:18</p>
|
||||
<p class="date">Created: 2021-10-13 Wed 11:20</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-10-13 Wed 10:18 -->
|
||||
<!-- 2021-10-13 Wed 11:20 -->
|
||||
<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="#orgcc910dd">1. Decoding errors</a></li>
|
||||
<li><a href="#org3ba4aac">2. Data structure in context</a></li>
|
||||
<li><a href="#org31e0c2e">3. Updating errors in the context</a></li>
|
||||
<li><a href="#org9452e69">4. Get the error</a></li>
|
||||
<li><a href="#orga137188">5. Failing</a></li>
|
||||
<li><a href="#orgc74ea0d">1. Decoding errors</a></li>
|
||||
<li><a href="#orgd672f06">2. Data structure in context</a></li>
|
||||
<li><a href="#orga71d009">3. Updating errors in the context</a></li>
|
||||
<li><a href="#org7f252d7">4. Get the error</a></li>
|
||||
<li><a href="#orgac31a51">5. Failing</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgcc910dd" class="outline-2">
|
||||
<h2 id="orgcc910dd"><span class="section-number-2">1</span> Decoding errors</h2>
|
||||
<div id="outline-container-orgc74ea0d" class="outline-2">
|
||||
<h2 id="orgc74ea0d"><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-org3ba4aac" class="outline-2">
|
||||
<h2 id="org3ba4aac"><span class="section-number-2">2</span> Data structure in context</h2>
|
||||
<div id="outline-container-orgd672f06" class="outline-2">
|
||||
<h2 id="orgd672f06"><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-org31e0c2e" class="outline-2">
|
||||
<h2 id="org31e0c2e"><span class="section-number-2">3</span> Updating errors in the context</h2>
|
||||
<div id="outline-container-orga71d009" class="outline-2">
|
||||
<h2 id="orga71d009"><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-org9452e69" class="outline-2">
|
||||
<h2 id="org9452e69"><span class="section-number-2">4</span> Get the error</h2>
|
||||
<div id="outline-container-org7f252d7" class="outline-2">
|
||||
<h2 id="org7f252d7"><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-orga137188" class="outline-2">
|
||||
<h2 id="orga137188"><span class="section-number-2">5</span> Failing</h2>
|
||||
<div id="outline-container-orgac31a51" class="outline-2">
|
||||
<h2 id="orgac31a51"><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-10-13 Wed 10:18</p>
|
||||
<p class="date">Created: 2021-10-13 Wed 11:20</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-10-13 Wed 10:18 -->
|
||||
<!-- 2021-10-13 Wed 11:21 -->
|
||||
<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="#orgab49527">1. Context</a>
|
||||
<li><a href="#orgcd49021">1. Context</a>
|
||||
<ul>
|
||||
<li><a href="#orgeb597ab">1.1. Data structure</a></li>
|
||||
<li><a href="#org1d5cb89">1.2. Access functions</a></li>
|
||||
<li><a href="#org2b8f50d">1.3. Initialization functions</a></li>
|
||||
<li><a href="#org87b6077">1.4. Test</a></li>
|
||||
<li><a href="#org48e7258">1.1. Data structure</a></li>
|
||||
<li><a href="#orgc971eaa">1.2. Access functions</a></li>
|
||||
<li><a href="#org9c90d69">1.3. Initialization functions</a></li>
|
||||
<li><a href="#orgb9621dc">1.4. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org1497446">2. Computation</a>
|
||||
<li><a href="#org3dcc18a">2. Computation</a>
|
||||
<ul>
|
||||
<li><a href="#orgd8c79c6">2.1. Asymptotic component for \(f_{ee}\)</a>
|
||||
<li><a href="#orgce75ba7">2.1. Asymptotic component for \(f_{ee}\)</a>
|
||||
<ul>
|
||||
<li><a href="#org0a15e10">2.1.1. Get</a></li>
|
||||
<li><a href="#org92f7253">2.1.2. Compute</a></li>
|
||||
<li><a href="#orge817b85">2.1.3. Test</a></li>
|
||||
<li><a href="#org49862b5">2.1.1. Get</a></li>
|
||||
<li><a href="#orge3fa90a">2.1.2. Compute</a></li>
|
||||
<li><a href="#org8049b23">2.1.3. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgf123d2d">2.2. Electron-electron component \(f_{ee}\)</a>
|
||||
<li><a href="#orgc795317">2.2. Electron-electron component \(f_{ee}\)</a>
|
||||
<ul>
|
||||
<li><a href="#org6a5c25f">2.2.1. Get</a></li>
|
||||
<li><a href="#orgf3612b5">2.2.2. Compute</a></li>
|
||||
<li><a href="#org04fbbaf">2.2.3. Test</a></li>
|
||||
<li><a href="#org949d771">2.2.1. Get</a></li>
|
||||
<li><a href="#org2c6c09b">2.2.2. Compute</a></li>
|
||||
<li><a href="#orgda67281">2.2.3. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgf5da447">2.3. Electron-electron component derivative \(f'_{ee}\)</a>
|
||||
<li><a href="#orgc1eec13">2.3. Electron-electron component derivative \(f'_{ee}\)</a>
|
||||
<ul>
|
||||
<li><a href="#orge15c59f">2.3.1. Get</a></li>
|
||||
<li><a href="#org79292ae">2.3.2. Compute</a></li>
|
||||
<li><a href="#org29e4b34">2.3.3. Test</a></li>
|
||||
<li><a href="#orgda3b9ac">2.3.1. Get</a></li>
|
||||
<li><a href="#org8cc5e24">2.3.2. Compute</a></li>
|
||||
<li><a href="#org40fb28c">2.3.3. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org41351b4">2.4. Electron-nucleus component \(f_{en}\)</a>
|
||||
<li><a href="#orgf5ffa67">2.4. Electron-nucleus component \(f_{en}\)</a>
|
||||
<ul>
|
||||
<li><a href="#orgbb68ba3">2.4.1. Get</a></li>
|
||||
<li><a href="#orgead2ba5">2.4.2. Compute</a></li>
|
||||
<li><a href="#orgfeb623b">2.4.3. Test</a></li>
|
||||
<li><a href="#orgbc0fee2">2.4.1. Get</a></li>
|
||||
<li><a href="#org7ce65f6">2.4.2. Compute</a></li>
|
||||
<li><a href="#org1f3c789">2.4.3. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org507de6a">2.5. Electron-nucleus component derivative \(f'_{en}\)</a>
|
||||
<li><a href="#org393e692">2.5. Electron-nucleus component derivative \(f'_{en}\)</a>
|
||||
<ul>
|
||||
<li><a href="#orgd6da14f">2.5.1. Get</a></li>
|
||||
<li><a href="#orgf56e32b">2.5.2. Compute</a></li>
|
||||
<li><a href="#org0efd4b6">2.5.3. Test</a></li>
|
||||
<li><a href="#orgb87adf2">2.5.1. Get</a></li>
|
||||
<li><a href="#org0a25c86">2.5.2. Compute</a></li>
|
||||
<li><a href="#orge8db6f3">2.5.3. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org826c8bb">2.6. Electron-electron rescaled distances for each order</a>
|
||||
<li><a href="#orgfcf881c">2.6. Electron-electron rescaled distances for each order</a>
|
||||
<ul>
|
||||
<li><a href="#org44b6581">2.6.1. Get</a></li>
|
||||
<li><a href="#orgef538b8">2.6.2. Compute</a></li>
|
||||
<li><a href="#org9066d0d">2.6.3. Test</a></li>
|
||||
<li><a href="#org432aac0">2.6.1. Get</a></li>
|
||||
<li><a href="#org143a1e2">2.6.2. Compute</a></li>
|
||||
<li><a href="#orgf8ae2d9">2.6.3. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgfef36ec">2.7. Electron-electron rescaled distances for each order and derivatives</a>
|
||||
<li><a href="#orgcc65fdc">2.7. Electron-electron rescaled distances for each order and derivatives</a>
|
||||
<ul>
|
||||
<li><a href="#orgf03202c">2.7.1. Get</a></li>
|
||||
<li><a href="#org830079d">2.7.2. Compute</a></li>
|
||||
<li><a href="#org6db397e">2.7.3. Test</a></li>
|
||||
<li><a href="#org5ba325e">2.7.1. Get</a></li>
|
||||
<li><a href="#orga60282b">2.7.2. Compute</a></li>
|
||||
<li><a href="#orgcbc071f">2.7.3. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org3b854c6">2.8. Electron-nucleus rescaled distances for each order</a>
|
||||
<li><a href="#org2d8ff39">2.8. Electron-nucleus rescaled distances for each order</a>
|
||||
<ul>
|
||||
<li><a href="#org3b10432">2.8.1. Get</a></li>
|
||||
<li><a href="#org3ada4c0">2.8.2. Compute</a></li>
|
||||
<li><a href="#org08e56b0">2.8.3. Test</a></li>
|
||||
<li><a href="#org5af9afc">2.8.1. Get</a></li>
|
||||
<li><a href="#org434cf44">2.8.2. Compute</a></li>
|
||||
<li><a href="#orgc6f54aa">2.8.3. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org7cc326b">2.9. Electron-nucleus rescaled distances for each order and derivatives</a>
|
||||
<li><a href="#orgc1b7875">2.9. Electron-nucleus rescaled distances for each order and derivatives</a>
|
||||
<ul>
|
||||
<li><a href="#orge053a81">2.9.1. Get</a></li>
|
||||
<li><a href="#org6de250b">2.9.2. Compute</a></li>
|
||||
<li><a href="#org917c7d4">2.9.3. Test</a></li>
|
||||
<li><a href="#orgcea2738">2.9.1. Get</a></li>
|
||||
<li><a href="#orgb669fbb">2.9.2. Compute</a></li>
|
||||
<li><a href="#orgfa69c24">2.9.3. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org21edacb">2.10. Prepare for electron-electron-nucleus Jastrow \(f_{een}\)</a>
|
||||
<li><a href="#org9d0b71f">2.10. Prepare for electron-electron-nucleus Jastrow \(f_{een}\)</a>
|
||||
<ul>
|
||||
<li><a href="#org38ff172">2.10.1. Get</a></li>
|
||||
<li><a href="#org901a1cb">2.10.2. Compute dim<sub>cord</sub><sub>vect</sub></a></li>
|
||||
<li><a href="#org9d47df8">2.10.3. Compute cord<sub>vect</sub><sub>full</sub></a></li>
|
||||
<li><a href="#org3ba0b22">2.10.4. Compute lkpm<sub>combined</sub><sub>index</sub></a></li>
|
||||
<li><a href="#org13ae86c">2.10.5. Test</a></li>
|
||||
<li><a href="#org40e85ab">2.10.1. Get</a></li>
|
||||
<li><a href="#orgff267b3">2.10.2. Compute dim<sub>cord</sub><sub>vect</sub></a></li>
|
||||
<li><a href="#org7811ff2">2.10.3. Compute cord<sub>vect</sub><sub>full</sub></a></li>
|
||||
<li><a href="#orgf8add32">2.10.4. Compute lkpm<sub>combined</sub><sub>index</sub></a></li>
|
||||
<li><a href="#org6c848bc">2.10.5. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgae38553">2.11. Electron-electron-nucleus Jastrow \(f_{een}\)</a>
|
||||
<li><a href="#orgeb4c451">2.11. Electron-electron-nucleus Jastrow \(f_{een}\)</a>
|
||||
<ul>
|
||||
<li><a href="#org1ef8357">2.11.1. Get</a></li>
|
||||
<li><a href="#orgca7a3de">2.11.2. Compute</a></li>
|
||||
<li><a href="#org885afa3">2.11.3. Test</a></li>
|
||||
<li><a href="#org498bb3a">2.11.1. Get</a></li>
|
||||
<li><a href="#orgbd3dd3f">2.11.2. Compute</a></li>
|
||||
<li><a href="#org4aeb261">2.11.3. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgf4d790a">2.12. Electron-electron-nucleus Jastrow \(f_{een}\) derivative</a>
|
||||
<li><a href="#org43db51d">2.12. Electron-electron-nucleus Jastrow \(f_{een}\) derivative</a>
|
||||
<ul>
|
||||
<li><a href="#org6718ed8">2.12.1. Get</a></li>
|
||||
<li><a href="#org3be48fd">2.12.2. Compute</a></li>
|
||||
<li><a href="#orgbddf635">2.12.3. Test</a></li>
|
||||
<li><a href="#org50e5082">2.12.1. Get</a></li>
|
||||
<li><a href="#org63d06f1">2.12.2. Compute</a></li>
|
||||
<li><a href="#orgd1f418e">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-orgab49527" class="outline-2">
|
||||
<h2 id="orgab49527"><span class="section-number-2">1</span> Context</h2>
|
||||
<div id="outline-container-orgcd49021" class="outline-2">
|
||||
<h2 id="orgcd49021"><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="orgf05f6a9" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org91d9213" 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="org902ed4e"><span style="color: #a020f0;">import</span> numpy <span style="color: #a020f0;">as</span> np
|
||||
<pre class="src src-python" id="org2ec08c0"><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-orgeb597ab" class="outline-3">
|
||||
<h3 id="orgeb597ab"><span class="section-number-3">1.1</span> Data structure</h3>
|
||||
<div id="outline-container-org48e7258" class="outline-3">
|
||||
<h3 id="org48e7258"><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-org1d5cb89" class="outline-3">
|
||||
<h3 id="org1d5cb89"><span class="section-number-3">1.2</span> Access functions</h3>
|
||||
<div id="outline-container-orgc971eaa" class="outline-3">
|
||||
<h3 id="orgc971eaa"><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-org2b8f50d" class="outline-3">
|
||||
<h3 id="org2b8f50d"><span class="section-number-3">1.3</span> Initialization functions</h3>
|
||||
<div id="outline-container-org9c90d69" class="outline-3">
|
||||
<h3 id="org9c90d69"><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-org87b6077" class="outline-3">
|
||||
<h3 id="org87b6077"><span class="section-number-3">1.4</span> Test</h3>
|
||||
<div id="outline-container-orgb9621dc" class="outline-3">
|
||||
<h3 id="orgb9621dc"><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-org1497446" class="outline-2">
|
||||
<h2 id="org1497446"><span class="section-number-2">2</span> Computation</h2>
|
||||
<div id="outline-container-org3dcc18a" class="outline-2">
|
||||
<h2 id="org3dcc18a"><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-orgd8c79c6" class="outline-3">
|
||||
<h3 id="orgd8c79c6"><span class="section-number-3">2.1</span> Asymptotic component for \(f_{ee}\)</h3>
|
||||
<div id="outline-container-orgce75ba7" class="outline-3">
|
||||
<h3 id="orgce75ba7"><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-org0a15e10" class="outline-4">
|
||||
<h4 id="org0a15e10"><span class="section-number-4">2.1.1</span> Get</h4>
|
||||
<div id="outline-container-org49862b5" class="outline-4">
|
||||
<h4 id="org49862b5"><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-org92f7253" class="outline-4">
|
||||
<h4 id="org92f7253"><span class="section-number-4">2.1.2</span> Compute</h4>
|
||||
<div id="outline-container-orge3fa90a" class="outline-4">
|
||||
<h4 id="orge3fa90a"><span class="section-number-4">2.1.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-1-2">
|
||||
<table id="org7607414" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orgd64476c" 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-orge817b85" class="outline-4">
|
||||
<h4 id="orge817b85"><span class="section-number-4">2.1.3</span> Test</h4>
|
||||
<div id="outline-container-org8049b23" class="outline-4">
|
||||
<h4 id="org8049b23"><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>));
|
||||
@ -1397,8 +1397,8 @@ rc = qmckl_get_jastrow_asymp_jasb(context, asymp_jasb);
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgf123d2d" class="outline-3">
|
||||
<h3 id="orgf123d2d"><span class="section-number-3">2.2</span> Electron-electron component \(f_{ee}\)</h3>
|
||||
<div id="outline-container-orgc795317" class="outline-3">
|
||||
<h3 id="orgc795317"><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>
|
||||
@ -1413,8 +1413,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-org6a5c25f" class="outline-4">
|
||||
<h4 id="org6a5c25f"><span class="section-number-4">2.2.1</span> Get</h4>
|
||||
<div id="outline-container-org949d771" class="outline-4">
|
||||
<h4 id="org949d771"><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>);
|
||||
@ -1423,10 +1423,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-orgf3612b5" class="outline-4">
|
||||
<h4 id="orgf3612b5"><span class="section-number-4">2.2.2</span> Compute</h4>
|
||||
<div id="outline-container-org2c6c09b" class="outline-4">
|
||||
<h4 id="org2c6c09b"><span class="section-number-4">2.2.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-2-2">
|
||||
<table id="orgf7e50a5" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orgebde2cc" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -1593,8 +1593,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-org04fbbaf" class="outline-4">
|
||||
<h4 id="org04fbbaf"><span class="section-number-4">2.2.3</span> Test</h4>
|
||||
<div id="outline-container-orgda67281" class="outline-4">
|
||||
<h4 id="orgda67281"><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>*/
|
||||
@ -1612,8 +1612,8 @@ rc = qmckl_get_jastrow_factor_ee(context, factor_ee);
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgf5da447" class="outline-3">
|
||||
<h3 id="orgf5da447"><span class="section-number-3">2.3</span> Electron-electron component derivative \(f'_{ee}\)</h3>
|
||||
<div id="outline-container-orgc1eec13" class="outline-3">
|
||||
<h3 id="orgc1eec13"><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
|
||||
@ -1628,8 +1628,8 @@ TODO: Add equation
|
||||
</div>
|
||||
|
||||
|
||||
<div id="outline-container-orge15c59f" class="outline-4">
|
||||
<h4 id="orge15c59f"><span class="section-number-4">2.3.1</span> Get</h4>
|
||||
<div id="outline-container-orgda3b9ac" class="outline-4">
|
||||
<h4 id="orgda3b9ac"><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>);
|
||||
@ -1638,10 +1638,10 @@ TODO: Add equation
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org79292ae" class="outline-4">
|
||||
<h4 id="org79292ae"><span class="section-number-4">2.3.2</span> Compute</h4>
|
||||
<div id="outline-container-org8cc5e24" class="outline-4">
|
||||
<h4 id="org8cc5e24"><span class="section-number-4">2.3.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-3-2">
|
||||
<table id="org7a076c0" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org1090a23" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -1848,8 +1848,8 @@ TODO: Add equation
|
||||
</div>
|
||||
|
||||
|
||||
<div id="outline-container-org29e4b34" class="outline-4">
|
||||
<h4 id="org29e4b34"><span class="section-number-4">2.3.3</span> Test</h4>
|
||||
<div id="outline-container-org40fb28c" class="outline-4">
|
||||
<h4 id="org40fb28c"><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>*/
|
||||
@ -1871,8 +1871,8 @@ rc = qmckl_get_jastrow_factor_ee_deriv_e(context, &(factor_ee_deriv_e[0][0][
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org41351b4" class="outline-3">
|
||||
<h3 id="org41351b4"><span class="section-number-3">2.4</span> Electron-nucleus component \(f_{en}\)</h3>
|
||||
<div id="outline-container-orgf5ffa67" class="outline-3">
|
||||
<h3 id="orgf5ffa67"><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>
|
||||
@ -1887,8 +1887,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-orgbb68ba3" class="outline-4">
|
||||
<h4 id="orgbb68ba3"><span class="section-number-4">2.4.1</span> Get</h4>
|
||||
<div id="outline-container-orgbc0fee2" class="outline-4">
|
||||
<h4 id="orgbc0fee2"><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>);
|
||||
@ -1897,10 +1897,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-orgead2ba5" class="outline-4">
|
||||
<h4 id="orgead2ba5"><span class="section-number-4">2.4.2</span> Compute</h4>
|
||||
<div id="outline-container-org7ce65f6" class="outline-4">
|
||||
<h4 id="org7ce65f6"><span class="section-number-4">2.4.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-4-2">
|
||||
<table id="orgb4bbff8" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orgc99757b" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -2074,8 +2074,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-orgfeb623b" class="outline-4">
|
||||
<h4 id="orgfeb623b"><span class="section-number-4">2.4.3</span> Test</h4>
|
||||
<div id="outline-container-org1f3c789" class="outline-4">
|
||||
<h4 id="org1f3c789"><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>*/
|
||||
@ -2093,8 +2093,8 @@ rc = qmckl_get_jastrow_factor_en(context, factor_en);
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org507de6a" class="outline-3">
|
||||
<h3 id="org507de6a"><span class="section-number-3">2.5</span> Electron-nucleus component derivative \(f'_{en}\)</h3>
|
||||
<div id="outline-container-org393e692" class="outline-3">
|
||||
<h3 id="org393e692"><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
|
||||
@ -2107,8 +2107,8 @@ TODO: write equations.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgd6da14f" class="outline-4">
|
||||
<h4 id="orgd6da14f"><span class="section-number-4">2.5.1</span> Get</h4>
|
||||
<div id="outline-container-orgb87adf2" class="outline-4">
|
||||
<h4 id="orgb87adf2"><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>);
|
||||
@ -2117,10 +2117,10 @@ TODO: write equations.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgf56e32b" class="outline-4">
|
||||
<h4 id="orgf56e32b"><span class="section-number-4">2.5.2</span> Compute</h4>
|
||||
<div id="outline-container-org0a25c86" class="outline-4">
|
||||
<h4 id="org0a25c86"><span class="section-number-4">2.5.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-5-2">
|
||||
<table id="orga7cb429" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org403d2b6" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -2333,8 +2333,8 @@ TODO: write equations.
|
||||
</div>
|
||||
|
||||
|
||||
<div id="outline-container-org0efd4b6" class="outline-4">
|
||||
<h4 id="org0efd4b6"><span class="section-number-4">2.5.3</span> Test</h4>
|
||||
<div id="outline-container-orge8db6f3" class="outline-4">
|
||||
<h4 id="orge8db6f3"><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>*/
|
||||
@ -2356,8 +2356,8 @@ rc = qmckl_get_jastrow_factor_en_deriv_e(context, &(factor_en_deriv_e[0][0][
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org826c8bb" class="outline-3">
|
||||
<h3 id="org826c8bb"><span class="section-number-3">2.6</span> Electron-electron rescaled distances for each order</h3>
|
||||
<div id="outline-container-orgfcf881c" class="outline-3">
|
||||
<h3 id="orgfcf881c"><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
|
||||
@ -2375,8 +2375,8 @@ where \(C_{ij}\) is the matrix of electron-electron distances.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org44b6581" class="outline-4">
|
||||
<h4 id="org44b6581"><span class="section-number-4">2.6.1</span> Get</h4>
|
||||
<div id="outline-container-org432aac0" class="outline-4">
|
||||
<h4 id="org432aac0"><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>);
|
||||
@ -2385,10 +2385,10 @@ where \(C_{ij}\) is the matrix of electron-electron distances.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgef538b8" class="outline-4">
|
||||
<h4 id="orgef538b8"><span class="section-number-4">2.6.2</span> Compute</h4>
|
||||
<div id="outline-container-org143a1e2" class="outline-4">
|
||||
<h4 id="org143a1e2"><span class="section-number-4">2.6.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-6-2">
|
||||
<table id="org57fcd50" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org9de5588" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -2554,8 +2554,8 @@ where \(C_{ij}\) is the matrix of electron-electron distances.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org9066d0d" class="outline-4">
|
||||
<h4 id="org9066d0d"><span class="section-number-4">2.6.3</span> Test</h4>
|
||||
<div id="outline-container-orgf8ae2d9" class="outline-4">
|
||||
<h4 id="orgf8ae2d9"><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>));
|
||||
@ -2578,8 +2578,8 @@ rc = qmckl_get_jastrow_een_rescaled_e(context, &(een_rescaled_e[0][0][0][0])
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgfef36ec" class="outline-3">
|
||||
<h3 id="orgfef36ec"><span class="section-number-3">2.7</span> Electron-electron rescaled distances for each order and derivatives</h3>
|
||||
<div id="outline-container-orgcc65fdc" class="outline-3">
|
||||
<h3 id="orgcc65fdc"><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_deriv_e</code> stores the table of the derivatives of the
|
||||
@ -2594,8 +2594,8 @@ TODO: write formulae
|
||||
</div>
|
||||
|
||||
|
||||
<div id="outline-container-orgf03202c" class="outline-4">
|
||||
<h4 id="orgf03202c"><span class="section-number-4">2.7.1</span> Get</h4>
|
||||
<div id="outline-container-org5ba325e" class="outline-4">
|
||||
<h4 id="org5ba325e"><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>);
|
||||
@ -2604,10 +2604,10 @@ TODO: write formulae
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org830079d" class="outline-4">
|
||||
<h4 id="org830079d"><span class="section-number-4">2.7.2</span> Compute</h4>
|
||||
<div id="outline-container-orga60282b" class="outline-4">
|
||||
<h4 id="orga60282b"><span class="section-number-4">2.7.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-7-2">
|
||||
<table id="orgc336aa8" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org0ee77e7" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -2786,8 +2786,8 @@ TODO: write formulae
|
||||
</div>
|
||||
|
||||
|
||||
<div id="outline-container-org6db397e" class="outline-4">
|
||||
<h4 id="org6db397e"><span class="section-number-4">2.7.3</span> Test</h4>
|
||||
<div id="outline-container-orgcbc071f" class="outline-4">
|
||||
<h4 id="orgcbc071f"><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>
|
||||
@ -2807,8 +2807,8 @@ rc = qmckl_get_jastrow_een_rescaled_e_deriv_e(context, &(een_rescaled_e_deri
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org3b854c6" class="outline-3">
|
||||
<h3 id="org3b854c6"><span class="section-number-3">2.8</span> Electron-nucleus rescaled distances for each order</h3>
|
||||
<div id="outline-container-org2d8ff39" class="outline-3">
|
||||
<h3 id="org2d8ff39"><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
|
||||
@ -2826,8 +2826,8 @@ where \(C_{ia}\) is the matrix of electron-nucleus distances.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org3b10432" class="outline-4">
|
||||
<h4 id="org3b10432"><span class="section-number-4">2.8.1</span> Get</h4>
|
||||
<div id="outline-container-org5af9afc" class="outline-4">
|
||||
<h4 id="org5af9afc"><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>);
|
||||
@ -2836,10 +2836,10 @@ where \(C_{ia}\) is the matrix of electron-nucleus distances.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org3ada4c0" class="outline-4">
|
||||
<h4 id="org3ada4c0"><span class="section-number-4">2.8.2</span> Compute</h4>
|
||||
<div id="outline-container-org434cf44" class="outline-4">
|
||||
<h4 id="org434cf44"><span class="section-number-4">2.8.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-8-2">
|
||||
<table id="org75b9872" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org32ec486" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -2995,8 +2995,8 @@ where \(C_{ia}\) is the matrix of electron-nucleus distances.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org08e56b0" class="outline-4">
|
||||
<h4 id="org08e56b0"><span class="section-number-4">2.8.3</span> Test</h4>
|
||||
<div id="outline-container-orgc6f54aa" class="outline-4">
|
||||
<h4 id="orgc6f54aa"><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>));
|
||||
@ -3018,8 +3018,8 @@ rc = qmckl_get_jastrow_een_rescaled_n(context, &(een_rescaled_n[0][0][0][0])
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org7cc326b" class="outline-3">
|
||||
<h3 id="org7cc326b"><span class="section-number-3">2.9</span> Electron-nucleus rescaled distances for each order and derivatives</h3>
|
||||
<div id="outline-container-orgc1b7875" class="outline-3">
|
||||
<h3 id="orgc1b7875"><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
|
||||
@ -3028,8 +3028,8 @@ electrons and nucleii raised to the power \(p\) defined by <code>cord_num</code>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="outline-container-orge053a81" class="outline-4">
|
||||
<h4 id="orge053a81"><span class="section-number-4">2.9.1</span> Get</h4>
|
||||
<div id="outline-container-orgcea2738" class="outline-4">
|
||||
<h4 id="orgcea2738"><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>);
|
||||
@ -3038,10 +3038,10 @@ electrons and nucleii raised to the power \(p\) defined by <code>cord_num</code>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org6de250b" class="outline-4">
|
||||
<h4 id="org6de250b"><span class="section-number-4">2.9.2</span> Compute</h4>
|
||||
<div id="outline-container-orgb669fbb" class="outline-4">
|
||||
<h4 id="orgb669fbb"><span class="section-number-4">2.9.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-9-2">
|
||||
<table id="org8a18c3a" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org7f8c8de" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -3243,8 +3243,8 @@ electrons and nucleii raised to the power \(p\) defined by <code>cord_num</code>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org917c7d4" class="outline-4">
|
||||
<h4 id="org917c7d4"><span class="section-number-4">2.9.3</span> Test</h4>
|
||||
<div id="outline-container-orgfa69c24" class="outline-4">
|
||||
<h4 id="orgfa69c24"><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: #0000ff;">assert</span>(<span style="color: #228b22;">qmckl_electron_provided</span>(<span style="color: #a0522d;">context</span>));
|
||||
@ -3266,8 +3266,8 @@ rc = qmckl_get_jastrow_een_rescaled_n_deriv_e(context, &(een_rescaled_n_deri
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org21edacb" class="outline-3">
|
||||
<h3 id="org21edacb"><span class="section-number-3">2.10</span> Prepare for electron-electron-nucleus Jastrow \(f_{een}\)</h3>
|
||||
<div id="outline-container-org9d0b71f" class="outline-3">
|
||||
<h3 id="org9d0b71f"><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
|
||||
@ -3276,8 +3276,8 @@ calculation of the three-body jastrow <code>factor_een</code> and its derivative
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org38ff172" class="outline-4">
|
||||
<h4 id="org38ff172"><span class="section-number-4">2.10.1</span> Get</h4>
|
||||
<div id="outline-container-org40e85ab" class="outline-4">
|
||||
<h4 id="org40e85ab"><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>);
|
||||
@ -3288,10 +3288,10 @@ calculation of the three-body jastrow <code>factor_een</code> and its derivative
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org901a1cb" class="outline-4">
|
||||
<h4 id="org901a1cb"><span class="section-number-4">2.10.2</span> Compute dim<sub>cord</sub><sub>vect</sub></h4>
|
||||
<div id="outline-container-orgff267b3" class="outline-4">
|
||||
<h4 id="orgff267b3"><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="org6526afb" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orgc74e794" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -3381,10 +3381,10 @@ calculation of the three-body jastrow <code>factor_een</code> and its derivative
|
||||
</div>
|
||||
|
||||
|
||||
<div id="outline-container-org9d47df8" class="outline-4">
|
||||
<h4 id="org9d47df8"><span class="section-number-4">2.10.3</span> Compute cord<sub>vect</sub><sub>full</sub></h4>
|
||||
<div id="outline-container-org7811ff2" class="outline-4">
|
||||
<h4 id="org7811ff2"><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="org99307e3" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org59fcf84" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -3510,10 +3510,10 @@ calculation of the three-body jastrow <code>factor_een</code> and its derivative
|
||||
</div>
|
||||
|
||||
|
||||
<div id="outline-container-org3ba0b22" class="outline-4">
|
||||
<h4 id="org3ba0b22"><span class="section-number-4">2.10.4</span> Compute lkpm<sub>combined</sub><sub>index</sub></h4>
|
||||
<div id="outline-container-orgf8add32" class="outline-4">
|
||||
<h4 id="orgf8add32"><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="orgbffc552" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org6ef298b" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -3623,8 +3623,8 @@ calculation of the three-body jastrow <code>factor_een</code> and its derivative
|
||||
</div>
|
||||
|
||||
|
||||
<div id="outline-container-org13ae86c" class="outline-4">
|
||||
<h4 id="org13ae86c"><span class="section-number-4">2.10.5</span> Test</h4>
|
||||
<div id="outline-container-org6c848bc" class="outline-4">
|
||||
<h4 id="org6c848bc"><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>
|
||||
@ -3636,8 +3636,8 @@ calculation of the three-body jastrow <code>factor_een</code> and its derivative
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgae38553" class="outline-3">
|
||||
<h3 id="orgae38553"><span class="section-number-3">2.11</span> Electron-electron-nucleus Jastrow \(f_{een}\)</h3>
|
||||
<div id="outline-container-orgeb4c451" class="outline-3">
|
||||
<h3 id="orgeb4c451"><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>
|
||||
@ -3649,8 +3649,8 @@ TODO: write equations.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org1ef8357" class="outline-4">
|
||||
<h4 id="org1ef8357"><span class="section-number-4">2.11.1</span> Get</h4>
|
||||
<div id="outline-container-org498bb3a" class="outline-4">
|
||||
<h4 id="org498bb3a"><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>);
|
||||
@ -3659,10 +3659,10 @@ TODO: write equations.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgca7a3de" class="outline-4">
|
||||
<h4 id="orgca7a3de"><span class="section-number-4">2.11.2</span> Compute</h4>
|
||||
<div id="outline-container-orgbd3dd3f" class="outline-4">
|
||||
<h4 id="orgbd3dd3f"><span class="section-number-4">2.11.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-11-2">
|
||||
<table id="org3128365" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org00055fa" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -3850,8 +3850,8 @@ TODO: write equations.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org885afa3" class="outline-4">
|
||||
<h4 id="org885afa3"><span class="section-number-4">2.11.3</span> Test</h4>
|
||||
<div id="outline-container-org4aeb261" class="outline-4">
|
||||
<h4 id="org4aeb261"><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>*/
|
||||
@ -3867,8 +3867,8 @@ rc = qmckl_get_jastrow_factor_een(context, &(factor_een[0]));
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgf4d790a" class="outline-3">
|
||||
<h3 id="orgf4d790a"><span class="section-number-3">2.12</span> Electron-electron-nucleus Jastrow \(f_{een}\) derivative</h3>
|
||||
<div id="outline-container-org43db51d" class="outline-3">
|
||||
<h3 id="org43db51d"><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>
|
||||
@ -3880,8 +3880,8 @@ TODO: write equations.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org6718ed8" class="outline-4">
|
||||
<h4 id="org6718ed8"><span class="section-number-4">2.12.1</span> Get</h4>
|
||||
<div id="outline-container-org50e5082" class="outline-4">
|
||||
<h4 id="org50e5082"><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>);
|
||||
@ -3890,10 +3890,10 @@ TODO: write equations.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org3be48fd" class="outline-4">
|
||||
<h4 id="org3be48fd"><span class="section-number-4">2.12.2</span> Compute</h4>
|
||||
<div id="outline-container-org63d06f1" class="outline-4">
|
||||
<h4 id="org63d06f1"><span class="section-number-4">2.12.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-12-2">
|
||||
<table id="org282a8b2" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org7ec0236" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -4118,8 +4118,8 @@ TODO: write equations.
|
||||
</div>
|
||||
|
||||
|
||||
<div id="outline-container-orgbddf635" class="outline-4">
|
||||
<h4 id="orgbddf635"><span class="section-number-4">2.12.3</span> Test</h4>
|
||||
<div id="outline-container-orgd1f418e" class="outline-4">
|
||||
<h4 id="orgd1f418e"><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>*/
|
||||
@ -4138,7 +4138,7 @@ rc = qmckl_get_jastrow_factor_een_deriv_e(context, &(factor_een_deriv_e[0][0
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: TREX CoE</p>
|
||||
<p class="date">Created: 2021-10-13 Wed 10:18</p>
|
||||
<p class="date">Created: 2021-10-13 Wed 11:21</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-10-13 Wed 10:18 -->
|
||||
<!-- 2021-10-13 Wed 11:20 -->
|
||||
<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="#orgfa8893a">1. Memory data structure for the context</a></li>
|
||||
<li><a href="#org59fb7e1">2. Passing info to allocation routines</a></li>
|
||||
<li><a href="#orge65e9cf">3. Allocation/deallocation functions</a></li>
|
||||
<li><a href="#org956083d">1. Memory data structure for the context</a></li>
|
||||
<li><a href="#org2484bcc">2. Passing info to allocation routines</a></li>
|
||||
<li><a href="#org663e94e">3. Allocation/deallocation functions</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgfa8893a" class="outline-2">
|
||||
<h2 id="orgfa8893a"><span class="section-number-2">1</span> Memory data structure for the context</h2>
|
||||
<div id="outline-container-org956083d" class="outline-2">
|
||||
<h2 id="org956083d"><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-org59fb7e1" class="outline-2">
|
||||
<h2 id="org59fb7e1"><span class="section-number-2">2</span> Passing info to allocation routines</h2>
|
||||
<div id="outline-container-org2484bcc" class="outline-2">
|
||||
<h2 id="org2484bcc"><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-orge65e9cf" class="outline-2">
|
||||
<h2 id="orge65e9cf"><span class="section-number-2">3</span> Allocation/deallocation functions</h2>
|
||||
<div id="outline-container-org663e94e" class="outline-2">
|
||||
<h2 id="org663e94e"><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-10-13 Wed 10:18</p>
|
||||
<p class="date">Created: 2021-10-13 Wed 11:20</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-10-13 Wed 10:18 -->
|
||||
<!-- 2021-10-13 Wed 11:20 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>Molecular Orbitals</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="#org7144abf">1. Context</a>
|
||||
<li><a href="#org9faff06">1. Context</a>
|
||||
<ul>
|
||||
<li><a href="#org809a84b">1.1. Data structure</a></li>
|
||||
<li><a href="#org46a4d27">1.2. Access functions</a></li>
|
||||
<li><a href="#org2c26c26">1.3. Initialization functions</a></li>
|
||||
<li><a href="#orgdd2299f">1.1. Data structure</a></li>
|
||||
<li><a href="#orgafe3e0b">1.2. Access functions</a></li>
|
||||
<li><a href="#orgdf8be14">1.3. Initialization functions</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgf7829e5">2. Computation</a>
|
||||
<li><a href="#orgb09ae3e">2. Computation</a>
|
||||
<ul>
|
||||
<li><a href="#orgbd6ffb7">2.1. Computation of MOs</a>
|
||||
<li><a href="#orgfd5be1e">2.1. Computation of MOs</a>
|
||||
<ul>
|
||||
<li><a href="#org8415643">2.1.1. Get</a></li>
|
||||
<li><a href="#org0c80147">2.1.2. Provide</a></li>
|
||||
<li><a href="#org0d7ddd8">2.1.3. Compute</a></li>
|
||||
<li><a href="#orgfbee912">2.1.4. Test</a></li>
|
||||
<li><a href="#org0953fff">2.1.1. Get</a></li>
|
||||
<li><a href="#org10781bb">2.1.2. Provide</a></li>
|
||||
<li><a href="#org52884d5">2.1.3. Compute</a></li>
|
||||
<li><a href="#orgd1a099b">2.1.4. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@ -334,8 +334,8 @@ for the JavaScript code in this tag.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org7144abf" class="outline-2">
|
||||
<h2 id="org7144abf"><span class="section-number-2">1</span> Context</h2>
|
||||
<div id="outline-container-org9faff06" class="outline-2">
|
||||
<h2 id="org9faff06"><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:
|
||||
@ -402,8 +402,8 @@ Computed data:
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org809a84b" class="outline-3">
|
||||
<h3 id="org809a84b"><span class="section-number-3">1.1</span> Data structure</h3>
|
||||
<div id="outline-container-orgdd2299f" class="outline-3">
|
||||
<h3 id="orgdd2299f"><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_mo_basis_struct</span> {
|
||||
@ -431,8 +431,8 @@ this mechanism.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org46a4d27" class="outline-3">
|
||||
<h3 id="org46a4d27"><span class="section-number-3">1.2</span> Access functions</h3>
|
||||
<div id="outline-container-orgafe3e0b" class="outline-3">
|
||||
<h3 id="orgafe3e0b"><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
|
||||
@ -446,8 +446,8 @@ function returns <code>true</code>.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org2c26c26" class="outline-3">
|
||||
<h3 id="org2c26c26"><span class="section-number-3">1.3</span> Initialization functions</h3>
|
||||
<div id="outline-container-orgdf8be14" class="outline-3">
|
||||
<h3 id="orgdf8be14"><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
|
||||
@ -469,16 +469,16 @@ computed to accelerate the calculations.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgf7829e5" class="outline-2">
|
||||
<h2 id="orgf7829e5"><span class="section-number-2">2</span> Computation</h2>
|
||||
<div id="outline-container-orgb09ae3e" class="outline-2">
|
||||
<h2 id="orgb09ae3e"><span class="section-number-2">2</span> Computation</h2>
|
||||
<div class="outline-text-2" id="text-2">
|
||||
</div>
|
||||
<div id="outline-container-orgbd6ffb7" class="outline-3">
|
||||
<h3 id="orgbd6ffb7"><span class="section-number-3">2.1</span> Computation of MOs</h3>
|
||||
<div id="outline-container-orgfd5be1e" class="outline-3">
|
||||
<h3 id="orgfd5be1e"><span class="section-number-3">2.1</span> Computation of MOs</h3>
|
||||
<div class="outline-text-3" id="text-2-1">
|
||||
</div>
|
||||
<div id="outline-container-org8415643" class="outline-4">
|
||||
<h4 id="org8415643"><span class="section-number-4">2.1.1</span> Get</h4>
|
||||
<div id="outline-container-org0953fff" class="outline-4">
|
||||
<h4 id="org0953fff"><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_mo_basis_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;">mo_vgl</span>);
|
||||
@ -487,14 +487,14 @@ computed to accelerate the calculations.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org0c80147" class="outline-4">
|
||||
<h4 id="org0c80147"><span class="section-number-4">2.1.2</span> Provide</h4>
|
||||
<div id="outline-container-org10781bb" class="outline-4">
|
||||
<h4 id="org10781bb"><span class="section-number-4">2.1.2</span> Provide</h4>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org0d7ddd8" class="outline-4">
|
||||
<h4 id="org0d7ddd8"><span class="section-number-4">2.1.3</span> Compute</h4>
|
||||
<div id="outline-container-org52884d5" class="outline-4">
|
||||
<h4 id="org52884d5"><span class="section-number-4">2.1.3</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-1-3">
|
||||
<table id="org38fe06a" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org2b67b4a" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -666,15 +666,15 @@ computed to accelerate the calculations.
|
||||
</div>
|
||||
|
||||
|
||||
<div id="outline-container-orgfbee912" class="outline-4">
|
||||
<h4 id="orgfbee912"><span class="section-number-4">2.1.4</span> Test</h4>
|
||||
<div id="outline-container-orgd1a099b" class="outline-4">
|
||||
<h4 id="orgd1a099b"><span class="section-number-4">2.1.4</span> Test</h4>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: TREX CoE</p>
|
||||
<p class="date">Created: 2021-10-13 Wed 10:18</p>
|
||||
<p class="date">Created: 2021-10-13 Wed 11:20</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-10-13 Wed 10:18 -->
|
||||
<!-- 2021-10-13 Wed 11:20 -->
|
||||
<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="#org5c63764">1. Context</a>
|
||||
<li><a href="#orga35883e">1. Context</a>
|
||||
<ul>
|
||||
<li><a href="#org7a2447a">1.1. Data structure</a></li>
|
||||
<li><a href="#orgbed8791">1.2. Access functions</a></li>
|
||||
<li><a href="#orged46cab">1.3. Initialization functions</a></li>
|
||||
<li><a href="#org1278a10">1.4. Test</a></li>
|
||||
<li><a href="#org7d3a116">1.1. Data structure</a></li>
|
||||
<li><a href="#org01eb2c9">1.2. Access functions</a></li>
|
||||
<li><a href="#orgbf3fb15">1.3. Initialization functions</a></li>
|
||||
<li><a href="#orga7ce8ca">1.4. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgb08b8b5">2. Computation</a>
|
||||
<li><a href="#org2b8ef02">2. Computation</a>
|
||||
<ul>
|
||||
<li><a href="#org8cea8f2">2.1. Nucleus-nucleus distances</a>
|
||||
<li><a href="#org4433ca8">2.1. Nucleus-nucleus distances</a>
|
||||
<ul>
|
||||
<li><a href="#org1dda9ce">2.1.1. Get</a></li>
|
||||
<li><a href="#org93638f6">2.1.2. Compute</a></li>
|
||||
<li><a href="#orgacc21cc">2.1.3. Test</a></li>
|
||||
<li><a href="#org50eb504">2.1.1. Get</a></li>
|
||||
<li><a href="#orge9f6832">2.1.2. Compute</a></li>
|
||||
<li><a href="#org8c87bfa">2.1.3. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org9389d92">2.2. Nucleus-nucleus rescaled distances</a>
|
||||
<li><a href="#org98746aa">2.2. Nucleus-nucleus rescaled distances</a>
|
||||
<ul>
|
||||
<li><a href="#org9c65a08">2.2.1. Get</a></li>
|
||||
<li><a href="#org24436d9">2.2.2. Compute</a></li>
|
||||
<li><a href="#org476de63">2.2.3. Test</a></li>
|
||||
<li><a href="#orgf99c40c">2.2.1. Get</a></li>
|
||||
<li><a href="#org5064739">2.2.2. Compute</a></li>
|
||||
<li><a href="#orgef37011">2.2.3. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgf6ab9cb">2.3. Nuclear repulsion energy</a>
|
||||
<li><a href="#org3bcc748">2.3. Nuclear repulsion energy</a>
|
||||
<ul>
|
||||
<li><a href="#orgfab6cc8">2.3.1. Get</a></li>
|
||||
<li><a href="#orgb3f9047">2.3.2. Compute</a></li>
|
||||
<li><a href="#org22b117d">2.3.3. Test</a></li>
|
||||
<li><a href="#org679ba3c">2.3.1. Get</a></li>
|
||||
<li><a href="#org1683565">2.3.2. Compute</a></li>
|
||||
<li><a href="#orgc858a37">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-org5c63764" class="outline-2">
|
||||
<h2 id="org5c63764"><span class="section-number-2">1</span> Context</h2>
|
||||
<div id="outline-container-orga35883e" class="outline-2">
|
||||
<h2 id="orga35883e"><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-org7a2447a" class="outline-3">
|
||||
<h3 id="org7a2447a"><span class="section-number-3">1.1</span> Data structure</h3>
|
||||
<div id="outline-container-org7d3a116" class="outline-3">
|
||||
<h3 id="org7d3a116"><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-orgbed8791" class="outline-3">
|
||||
<h3 id="orgbed8791"><span class="section-number-3">1.2</span> Access functions</h3>
|
||||
<div id="outline-container-org01eb2c9" class="outline-3">
|
||||
<h3 id="org01eb2c9"><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-orged46cab" class="outline-3">
|
||||
<h3 id="orged46cab"><span class="section-number-3">1.3</span> Initialization functions</h3>
|
||||
<div id="outline-container-orgbf3fb15" class="outline-3">
|
||||
<h3 id="orgbf3fb15"><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-org1278a10" class="outline-3">
|
||||
<h3 id="org1278a10"><span class="section-number-3">1.4</span> Test</h3>
|
||||
<div id="outline-container-orga7ce8ca" class="outline-3">
|
||||
<h3 id="orga7ce8ca"><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-orgb08b8b5" class="outline-2">
|
||||
<h2 id="orgb08b8b5"><span class="section-number-2">2</span> Computation</h2>
|
||||
<div id="outline-container-org2b8ef02" class="outline-2">
|
||||
<h2 id="org2b8ef02"><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-org8cea8f2" class="outline-3">
|
||||
<h3 id="org8cea8f2"><span class="section-number-3">2.1</span> Nucleus-nucleus distances</h3>
|
||||
<div id="outline-container-org4433ca8" class="outline-3">
|
||||
<h3 id="org4433ca8"><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-org1dda9ce" class="outline-4">
|
||||
<h4 id="org1dda9ce"><span class="section-number-4">2.1.1</span> Get</h4>
|
||||
<div id="outline-container-org50eb504" class="outline-4">
|
||||
<h4 id="org50eb504"><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-org93638f6" class="outline-4">
|
||||
<h4 id="org93638f6"><span class="section-number-4">2.1.2</span> Compute</h4>
|
||||
<div id="outline-container-orge9f6832" class="outline-4">
|
||||
<h4 id="orge9f6832"><span class="section-number-4">2.1.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-1-2">
|
||||
<table id="org0c3c550" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org817647f" 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-orgacc21cc" class="outline-4">
|
||||
<h4 id="orgacc21cc"><span class="section-number-4">2.1.3</span> Test</h4>
|
||||
<div id="outline-container-org8c87bfa" class="outline-4">
|
||||
<h4 id="org8c87bfa"><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-org9389d92" class="outline-3">
|
||||
<h3 id="org9389d92"><span class="section-number-3">2.2</span> Nucleus-nucleus rescaled distances</h3>
|
||||
<div id="outline-container-org98746aa" class="outline-3">
|
||||
<h3 id="org98746aa"><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-org9c65a08" class="outline-4">
|
||||
<h4 id="org9c65a08"><span class="section-number-4">2.2.1</span> Get</h4>
|
||||
<div id="outline-container-orgf99c40c" class="outline-4">
|
||||
<h4 id="orgf99c40c"><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-org24436d9" class="outline-4">
|
||||
<h4 id="org24436d9"><span class="section-number-4">2.2.2</span> Compute</h4>
|
||||
<div id="outline-container-org5064739" class="outline-4">
|
||||
<h4 id="org5064739"><span class="section-number-4">2.2.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-2-2">
|
||||
<table id="org17906fe" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orgd0d0f85" 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-org476de63" class="outline-4">
|
||||
<h4 id="org476de63"><span class="section-number-4">2.2.3</span> Test</h4>
|
||||
<div id="outline-container-orgef37011" class="outline-4">
|
||||
<h4 id="orgef37011"><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-orgf6ab9cb" class="outline-3">
|
||||
<h3 id="orgf6ab9cb"><span class="section-number-3">2.3</span> Nuclear repulsion energy</h3>
|
||||
<div id="outline-container-org3bcc748" class="outline-3">
|
||||
<h3 id="org3bcc748"><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-orgfab6cc8" class="outline-4">
|
||||
<h4 id="orgfab6cc8"><span class="section-number-4">2.3.1</span> Get</h4>
|
||||
<div id="outline-container-org679ba3c" class="outline-4">
|
||||
<h4 id="org679ba3c"><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-orgb3f9047" class="outline-4">
|
||||
<h4 id="orgb3f9047"><span class="section-number-4">2.3.2</span> Compute</h4>
|
||||
<div id="outline-container-org1683565" class="outline-4">
|
||||
<h4 id="org1683565"><span class="section-number-4">2.3.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-3-2">
|
||||
<table id="org0138b04" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orge409151" 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-org22b117d" class="outline-4">
|
||||
<h4 id="org22b117d"><span class="section-number-4">2.3.3</span> Test</h4>
|
||||
<div id="outline-container-orgc858a37" class="outline-4">
|
||||
<h4 id="orgc858a37"><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-10-13 Wed 10:18</p>
|
||||
<p class="date">Created: 2021-10-13 Wed 11:20</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-10-13 Wed 10:18 -->
|
||||
<!-- 2021-10-13 Wed 11:20 -->
|
||||
<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="#orgd5eed94">1. Control of the numerical precision</a></li>
|
||||
<li><a href="#org60a6081">2. Precision</a></li>
|
||||
<li><a href="#orge3164d0">3. Range</a></li>
|
||||
<li><a href="#org703dfe0">4. Helper functions</a></li>
|
||||
<li><a href="#org6e277dc">1. Control of the numerical precision</a></li>
|
||||
<li><a href="#orgdc77175">2. Precision</a></li>
|
||||
<li><a href="#orgcf7b528">3. Range</a></li>
|
||||
<li><a href="#org487fcdd">4. Helper functions</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgd5eed94" class="outline-2">
|
||||
<h2 id="orgd5eed94"><span class="section-number-2">1</span> Control of the numerical precision</h2>
|
||||
<div id="outline-container-org6e277dc" class="outline-2">
|
||||
<h2 id="org6e277dc"><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="org4f60372" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org3da972a" 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-org60a6081" class="outline-2">
|
||||
<h2 id="org60a6081"><span class="section-number-2">2</span> Precision</h2>
|
||||
<div id="outline-container-orgdc77175" class="outline-2">
|
||||
<h2 id="orgdc77175"><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-orge3164d0" class="outline-2">
|
||||
<h2 id="orge3164d0"><span class="section-number-2">3</span> Range</h2>
|
||||
<div id="outline-container-orgcf7b528" class="outline-2">
|
||||
<h2 id="orgcf7b528"><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-org703dfe0" class="outline-2">
|
||||
<h2 id="org703dfe0"><span class="section-number-2">4</span> Helper functions</h2>
|
||||
<div id="outline-container-org487fcdd" class="outline-2">
|
||||
<h2 id="org487fcdd"><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-10-13 Wed 10:18</p>
|
||||
<p class="date">Created: 2021-10-13 Wed 11:20</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-10-13 Wed 10:18 -->
|
||||
<!-- 2021-10-13 Wed 11:21 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>Sherman-Morrison-Woodbury</title>
|
||||
@ -333,86 +333,86 @@ for the JavaScript code in this tag.
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents">
|
||||
<ul>
|
||||
<li><a href="#org3025edd">1. Headers</a></li>
|
||||
<li><a href="#orgbeb02e4">2. Naïve Sherman-Morrison</a>
|
||||
<li><a href="#orgb477cc9">1. Headers</a></li>
|
||||
<li><a href="#org841e6fc">2. Naïve Sherman-Morrison</a>
|
||||
<ul>
|
||||
<li><a href="#org82a31d5">2.1. <code>qmckl_sherman_morrison</code></a>
|
||||
<li><a href="#org49e9ed9">2.1. <code>qmckl_sherman_morrison</code></a>
|
||||
<ul>
|
||||
<li><a href="#orgf1a8418">2.1.1. Requirements</a></li>
|
||||
<li><a href="#orgcd6ff48">2.1.2. C header</a></li>
|
||||
<li><a href="#orgb926c0e">2.1.3. C source</a></li>
|
||||
<li><a href="#org29d37fa">2.1.4. Performance</a></li>
|
||||
<li><a href="#org9cbe7fd">2.1.1. Requirements</a></li>
|
||||
<li><a href="#orgecd89f5">2.1.2. C header</a></li>
|
||||
<li><a href="#org55d84dd">2.1.3. C source</a></li>
|
||||
<li><a href="#org0dbe58f">2.1.4. Performance</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgb12ea45">3. Woodbury 2x2</a>
|
||||
<li><a href="#org222a9f4">3. Woodbury 2x2</a>
|
||||
<ul>
|
||||
<li><a href="#orgb4876fa">3.1. <code>qmckl_woodbury_2</code></a>
|
||||
<li><a href="#org5639883">3.1. <code>qmckl_woodbury_2</code></a>
|
||||
<ul>
|
||||
<li><a href="#org7b59596">3.1.1. Requirements</a></li>
|
||||
<li><a href="#orgc408ca3">3.1.2. C header</a></li>
|
||||
<li><a href="#org5b5b792">3.1.3. C source</a></li>
|
||||
<li><a href="#orgcdfd217">3.1.4. Performance</a></li>
|
||||
<li><a href="#orgbd9b0d3">3.1.1. Requirements</a></li>
|
||||
<li><a href="#org0226e76">3.1.2. C header</a></li>
|
||||
<li><a href="#org40fce26">3.1.3. C source</a></li>
|
||||
<li><a href="#orga1c3d3f">3.1.4. Performance</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org06e48ec">4. Woodbury 3x3</a>
|
||||
<li><a href="#org899020d">4. Woodbury 3x3</a>
|
||||
<ul>
|
||||
<li><a href="#orgbc4e978">4.1. <code>qmckl_woodbury_3</code></a>
|
||||
<li><a href="#org61f4f2b">4.1. <code>qmckl_woodbury_3</code></a>
|
||||
<ul>
|
||||
<li><a href="#orge87bf8f">4.1.1. Requirements</a></li>
|
||||
<li><a href="#orgbb69020">4.1.2. C header</a></li>
|
||||
<li><a href="#orgd65ec54">4.1.3. C source</a></li>
|
||||
<li><a href="#org7c88972">4.1.4. Performance…</a></li>
|
||||
<li><a href="#org5d87acb">4.1.1. Requirements</a></li>
|
||||
<li><a href="#org1731030">4.1.2. C header</a></li>
|
||||
<li><a href="#org2adb53b">4.1.3. C source</a></li>
|
||||
<li><a href="#orge878917">4.1.4. Performance…</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org3ca682b">5. Sherman-Morrison with update splitting</a>
|
||||
<li><a href="#orga92a2ba">5. Sherman-Morrison with update splitting</a>
|
||||
<ul>
|
||||
<li><a href="#orga3650af">5.1. <code>qmckl_sherman_morrison_splitting</code></a>
|
||||
<li><a href="#orgd4b1683">5.1. <code>qmckl_sherman_morrison_splitting</code></a>
|
||||
<ul>
|
||||
<li><a href="#orgabaa20e">5.1.1. Requirements</a></li>
|
||||
<li><a href="#org2aca30e">5.1.2. C header</a></li>
|
||||
<li><a href="#orgcad4df6">5.1.3. C source</a></li>
|
||||
<li><a href="#orgdce9582">5.1.4. Performance…</a></li>
|
||||
<li><a href="#org72c2241">5.1.1. Requirements</a></li>
|
||||
<li><a href="#org0ea76af">5.1.2. C header</a></li>
|
||||
<li><a href="#org8a2680c">5.1.3. C source</a></li>
|
||||
<li><a href="#org0127fc9">5.1.4. Performance…</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org3fc55bf">6. Woodbury 3x3 and 2x2 with Sherman-Morrison and update splitting</a>
|
||||
<li><a href="#org4be9176">6. Woodbury 3x3 and 2x2 with Sherman-Morrison and update splitting</a>
|
||||
<ul>
|
||||
<li><a href="#org322829c">6.1. <code>qmckl_sherman_morrison_smw32s</code></a>
|
||||
<li><a href="#orgfd28b30">6.1. <code>qmckl_sherman_morrison_smw32s</code></a>
|
||||
<ul>
|
||||
<li><a href="#org343443a">6.1.1. Requirements</a></li>
|
||||
<li><a href="#org76a533c">6.1.2. C header</a></li>
|
||||
<li><a href="#org56fe2db">6.1.3. C source</a></li>
|
||||
<li><a href="#org1543f3d">6.1.4. Performance…</a></li>
|
||||
<li><a href="#orgfa090a5">6.1.1. Requirements</a></li>
|
||||
<li><a href="#orgd35202c">6.1.2. C header</a></li>
|
||||
<li><a href="#org27b73dd">6.1.3. C source</a></li>
|
||||
<li><a href="#org9182239">6.1.4. Performance…</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgae6349e">7. Helper Functions</a>
|
||||
<li><a href="#orga6f281e">7. Helper Functions</a>
|
||||
<ul>
|
||||
<li><a href="#orga6a00cf">7.1. <code>qmckl_slagel_splitting</code></a>
|
||||
<li><a href="#org7e130be">7.1. <code>qmckl_slagel_splitting</code></a>
|
||||
<ul>
|
||||
<li><a href="#orgec1028f">7.1.1. Requirements</a></li>
|
||||
<li><a href="#org8e1411f">7.1.2. C header</a></li>
|
||||
<li><a href="#org1831f1a">7.1.3. C source</a></li>
|
||||
<li><a href="#orgc29c805">7.1.4. Performance</a></li>
|
||||
<li><a href="#org5efe074">7.1.1. Requirements</a></li>
|
||||
<li><a href="#orgd941685">7.1.2. C header</a></li>
|
||||
<li><a href="#org5241e56">7.1.3. C source</a></li>
|
||||
<li><a href="#org56dd425">7.1.4. Performance</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgb586117">8. End of files</a></li>
|
||||
<li><a href="#orgaf514f9">8. End of files</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org3025edd" class="outline-2">
|
||||
<h2 id="org3025edd"><span class="section-number-2">1</span> Headers</h2>
|
||||
<div id="outline-container-orgb477cc9" class="outline-2">
|
||||
<h2 id="orgb477cc9"><span class="section-number-2">1</span> Headers</h2>
|
||||
<div class="outline-text-2" id="text-1">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #483d8b;">#include</span> <span style="color: #8b2252;">"qmckl.h"</span>
|
||||
@ -431,12 +431,12 @@ for the JavaScript code in this tag.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgbeb02e4" class="outline-2">
|
||||
<h2 id="orgbeb02e4"><span class="section-number-2">2</span> Naïve Sherman-Morrison</h2>
|
||||
<div id="outline-container-org841e6fc" class="outline-2">
|
||||
<h2 id="org841e6fc"><span class="section-number-2">2</span> Naïve Sherman-Morrison</h2>
|
||||
<div class="outline-text-2" id="text-2">
|
||||
</div>
|
||||
<div id="outline-container-org82a31d5" class="outline-3">
|
||||
<h3 id="org82a31d5"><span class="section-number-3">2.1</span> <code>qmckl_sherman_morrison</code></h3>
|
||||
<div id="outline-container-org49e9ed9" class="outline-3">
|
||||
<h3 id="org49e9ed9"><span class="section-number-3">2.1</span> <code>qmckl_sherman_morrison</code></h3>
|
||||
<div class="outline-text-3" id="text-2-1">
|
||||
<p>
|
||||
This is the simplest of the available Sherman-Morrison-Woodbury kernels. It applies rank-1 updates one by one in
|
||||
@ -478,7 +478,7 @@ If the determinant of the Slater-matrix is passed, it will be updated to the det
|
||||
from applying the updates to the original matrix.
|
||||
</p>
|
||||
|
||||
<table id="orgb2c0dc8" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orgfd7bfca" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -550,8 +550,8 @@ from applying the updates to the original matrix.
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgf1a8418" class="outline-4">
|
||||
<h4 id="orgf1a8418"><span class="section-number-4">2.1.1</span> Requirements</h4>
|
||||
<div id="outline-container-org9cbe7fd" class="outline-4">
|
||||
<h4 id="org9cbe7fd"><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>
|
||||
@ -565,8 +565,8 @@ from applying the updates to the original matrix.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgcd6ff48" class="outline-4">
|
||||
<h4 id="orgcd6ff48"><span class="section-number-4">2.1.2</span> C header</h4>
|
||||
<div id="outline-container-orgecd89f5" class="outline-4">
|
||||
<h4 id="orgecd89f5"><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_sherman_morrison</span> (
|
||||
@ -583,8 +583,8 @@ from applying the updates to the original matrix.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgb926c0e" class="outline-4">
|
||||
<h4 id="orgb926c0e"><span class="section-number-4">2.1.3</span> C source</h4>
|
||||
<div id="outline-container-org55d84dd" class="outline-4">
|
||||
<h4 id="org55d84dd"><span class="section-number-4">2.1.3</span> C source</h4>
|
||||
<div class="outline-text-4" id="text-2-1-3">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #483d8b;">#include</span> <span style="color: #8b2252;"><stdbool.h></span>
|
||||
@ -653,8 +653,8 @@ from applying the updates to the original matrix.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org29d37fa" class="outline-4">
|
||||
<h4 id="org29d37fa"><span class="section-number-4">2.1.4</span> Performance</h4>
|
||||
<div id="outline-container-org0dbe58f" class="outline-4">
|
||||
<h4 id="org0dbe58f"><span class="section-number-4">2.1.4</span> Performance</h4>
|
||||
<div class="outline-text-4" id="text-2-1-4">
|
||||
<p>
|
||||
This function performs best when there is only 1 rank-1 update in the update cycle. It is not useful to
|
||||
@ -666,12 +666,12 @@ where applying the update causes singular behaviour.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgb12ea45" class="outline-2">
|
||||
<h2 id="orgb12ea45"><span class="section-number-2">3</span> Woodbury 2x2</h2>
|
||||
<div id="outline-container-org222a9f4" class="outline-2">
|
||||
<h2 id="org222a9f4"><span class="section-number-2">3</span> Woodbury 2x2</h2>
|
||||
<div class="outline-text-2" id="text-3">
|
||||
</div>
|
||||
<div id="outline-container-orgb4876fa" class="outline-3">
|
||||
<h3 id="orgb4876fa"><span class="section-number-3">3.1</span> <code>qmckl_woodbury_2</code></h3>
|
||||
<div id="outline-container-org5639883" class="outline-3">
|
||||
<h3 id="org5639883"><span class="section-number-3">3.1</span> <code>qmckl_woodbury_2</code></h3>
|
||||
<div class="outline-text-3" id="text-3-1">
|
||||
<p>
|
||||
The Woodbury 2x2 kernel. It is used to apply two rank-1 updates at once. The formula used in
|
||||
@ -695,7 +695,7 @@ from applying the updates to the original matrix.
|
||||
|
||||
|
||||
|
||||
<table id="orga9e93ee" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org6185a2e" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -760,8 +760,8 @@ from applying the updates to the original matrix.
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org7b59596" class="outline-4">
|
||||
<h4 id="org7b59596"><span class="section-number-4">3.1.1</span> Requirements</h4>
|
||||
<div id="outline-container-orgbd9b0d3" class="outline-4">
|
||||
<h4 id="orgbd9b0d3"><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>
|
||||
@ -774,8 +774,8 @@ from applying the updates to the original matrix.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgc408ca3" class="outline-4">
|
||||
<h4 id="orgc408ca3"><span class="section-number-4">3.1.2</span> C header</h4>
|
||||
<div id="outline-container-org0226e76" class="outline-4">
|
||||
<h4 id="org0226e76"><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_woodbury_2</span> (
|
||||
@ -791,8 +791,8 @@ from applying the updates to the original matrix.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org5b5b792" class="outline-4">
|
||||
<h4 id="org5b5b792"><span class="section-number-4">3.1.3</span> C source</h4>
|
||||
<div id="outline-container-org40fce26" class="outline-4">
|
||||
<h4 id="org40fce26"><span class="section-number-4">3.1.3</span> C source</h4>
|
||||
<div class="outline-text-4" id="text-3-1-3">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #483d8b;">#include</span> <span style="color: #8b2252;"><stdbool.h></span>
|
||||
@ -878,8 +878,8 @@ from applying the updates to the original matrix.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgcdfd217" class="outline-4">
|
||||
<h4 id="orgcdfd217"><span class="section-number-4">3.1.4</span> Performance</h4>
|
||||
<div id="outline-container-orga1c3d3f" class="outline-4">
|
||||
<h4 id="orga1c3d3f"><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 most efficient when used in cases where there are only 2 rank-1 updates and
|
||||
@ -890,12 +890,12 @@ it is sure they will not result in a singular matrix.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org06e48ec" class="outline-2">
|
||||
<h2 id="org06e48ec"><span class="section-number-2">4</span> Woodbury 3x3</h2>
|
||||
<div id="outline-container-org899020d" class="outline-2">
|
||||
<h2 id="org899020d"><span class="section-number-2">4</span> Woodbury 3x3</h2>
|
||||
<div class="outline-text-2" id="text-4">
|
||||
</div>
|
||||
<div id="outline-container-orgbc4e978" class="outline-3">
|
||||
<h3 id="orgbc4e978"><span class="section-number-3">4.1</span> <code>qmckl_woodbury_3</code></h3>
|
||||
<div id="outline-container-org61f4f2b" class="outline-3">
|
||||
<h3 id="org61f4f2b"><span class="section-number-3">4.1</span> <code>qmckl_woodbury_3</code></h3>
|
||||
<div class="outline-text-3" id="text-4-1">
|
||||
<p>
|
||||
The 3x3 version of the Woodbury 2x2 kernel. It is used to apply three
|
||||
@ -916,7 +916,7 @@ from applying the updates to the original matrix.
|
||||
|
||||
|
||||
|
||||
<table id="orga1b26da" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org82db6ce" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -981,8 +981,8 @@ from applying the updates to the original matrix.
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orge87bf8f" class="outline-4">
|
||||
<h4 id="orge87bf8f"><span class="section-number-4">4.1.1</span> Requirements</h4>
|
||||
<div id="outline-container-org5d87acb" class="outline-4">
|
||||
<h4 id="org5d87acb"><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>
|
||||
@ -995,8 +995,8 @@ from applying the updates to the original matrix.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgbb69020" class="outline-4">
|
||||
<h4 id="orgbb69020"><span class="section-number-4">4.1.2</span> C header</h4>
|
||||
<div id="outline-container-org1731030" class="outline-4">
|
||||
<h4 id="org1731030"><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_woodbury_3</span> (
|
||||
@ -1012,8 +1012,8 @@ from applying the updates to the original matrix.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgd65ec54" class="outline-4">
|
||||
<h4 id="orgd65ec54"><span class="section-number-4">4.1.3</span> C source</h4>
|
||||
<div id="outline-container-org2adb53b" class="outline-4">
|
||||
<h4 id="org2adb53b"><span class="section-number-4">4.1.3</span> C source</h4>
|
||||
<div class="outline-text-4" id="text-4-1-3">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #483d8b;">#include</span> <span style="color: #8b2252;"><stdbool.h></span>
|
||||
@ -1114,8 +1114,8 @@ from applying the updates to the original matrix.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org7c88972" class="outline-4">
|
||||
<h4 id="org7c88972"><span class="section-number-4">4.1.4</span> Performance…</h4>
|
||||
<div id="outline-container-orge878917" class="outline-4">
|
||||
<h4 id="orge878917"><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 most efficient when used in cases where there are only 3 rank-1 updates and
|
||||
@ -1126,12 +1126,12 @@ it is sure they will not result in a singular matrix.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org3ca682b" class="outline-2">
|
||||
<h2 id="org3ca682b"><span class="section-number-2">5</span> Sherman-Morrison with update splitting</h2>
|
||||
<div id="outline-container-orga92a2ba" class="outline-2">
|
||||
<h2 id="orga92a2ba"><span class="section-number-2">5</span> Sherman-Morrison with update splitting</h2>
|
||||
<div class="outline-text-2" id="text-5">
|
||||
</div>
|
||||
<div id="outline-container-orga3650af" class="outline-3">
|
||||
<h3 id="orga3650af"><span class="section-number-3">5.1</span> <code>qmckl_sherman_morrison_splitting</code></h3>
|
||||
<div id="outline-container-orgd4b1683" class="outline-3">
|
||||
<h3 id="orgd4b1683"><span class="section-number-3">5.1</span> <code>qmckl_sherman_morrison_splitting</code></h3>
|
||||
<div class="outline-text-3" id="text-5-1">
|
||||
<p>
|
||||
This is a variation on the 'Naive' Sherman-Morrison kernel. Whenever the denominator \(1+v_j^T S^{-1} u_j\) in
|
||||
@ -1153,7 +1153,7 @@ If the determinant of the Slater-matrix is passed, it will be updated to the det
|
||||
from applying the updates to the original matrix.
|
||||
</p>
|
||||
|
||||
<table id="orgc144ff8" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orgbfb14b5" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -1230,8 +1230,8 @@ from applying the updates to the original matrix.
|
||||
</div>
|
||||
|
||||
|
||||
<div id="outline-container-orgabaa20e" class="outline-4">
|
||||
<h4 id="orgabaa20e"><span class="section-number-4">5.1.1</span> Requirements</h4>
|
||||
<div id="outline-container-org72c2241" class="outline-4">
|
||||
<h4 id="org72c2241"><span class="section-number-4">5.1.1</span> Requirements</h4>
|
||||
<div class="outline-text-4" id="text-5-1-1">
|
||||
<ul class="org-ul">
|
||||
<li><code>context</code> is not <code>QMCKL_NULL_CONTEXT</code></li>
|
||||
@ -1245,8 +1245,8 @@ from applying the updates to the original matrix.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org2aca30e" class="outline-4">
|
||||
<h4 id="org2aca30e"><span class="section-number-4">5.1.2</span> C header</h4>
|
||||
<div id="outline-container-org0ea76af" class="outline-4">
|
||||
<h4 id="org0ea76af"><span class="section-number-4">5.1.2</span> C header</h4>
|
||||
<div class="outline-text-4" id="text-5-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_sherman_morrison_splitting</span> (
|
||||
@ -1263,8 +1263,8 @@ from applying the updates to the original matrix.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgcad4df6" class="outline-4">
|
||||
<h4 id="orgcad4df6"><span class="section-number-4">5.1.3</span> C source</h4>
|
||||
<div id="outline-container-org8a2680c" class="outline-4">
|
||||
<h4 id="org8a2680c"><span class="section-number-4">5.1.3</span> C source</h4>
|
||||
<div class="outline-text-4" id="text-5-1-3">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #483d8b;">#include</span> <span style="color: #8b2252;"><stdbool.h></span>
|
||||
@ -1303,8 +1303,8 @@ from applying the updates to the original matrix.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgdce9582" class="outline-4">
|
||||
<h4 id="orgdce9582"><span class="section-number-4">5.1.4</span> Performance…</h4>
|
||||
<div id="outline-container-org0127fc9" class="outline-4">
|
||||
<h4 id="org0127fc9"><span class="section-number-4">5.1.4</span> Performance…</h4>
|
||||
<div class="outline-text-4" id="text-5-1-4">
|
||||
<p>
|
||||
This kernel performs best when there are 2 or more rank-1 update cycles and fail-rate is high.
|
||||
@ -1314,12 +1314,12 @@ This kernel performs best when there are 2 or more rank-1 update cycles and fail
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org3fc55bf" class="outline-2">
|
||||
<h2 id="org3fc55bf"><span class="section-number-2">6</span> Woodbury 3x3 and 2x2 with Sherman-Morrison and update splitting</h2>
|
||||
<div id="outline-container-org4be9176" class="outline-2">
|
||||
<h2 id="org4be9176"><span class="section-number-2">6</span> Woodbury 3x3 and 2x2 with Sherman-Morrison and update splitting</h2>
|
||||
<div class="outline-text-2" id="text-6">
|
||||
</div>
|
||||
<div id="outline-container-org322829c" class="outline-3">
|
||||
<h3 id="org322829c"><span class="section-number-3">6.1</span> <code>qmckl_sherman_morrison_smw32s</code></h3>
|
||||
<div id="outline-container-orgfd28b30" class="outline-3">
|
||||
<h3 id="orgfd28b30"><span class="section-number-3">6.1</span> <code>qmckl_sherman_morrison_smw32s</code></h3>
|
||||
<div class="outline-text-3" id="text-6-1">
|
||||
<p>
|
||||
The Woodbury 3x3 and 2x2 kernel with Sherman-Morrison and update splitting combines the low-level Woodbury 3x3 kernel,
|
||||
@ -1334,7 +1334,7 @@ If the determinant of the Slater-matrix is passed, it will be updated to the det
|
||||
from applying the updates to the original matrix.
|
||||
</p>
|
||||
|
||||
<table id="orgaa1971e" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org1a119a5" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -1407,8 +1407,8 @@ from applying the updates to the original matrix.
|
||||
</div>
|
||||
|
||||
|
||||
<div id="outline-container-org343443a" class="outline-4">
|
||||
<h4 id="org343443a"><span class="section-number-4">6.1.1</span> Requirements</h4>
|
||||
<div id="outline-container-orgfa090a5" class="outline-4">
|
||||
<h4 id="orgfa090a5"><span class="section-number-4">6.1.1</span> Requirements</h4>
|
||||
<div class="outline-text-4" id="text-6-1-1">
|
||||
<ul class="org-ul">
|
||||
<li><code>context</code> is not <code>QMCKL_NULL_CONTEXT</code></li>
|
||||
@ -1422,8 +1422,8 @@ from applying the updates to the original matrix.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org76a533c" class="outline-4">
|
||||
<h4 id="org76a533c"><span class="section-number-4">6.1.2</span> C header</h4>
|
||||
<div id="outline-container-orgd35202c" class="outline-4">
|
||||
<h4 id="orgd35202c"><span class="section-number-4">6.1.2</span> C header</h4>
|
||||
<div class="outline-text-4" id="text-6-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_sherman_morrison_smw32s</span> (
|
||||
@ -1440,8 +1440,8 @@ from applying the updates to the original matrix.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org56fe2db" class="outline-4">
|
||||
<h4 id="org56fe2db"><span class="section-number-4">6.1.3</span> C source</h4>
|
||||
<div id="outline-container-org27b73dd" class="outline-4">
|
||||
<h4 id="org27b73dd"><span class="section-number-4">6.1.3</span> C source</h4>
|
||||
<div class="outline-text-4" id="text-6-1-3">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #483d8b;">#include</span> <span style="color: #8b2252;"><stdbool.h></span>
|
||||
@ -1518,8 +1518,8 @@ from applying the updates to the original matrix.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org1543f3d" class="outline-4">
|
||||
<h4 id="org1543f3d"><span class="section-number-4">6.1.4</span> Performance…</h4>
|
||||
<div id="outline-container-org9182239" class="outline-4">
|
||||
<h4 id="org9182239"><span class="section-number-4">6.1.4</span> Performance…</h4>
|
||||
<div class="outline-text-4" id="text-6-1-4">
|
||||
<p>
|
||||
This kernel performs best for update cycles with 2 or more rank-1 updates and the fail-rate is low.
|
||||
@ -1529,8 +1529,8 @@ This kernel performs best for update cycles with 2 or more rank-1 updates and th
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgae6349e" class="outline-2">
|
||||
<h2 id="orgae6349e"><span class="section-number-2">7</span> Helper Functions</h2>
|
||||
<div id="outline-container-orga6f281e" class="outline-2">
|
||||
<h2 id="orga6f281e"><span class="section-number-2">7</span> Helper Functions</h2>
|
||||
<div class="outline-text-2" id="text-7">
|
||||
<p>
|
||||
Private helper-functions that are used by the Sherman-Morrison-Woodbury kernels.
|
||||
@ -1538,8 +1538,8 @@ These functions can only be used internally by the kernels in this module.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orga6a00cf" class="outline-3">
|
||||
<h3 id="orga6a00cf"><span class="section-number-3">7.1</span> <code>qmckl_slagel_splitting</code></h3>
|
||||
<div id="outline-container-org7e130be" class="outline-3">
|
||||
<h3 id="org7e130be"><span class="section-number-3">7.1</span> <code>qmckl_slagel_splitting</code></h3>
|
||||
<div class="outline-text-3" id="text-7-1">
|
||||
<p>
|
||||
<code>qmckl_slagel_splitting</code> is the non-recursive, inner part of the 'Sherman-Morrison with update splitting'-kernel.
|
||||
@ -1559,7 +1559,7 @@ If the determinant of the Slater-matrix is passed, it will be updated to the det
|
||||
from applying the updates to the original matrix.
|
||||
</p>
|
||||
|
||||
<table id="org35a1339" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org4ca15b2" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -1646,8 +1646,8 @@ from applying the updates to the original matrix.
|
||||
</div>
|
||||
|
||||
|
||||
<div id="outline-container-orgec1028f" class="outline-4">
|
||||
<h4 id="orgec1028f"><span class="section-number-4">7.1.1</span> Requirements</h4>
|
||||
<div id="outline-container-org5efe074" class="outline-4">
|
||||
<h4 id="org5efe074"><span class="section-number-4">7.1.1</span> Requirements</h4>
|
||||
<div class="outline-text-4" id="text-7-1-1">
|
||||
<ul class="org-ul">
|
||||
<li><code>Dim >= 2</code></li>
|
||||
@ -1663,8 +1663,8 @@ from applying the updates to the original matrix.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org8e1411f" class="outline-4">
|
||||
<h4 id="org8e1411f"><span class="section-number-4">7.1.2</span> C header</h4>
|
||||
<div id="outline-container-orgd941685" class="outline-4">
|
||||
<h4 id="orgd941685"><span class="section-number-4">7.1.2</span> C header</h4>
|
||||
<div class="outline-text-4" id="text-7-1-2">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">double</span> <span style="color: #0000ff;">qmckl_slagel_splitting</span> (
|
||||
@ -1683,8 +1683,8 @@ from applying the updates to the original matrix.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org1831f1a" class="outline-4">
|
||||
<h4 id="org1831f1a"><span class="section-number-4">7.1.3</span> C source</h4>
|
||||
<div id="outline-container-org5241e56" class="outline-4">
|
||||
<h4 id="org5241e56"><span class="section-number-4">7.1.3</span> C source</h4>
|
||||
<div class="outline-text-4" id="text-7-1-3">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #483d8b;">#include</span> <span style="color: #8b2252;"><stdbool.h></span>
|
||||
@ -1761,8 +1761,8 @@ from applying the updates to the original matrix.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgc29c805" class="outline-4">
|
||||
<h4 id="orgc29c805"><span class="section-number-4">7.1.4</span> Performance</h4>
|
||||
<div id="outline-container-org56dd425" class="outline-4">
|
||||
<h4 id="org56dd425"><span class="section-number-4">7.1.4</span> Performance</h4>
|
||||
<div class="outline-text-4" id="text-7-1-4">
|
||||
<p>
|
||||
This function cannot be used by itself and is used in Sherman-Morrison with update splitting and Woodbury 3x3 and 2x2
|
||||
@ -1773,8 +1773,8 @@ with Sherman-Morrison and update splitting. Please look at the performance recco
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgb586117" class="outline-2">
|
||||
<h2 id="orgb586117"><span class="section-number-2">8</span> End of files</h2>
|
||||
<div id="outline-container-orgaf514f9" class="outline-2">
|
||||
<h2 id="orgaf514f9"><span class="section-number-2">8</span> End of files</h2>
|
||||
<div class="outline-text-2" id="text-8">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"> <span style="color: #0000ff;">assert</span> (<span style="color: #228b22;">qmckl_context_destroy</span>(<span style="color: #a0522d;">context</span>) == QMCKL_SUCCESS);
|
||||
@ -1788,7 +1788,7 @@ with Sherman-Morrison and update splitting. Please look at the performance recco
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: TREX CoE</p>
|
||||
<p class="date">Created: 2021-10-13 Wed 10:18</p>
|
||||
<p class="date">Created: 2021-10-13 Wed 11:21</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-10-13 Wed 10:18 -->
|
||||
<!-- 2021-10-13 Wed 11:21 -->
|
||||
<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="#orgc5480d7">1. CHBrClF</a>
|
||||
<li><a href="#org2c42671">1. CHBrClF</a>
|
||||
<ul>
|
||||
<li><a href="#org2b5a3dc">1.1. XYZ coordinates</a></li>
|
||||
<li><a href="#orgbda7b40">1.2. Atomic basis set</a></li>
|
||||
<li><a href="#orgd046336">1.3. Molecular orbitals</a></li>
|
||||
<li><a href="#orgbddd478">1.4. Electron coordinates</a></li>
|
||||
<li><a href="#org7318c1a">1.1. XYZ coordinates</a></li>
|
||||
<li><a href="#org7167bdc">1.2. Atomic basis set</a></li>
|
||||
<li><a href="#org362c3dd">1.3. Molecular orbitals</a></li>
|
||||
<li><a href="#org7692deb">1.4. Electron coordinates</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org142c67e">2. N2</a>
|
||||
<li><a href="#orgec17c46">2. N2</a>
|
||||
<ul>
|
||||
<li><a href="#org14f30f5">2.1. XYZ coordinates</a></li>
|
||||
<li><a href="#orgb62c539">2.2. Electron coordinates</a></li>
|
||||
<li><a href="#org665b2a4">2.3. Jastrow related data</a></li>
|
||||
<li><a href="#org49386ef">2.1. XYZ coordinates</a></li>
|
||||
<li><a href="#orge2dc961">2.2. Electron coordinates</a></li>
|
||||
<li><a href="#orgeb458a5">2.3. Jastrow related data</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgc5480d7" class="outline-2">
|
||||
<h2 id="orgc5480d7"><span class="section-number-2">1</span> CHBrClF</h2>
|
||||
<div id="outline-container-org2c42671" class="outline-2">
|
||||
<h2 id="org2c42671"><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-org2b5a3dc" class="outline-3">
|
||||
<h3 id="org2b5a3dc"><span class="section-number-3">1.1</span> XYZ coordinates</h3>
|
||||
<div id="outline-container-org7318c1a" class="outline-3">
|
||||
<h3 id="org7318c1a"><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-orgbda7b40" class="outline-3">
|
||||
<h3 id="orgbda7b40"><span class="section-number-3">1.2</span> Atomic basis set</h3>
|
||||
<div id="outline-container-org7167bdc" class="outline-3">
|
||||
<h3 id="org7167bdc"><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
|
||||
@ -1288,8 +1288,8 @@ F 1
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgd046336" class="outline-3">
|
||||
<h3 id="orgd046336"><span class="section-number-3">1.3</span> Molecular orbitals</h3>
|
||||
<div id="outline-container-org362c3dd" class="outline-3">
|
||||
<h3 id="org362c3dd"><span class="section-number-3">1.3</span> Molecular orbitals</h3>
|
||||
<div class="outline-text-3" id="text-1-3">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #483d8b;">#define</span> <span style="color: #a0522d;">chbrclf_mo_num</span> ((<span style="color: #228b22;">int64_t</span>) 224)
|
||||
@ -60213,8 +60213,8 @@ F 1
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgbddd478" class="outline-3">
|
||||
<h3 id="orgbddd478"><span class="section-number-3">1.4</span> Electron coordinates</h3>
|
||||
<div id="outline-container-org7692deb" class="outline-3">
|
||||
<h3 id="org7692deb"><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.
|
||||
@ -60374,8 +60374,8 @@ Electron coordinates are stored in atomic units in normal format.
|
||||
</div>
|
||||
|
||||
|
||||
<div id="outline-container-org142c67e" class="outline-2">
|
||||
<h2 id="org142c67e"><span class="section-number-2">2</span> N2</h2>
|
||||
<div id="outline-container-orgec17c46" class="outline-2">
|
||||
<h2 id="orgec17c46"><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
|
||||
@ -60416,8 +60416,8 @@ treated by pseudopotentials thus excluded from the actual calculation.
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org14f30f5" class="outline-3">
|
||||
<h3 id="org14f30f5"><span class="section-number-3">2.1</span> XYZ coordinates</h3>
|
||||
<div id="outline-container-org49386ef" class="outline-3">
|
||||
<h3 id="org49386ef"><span class="section-number-3">2.1</span> XYZ coordinates</h3>
|
||||
<div class="outline-text-3" id="text-2-1">
|
||||
<pre class="example">
|
||||
2
|
||||
@ -60444,8 +60444,8 @@ Nuclear coordinates are stored in atomic units in transposed format.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgb62c539" class="outline-3">
|
||||
<h3 id="orgb62c539"><span class="section-number-3">2.2</span> Electron coordinates</h3>
|
||||
<div id="outline-container-orge2dc961" class="outline-3">
|
||||
<h3 id="orge2dc961"><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.
|
||||
@ -60474,8 +60474,8 @@ Electron coordinates are stored in atomic units in normal format.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org665b2a4" class="outline-3">
|
||||
<h3 id="org665b2a4"><span class="section-number-3">2.3</span> Jastrow related data</h3>
|
||||
<div id="outline-container-orgeb458a5" class="outline-3">
|
||||
<h3 id="orgeb458a5"><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
|
||||
@ -60574,7 +60574,7 @@ Ramon Panades Baruetta.
|
||||
</div>
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="date">Created: 2021-10-13 Wed 10:18</p>
|
||||
<p class="date">Created: 2021-10-13 Wed 11:21</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-10-13 Wed 10:18 -->
|
||||
<!-- 2021-10-13 Wed 11:20 -->
|
||||
<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="#orgeba3964">1. Matrix operations</a>
|
||||
<li><a href="#org2831fcb">1. Matrix operations</a>
|
||||
<ul>
|
||||
<li><a href="#org1e4516b">1.1. <code>qmckl_transpose</code></a>
|
||||
<li><a href="#org5ae5e63">1.1. <code>qmckl_transpose</code></a>
|
||||
<ul>
|
||||
<li><a href="#org38416f2">1.1.1. Requirements</a></li>
|
||||
<li><a href="#org664a24a">1.1.2. C header</a></li>
|
||||
<li><a href="#orga1e9511">1.1.3. Source</a></li>
|
||||
<li><a href="#org6e69330">1.1.1. Requirements</a></li>
|
||||
<li><a href="#org30918f2">1.1.2. C header</a></li>
|
||||
<li><a href="#orgd1b3220">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-orgeba3964" class="outline-2">
|
||||
<h2 id="orgeba3964"><span class="section-number-2">1</span> Matrix operations</h2>
|
||||
<div id="outline-container-org2831fcb" class="outline-2">
|
||||
<h2 id="org2831fcb"><span class="section-number-2">1</span> Matrix operations</h2>
|
||||
<div class="outline-text-2" id="text-1">
|
||||
</div>
|
||||
<div id="outline-container-org1e4516b" class="outline-3">
|
||||
<h3 id="org1e4516b"><span class="section-number-3">1.1</span> <code>qmckl_transpose</code></h3>
|
||||
<div id="outline-container-org5ae5e63" class="outline-3">
|
||||
<h3 id="org5ae5e63"><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="org237fa6a" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org6ef2546" 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-org38416f2" class="outline-4">
|
||||
<h4 id="org38416f2"><span class="section-number-4">1.1.1</span> Requirements</h4>
|
||||
<div id="outline-container-org6e69330" class="outline-4">
|
||||
<h4 id="org6e69330"><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-org664a24a" class="outline-4">
|
||||
<h4 id="org664a24a"><span class="section-number-4">1.1.2</span> C header</h4>
|
||||
<div id="outline-container-org30918f2" class="outline-4">
|
||||
<h4 id="org30918f2"><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-orga1e9511" class="outline-4">
|
||||
<h4 id="orga1e9511"><span class="section-number-4">1.1.3</span> Source</h4>
|
||||
<div id="outline-container-orgd1b3220" class="outline-4">
|
||||
<h4 id="orgd1b3220"><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-10-13 Wed 10:18</p>
|
||||
<p class="date">Created: 2021-10-13 Wed 11:20</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