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@170109d986 🚀
This commit is contained in:
parent
dd110843fd
commit
6320bbb5ca
@ -3,7 +3,7 @@
|
|||||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||||
<head>
|
<head>
|
||||||
<!-- 2022-08-23 Tue 06:40 -->
|
<!-- 2022-08-31 Wed 14:46 -->
|
||||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<title>QMCkl source code documentation</title>
|
<title>QMCkl source code documentation</title>
|
||||||
@ -362,7 +362,7 @@ and bug reports should be submitted at
|
|||||||
</div>
|
</div>
|
||||||
<div id="postamble" class="status">
|
<div id="postamble" class="status">
|
||||||
<p class="author">Author: TREX CoE</p>
|
<p class="author">Author: TREX CoE</p>
|
||||||
<p class="date">Created: 2022-08-23 Tue 06:40</p>
|
<p class="date">Created: 2022-08-31 Wed 14:46</p>
|
||||||
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
118
qmckl.html
118
qmckl.html
@ -3,7 +3,7 @@
|
|||||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||||
<head>
|
<head>
|
||||||
<!-- 2022-08-23 Tue 06:40 -->
|
<!-- 2022-08-31 Wed 14:46 -->
|
||||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<title>Introduction</title>
|
<title>Introduction</title>
|
||||||
@ -333,36 +333,36 @@ for the JavaScript code in this tag.
|
|||||||
<h2>Table of Contents</h2>
|
<h2>Table of Contents</h2>
|
||||||
<div id="text-table-of-contents">
|
<div id="text-table-of-contents">
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org6a931ac">1. Installing QMCkl</a>
|
<li><a href="#org2dc5e20">1. Installing QMCkl</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org38fb333">1.1. Installing from the released tarball (for end users)</a></li>
|
<li><a href="#org2bcf92f">1.1. Installing from the released tarball (for end users)</a></li>
|
||||||
<li><a href="#orgb329642">1.2. Installing from the source repository (for developers)</a></li>
|
<li><a href="#org8139170">1.2. Installing from the source repository (for developers)</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org9007038">2. Using QMCkl</a></li>
|
<li><a href="#orgc4c1b37">2. Using QMCkl</a></li>
|
||||||
<li><a href="#org3d2ecfd">3. Developing in QMCkl</a>
|
<li><a href="#orgb186ec0">3. Developing in QMCkl</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgdb5db66">3.1. Literate programming</a></li>
|
<li><a href="#org1d41b82">3.1. Literate programming</a></li>
|
||||||
<li><a href="#org0b7b205">3.2. Source code editing</a></li>
|
<li><a href="#org9dbddb1">3.2. Source code editing</a></li>
|
||||||
<li><a href="#org0689241">3.3. Choice of the programming language</a></li>
|
<li><a href="#orgd55160f">3.3. Choice of the programming language</a></li>
|
||||||
<li><a href="#org502d8de">3.4. Coding rules</a></li>
|
<li><a href="#orgcbf2e49">3.4. Coding rules</a></li>
|
||||||
<li><a href="#org130a534">3.5. Design of the library</a></li>
|
<li><a href="#org71c0c91">3.5. Design of the library</a></li>
|
||||||
<li><a href="#org99476dd">3.6. Naming conventions</a></li>
|
<li><a href="#orga02de03">3.6. Naming conventions</a></li>
|
||||||
<li><a href="#org45548b3">3.7. Application programming interface</a></li>
|
<li><a href="#orgedf7cfe">3.7. Application programming interface</a></li>
|
||||||
<li><a href="#org003159c">3.8. Global state</a></li>
|
<li><a href="#orga24319c">3.8. Global state</a></li>
|
||||||
<li><a href="#org01452f4">3.9. Headers</a></li>
|
<li><a href="#orge420c69">3.9. Headers</a></li>
|
||||||
<li><a href="#orgf86969f">3.10. Low-level functions</a></li>
|
<li><a href="#orgb27e42f">3.10. Low-level functions</a></li>
|
||||||
<li><a href="#org36b43fd">3.11. High-level functions</a></li>
|
<li><a href="#orgc1e2874">3.11. High-level functions</a></li>
|
||||||
<li><a href="#org0d65bc8">3.12. Numerical precision</a></li>
|
<li><a href="#org0d14d33">3.12. Numerical precision</a></li>
|
||||||
<li><a href="#org3b6c66d">3.13. Algorithms</a></li>
|
<li><a href="#orgb0f0ebe">3.13. Algorithms</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org6a931ac" class="outline-2">
|
<div id="outline-container-org2dc5e20" class="outline-2">
|
||||||
<h2 id="org6a931ac"><span class="section-number-2">1</span> Installing QMCkl</h2>
|
<h2 id="org2dc5e20"><span class="section-number-2">1</span> Installing QMCkl</h2>
|
||||||
<div class="outline-text-2" id="text-1">
|
<div class="outline-text-2" id="text-1">
|
||||||
<p>
|
<p>
|
||||||
The latest version fo QMCkl can be downloaded
|
The latest version fo QMCkl can be downloaded
|
||||||
@ -371,8 +371,8 @@ The latest version fo QMCkl can be downloaded
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org38fb333" class="outline-3">
|
<div id="outline-container-org2bcf92f" class="outline-3">
|
||||||
<h3 id="org38fb333"><span class="section-number-3">1.1</span> Installing from the released tarball (for end users)</h3>
|
<h3 id="org2bcf92f"><span class="section-number-3">1.1</span> Installing from the released tarball (for end users)</h3>
|
||||||
<div class="outline-text-3" id="text-1-1">
|
<div class="outline-text-3" id="text-1-1">
|
||||||
<p>
|
<p>
|
||||||
QMCkl is built with GNU Autotools, so the usual
|
QMCkl is built with GNU Autotools, so the usual
|
||||||
@ -387,8 +387,8 @@ options are defined using <code>CFLAGS</code> and <code>FCFLAGS</code>.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgb329642" class="outline-3">
|
<div id="outline-container-org8139170" class="outline-3">
|
||||||
<h3 id="orgb329642"><span class="section-number-3">1.2</span> Installing from the source repository (for developers)</h3>
|
<h3 id="org8139170"><span class="section-number-3">1.2</span> Installing from the source repository (for developers)</h3>
|
||||||
<div class="outline-text-3" id="text-1-2">
|
<div class="outline-text-3" id="text-1-2">
|
||||||
<p>
|
<p>
|
||||||
To compile from the source repository, additional dependencies are
|
To compile from the source repository, additional dependencies are
|
||||||
@ -409,8 +409,8 @@ to be executed first.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org9007038" class="outline-2">
|
<div id="outline-container-orgc4c1b37" class="outline-2">
|
||||||
<h2 id="org9007038"><span class="section-number-2">2</span> Using QMCkl</h2>
|
<h2 id="orgc4c1b37"><span class="section-number-2">2</span> Using QMCkl</h2>
|
||||||
<div class="outline-text-2" id="text-2">
|
<div class="outline-text-2" id="text-2">
|
||||||
<p>
|
<p>
|
||||||
The <code>qmckl.h</code> header file installed in the <code>${prefix}/include</code> directory
|
The <code>qmckl.h</code> header file installed in the <code>${prefix}/include</code> directory
|
||||||
@ -439,12 +439,12 @@ Both files are located in the <code>include/</code> directory.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org3d2ecfd" class="outline-2">
|
<div id="outline-container-orgb186ec0" class="outline-2">
|
||||||
<h2 id="org3d2ecfd"><span class="section-number-2">3</span> Developing in QMCkl</h2>
|
<h2 id="orgb186ec0"><span class="section-number-2">3</span> Developing in QMCkl</h2>
|
||||||
<div class="outline-text-2" id="text-3">
|
<div class="outline-text-2" id="text-3">
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-orgdb5db66" class="outline-3">
|
<div id="outline-container-org1d41b82" class="outline-3">
|
||||||
<h3 id="orgdb5db66"><span class="section-number-3">3.1</span> Literate programming</h3>
|
<h3 id="org1d41b82"><span class="section-number-3">3.1</span> Literate programming</h3>
|
||||||
<div class="outline-text-3" id="text-3-1">
|
<div class="outline-text-3" id="text-3-1">
|
||||||
<p>
|
<p>
|
||||||
In a traditional source code, most of the lines of source files of a program
|
In a traditional source code, most of the lines of source files of a program
|
||||||
@ -494,8 +494,8 @@ tarball contains the generated source code.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org0b7b205" class="outline-3">
|
<div id="outline-container-org9dbddb1" class="outline-3">
|
||||||
<h3 id="org0b7b205"><span class="section-number-3">3.2</span> Source code editing</h3>
|
<h3 id="org9dbddb1"><span class="section-number-3">3.2</span> Source code editing</h3>
|
||||||
<div class="outline-text-3" id="text-3-2">
|
<div class="outline-text-3" id="text-3-2">
|
||||||
<p>
|
<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>.
|
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>.
|
||||||
@ -526,8 +526,8 @@ org-mode.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org0689241" class="outline-3">
|
<div id="outline-container-orgd55160f" class="outline-3">
|
||||||
<h3 id="org0689241"><span class="section-number-3">3.3</span> Choice of the programming language</h3>
|
<h3 id="orgd55160f"><span class="section-number-3">3.3</span> Choice of the programming language</h3>
|
||||||
<div class="outline-text-3" id="text-3-3">
|
<div class="outline-text-3" id="text-3-3">
|
||||||
<p>
|
<p>
|
||||||
Most of the codes of the <a href="https://trex-coe.eu">TREX CoE</a> are written in Fortran with some
|
Most of the codes of the <a href="https://trex-coe.eu">TREX CoE</a> are written in Fortran with some
|
||||||
@ -591,8 +591,8 @@ For more guidelines on using Fortran to generate a C interface, see
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org502d8de" class="outline-3">
|
<div id="outline-container-orgcbf2e49" class="outline-3">
|
||||||
<h3 id="org502d8de"><span class="section-number-3">3.4</span> Coding rules</h3>
|
<h3 id="orgcbf2e49"><span class="section-number-3">3.4</span> Coding rules</h3>
|
||||||
<div class="outline-text-3" id="text-3-4">
|
<div class="outline-text-3" id="text-3-4">
|
||||||
<p>
|
<p>
|
||||||
The authors should follow the recommendations of the C99
|
The authors should follow the recommendations of the C99
|
||||||
@ -612,8 +612,8 @@ make cppcheck ; cat cppcheck.out
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org130a534" class="outline-3">
|
<div id="outline-container-org71c0c91" class="outline-3">
|
||||||
<h3 id="org130a534"><span class="section-number-3">3.5</span> Design of the library</h3>
|
<h3 id="org71c0c91"><span class="section-number-3">3.5</span> Design of the library</h3>
|
||||||
<div class="outline-text-3" id="text-3-5">
|
<div class="outline-text-3" id="text-3-5">
|
||||||
<p>
|
<p>
|
||||||
The proposed API should allow the library to: deal with memory transfers
|
The proposed API should allow the library to: deal with memory transfers
|
||||||
@ -624,8 +624,8 @@ functions (see below).
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org99476dd" class="outline-3">
|
<div id="outline-container-orga02de03" class="outline-3">
|
||||||
<h3 id="org99476dd"><span class="section-number-3">3.6</span> Naming conventions</h3>
|
<h3 id="orga02de03"><span class="section-number-3">3.6</span> Naming conventions</h3>
|
||||||
<div class="outline-text-3" id="text-3-6">
|
<div class="outline-text-3" id="text-3-6">
|
||||||
<p>
|
<p>
|
||||||
To avoid namespace collisions, we use <code>qmckl_</code> as a prefix for all exported
|
To avoid namespace collisions, we use <code>qmckl_</code> as a prefix for all exported
|
||||||
@ -646,8 +646,8 @@ form is allowed.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org45548b3" class="outline-3">
|
<div id="outline-container-orgedf7cfe" class="outline-3">
|
||||||
<h3 id="org45548b3"><span class="section-number-3">3.7</span> Application programming interface</h3>
|
<h3 id="orgedf7cfe"><span class="section-number-3">3.7</span> Application programming interface</h3>
|
||||||
<div class="outline-text-3" id="text-3-7">
|
<div class="outline-text-3" id="text-3-7">
|
||||||
<p>
|
<p>
|
||||||
In the C language, the number of bits used by the integer types can change
|
In the C language, the number of bits used by the integer types can change
|
||||||
@ -679,15 +679,15 @@ bindings in other languages in other repositories.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org003159c" class="outline-3">
|
<div id="outline-container-orga24319c" class="outline-3">
|
||||||
<h3 id="org003159c"><span class="section-number-3">3.8</span> Global state</h3>
|
<h3 id="orga24319c"><span class="section-number-3">3.8</span> Global state</h3>
|
||||||
<div class="outline-text-3" id="text-3-8">
|
<div class="outline-text-3" id="text-3-8">
|
||||||
<p>
|
<p>
|
||||||
Global variables should be avoided in the library, because it is
|
Global variables should be avoided in the library, because it is
|
||||||
possible that one single program needs to use multiple instances
|
possible that one single program needs to use multiple instances
|
||||||
of the library. To solve this problem we propose to use a pointer
|
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
|
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="orgff0fd5a">=context=</a> contains the global
|
<code>qmckl_context_create</code> function. The <a id="orgc8e7daa">=context=</a> contains the global
|
||||||
state of the library, and is used as the first argument of many
|
state of the library, and is used as the first argument of many
|
||||||
QMCkl functions.
|
QMCkl functions.
|
||||||
</p>
|
</p>
|
||||||
@ -701,8 +701,8 @@ the state is done by setters and getters, prefixed by
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org01452f4" class="outline-3">
|
<div id="outline-container-orge420c69" class="outline-3">
|
||||||
<h3 id="org01452f4"><span class="section-number-3">3.9</span> Headers</h3>
|
<h3 id="orge420c69"><span class="section-number-3">3.9</span> Headers</h3>
|
||||||
<div class="outline-text-3" id="text-3-9">
|
<div class="outline-text-3" id="text-3-9">
|
||||||
<p>
|
<p>
|
||||||
A single <code>qmckl.h</code> header to be distributed by the library
|
A single <code>qmckl.h</code> header to be distributed by the library
|
||||||
@ -790,8 +790,8 @@ and the types definitions should be written in the <code>*fh_type.f90</code> fil
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgf86969f" class="outline-3">
|
<div id="outline-container-orgb27e42f" class="outline-3">
|
||||||
<h3 id="orgf86969f"><span class="section-number-3">3.10</span> Low-level functions</h3>
|
<h3 id="orgb27e42f"><span class="section-number-3">3.10</span> Low-level functions</h3>
|
||||||
<div class="outline-text-3" id="text-3-10">
|
<div class="outline-text-3" id="text-3-10">
|
||||||
<p>
|
<p>
|
||||||
Low-level functions are very simple functions which are leaves of
|
Low-level functions are very simple functions which are leaves of
|
||||||
@ -800,14 +800,14 @@ the function call tree (they don't call any other QMCkl function).
|
|||||||
|
|
||||||
<p>
|
<p>
|
||||||
These functions are <i>pure</i>, and unaware of the QMCkl
|
These functions are <i>pure</i>, and unaware of the QMCkl
|
||||||
<a href="#orgff0fd5a"><code>context</code></a>. They are not allowed to allocate/deallocate memory, and
|
<a href="#orgc8e7daa"><code>context</code></a>. They are not allowed to allocate/deallocate memory, and
|
||||||
if they need temporary memory it should be provided in input.
|
if they need temporary memory it should be provided in input.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org36b43fd" class="outline-3">
|
<div id="outline-container-orgc1e2874" class="outline-3">
|
||||||
<h3 id="org36b43fd"><span class="section-number-3">3.11</span> High-level functions</h3>
|
<h3 id="orgc1e2874"><span class="section-number-3">3.11</span> High-level functions</h3>
|
||||||
<div class="outline-text-3" id="text-3-11">
|
<div class="outline-text-3" id="text-3-11">
|
||||||
<p>
|
<p>
|
||||||
High-level functions are at the top of the function call tree.
|
High-level functions are at the top of the function call tree.
|
||||||
@ -819,8 +819,8 @@ temporary storage, to simplify the use of accelerators.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org0d65bc8" class="outline-3">
|
<div id="outline-container-org0d14d33" class="outline-3">
|
||||||
<h3 id="org0d65bc8"><span class="section-number-3">3.12</span> Numerical precision</h3>
|
<h3 id="org0d14d33"><span class="section-number-3">3.12</span> Numerical precision</h3>
|
||||||
<div class="outline-text-3" id="text-3-12">
|
<div class="outline-text-3" id="text-3-12">
|
||||||
<p>
|
<p>
|
||||||
The minimal number of bits of precision required for a function
|
The minimal number of bits of precision required for a function
|
||||||
@ -828,7 +828,7 @@ should be given as an input of low-level computational
|
|||||||
functions. This input will be used to define the values of the
|
functions. This input will be used to define the values of the
|
||||||
different thresholds that might be used to avoid computing
|
different thresholds that might be used to avoid computing
|
||||||
unnecessary noise. High-level functions will use the precision
|
unnecessary noise. High-level functions will use the precision
|
||||||
specified in the <a href="#orgff0fd5a"><code>context</code></a> variable.
|
specified in the <a href="#orgc8e7daa"><code>context</code></a> variable.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
@ -896,8 +896,8 @@ following points :
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org3b6c66d" class="outline-3">
|
<div id="outline-container-orgb0f0ebe" class="outline-3">
|
||||||
<h3 id="org3b6c66d"><span class="section-number-3">3.13</span> Algorithms</h3>
|
<h3 id="orgb0f0ebe"><span class="section-number-3">3.13</span> Algorithms</h3>
|
||||||
<div class="outline-text-3" id="text-3-13">
|
<div class="outline-text-3" id="text-3-13">
|
||||||
<p>
|
<p>
|
||||||
Reducing the scaling of an algorithm usually implies also reducing
|
Reducing the scaling of an algorithm usually implies also reducing
|
||||||
@ -913,7 +913,7 @@ implemented adapted to different problem sizes.
|
|||||||
</div>
|
</div>
|
||||||
<div id="postamble" class="status">
|
<div id="postamble" class="status">
|
||||||
<p class="author">Author: TREX CoE</p>
|
<p class="author">Author: TREX CoE</p>
|
||||||
<p class="date">Created: 2022-08-23 Tue 06:40</p>
|
<p class="date">Created: 2022-08-31 Wed 14:46</p>
|
||||||
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
212
qmckl_ao.html
212
qmckl_ao.html
@ -3,7 +3,7 @@
|
|||||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||||
<head>
|
<head>
|
||||||
<!-- 2022-08-23 Tue 06:40 -->
|
<!-- 2022-08-31 Wed 14:47 -->
|
||||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<title>Atomic Orbitals</title>
|
<title>Atomic Orbitals</title>
|
||||||
@ -333,61 +333,61 @@ for the JavaScript code in this tag.
|
|||||||
<h2>Table of Contents</h2>
|
<h2>Table of Contents</h2>
|
||||||
<div id="text-table-of-contents">
|
<div id="text-table-of-contents">
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgcaced91">1. Introduction</a></li>
|
<li><a href="#org8a18200">1. Introduction</a></li>
|
||||||
<li><a href="#orgb1d4250">2. Context</a>
|
<li><a href="#orgae127a8">2. Context</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orge6fcb4a">2.1. Constant data</a>
|
<li><a href="#org6bd94df">2.1. Constant data</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orga508ba1">2.1.1. Initialization functions</a>
|
<li><a href="#org63b0346">2.1.1. Initialization functions</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgbe96a40">2.1.1.1. C interface</a></li>
|
<li><a href="#org30a370e">2.1.1.1. C interface</a></li>
|
||||||
<li><a href="#orgd5ed939">2.1.1.2. Fortran interface</a></li>
|
<li><a href="#orgbf00910">2.1.1.2. Fortran interface</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org4c54430">2.1.2. Access functions</a>
|
<li><a href="#org48772cf">2.1.2. Access functions</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgd24d7ce">2.1.2.1. C interface</a></li>
|
<li><a href="#org97e94b5">2.1.2.1. C interface</a></li>
|
||||||
<li><a href="#org9bb4500">2.1.2.2. Fortran interface</a></li>
|
<li><a href="#org4a14b1c">2.1.2.2. Fortran interface</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org2207672">2.2. Computed data</a>
|
<li><a href="#orgb5a2b44">2.2. Computed data</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org875bdc8">2.2.1. After initialization</a></li>
|
<li><a href="#orgaa34d72">2.2.1. After initialization</a></li>
|
||||||
<li><a href="#org0cf1f38">2.2.2. <span class="todo TODO">TODO</span> HPC-specific data structures</a></li>
|
<li><a href="#orga38e260">2.2.2. <span class="todo TODO">TODO</span> HPC-specific data structures</a></li>
|
||||||
<li><a href="#orgbe024cb">2.2.3. Access functions</a></li>
|
<li><a href="#org18277b1">2.2.3. Access functions</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org1bdac08">3. Radial part</a>
|
<li><a href="#orgc7b6eda">3. Radial part</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org0658054">3.1. General functions for Gaussian basis functions</a></li>
|
<li><a href="#orgfeefc2f">3.1. General functions for Gaussian basis functions</a></li>
|
||||||
<li><a href="#orgec4ffcf">3.2. Computation of primitives</a></li>
|
<li><a href="#org1a89fec">3.2. Computation of primitives</a></li>
|
||||||
<li><a href="#orga8b3470">3.3. Computation of shells</a></li>
|
<li><a href="#org4c24902">3.3. Computation of shells</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org2e610de">4. Polynomial part</a>
|
<li><a href="#org39fefac">4. Polynomial part</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org9d1406f">4.1. General functions for Powers of \(x-X_i\)</a></li>
|
<li><a href="#org0724fd6">4.1. General functions for Powers of \(x-X_i\)</a></li>
|
||||||
<li><a href="#orgb14456c">4.2. General functions for Value, Gradient and Laplacian of a polynomial</a></li>
|
<li><a href="#org41b4e6f">4.2. General functions for Value, Gradient and Laplacian of a polynomial</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org2617ecb">5. Combining radial and polynomial parts</a>
|
<li><a href="#org98df68e">5. Combining radial and polynomial parts</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org88661ac">5.1. Values only</a>
|
<li><a href="#org29e8a1b">5.1. Values only</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org2acca45">5.1.1. Unoptimized version</a></li>
|
<li><a href="#org6008feb">5.1.1. Unoptimized version</a></li>
|
||||||
<li><a href="#org23ae4f9">5.1.2. HPC version</a></li>
|
<li><a href="#orgbed14e4">5.1.2. HPC version</a></li>
|
||||||
<li><a href="#org64da80c">5.1.3. Interfaces</a></li>
|
<li><a href="#org8f77c05">5.1.3. Interfaces</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org445bcdd">5.2. Value, gradients, Laplacian</a>
|
<li><a href="#orgbd57a55">5.2. Value, gradients, Laplacian</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org58a8a48">5.2.1. Unoptimized version</a></li>
|
<li><a href="#org0a6f53c">5.2.1. Unoptimized version</a></li>
|
||||||
<li><a href="#orgd961641">5.2.2. HPC version</a></li>
|
<li><a href="#org4323a57">5.2.2. HPC version</a></li>
|
||||||
<li><a href="#org5939444">5.2.3. Interfaces</a></li>
|
<li><a href="#orgec0093b">5.2.3. Interfaces</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
@ -396,8 +396,8 @@ for the JavaScript code in this tag.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgcaced91" class="outline-2">
|
<div id="outline-container-org8a18200" class="outline-2">
|
||||||
<h2 id="orgcaced91"><span class="section-number-2">1</span> Introduction</h2>
|
<h2 id="org8a18200"><span class="section-number-2">1</span> Introduction</h2>
|
||||||
<div class="outline-text-2" id="text-1">
|
<div class="outline-text-2" id="text-1">
|
||||||
<p>
|
<p>
|
||||||
The atomic basis set is defined as a list of shells. Each shell \(s\) is
|
The atomic basis set is defined as a list of shells. Each shell \(s\) is
|
||||||
@ -450,19 +450,19 @@ gradients and Laplacian of the atomic basis functions.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgb1d4250" class="outline-2">
|
<div id="outline-container-orgae127a8" class="outline-2">
|
||||||
<h2 id="orgb1d4250"><span class="section-number-2">2</span> Context</h2>
|
<h2 id="orgae127a8"><span class="section-number-2">2</span> Context</h2>
|
||||||
<div class="outline-text-2" id="text-2">
|
<div class="outline-text-2" id="text-2">
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-orge6fcb4a" class="outline-3">
|
<div id="outline-container-org6bd94df" class="outline-3">
|
||||||
<h3 id="orge6fcb4a"><span class="section-number-3">2.1</span> Constant data</h3>
|
<h3 id="org6bd94df"><span class="section-number-3">2.1</span> Constant data</h3>
|
||||||
<div class="outline-text-3" id="text-2-1">
|
<div class="outline-text-3" id="text-2-1">
|
||||||
<p>
|
<p>
|
||||||
The following arrays are stored in the context, and need to be set
|
The following arrays are stored in the context, and need to be set
|
||||||
when initializing the library:
|
when initializing the library:
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<table id="orgf60fa93" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org72a01eb" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -636,7 +636,7 @@ calling the functions:
|
|||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-C" id="org64db99a"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_set_ao_basis_$V$</span> ( <span style="color: #228b22;">qmckl_context</span> <span style="color: #a0522d;">context</span>,
|
<pre class="src src-C" id="org8817abc"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_set_ao_basis_$V$</span> ( <span style="color: #228b22;">qmckl_context</span> <span style="color: #a0522d;">context</span>,
|
||||||
<span style="color: #a020f0;">const</span> $type_of_V$ $V$);
|
<span style="color: #a020f0;">const</span> $type_of_V$ $V$);
|
||||||
|
|
||||||
<span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_get_ao_basis_$V$</span> ( <span style="color: #a020f0;">const</span> <span style="color: #228b22;">qmckl_context</span> <span style="color: #a0522d;">context</span>,
|
<span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_get_ao_basis_$V$</span> ( <span style="color: #a020f0;">const</span> <span style="color: #228b22;">qmckl_context</span> <span style="color: #a0522d;">context</span>,
|
||||||
@ -673,7 +673,7 @@ For array variables, use the rule:
|
|||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-C" id="orgc421504"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_set_ao_basis_$V$</span> ( <span style="color: #228b22;">qmckl_context</span> <span style="color: #a0522d;">context</span>,
|
<pre class="src src-C" id="orgcc43343"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_set_ao_basis_$V$</span> ( <span style="color: #228b22;">qmckl_context</span> <span style="color: #a0522d;">context</span>,
|
||||||
<span style="color: #a020f0;">const</span> $type_of_V$ $V$,
|
<span style="color: #a020f0;">const</span> $type_of_V$ $V$,
|
||||||
<span style="color: #a020f0;">const</span> <span style="color: #228b22;">int64_t</span> <span style="color: #a0522d;">size_max</span>);
|
<span style="color: #a020f0;">const</span> <span style="color: #228b22;">int64_t</span> <span style="color: #a0522d;">size_max</span>);
|
||||||
|
|
||||||
@ -711,17 +711,17 @@ For array variables, use the rule:
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orga508ba1" class="outline-4">
|
<div id="outline-container-org63b0346" class="outline-4">
|
||||||
<h4 id="orga508ba1"><span class="section-number-4">2.1.1</span> Initialization functions</h4>
|
<h4 id="org63b0346"><span class="section-number-4">2.1.1</span> Initialization functions</h4>
|
||||||
<div class="outline-text-4" id="text-2-1-1">
|
<div class="outline-text-4" id="text-2-1-1">
|
||||||
<p>
|
<p>
|
||||||
<code>size_max</code> is the dimension of the input array, which should be
|
<code>size_max</code> is the dimension of the input array, which should be
|
||||||
equal of larger than the value given in the table of section <a href="#orgb1d4250">2</a>.
|
equal of larger than the value given in the table of section <a href="#orgae127a8">2</a>.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgbe96a40" class="outline-5">
|
<div id="outline-container-org30a370e" class="outline-5">
|
||||||
<h5 id="orgbe96a40"><span class="section-number-5">2.1.1.1</span> C interface</h5>
|
<h5 id="org30a370e"><span class="section-number-5">2.1.1.1</span> C interface</h5>
|
||||||
<div class="outline-text-5" id="text-2-1-1-1">
|
<div class="outline-text-5" id="text-2-1-1-1">
|
||||||
<p>
|
<p>
|
||||||
To set the basis set, all the following functions need to be
|
To set the basis set, all the following functions need to be
|
||||||
@ -845,8 +845,8 @@ called.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgd5ed939" class="outline-5">
|
<div id="outline-container-orgbf00910" class="outline-5">
|
||||||
<h5 id="orgd5ed939"><span class="section-number-5">2.1.1.2</span> Fortran interface</h5>
|
<h5 id="orgbf00910"><span class="section-number-5">2.1.1.2</span> Fortran interface</h5>
|
||||||
<div class="outline-text-5" id="text-2-1-1-2">
|
<div class="outline-text-5" id="text-2-1-1-2">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-f90"><span style="color: #a020f0;">interface</span>
|
<pre class="src src-f90"><span style="color: #a020f0;">interface</span>
|
||||||
@ -1029,17 +1029,17 @@ called.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org4c54430" class="outline-4">
|
<div id="outline-container-org48772cf" class="outline-4">
|
||||||
<h4 id="org4c54430"><span class="section-number-4">2.1.2</span> Access functions</h4>
|
<h4 id="org48772cf"><span class="section-number-4">2.1.2</span> Access functions</h4>
|
||||||
<div class="outline-text-4" id="text-2-1-2">
|
<div class="outline-text-4" id="text-2-1-2">
|
||||||
<p>
|
<p>
|
||||||
<code>size_max</code> is the dimension of the input array, which should be
|
<code>size_max</code> is the dimension of the input array, which should be
|
||||||
equal of larger than the value given in the table of section <a href="#orgb1d4250">2</a>.
|
equal of larger than the value given in the table of section <a href="#orgae127a8">2</a>.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgd24d7ce" class="outline-5">
|
<div id="outline-container-org97e94b5" class="outline-5">
|
||||||
<h5 id="orgd24d7ce"><span class="section-number-5">2.1.2.1</span> C interface</h5>
|
<h5 id="org97e94b5"><span class="section-number-5">2.1.2.1</span> C interface</h5>
|
||||||
<div class="outline-text-5" id="text-2-1-2-1">
|
<div class="outline-text-5" id="text-2-1-2-1">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span>
|
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span>
|
||||||
@ -1161,8 +1161,8 @@ function returns <code>true</code>.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org9bb4500" class="outline-5">
|
<div id="outline-container-org4a14b1c" class="outline-5">
|
||||||
<h5 id="org9bb4500"><span class="section-number-5">2.1.2.2</span> Fortran interface</h5>
|
<h5 id="org4a14b1c"><span class="section-number-5">2.1.2.2</span> Fortran interface</h5>
|
||||||
<div class="outline-text-5" id="text-2-1-2-2">
|
<div class="outline-text-5" id="text-2-1-2-2">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-f90"><span style="color: #a020f0;">interface</span>
|
<pre class="src src-f90"><span style="color: #a020f0;">interface</span>
|
||||||
@ -1346,8 +1346,8 @@ function returns <code>true</code>.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org2207672" class="outline-3">
|
<div id="outline-container-orgb5a2b44" class="outline-3">
|
||||||
<h3 id="org2207672"><span class="section-number-3">2.2</span> Computed data</h3>
|
<h3 id="orgb5a2b44"><span class="section-number-3">2.2</span> Computed data</h3>
|
||||||
<div class="outline-text-3" id="text-2-2">
|
<div class="outline-text-3" id="text-2-2">
|
||||||
<p>
|
<p>
|
||||||
The following data is computed as described in the next sections:
|
The following data is computed as described in the next sections:
|
||||||
@ -1422,8 +1422,8 @@ The following data is computed as described in the next sections:
|
|||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org875bdc8" class="outline-4">
|
<div id="outline-container-orgaa34d72" class="outline-4">
|
||||||
<h4 id="org875bdc8"><span class="section-number-4">2.2.1</span> After initialization</h4>
|
<h4 id="orgaa34d72"><span class="section-number-4">2.2.1</span> After initialization</h4>
|
||||||
<div class="outline-text-4" id="text-2-2-1">
|
<div class="outline-text-4" id="text-2-2-1">
|
||||||
<p>
|
<p>
|
||||||
When the basis set is completely entered, extra data structures may be
|
When the basis set is completely entered, extra data structures may be
|
||||||
@ -1437,8 +1437,8 @@ the context.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org0cf1f38" class="outline-4">
|
<div id="outline-container-orga38e260" class="outline-4">
|
||||||
<h4 id="org0cf1f38"><span class="section-number-4">2.2.2</span> <span class="todo TODO">TODO</span> HPC-specific data structures</h4>
|
<h4 id="orga38e260"><span class="section-number-4">2.2.2</span> <span class="todo TODO">TODO</span> HPC-specific data structures</h4>
|
||||||
<div class="outline-text-4" id="text-2-2-2">
|
<div class="outline-text-4" id="text-2-2-2">
|
||||||
<p>
|
<p>
|
||||||
For faster access, we provide extra arrays for the shell information as:
|
For faster access, we provide extra arrays for the shell information as:
|
||||||
@ -1468,8 +1468,8 @@ which is a matrix-vector product.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgbe024cb" class="outline-4">
|
<div id="outline-container-org18277b1" class="outline-4">
|
||||||
<h4 id="orgbe024cb"><span class="section-number-4">2.2.3</span> Access functions</h4>
|
<h4 id="org18277b1"><span class="section-number-4">2.2.3</span> Access functions</h4>
|
||||||
<div class="outline-text-4" id="text-2-2-3">
|
<div class="outline-text-4" id="text-2-2-3">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span>
|
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span>
|
||||||
@ -1482,7 +1482,7 @@ which is a matrix-vector product.
|
|||||||
<p>
|
<p>
|
||||||
Returns the array of values, gradients an Laplacian of primitive
|
Returns the array of values, gradients an Laplacian of primitive
|
||||||
basis functions evaluated at the current coordinates.
|
basis functions evaluated at the current coordinates.
|
||||||
See section <a href="#orgec4ffcf">3.2</a>.
|
See section <a href="#org1a89fec">3.2</a>.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
@ -1495,7 +1495,7 @@ See section <a href="#orgec4ffcf">3.2</a>.
|
|||||||
|
|
||||||
<p>
|
<p>
|
||||||
Returns the array of values, gradients an Laplacian of contracted shells
|
Returns the array of values, gradients an Laplacian of contracted shells
|
||||||
evaluated at the current coordinates. See section <a href="#orga8b3470">3.3</a>.
|
evaluated at the current coordinates. See section <a href="#org4c24902">3.3</a>.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
@ -1509,7 +1509,7 @@ evaluated at the current coordinates. See section <a href="#orga8b3470">3.3</a>.
|
|||||||
<p>
|
<p>
|
||||||
Returns the array of values, gradients an Laplacian of the atomic orbitals
|
Returns the array of values, gradients an Laplacian of the atomic orbitals
|
||||||
evaluated at the current coordinates.
|
evaluated at the current coordinates.
|
||||||
See section <a href="#org2617ecb">5</a>.
|
See section <a href="#org98df68e">5</a>.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
@ -1534,7 +1534,7 @@ Uses the given array to compute the VGL.
|
|||||||
|
|
||||||
<p>
|
<p>
|
||||||
Returns the array of values of the atomic orbitals evaluated at
|
Returns the array of values of the atomic orbitals evaluated at
|
||||||
the current coordinates. See section <a href="#org2617ecb">5</a>.
|
the current coordinates. See section <a href="#org98df68e">5</a>.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
@ -1553,12 +1553,12 @@ Uses the given array to compute the value.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org1bdac08" class="outline-2">
|
<div id="outline-container-orgc7b6eda" class="outline-2">
|
||||||
<h2 id="org1bdac08"><span class="section-number-2">3</span> Radial part</h2>
|
<h2 id="orgc7b6eda"><span class="section-number-2">3</span> Radial part</h2>
|
||||||
<div class="outline-text-2" id="text-3">
|
<div class="outline-text-2" id="text-3">
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-org0658054" class="outline-3">
|
<div id="outline-container-orgfeefc2f" class="outline-3">
|
||||||
<h3 id="org0658054"><span class="section-number-3">3.1</span> General functions for Gaussian basis functions</h3>
|
<h3 id="orgfeefc2f"><span class="section-number-3">3.1</span> General functions for Gaussian basis functions</h3>
|
||||||
<div class="outline-text-3" id="text-3-1">
|
<div class="outline-text-3" id="text-3-1">
|
||||||
<p>
|
<p>
|
||||||
<code>qmckl_ao_gaussian_vgl</code> computes the values, gradients and
|
<code>qmckl_ao_gaussian_vgl</code> computes the values, gradients and
|
||||||
@ -1729,10 +1729,10 @@ Requirements:
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgec4ffcf" class="outline-3">
|
<div id="outline-container-org1a89fec" class="outline-3">
|
||||||
<h3 id="orgec4ffcf"><span class="section-number-3">3.2</span> Computation of primitives</h3>
|
<h3 id="org1a89fec"><span class="section-number-3">3.2</span> Computation of primitives</h3>
|
||||||
<div class="outline-text-3" id="text-3-2">
|
<div class="outline-text-3" id="text-3-2">
|
||||||
<table id="org4467734" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org6c8ec91" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -1891,10 +1891,10 @@ Requirements:
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orga8b3470" class="outline-3">
|
<div id="outline-container-org4c24902" class="outline-3">
|
||||||
<h3 id="orga8b3470"><span class="section-number-3">3.3</span> Computation of shells</h3>
|
<h3 id="org4c24902"><span class="section-number-3">3.3</span> Computation of shells</h3>
|
||||||
<div class="outline-text-3" id="text-3-3">
|
<div class="outline-text-3" id="text-3-3">
|
||||||
<table id="orga234993" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="orge39926e" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -2146,8 +2146,8 @@ Requirements:
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org2e610de" class="outline-2">
|
<div id="outline-container-org39fefac" class="outline-2">
|
||||||
<h2 id="org2e610de"><span class="section-number-2">4</span> Polynomial part</h2>
|
<h2 id="org39fefac"><span class="section-number-2">4</span> Polynomial part</h2>
|
||||||
<div class="outline-text-2" id="text-4">
|
<div class="outline-text-2" id="text-4">
|
||||||
<p>
|
<p>
|
||||||
Going from the atomic basis set to AOs implies a systematic
|
Going from the atomic basis set to AOs implies a systematic
|
||||||
@ -2167,8 +2167,8 @@ f & : & f_{xxx}, f_{xxy}, f_{xxz}, f_{xyy}, f_{xyz}, f_{xzz}, f_{yyy}, f_{yyz},
|
|||||||
\end{eqnarray}
|
\end{eqnarray}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org9d1406f" class="outline-3">
|
<div id="outline-container-org0724fd6" class="outline-3">
|
||||||
<h3 id="org9d1406f"><span class="section-number-3">4.1</span> General functions for Powers of \(x-X_i\)</h3>
|
<h3 id="org0724fd6"><span class="section-number-3">4.1</span> General functions for Powers of \(x-X_i\)</h3>
|
||||||
<div class="outline-text-3" id="text-4-1">
|
<div class="outline-text-3" id="text-4-1">
|
||||||
<p>
|
<p>
|
||||||
The <code>qmckl_ao_power</code> function computes all the powers of the <code>n</code>
|
The <code>qmckl_ao_power</code> function computes all the powers of the <code>n</code>
|
||||||
@ -2180,7 +2180,7 @@ the \(n\) points:
|
|||||||
\[ P_{ik} = X_i^k \]
|
\[ P_{ik} = X_i^k \]
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<table id="org2131d71" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org9de2cc1" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -2318,8 +2318,8 @@ Requirements:
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgb14456c" class="outline-3">
|
<div id="outline-container-org41b4e6f" class="outline-3">
|
||||||
<h3 id="orgb14456c"><span class="section-number-3">4.2</span> General functions for Value, Gradient and Laplacian of a polynomial</h3>
|
<h3 id="org41b4e6f"><span class="section-number-3">4.2</span> General functions for Value, Gradient and Laplacian of a polynomial</h3>
|
||||||
<div class="outline-text-3" id="text-4-2">
|
<div class="outline-text-3" id="text-4-2">
|
||||||
<p>
|
<p>
|
||||||
A polynomial is centered on a nucleus \(\mathbf{R}_i\)
|
A polynomial is centered on a nucleus \(\mathbf{R}_i\)
|
||||||
@ -2364,7 +2364,7 @@ Laplacians at a given point in space, of all polynomials with an
|
|||||||
angular momentum up to <code>lmax</code>.
|
angular momentum up to <code>lmax</code>.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<table id="orgb38b33c" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org08fc645" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -3128,18 +3128,18 @@ For example, with a=0, b=2 and c=1 the string is "yyz"</li>
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org2617ecb" class="outline-2">
|
<div id="outline-container-org98df68e" class="outline-2">
|
||||||
<h2 id="org2617ecb"><span class="section-number-2">5</span> Combining radial and polynomial parts</h2>
|
<h2 id="org98df68e"><span class="section-number-2">5</span> Combining radial and polynomial parts</h2>
|
||||||
<div class="outline-text-2" id="text-5">
|
<div class="outline-text-2" id="text-5">
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-org88661ac" class="outline-3">
|
<div id="outline-container-org29e8a1b" class="outline-3">
|
||||||
<h3 id="org88661ac"><span class="section-number-3">5.1</span> Values only</h3>
|
<h3 id="org29e8a1b"><span class="section-number-3">5.1</span> Values only</h3>
|
||||||
<div class="outline-text-3" id="text-5-1">
|
<div class="outline-text-3" id="text-5-1">
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-org2acca45" class="outline-4">
|
<div id="outline-container-org6008feb" class="outline-4">
|
||||||
<h4 id="org2acca45"><span class="section-number-4">5.1.1</span> Unoptimized version</h4>
|
<h4 id="org6008feb"><span class="section-number-4">5.1.1</span> Unoptimized version</h4>
|
||||||
<div class="outline-text-4" id="text-5-1-1">
|
<div class="outline-text-4" id="text-5-1-1">
|
||||||
<table id="org7c7ecac" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org26a70fe" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -3375,10 +3375,10 @@ For example, with a=0, b=2 and c=1 the string is "yyz"</li>
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org23ae4f9" class="outline-4">
|
<div id="outline-container-orgbed14e4" class="outline-4">
|
||||||
<h4 id="org23ae4f9"><span class="section-number-4">5.1.2</span> HPC version</h4>
|
<h4 id="orgbed14e4"><span class="section-number-4">5.1.2</span> HPC version</h4>
|
||||||
<div class="outline-text-4" id="text-5-1-2">
|
<div class="outline-text-4" id="text-5-1-2">
|
||||||
<table id="org5bbb681" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="orgf0ebcf8" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -3536,8 +3536,8 @@ For example, with a=0, b=2 and c=1 the string is "yyz"</li>
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org64da80c" class="outline-4">
|
<div id="outline-container-org8f77c05" class="outline-4">
|
||||||
<h4 id="org64da80c"><span class="section-number-4">5.1.3</span> Interfaces</h4>
|
<h4 id="org8f77c05"><span class="section-number-4">5.1.3</span> Interfaces</h4>
|
||||||
<div class="outline-text-4" id="text-5-1-3">
|
<div class="outline-text-4" id="text-5-1-3">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_compute_ao_value_doc</span> (
|
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_compute_ao_value_doc</span> (
|
||||||
@ -3586,14 +3586,14 @@ For example, with a=0, b=2 and c=1 the string is "yyz"</li>
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org445bcdd" class="outline-3">
|
<div id="outline-container-orgbd57a55" class="outline-3">
|
||||||
<h3 id="org445bcdd"><span class="section-number-3">5.2</span> Value, gradients, Laplacian</h3>
|
<h3 id="orgbd57a55"><span class="section-number-3">5.2</span> Value, gradients, Laplacian</h3>
|
||||||
<div class="outline-text-3" id="text-5-2">
|
<div class="outline-text-3" id="text-5-2">
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-org58a8a48" class="outline-4">
|
<div id="outline-container-org0a6f53c" class="outline-4">
|
||||||
<h4 id="org58a8a48"><span class="section-number-4">5.2.1</span> Unoptimized version</h4>
|
<h4 id="org0a6f53c"><span class="section-number-4">5.2.1</span> Unoptimized version</h4>
|
||||||
<div class="outline-text-4" id="text-5-2-1">
|
<div class="outline-text-4" id="text-5-2-1">
|
||||||
<table id="orgbeb2120" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org1bfc404" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -3858,10 +3858,10 @@ For example, with a=0, b=2 and c=1 the string is "yyz"</li>
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgd961641" class="outline-4">
|
<div id="outline-container-org4323a57" class="outline-4">
|
||||||
<h4 id="orgd961641"><span class="section-number-4">5.2.2</span> HPC version</h4>
|
<h4 id="org4323a57"><span class="section-number-4">5.2.2</span> HPC version</h4>
|
||||||
<div class="outline-text-4" id="text-5-2-2">
|
<div class="outline-text-4" id="text-5-2-2">
|
||||||
<table id="org7fc061c" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org8328b55" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -4020,8 +4020,8 @@ For example, with a=0, b=2 and c=1 the string is "yyz"</li>
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div id="outline-container-org5939444" class="outline-4">
|
<div id="outline-container-orgec0093b" class="outline-4">
|
||||||
<h4 id="org5939444"><span class="section-number-4">5.2.3</span> Interfaces</h4>
|
<h4 id="orgec0093b"><span class="section-number-4">5.2.3</span> Interfaces</h4>
|
||||||
<div class="outline-text-4" id="text-5-2-3">
|
<div class="outline-text-4" id="text-5-2-3">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_compute_ao_vgl_doc</span> (
|
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_compute_ao_vgl_doc</span> (
|
||||||
@ -4073,7 +4073,7 @@ For example, with a=0, b=2 and c=1 the string is "yyz"</li>
|
|||||||
</div>
|
</div>
|
||||||
<div id="postamble" class="status">
|
<div id="postamble" class="status">
|
||||||
<p class="author">Author: TREX CoE</p>
|
<p class="author">Author: TREX CoE</p>
|
||||||
<p class="date">Created: 2022-08-23 Tue 06:40</p>
|
<p class="date">Created: 2022-08-31 Wed 14:47</p>
|
||||||
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
172
qmckl_blas.html
172
qmckl_blas.html
@ -3,7 +3,7 @@
|
|||||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||||
<head>
|
<head>
|
||||||
<!-- 2022-08-23 Tue 06:40 -->
|
<!-- 2022-08-31 Wed 14:47 -->
|
||||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<title>BLAS functions</title>
|
<title>BLAS functions</title>
|
||||||
@ -333,54 +333,54 @@ for the JavaScript code in this tag.
|
|||||||
<h2>Table of Contents</h2>
|
<h2>Table of Contents</h2>
|
||||||
<div id="text-table-of-contents">
|
<div id="text-table-of-contents">
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgba203c8">-</a></li>
|
<li><a href="#org39b2159">-</a></li>
|
||||||
<li><a href="#org3f8c077">1. Data types</a>
|
<li><a href="#org4d3a0c5">1. Data types</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgd1b2c67">1.1. Vector</a></li>
|
<li><a href="#org83e88c7">1.1. Vector</a></li>
|
||||||
<li><a href="#org0de8b66">1.2. Matrix</a></li>
|
<li><a href="#org2573d18">1.2. Matrix</a></li>
|
||||||
<li><a href="#orgdae237c">1.3. Tensor</a></li>
|
<li><a href="#org485359b">1.3. Tensor</a></li>
|
||||||
<li><a href="#orgb39a07e">1.4. Reshaping</a>
|
<li><a href="#orge3cc059">1.4. Reshaping</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgac6f898">1.4.1. Vector -> Matrix</a></li>
|
<li><a href="#orgc7161cb">1.4.1. Vector -> Matrix</a></li>
|
||||||
<li><a href="#orge947b7c">1.4.2. Vector -> Tensor</a></li>
|
<li><a href="#org311770b">1.4.2. Vector -> Tensor</a></li>
|
||||||
<li><a href="#org7fe4a2c">1.4.3. Matrix -> Vector</a></li>
|
<li><a href="#org3e927a6">1.4.3. Matrix -> Vector</a></li>
|
||||||
<li><a href="#org0f03e2d">1.4.4. Matrix -> Tensor</a></li>
|
<li><a href="#org868e4f4">1.4.4. Matrix -> Tensor</a></li>
|
||||||
<li><a href="#org0562af1">1.4.5. Tensor -> Vector</a></li>
|
<li><a href="#org8999644">1.4.5. Tensor -> Vector</a></li>
|
||||||
<li><a href="#org34f7f21">1.4.6. Tensor -> Matrix</a></li>
|
<li><a href="#org661cd3c">1.4.6. Tensor -> Matrix</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#orge161948">1.5. Access macros</a></li>
|
<li><a href="#orgf98dbc3">1.5. Access macros</a></li>
|
||||||
<li><a href="#org0657f29">1.6. Set all elements</a>
|
<li><a href="#org2d5c903">1.6. Set all elements</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org5a8609c">1.6.1. Vector</a></li>
|
<li><a href="#orgddf1b6e">1.6.1. Vector</a></li>
|
||||||
<li><a href="#orgf5da7ed">1.6.2. Matrix</a></li>
|
<li><a href="#org74f1805">1.6.2. Matrix</a></li>
|
||||||
<li><a href="#orgab55660">1.6.3. Tensor</a></li>
|
<li><a href="#org7ad2baa">1.6.3. Tensor</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#orgece1c9a">1.7. Copy to/from to <code>double*</code></a></li>
|
<li><a href="#org20cd63d">1.7. Copy to/from to <code>double*</code></a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org27dd582">2. Matrix operations</a>
|
<li><a href="#org4a5f257">2. Matrix operations</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org63709c1">2.1. <code>qmckl_dgemm</code></a></li>
|
<li><a href="#org8378f93">2.1. <code>qmckl_dgemm</code></a></li>
|
||||||
<li><a href="#org64fccb3">2.2. <code>qmckl_dgemm_safe</code></a></li>
|
<li><a href="#orgc8bfc17">2.2. <code>qmckl_dgemm_safe</code></a></li>
|
||||||
<li><a href="#orgcc38490">2.3. <code>qmckl_matmul</code></a></li>
|
<li><a href="#org549e312">2.3. <code>qmckl_matmul</code></a></li>
|
||||||
<li><a href="#org6ccec21">2.4. <code>qmckl_adjugate</code></a></li>
|
<li><a href="#orgdcb2b36">2.4. <code>qmckl_adjugate</code></a></li>
|
||||||
<li><a href="#org5beff2f">2.5. <code>qmckl_adjugate_safe</code></a>
|
<li><a href="#orgff98d3a">2.5. <code>qmckl_adjugate_safe</code></a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org28178f8">2.5.1. C interface</a></li>
|
<li><a href="#org39514c5">2.5.1. C interface</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#orga055f91">2.6. <code>qmckl_transpose</code></a></li>
|
<li><a href="#org3bc5981">2.6. <code>qmckl_transpose</code></a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgba203c8" class="outline-2">
|
<div id="outline-container-org39b2159" class="outline-2">
|
||||||
<h2 id="orgba203c8">-</h2>
|
<h2 id="org39b2159">-</h2>
|
||||||
<div class="outline-text-2" id="text-orgba203c8">
|
<div class="outline-text-2" id="text-org39b2159">
|
||||||
<p>
|
<p>
|
||||||
Basic linear algebra data types and operations are described in this file.
|
Basic linear algebra data types and operations are described in this file.
|
||||||
The data types are private, so that HPC implementations can use
|
The data types are private, so that HPC implementations can use
|
||||||
@ -394,12 +394,12 @@ are not intended to be passed to external codes.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org3f8c077" class="outline-2">
|
<div id="outline-container-org4d3a0c5" class="outline-2">
|
||||||
<h2 id="org3f8c077"><span class="section-number-2">1</span> Data types</h2>
|
<h2 id="org4d3a0c5"><span class="section-number-2">1</span> Data types</h2>
|
||||||
<div class="outline-text-2" id="text-1">
|
<div class="outline-text-2" id="text-1">
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-orgd1b2c67" class="outline-3">
|
<div id="outline-container-org83e88c7" class="outline-3">
|
||||||
<h3 id="orgd1b2c67"><span class="section-number-3">1.1</span> Vector</h3>
|
<h3 id="org83e88c7"><span class="section-number-3">1.1</span> Vector</h3>
|
||||||
<div class="outline-text-3" id="text-1-1">
|
<div class="outline-text-3" id="text-1-1">
|
||||||
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
@ -453,8 +453,8 @@ Allocates a new vector. If the allocation failed the size is zero.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org0de8b66" class="outline-3">
|
<div id="outline-container-org2573d18" class="outline-3">
|
||||||
<h3 id="org0de8b66"><span class="section-number-3">1.2</span> Matrix</h3>
|
<h3 id="org2573d18"><span class="section-number-3">1.2</span> Matrix</h3>
|
||||||
<div class="outline-text-3" id="text-1-2">
|
<div class="outline-text-3" id="text-1-2">
|
||||||
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
@ -514,8 +514,8 @@ Allocates a new matrix. If the allocation failed the sizes are zero.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgdae237c" class="outline-3">
|
<div id="outline-container-org485359b" class="outline-3">
|
||||||
<h3 id="orgdae237c"><span class="section-number-3">1.3</span> Tensor</h3>
|
<h3 id="org485359b"><span class="section-number-3">1.3</span> Tensor</h3>
|
||||||
<div class="outline-text-3" id="text-1-3">
|
<div class="outline-text-3" id="text-1-3">
|
||||||
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
@ -582,16 +582,16 @@ is zero.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgb39a07e" class="outline-3">
|
<div id="outline-container-orge3cc059" class="outline-3">
|
||||||
<h3 id="orgb39a07e"><span class="section-number-3">1.4</span> Reshaping</h3>
|
<h3 id="orge3cc059"><span class="section-number-3">1.4</span> Reshaping</h3>
|
||||||
<div class="outline-text-3" id="text-1-4">
|
<div class="outline-text-3" id="text-1-4">
|
||||||
<p>
|
<p>
|
||||||
Reshaping occurs in-place and the pointer to the data is copied.
|
Reshaping occurs in-place and the pointer to the data is copied.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgac6f898" class="outline-4">
|
<div id="outline-container-orgc7161cb" class="outline-4">
|
||||||
<h4 id="orgac6f898"><span class="section-number-4">1.4.1</span> Vector -> Matrix</h4>
|
<h4 id="orgc7161cb"><span class="section-number-4">1.4.1</span> Vector -> Matrix</h4>
|
||||||
<div class="outline-text-4" id="text-1-4-1">
|
<div class="outline-text-4" id="text-1-4-1">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_matrix</span>
|
<pre class="src src-c"><span style="color: #228b22;">qmckl_matrix</span>
|
||||||
@ -607,8 +607,8 @@ Reshapes a vector into a matrix.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orge947b7c" class="outline-4">
|
<div id="outline-container-org311770b" class="outline-4">
|
||||||
<h4 id="orge947b7c"><span class="section-number-4">1.4.2</span> Vector -> Tensor</h4>
|
<h4 id="org311770b"><span class="section-number-4">1.4.2</span> Vector -> Tensor</h4>
|
||||||
<div class="outline-text-4" id="text-1-4-2">
|
<div class="outline-text-4" id="text-1-4-2">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_tensor</span>
|
<pre class="src src-c"><span style="color: #228b22;">qmckl_tensor</span>
|
||||||
@ -624,8 +624,8 @@ Reshapes a vector into a tensor.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org7fe4a2c" class="outline-4">
|
<div id="outline-container-org3e927a6" class="outline-4">
|
||||||
<h4 id="org7fe4a2c"><span class="section-number-4">1.4.3</span> Matrix -> Vector</h4>
|
<h4 id="org3e927a6"><span class="section-number-4">1.4.3</span> Matrix -> Vector</h4>
|
||||||
<div class="outline-text-4" id="text-1-4-3">
|
<div class="outline-text-4" id="text-1-4-3">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_vector</span>
|
<pre class="src src-c"><span style="color: #228b22;">qmckl_vector</span>
|
||||||
@ -639,8 +639,8 @@ Reshapes a matrix into a vector.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org0f03e2d" class="outline-4">
|
<div id="outline-container-org868e4f4" class="outline-4">
|
||||||
<h4 id="org0f03e2d"><span class="section-number-4">1.4.4</span> Matrix -> Tensor</h4>
|
<h4 id="org868e4f4"><span class="section-number-4">1.4.4</span> Matrix -> Tensor</h4>
|
||||||
<div class="outline-text-4" id="text-1-4-4">
|
<div class="outline-text-4" id="text-1-4-4">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_tensor</span>
|
<pre class="src src-c"><span style="color: #228b22;">qmckl_tensor</span>
|
||||||
@ -656,8 +656,8 @@ Reshapes a matrix into a tensor.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org0562af1" class="outline-4">
|
<div id="outline-container-org8999644" class="outline-4">
|
||||||
<h4 id="org0562af1"><span class="section-number-4">1.4.5</span> Tensor -> Vector</h4>
|
<h4 id="org8999644"><span class="section-number-4">1.4.5</span> Tensor -> Vector</h4>
|
||||||
<div class="outline-text-4" id="text-1-4-5">
|
<div class="outline-text-4" id="text-1-4-5">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_vector</span>
|
<pre class="src src-c"><span style="color: #228b22;">qmckl_vector</span>
|
||||||
@ -671,8 +671,8 @@ Reshapes a tensor into a vector.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org34f7f21" class="outline-4">
|
<div id="outline-container-org661cd3c" class="outline-4">
|
||||||
<h4 id="org34f7f21"><span class="section-number-4">1.4.6</span> Tensor -> Matrix</h4>
|
<h4 id="org661cd3c"><span class="section-number-4">1.4.6</span> Tensor -> Matrix</h4>
|
||||||
<div class="outline-text-4" id="text-1-4-6">
|
<div class="outline-text-4" id="text-1-4-6">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_matrix</span>
|
<pre class="src src-c"><span style="color: #228b22;">qmckl_matrix</span>
|
||||||
@ -689,8 +689,8 @@ Reshapes a tensor into a vector.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orge161948" class="outline-3">
|
<div id="outline-container-orgf98dbc3" class="outline-3">
|
||||||
<h3 id="orge161948"><span class="section-number-3">1.5</span> Access macros</h3>
|
<h3 id="orgf98dbc3"><span class="section-number-3">1.5</span> Access macros</h3>
|
||||||
<div class="outline-text-3" id="text-1-5">
|
<div class="outline-text-3" id="text-1-5">
|
||||||
<p>
|
<p>
|
||||||
Macros are provided to ease the access to vectors, matrices and
|
Macros are provided to ease the access to vectors, matrices and
|
||||||
@ -714,12 +714,12 @@ For example:
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org0657f29" class="outline-3">
|
<div id="outline-container-org2d5c903" class="outline-3">
|
||||||
<h3 id="org0657f29"><span class="section-number-3">1.6</span> Set all elements</h3>
|
<h3 id="org2d5c903"><span class="section-number-3">1.6</span> Set all elements</h3>
|
||||||
<div class="outline-text-3" id="text-1-6">
|
<div class="outline-text-3" id="text-1-6">
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-org5a8609c" class="outline-4">
|
<div id="outline-container-orgddf1b6e" class="outline-4">
|
||||||
<h4 id="org5a8609c"><span class="section-number-4">1.6.1</span> Vector</h4>
|
<h4 id="orgddf1b6e"><span class="section-number-4">1.6.1</span> Vector</h4>
|
||||||
<div class="outline-text-4" id="text-1-6-1">
|
<div class="outline-text-4" id="text-1-6-1">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_vector</span>
|
<pre class="src src-c"><span style="color: #228b22;">qmckl_vector</span>
|
||||||
@ -729,8 +729,8 @@ For example:
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgf5da7ed" class="outline-4">
|
<div id="outline-container-org74f1805" class="outline-4">
|
||||||
<h4 id="orgf5da7ed"><span class="section-number-4">1.6.2</span> Matrix</h4>
|
<h4 id="org74f1805"><span class="section-number-4">1.6.2</span> Matrix</h4>
|
||||||
<div class="outline-text-4" id="text-1-6-2">
|
<div class="outline-text-4" id="text-1-6-2">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_matrix</span>
|
<pre class="src src-c"><span style="color: #228b22;">qmckl_matrix</span>
|
||||||
@ -740,8 +740,8 @@ For example:
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgab55660" class="outline-4">
|
<div id="outline-container-org7ad2baa" class="outline-4">
|
||||||
<h4 id="orgab55660"><span class="section-number-4">1.6.3</span> Tensor</h4>
|
<h4 id="org7ad2baa"><span class="section-number-4">1.6.3</span> Tensor</h4>
|
||||||
<div class="outline-text-4" id="text-1-6-3">
|
<div class="outline-text-4" id="text-1-6-3">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_tensor</span>
|
<pre class="src src-c"><span style="color: #228b22;">qmckl_tensor</span>
|
||||||
@ -752,8 +752,8 @@ For example:
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgece1c9a" class="outline-3">
|
<div id="outline-container-org20cd63d" class="outline-3">
|
||||||
<h3 id="orgece1c9a"><span class="section-number-3">1.7</span> Copy to/from to <code>double*</code></h3>
|
<h3 id="org20cd63d"><span class="section-number-3">1.7</span> Copy to/from to <code>double*</code></h3>
|
||||||
<div class="outline-text-3" id="text-1-7">
|
<div class="outline-text-3" id="text-1-7">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span>
|
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span>
|
||||||
@ -836,12 +836,12 @@ Converts a <code>double*</code> to a tensor.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org27dd582" class="outline-2">
|
<div id="outline-container-org4a5f257" class="outline-2">
|
||||||
<h2 id="org27dd582"><span class="section-number-2">2</span> Matrix operations</h2>
|
<h2 id="org4a5f257"><span class="section-number-2">2</span> Matrix operations</h2>
|
||||||
<div class="outline-text-2" id="text-2">
|
<div class="outline-text-2" id="text-2">
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-org63709c1" class="outline-3">
|
<div id="outline-container-org8378f93" class="outline-3">
|
||||||
<h3 id="org63709c1"><span class="section-number-3">2.1</span> <code>qmckl_dgemm</code></h3>
|
<h3 id="org8378f93"><span class="section-number-3">2.1</span> <code>qmckl_dgemm</code></h3>
|
||||||
<div class="outline-text-3" id="text-2-1">
|
<div class="outline-text-3" id="text-2-1">
|
||||||
<p>
|
<p>
|
||||||
Matrix multiplication with a BLAS interface:
|
Matrix multiplication with a BLAS interface:
|
||||||
@ -853,7 +853,7 @@ Matrix multiplication with a BLAS interface:
|
|||||||
\]
|
\]
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<table id="orgca6221d" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org03ed8f8" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -1012,8 +1012,8 @@ Requirements:
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org64fccb3" class="outline-3">
|
<div id="outline-container-orgc8bfc17" class="outline-3">
|
||||||
<h3 id="org64fccb3"><span class="section-number-3">2.2</span> <code>qmckl_dgemm_safe</code></h3>
|
<h3 id="orgc8bfc17"><span class="section-number-3">2.2</span> <code>qmckl_dgemm_safe</code></h3>
|
||||||
<div class="outline-text-3" id="text-2-2">
|
<div class="outline-text-3" id="text-2-2">
|
||||||
<p>
|
<p>
|
||||||
"Size-safe" proxy function with the same functionality as <code>qmckl_dgemm</code>
|
"Size-safe" proxy function with the same functionality as <code>qmckl_dgemm</code>
|
||||||
@ -1022,7 +1022,7 @@ are required primarily for the Python API, where compatibility with
|
|||||||
NumPy arrays implies that sizes of the input and output arrays are provided.
|
NumPy arrays implies that sizes of the input and output arrays are provided.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<table id="orgb0a9d75" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org76876c5" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -1208,8 +1208,8 @@ Requirements:
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgcc38490" class="outline-3">
|
<div id="outline-container-org549e312" class="outline-3">
|
||||||
<h3 id="orgcc38490"><span class="section-number-3">2.3</span> <code>qmckl_matmul</code></h3>
|
<h3 id="org549e312"><span class="section-number-3">2.3</span> <code>qmckl_matmul</code></h3>
|
||||||
<div class="outline-text-3" id="text-2-3">
|
<div class="outline-text-3" id="text-2-3">
|
||||||
<p>
|
<p>
|
||||||
Matrix multiplication using the <code>qmckl_matrix</code> data type:
|
Matrix multiplication using the <code>qmckl_matrix</code> data type:
|
||||||
@ -1221,7 +1221,7 @@ Matrix multiplication using the <code>qmckl_matrix</code> data type:
|
|||||||
\]
|
\]
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<table id="org2744a38" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="orgd67f605" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -1315,8 +1315,8 @@ Matrix multiplication using the <code>qmckl_matrix</code> data type:
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org6ccec21" class="outline-3">
|
<div id="outline-container-orgdcb2b36" class="outline-3">
|
||||||
<h3 id="org6ccec21"><span class="section-number-3">2.4</span> <code>qmckl_adjugate</code></h3>
|
<h3 id="orgdcb2b36"><span class="section-number-3">2.4</span> <code>qmckl_adjugate</code></h3>
|
||||||
<div class="outline-text-3" id="text-2-4">
|
<div class="outline-text-3" id="text-2-4">
|
||||||
<p>
|
<p>
|
||||||
Given a matrix \(\mathbf{A}\), the adjugate matrix
|
Given a matrix \(\mathbf{A}\), the adjugate matrix
|
||||||
@ -1334,7 +1334,7 @@ of \(\mathbf{A}\).
|
|||||||
See also: <a href="https://en.wikipedia.org/wiki/Adjugate_matrix">https://en.wikipedia.org/wiki/Adjugate_matrix</a>
|
See also: <a href="https://en.wikipedia.org/wiki/Adjugate_matrix">https://en.wikipedia.org/wiki/Adjugate_matrix</a>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<table id="org3ab3398" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org17eaae7" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -1530,8 +1530,8 @@ determinant with the inverse:
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org5beff2f" class="outline-3">
|
<div id="outline-container-orgff98d3a" class="outline-3">
|
||||||
<h3 id="org5beff2f"><span class="section-number-3">2.5</span> <code>qmckl_adjugate_safe</code></h3>
|
<h3 id="orgff98d3a"><span class="section-number-3">2.5</span> <code>qmckl_adjugate_safe</code></h3>
|
||||||
<div class="outline-text-3" id="text-2-5">
|
<div class="outline-text-3" id="text-2-5">
|
||||||
<p>
|
<p>
|
||||||
"Size-safe" proxy function with the same functionality as <code>qmckl_adjugate</code>
|
"Size-safe" proxy function with the same functionality as <code>qmckl_adjugate</code>
|
||||||
@ -1541,7 +1541,7 @@ NumPy arrays implies that sizes of the input and output arrays are provided.
|
|||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
|
||||||
<table id="org7b6671f" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org5e781ed" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -1663,13 +1663,13 @@ LAPACK library.
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org28178f8" class="outline-4">
|
<div id="outline-container-org39514c5" class="outline-4">
|
||||||
<h4 id="org28178f8"><span class="section-number-4">2.5.1</span> C interface</h4>
|
<h4 id="org39514c5"><span class="section-number-4">2.5.1</span> C interface</h4>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orga055f91" class="outline-3">
|
<div id="outline-container-org3bc5981" class="outline-3">
|
||||||
<h3 id="orga055f91"><span class="section-number-3">2.6</span> <code>qmckl_transpose</code></h3>
|
<h3 id="org3bc5981"><span class="section-number-3">2.6</span> <code>qmckl_transpose</code></h3>
|
||||||
<div class="outline-text-3" id="text-2-6">
|
<div class="outline-text-3" id="text-2-6">
|
||||||
<p>
|
<p>
|
||||||
Transposes a matrix: \(A^\dagger_{ji} = A_{ij}\).
|
Transposes a matrix: \(A^\dagger_{ji} = A_{ij}\).
|
||||||
@ -1732,7 +1732,7 @@ Transposes a matrix: \(A^\dagger_{ji} = A_{ij}\).
|
|||||||
</div>
|
</div>
|
||||||
<div id="postamble" class="status">
|
<div id="postamble" class="status">
|
||||||
<p class="author">Author: TREX CoE</p>
|
<p class="author">Author: TREX CoE</p>
|
||||||
<p class="date">Created: 2022-08-23 Tue 06:40</p>
|
<p class="date">Created: 2022-08-31 Wed 14:47</p>
|
||||||
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||||
<head>
|
<head>
|
||||||
<!-- 2022-08-23 Tue 06:40 -->
|
<!-- 2022-08-31 Wed 14:46 -->
|
||||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<title>Context</title>
|
<title>Context</title>
|
||||||
@ -311,21 +311,21 @@ for the JavaScript code in this tag.
|
|||||||
<h2>Table of Contents</h2>
|
<h2>Table of Contents</h2>
|
||||||
<div id="text-table-of-contents">
|
<div id="text-table-of-contents">
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org25404d6">1. Context handling</a>
|
<li><a href="#org0690618">1. Context handling</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org29f9fa9">1.1. Data structure</a></li>
|
<li><a href="#orgc33d712">1.1. Data structure</a></li>
|
||||||
<li><a href="#orge421ac9">1.2. Creation</a></li>
|
<li><a href="#org2fb3726">1.2. Creation</a></li>
|
||||||
<li><a href="#org12c2450">1.3. Locking</a></li>
|
<li><a href="#org070296d">1.3. Locking</a></li>
|
||||||
<li><a href="#orgd91971f">1.4. <span class="todo TODO">TODO</span> Copy</a></li>
|
<li><a href="#org36bd8cb">1.4. <span class="todo TODO">TODO</span> Copy</a></li>
|
||||||
<li><a href="#orgfbf424f">1.5. Destroy</a></li>
|
<li><a href="#org6394442">1.5. Destroy</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org25404d6" class="outline-2">
|
<div id="outline-container-org0690618" class="outline-2">
|
||||||
<h2 id="org25404d6"><span class="section-number-2">1</span> Context handling</h2>
|
<h2 id="org0690618"><span class="section-number-2">1</span> Context handling</h2>
|
||||||
<div class="outline-text-2" id="text-1">
|
<div class="outline-text-2" id="text-1">
|
||||||
<p>
|
<p>
|
||||||
The context variable is a handle for the state of the library,
|
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>
|
</p>
|
||||||
|
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c" id="org8a3c2b6"><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="org06106ed"><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
|
<span style="color: #483d8b;">#define</span> <span style="color: #a0522d;">QMCKL_NULL_CONTEXT</span> (qmckl_context) 0
|
||||||
</pre>
|
</pre>
|
||||||
</div>
|
</div>
|
||||||
@ -356,8 +356,8 @@ and <code>ctx</code> is a <code>qmckl_context_struct*</code> pointer.
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org29f9fa9" class="outline-3">
|
<div id="outline-container-orgc33d712" class="outline-3">
|
||||||
<h3 id="org29f9fa9"><span class="section-number-3">1.1</span> Data structure</h3>
|
<h3 id="orgc33d712"><span class="section-number-3">1.1</span> Data structure</h3>
|
||||||
<div class="outline-text-3" id="text-1-1">
|
<div class="outline-text-3" id="text-1-1">
|
||||||
<p>
|
<p>
|
||||||
A tag is used internally to check if the memory domain pointed
|
A tag is used internally to check if the memory domain pointed
|
||||||
@ -385,7 +385,7 @@ to be recomputed. The date is incremented when the context is touched.
|
|||||||
|
|
||||||
<p>
|
<p>
|
||||||
When a new element is added to the context, the functions
|
When a new element is added to the context, the functions
|
||||||
<a href="#orge421ac9"><code>qmckl_context_create</code></a> <a href="#orgfbf424f"><code>qmckl_context_destroy</code></a> and <a href="#orgd91971f"><code>qmckl_context_copy</code></a>
|
<a href="#org2fb3726"><code>qmckl_context_create</code></a> <a href="#org6394442"><code>qmckl_context_destroy</code></a> and <a href="#org36bd8cb"><code>qmckl_context_copy</code></a>
|
||||||
should be updated in order to make deep copies.
|
should be updated in order to make deep copies.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
@ -406,8 +406,8 @@ This has the effect to increment the date of the context.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orge421ac9" class="outline-3">
|
<div id="outline-container-org2fb3726" class="outline-3">
|
||||||
<h3 id="orge421ac9"><span class="section-number-3">1.2</span> Creation</h3>
|
<h3 id="org2fb3726"><span class="section-number-3">1.2</span> Creation</h3>
|
||||||
<div class="outline-text-3" id="text-1-2">
|
<div class="outline-text-3" id="text-1-2">
|
||||||
<p>
|
<p>
|
||||||
To create a new context, <code>qmckl_context_create()</code> should be used.
|
To create a new context, <code>qmckl_context_create()</code> should be used.
|
||||||
@ -424,8 +424,8 @@ To create a new context, <code>qmckl_context_create()</code> should be used.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-org12c2450" class="outline-3">
|
<div id="outline-container-org070296d" class="outline-3">
|
||||||
<h3 id="org12c2450"><span class="section-number-3">1.3</span> Locking</h3>
|
<h3 id="org070296d"><span class="section-number-3">1.3</span> Locking</h3>
|
||||||
<div class="outline-text-3" id="text-1-3">
|
<div class="outline-text-3" id="text-1-3">
|
||||||
<p>
|
<p>
|
||||||
For thread safety, the context may be locked/unlocked. The lock is
|
For thread safety, the context may be locked/unlocked. The lock is
|
||||||
@ -441,8 +441,8 @@ number of times the thread has locked it is saved in the
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-orgd91971f" class="outline-3">
|
<div id="outline-container-org36bd8cb" class="outline-3">
|
||||||
<h3 id="orgd91971f"><span class="section-number-3">1.4</span> <span class="todo TODO">TODO</span> Copy</h3>
|
<h3 id="org36bd8cb"><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">
|
<div class="outline-text-3" id="text-1-4">
|
||||||
<p>
|
<p>
|
||||||
<code>qmckl_context_copy</code> makes a deep copy of a context. It returns
|
<code>qmckl_context_copy</code> makes a deep copy of a context. It returns
|
||||||
@ -450,8 +450,8 @@ number of times the thread has locked it is saved in the
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-orgfbf424f" class="outline-3">
|
<div id="outline-container-org6394442" class="outline-3">
|
||||||
<h3 id="orgfbf424f"><span class="section-number-3">1.5</span> Destroy</h3>
|
<h3 id="org6394442"><span class="section-number-3">1.5</span> Destroy</h3>
|
||||||
<div class="outline-text-3" id="text-1-5">
|
<div class="outline-text-3" id="text-1-5">
|
||||||
<p>
|
<p>
|
||||||
The context is destroyed with <code>qmckl_context_destroy</code>, leaving the ancestors untouched.
|
The context is destroyed with <code>qmckl_context_destroy</code>, leaving the ancestors untouched.
|
||||||
@ -469,7 +469,7 @@ It frees the context, and returns the previous context.
|
|||||||
</div>
|
</div>
|
||||||
<div id="postamble" class="status">
|
<div id="postamble" class="status">
|
||||||
<p class="author">Author: TREX CoE</p>
|
<p class="author">Author: TREX CoE</p>
|
||||||
<p class="date">Created: 2022-08-23 Tue 06:40</p>
|
<p class="date">Created: 2022-08-31 Wed 14:46</p>
|
||||||
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||||
<head>
|
<head>
|
||||||
<!-- 2022-08-23 Tue 06:40 -->
|
<!-- 2022-08-31 Wed 14:46 -->
|
||||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<title>Slater Determinant</title>
|
<title>Slater Determinant</title>
|
||||||
@ -311,32 +311,32 @@ for the JavaScript code in this tag.
|
|||||||
<h2>Table of Contents</h2>
|
<h2>Table of Contents</h2>
|
||||||
<div id="text-table-of-contents">
|
<div id="text-table-of-contents">
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org2c39370">1. Context</a>
|
<li><a href="#org186eacb">1. Context</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org1f12f68">1.1. Data structure</a></li>
|
<li><a href="#orge8d4765">1.1. Data structure</a></li>
|
||||||
<li><a href="#org94a8b23">1.2. Access functions</a></li>
|
<li><a href="#org547b707">1.2. Access functions</a></li>
|
||||||
<li><a href="#org0f6f780">1.3. Initialization functions</a></li>
|
<li><a href="#org4d96902">1.3. Initialization functions</a></li>
|
||||||
<li><a href="#orgc74bd7e">1.4. Fortran Interfaces</a></li>
|
<li><a href="#org46a2512">1.4. Fortran Interfaces</a></li>
|
||||||
<li><a href="#org690816b">1.5. Test</a></li>
|
<li><a href="#org16a564e">1.5. Test</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#orge7e218f">2. Computation</a>
|
<li><a href="#orgc1cd53f">2. Computation</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org067c4e7">2.1. Determinant matrix</a>
|
<li><a href="#org36c1110">2.1. Determinant matrix</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org729024b">2.1.1. Get</a></li>
|
<li><a href="#orgd46ac9a">2.1.1. Get</a></li>
|
||||||
<li><a href="#org42e43b4">2.1.2. Provide</a></li>
|
<li><a href="#org87d332d">2.1.2. Provide</a></li>
|
||||||
<li><a href="#orgbd414f5">2.1.3. Compute alpha</a></li>
|
<li><a href="#org7834daa">2.1.3. Compute alpha</a></li>
|
||||||
<li><a href="#org67ddd56">2.1.4. Compute beta</a></li>
|
<li><a href="#org5d8d628">2.1.4. Compute beta</a></li>
|
||||||
<li><a href="#org6f07d86">2.1.5. Test</a></li>
|
<li><a href="#org213429b">2.1.5. Test</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org8f057b8">2.2. Inverse of Determinant matrix</a>
|
<li><a href="#orge78c0f6">2.2. Inverse of Determinant matrix</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgd31e16d">2.2.1. Get</a></li>
|
<li><a href="#org0f611bb">2.2.1. Get</a></li>
|
||||||
<li><a href="#org76fd029">2.2.2. Provide</a></li>
|
<li><a href="#orgc9f15ce">2.2.2. Provide</a></li>
|
||||||
<li><a href="#org64c7fd1">2.2.3. Compute alpha</a></li>
|
<li><a href="#org760596c">2.2.3. Compute alpha</a></li>
|
||||||
<li><a href="#org49fd896">2.2.4. Compute beta</a></li>
|
<li><a href="#org25a2d23">2.2.4. Compute beta</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
@ -345,8 +345,8 @@ for the JavaScript code in this tag.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org2c39370" class="outline-2">
|
<div id="outline-container-org186eacb" class="outline-2">
|
||||||
<h2 id="org2c39370"><span class="section-number-2">1</span> Context</h2>
|
<h2 id="org186eacb"><span class="section-number-2">1</span> Context</h2>
|
||||||
<div class="outline-text-2" id="text-1">
|
<div class="outline-text-2" id="text-1">
|
||||||
<p>
|
<p>
|
||||||
The following arrays are stored in the context:
|
The following arrays are stored in the context:
|
||||||
@ -522,8 +522,8 @@ Computed data:
|
|||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org1f12f68" class="outline-3">
|
<div id="outline-container-orge8d4765" class="outline-3">
|
||||||
<h3 id="org1f12f68"><span class="section-number-3">1.1</span> Data structure</h3>
|
<h3 id="orge8d4765"><span class="section-number-3">1.1</span> Data structure</h3>
|
||||||
<div class="outline-text-3" id="text-1-1">
|
<div class="outline-text-3" id="text-1-1">
|
||||||
<div class="org-src-container">
|
<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_determinant_struct</span> {
|
<pre class="src src-c"><span style="color: #a020f0;">typedef</span> <span style="color: #a020f0;">struct</span> <span style="color: #228b22;">qmckl_determinant_struct</span> {
|
||||||
@ -591,8 +591,8 @@ this mechanism.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org94a8b23" class="outline-3">
|
<div id="outline-container-org547b707" class="outline-3">
|
||||||
<h3 id="org94a8b23"><span class="section-number-3">1.2</span> Access functions</h3>
|
<h3 id="org547b707"><span class="section-number-3">1.2</span> Access functions</h3>
|
||||||
<div class="outline-text-3" id="text-1-2">
|
<div class="outline-text-3" id="text-1-2">
|
||||||
<p>
|
<p>
|
||||||
When all the data for the slater determinants have been provided, the following
|
When all the data for the slater determinants have been provided, the following
|
||||||
@ -606,8 +606,8 @@ function returns <code>true</code>.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org0f6f780" class="outline-3">
|
<div id="outline-container-org4d96902" class="outline-3">
|
||||||
<h3 id="org0f6f780"><span class="section-number-3">1.3</span> Initialization functions</h3>
|
<h3 id="org4d96902"><span class="section-number-3">1.3</span> Initialization functions</h3>
|
||||||
<div class="outline-text-3" id="text-1-3">
|
<div class="outline-text-3" id="text-1-3">
|
||||||
<p>
|
<p>
|
||||||
To set the basis set, all the following functions need to be
|
To set the basis set, all the following functions need to be
|
||||||
@ -630,24 +630,24 @@ computed to accelerate the calculations.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgc74bd7e" class="outline-3">
|
<div id="outline-container-org46a2512" class="outline-3">
|
||||||
<h3 id="orgc74bd7e"><span class="section-number-3">1.4</span> Fortran Interfaces</h3>
|
<h3 id="org46a2512"><span class="section-number-3">1.4</span> Fortran Interfaces</h3>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-org690816b" class="outline-3">
|
<div id="outline-container-org16a564e" class="outline-3">
|
||||||
<h3 id="org690816b"><span class="section-number-3">1.5</span> Test</h3>
|
<h3 id="org16a564e"><span class="section-number-3">1.5</span> Test</h3>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-orge7e218f" class="outline-2">
|
<div id="outline-container-orgc1cd53f" class="outline-2">
|
||||||
<h2 id="orge7e218f"><span class="section-number-2">2</span> Computation</h2>
|
<h2 id="orgc1cd53f"><span class="section-number-2">2</span> Computation</h2>
|
||||||
<div class="outline-text-2" id="text-2">
|
<div class="outline-text-2" id="text-2">
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-org067c4e7" class="outline-3">
|
<div id="outline-container-org36c1110" class="outline-3">
|
||||||
<h3 id="org067c4e7"><span class="section-number-3">2.1</span> Determinant matrix</h3>
|
<h3 id="org36c1110"><span class="section-number-3">2.1</span> Determinant matrix</h3>
|
||||||
<div class="outline-text-3" id="text-2-1">
|
<div class="outline-text-3" id="text-2-1">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org729024b" class="outline-4">
|
<div id="outline-container-orgd46ac9a" class="outline-4">
|
||||||
<h4 id="org729024b"><span class="section-number-4">2.1.1</span> Get</h4>
|
<h4 id="orgd46ac9a"><span class="section-number-4">2.1.1</span> Get</h4>
|
||||||
<div class="outline-text-4" id="text-2-1-1">
|
<div class="outline-text-4" id="text-2-1-1">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_get_det_vgl_alpha</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;">det_vgl_alpha</span>);
|
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_get_det_vgl_alpha</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;">det_vgl_alpha</span>);
|
||||||
@ -657,14 +657,14 @@ computed to accelerate the calculations.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org42e43b4" class="outline-4">
|
<div id="outline-container-org87d332d" class="outline-4">
|
||||||
<h4 id="org42e43b4"><span class="section-number-4">2.1.2</span> Provide</h4>
|
<h4 id="org87d332d"><span class="section-number-4">2.1.2</span> Provide</h4>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgbd414f5" class="outline-4">
|
<div id="outline-container-org7834daa" class="outline-4">
|
||||||
<h4 id="orgbd414f5"><span class="section-number-4">2.1.3</span> Compute alpha</h4>
|
<h4 id="org7834daa"><span class="section-number-4">2.1.3</span> Compute alpha</h4>
|
||||||
<div class="outline-text-4" id="text-2-1-3">
|
<div class="outline-text-4" id="text-2-1-3">
|
||||||
<table id="org269ac79" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="orgf5ce20a" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -838,10 +838,10 @@ computed to accelerate the calculations.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org67ddd56" class="outline-4">
|
<div id="outline-container-org5d8d628" class="outline-4">
|
||||||
<h4 id="org67ddd56"><span class="section-number-4">2.1.4</span> Compute beta</h4>
|
<h4 id="org5d8d628"><span class="section-number-4">2.1.4</span> Compute beta</h4>
|
||||||
<div class="outline-text-4" id="text-2-1-4">
|
<div class="outline-text-4" id="text-2-1-4">
|
||||||
<table id="orgd19bf06" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org7220b4d" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -1015,18 +1015,18 @@ computed to accelerate the calculations.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org6f07d86" class="outline-4">
|
<div id="outline-container-org213429b" class="outline-4">
|
||||||
<h4 id="org6f07d86"><span class="section-number-4">2.1.5</span> Test</h4>
|
<h4 id="org213429b"><span class="section-number-4">2.1.5</span> Test</h4>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org8f057b8" class="outline-3">
|
<div id="outline-container-orge78c0f6" class="outline-3">
|
||||||
<h3 id="org8f057b8"><span class="section-number-3">2.2</span> Inverse of Determinant matrix</h3>
|
<h3 id="orge78c0f6"><span class="section-number-3">2.2</span> Inverse of Determinant matrix</h3>
|
||||||
<div class="outline-text-3" id="text-2-2">
|
<div class="outline-text-3" id="text-2-2">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgd31e16d" class="outline-4">
|
<div id="outline-container-org0f611bb" class="outline-4">
|
||||||
<h4 id="orgd31e16d"><span class="section-number-4">2.2.1</span> Get</h4>
|
<h4 id="org0f611bb"><span class="section-number-4">2.2.1</span> Get</h4>
|
||||||
<div class="outline-text-4" id="text-2-2-1">
|
<div class="outline-text-4" id="text-2-2-1">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_get_det_inv_matrix_alpha</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;">det_inv_matrix_alpha</span>);
|
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_get_det_inv_matrix_alpha</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;">det_inv_matrix_alpha</span>);
|
||||||
@ -1040,14 +1040,14 @@ computed to accelerate the calculations.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org76fd029" class="outline-4">
|
<div id="outline-container-orgc9f15ce" class="outline-4">
|
||||||
<h4 id="org76fd029"><span class="section-number-4">2.2.2</span> Provide</h4>
|
<h4 id="orgc9f15ce"><span class="section-number-4">2.2.2</span> Provide</h4>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org64c7fd1" class="outline-4">
|
<div id="outline-container-org760596c" class="outline-4">
|
||||||
<h4 id="org64c7fd1"><span class="section-number-4">2.2.3</span> Compute alpha</h4>
|
<h4 id="org760596c"><span class="section-number-4">2.2.3</span> Compute alpha</h4>
|
||||||
<div class="outline-text-4" id="text-2-2-3">
|
<div class="outline-text-4" id="text-2-2-3">
|
||||||
<table id="org3d04eaa" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org48d6c36" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -1209,10 +1209,10 @@ computed to accelerate the calculations.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org49fd896" class="outline-4">
|
<div id="outline-container-org25a2d23" class="outline-4">
|
||||||
<h4 id="org49fd896"><span class="section-number-4">2.2.4</span> Compute beta</h4>
|
<h4 id="org25a2d23"><span class="section-number-4">2.2.4</span> Compute beta</h4>
|
||||||
<div class="outline-text-4" id="text-2-2-4">
|
<div class="outline-text-4" id="text-2-2-4">
|
||||||
<table id="orga6dfe61" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="orgb659b40" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -1379,7 +1379,7 @@ computed to accelerate the calculations.
|
|||||||
</div>
|
</div>
|
||||||
<div id="postamble" class="status">
|
<div id="postamble" class="status">
|
||||||
<p class="author">Author: TREX CoE</p>
|
<p class="author">Author: TREX CoE</p>
|
||||||
<p class="date">Created: 2022-08-23 Tue 06:40</p>
|
<p class="date">Created: 2022-08-31 Wed 14:46</p>
|
||||||
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||||
<head>
|
<head>
|
||||||
<!-- 2022-08-23 Tue 06:40 -->
|
<!-- 2022-08-31 Wed 14:46 -->
|
||||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<title>Inter-particle distances</title>
|
<title>Inter-particle distances</title>
|
||||||
@ -333,54 +333,54 @@ for the JavaScript code in this tag.
|
|||||||
<h2>Table of Contents</h2>
|
<h2>Table of Contents</h2>
|
||||||
<div id="text-table-of-contents">
|
<div id="text-table-of-contents">
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgf931150">1. Squared distance</a>
|
<li><a href="#orgc0e083d">1. Squared distance</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org8ac8036">1.1. <code>qmckl_distance_sq</code></a>
|
<li><a href="#org2146bc4">1.1. <code>qmckl_distance_sq</code></a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org14fa6f5">1.1.1. Performance</a></li>
|
<li><a href="#org792113a">1.1.1. Performance</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#orgb69f7dc">2. Distance</a>
|
<li><a href="#org1d648df">2. Distance</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgb36d24d">2.1. <code>qmckl_distance</code></a>
|
<li><a href="#orgf2cbc3f">2.1. <code>qmckl_distance</code></a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org44514e4">2.1.1. Requirements</a></li>
|
<li><a href="#orgea5157c">2.1.1. Requirements</a></li>
|
||||||
<li><a href="#org7af5221">2.1.2. C header</a></li>
|
<li><a href="#org06b7391">2.1.2. C header</a></li>
|
||||||
<li><a href="#org8ec8aec">2.1.3. Source</a></li>
|
<li><a href="#orgea9f593">2.1.3. Source</a></li>
|
||||||
<li><a href="#orge6e565f">2.1.4. Performance</a></li>
|
<li><a href="#orgada68e6">2.1.4. Performance</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org2cac893">3. Rescaled Distance</a>
|
<li><a href="#orgb39b790">3. Rescaled Distance</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgae0e329">3.1. <code>qmckl_distance_rescaled</code></a>
|
<li><a href="#org5d446c2">3.1. <code>qmckl_distance_rescaled</code></a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org0372fa3">3.1.1. Requirements</a></li>
|
<li><a href="#orgedc5cd0">3.1.1. Requirements</a></li>
|
||||||
<li><a href="#orgc486d26">3.1.2. C header</a></li>
|
<li><a href="#orgf85db13">3.1.2. C header</a></li>
|
||||||
<li><a href="#org0490c76">3.1.3. Source</a></li>
|
<li><a href="#org6acbcd2">3.1.3. Source</a></li>
|
||||||
<li><a href="#org737fb89">3.1.4. Performance</a></li>
|
<li><a href="#org50e18f1">3.1.4. Performance</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#orgfe00c5e">4. Rescaled Distance Derivatives</a>
|
<li><a href="#org807b8c0">4. Rescaled Distance Derivatives</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgac1d732">4.1. <code>qmckl_distance_rescaled_deriv_e</code></a></li>
|
<li><a href="#org767778b">4.1. <code>qmckl_distance_rescaled_deriv_e</code></a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgf931150" class="outline-2">
|
<div id="outline-container-orgc0e083d" class="outline-2">
|
||||||
<h2 id="orgf931150"><span class="section-number-2">1</span> Squared distance</h2>
|
<h2 id="orgc0e083d"><span class="section-number-2">1</span> Squared distance</h2>
|
||||||
<div class="outline-text-2" id="text-1">
|
<div class="outline-text-2" id="text-1">
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-org8ac8036" class="outline-3">
|
<div id="outline-container-org2146bc4" class="outline-3">
|
||||||
<h3 id="org8ac8036"><span class="section-number-3">1.1</span> <code>qmckl_distance_sq</code></h3>
|
<h3 id="org2146bc4"><span class="section-number-3">1.1</span> <code>qmckl_distance_sq</code></h3>
|
||||||
<div class="outline-text-3" id="text-1-1">
|
<div class="outline-text-3" id="text-1-1">
|
||||||
<p>
|
<p>
|
||||||
<code>qmckl_distance_sq</code> computes the matrix of the squared distances
|
<code>qmckl_distance_sq</code> computes the matrix of the squared distances
|
||||||
@ -393,7 +393,7 @@ between all pairs of points in two sets, one point within each set:
|
|||||||
\]
|
\]
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<table id="org35200eb" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org4ce941b" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -659,8 +659,8 @@ Requirements:
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org14fa6f5" class="outline-4">
|
<div id="outline-container-org792113a" class="outline-4">
|
||||||
<h4 id="org14fa6f5"><span class="section-number-4">1.1.1</span> Performance</h4>
|
<h4 id="org792113a"><span class="section-number-4">1.1.1</span> Performance</h4>
|
||||||
<div class="outline-text-4" id="text-1-1-1">
|
<div class="outline-text-4" id="text-1-1-1">
|
||||||
<p>
|
<p>
|
||||||
This function is more efficient when <code>A</code> and <code>B</code> are
|
This function is more efficient when <code>A</code> and <code>B</code> are
|
||||||
@ -670,12 +670,12 @@ transposed.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-orgb69f7dc" class="outline-2">
|
<div id="outline-container-org1d648df" class="outline-2">
|
||||||
<h2 id="orgb69f7dc"><span class="section-number-2">2</span> Distance</h2>
|
<h2 id="org1d648df"><span class="section-number-2">2</span> Distance</h2>
|
||||||
<div class="outline-text-2" id="text-2">
|
<div class="outline-text-2" id="text-2">
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-orgb36d24d" class="outline-3">
|
<div id="outline-container-orgf2cbc3f" class="outline-3">
|
||||||
<h3 id="orgb36d24d"><span class="section-number-3">2.1</span> <code>qmckl_distance</code></h3>
|
<h3 id="orgf2cbc3f"><span class="section-number-3">2.1</span> <code>qmckl_distance</code></h3>
|
||||||
<div class="outline-text-3" id="text-2-1">
|
<div class="outline-text-3" id="text-2-1">
|
||||||
<p>
|
<p>
|
||||||
<code>qmckl_distance</code> computes the matrix of the distances between all
|
<code>qmckl_distance</code> computes the matrix of the distances between all
|
||||||
@ -693,7 +693,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.
|
the leading dimension: <code>[n][3]</code> in C and <code>(3,n)</code> in Fortran.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<table id="org1156ecd" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org1b12538" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -794,8 +794,8 @@ the leading dimension: <code>[n][3]</code> in C and <code>(3,n)</code> in Fortra
|
|||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org44514e4" class="outline-4">
|
<div id="outline-container-orgea5157c" class="outline-4">
|
||||||
<h4 id="org44514e4"><span class="section-number-4">2.1.1</span> Requirements</h4>
|
<h4 id="orgea5157c"><span class="section-number-4">2.1.1</span> Requirements</h4>
|
||||||
<div class="outline-text-4" id="text-2-1-1">
|
<div class="outline-text-4" id="text-2-1-1">
|
||||||
<ul class="org-ul">
|
<ul class="org-ul">
|
||||||
<li><code>context</code> is not <code>QMCKL_NULL_CONTEXT</code></li>
|
<li><code>context</code> is not <code>QMCKL_NULL_CONTEXT</code></li>
|
||||||
@ -813,8 +813,8 @@ the leading dimension: <code>[n][3]</code> in C and <code>(3,n)</code> in Fortra
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org7af5221" class="outline-4">
|
<div id="outline-container-org06b7391" class="outline-4">
|
||||||
<h4 id="org7af5221"><span class="section-number-4">2.1.2</span> C header</h4>
|
<h4 id="org06b7391"><span class="section-number-4">2.1.2</span> C header</h4>
|
||||||
<div class="outline-text-4" id="text-2-1-2">
|
<div class="outline-text-4" id="text-2-1-2">
|
||||||
<div class="org-src-container">
|
<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> (
|
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_distance</span> (
|
||||||
@ -834,8 +834,8 @@ the leading dimension: <code>[n][3]</code> in C and <code>(3,n)</code> in Fortra
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org8ec8aec" class="outline-4">
|
<div id="outline-container-orgea9f593" class="outline-4">
|
||||||
<h4 id="org8ec8aec"><span class="section-number-4">2.1.3</span> Source</h4>
|
<h4 id="orgea9f593"><span class="section-number-4">2.1.3</span> Source</h4>
|
||||||
<div class="outline-text-4" id="text-2-1-3">
|
<div class="outline-text-4" id="text-2-1-3">
|
||||||
<div class="org-src-container">
|
<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>
|
<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>
|
||||||
@ -1002,8 +1002,8 @@ the leading dimension: <code>[n][3]</code> in C and <code>(3,n)</code> in Fortra
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orge6e565f" class="outline-4">
|
<div id="outline-container-orgada68e6" class="outline-4">
|
||||||
<h4 id="orge6e565f"><span class="section-number-4">2.1.4</span> Performance</h4>
|
<h4 id="orgada68e6"><span class="section-number-4">2.1.4</span> Performance</h4>
|
||||||
<div class="outline-text-4" id="text-2-1-4">
|
<div class="outline-text-4" id="text-2-1-4">
|
||||||
<p>
|
<p>
|
||||||
This function is more efficient when <code>A</code> and <code>B</code> are transposed.
|
This function is more efficient when <code>A</code> and <code>B</code> are transposed.
|
||||||
@ -1013,12 +1013,12 @@ This function is more efficient when <code>A</code> and <code>B</code> are trans
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org2cac893" class="outline-2">
|
<div id="outline-container-orgb39b790" class="outline-2">
|
||||||
<h2 id="org2cac893"><span class="section-number-2">3</span> Rescaled Distance</h2>
|
<h2 id="orgb39b790"><span class="section-number-2">3</span> Rescaled Distance</h2>
|
||||||
<div class="outline-text-2" id="text-3">
|
<div class="outline-text-2" id="text-3">
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-orgae0e329" class="outline-3">
|
<div id="outline-container-org5d446c2" class="outline-3">
|
||||||
<h3 id="orgae0e329"><span class="section-number-3">3.1</span> <code>qmckl_distance_rescaled</code></h3>
|
<h3 id="org5d446c2"><span class="section-number-3">3.1</span> <code>qmckl_distance_rescaled</code></h3>
|
||||||
<div class="outline-text-3" id="text-3-1">
|
<div class="outline-text-3" id="text-3-1">
|
||||||
<p>
|
<p>
|
||||||
<code>qmckl_distance_rescaled</code> computes the matrix of the rescaled distances between all
|
<code>qmckl_distance_rescaled</code> computes the matrix of the rescaled distances between all
|
||||||
@ -1036,7 +1036,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.
|
the leading dimension: <code>[n][3]</code> in C and <code>(3,n)</code> in Fortran.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<table id="orga6f8237" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org7fe0d09" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -1144,8 +1144,8 @@ the leading dimension: <code>[n][3]</code> in C and <code>(3,n)</code> in Fortra
|
|||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org0372fa3" class="outline-4">
|
<div id="outline-container-orgedc5cd0" class="outline-4">
|
||||||
<h4 id="org0372fa3"><span class="section-number-4">3.1.1</span> Requirements</h4>
|
<h4 id="orgedc5cd0"><span class="section-number-4">3.1.1</span> Requirements</h4>
|
||||||
<div class="outline-text-4" id="text-3-1-1">
|
<div class="outline-text-4" id="text-3-1-1">
|
||||||
<ul class="org-ul">
|
<ul class="org-ul">
|
||||||
<li><code>context</code> is not <code>QMCKL_NULL_CONTEXT</code></li>
|
<li><code>context</code> is not <code>QMCKL_NULL_CONTEXT</code></li>
|
||||||
@ -1163,8 +1163,8 @@ the leading dimension: <code>[n][3]</code> in C and <code>(3,n)</code> in Fortra
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgc486d26" class="outline-4">
|
<div id="outline-container-orgf85db13" class="outline-4">
|
||||||
<h4 id="orgc486d26"><span class="section-number-4">3.1.2</span> C header</h4>
|
<h4 id="orgf85db13"><span class="section-number-4">3.1.2</span> C header</h4>
|
||||||
<div class="outline-text-4" id="text-3-1-2">
|
<div class="outline-text-4" id="text-3-1-2">
|
||||||
<div class="org-src-container">
|
<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> (
|
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_distance_rescaled</span> (
|
||||||
@ -1185,8 +1185,8 @@ the leading dimension: <code>[n][3]</code> in C and <code>(3,n)</code> in Fortra
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org0490c76" class="outline-4">
|
<div id="outline-container-org6acbcd2" class="outline-4">
|
||||||
<h4 id="org0490c76"><span class="section-number-4">3.1.3</span> Source</h4>
|
<h4 id="org6acbcd2"><span class="section-number-4">3.1.3</span> Source</h4>
|
||||||
<div class="outline-text-4" id="text-3-1-3">
|
<div class="outline-text-4" id="text-3-1-3">
|
||||||
<div class="org-src-container">
|
<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>
|
<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>
|
||||||
@ -1356,8 +1356,8 @@ the leading dimension: <code>[n][3]</code> in C and <code>(3,n)</code> in Fortra
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org737fb89" class="outline-4">
|
<div id="outline-container-org50e18f1" class="outline-4">
|
||||||
<h4 id="org737fb89"><span class="section-number-4">3.1.4</span> Performance</h4>
|
<h4 id="org50e18f1"><span class="section-number-4">3.1.4</span> Performance</h4>
|
||||||
<div class="outline-text-4" id="text-3-1-4">
|
<div class="outline-text-4" id="text-3-1-4">
|
||||||
<p>
|
<p>
|
||||||
This function is more efficient when <code>A</code> and <code>B</code> are transposed.
|
This function is more efficient when <code>A</code> and <code>B</code> are transposed.
|
||||||
@ -1366,12 +1366,12 @@ This function is more efficient when <code>A</code> and <code>B</code> are trans
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-orgfe00c5e" class="outline-2">
|
<div id="outline-container-org807b8c0" class="outline-2">
|
||||||
<h2 id="orgfe00c5e"><span class="section-number-2">4</span> Rescaled Distance Derivatives</h2>
|
<h2 id="org807b8c0"><span class="section-number-2">4</span> Rescaled Distance Derivatives</h2>
|
||||||
<div class="outline-text-2" id="text-4">
|
<div class="outline-text-2" id="text-4">
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-orgac1d732" class="outline-3">
|
<div id="outline-container-org767778b" class="outline-3">
|
||||||
<h3 id="orgac1d732"><span class="section-number-3">4.1</span> <code>qmckl_distance_rescaled_deriv_e</code></h3>
|
<h3 id="org767778b"><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">
|
<div class="outline-text-3" id="text-4-1">
|
||||||
<p>
|
<p>
|
||||||
<code>qmckl_distance_rescaled_deriv_e</code> computes the matrix of the gradient and laplacian of the
|
<code>qmckl_distance_rescaled_deriv_e</code> computes the matrix of the gradient and laplacian of the
|
||||||
@ -1438,7 +1438,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.
|
the leading dimension: <code>[n][3]</code> in C and <code>(3,n)</code> in Fortran.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<table id="org7c11794" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org2ef69a4" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -1776,7 +1776,7 @@ This function is more efficient when <code>A</code> and <code>B</code> are trans
|
|||||||
</div>
|
</div>
|
||||||
<div id="postamble" class="status">
|
<div id="postamble" class="status">
|
||||||
<p class="author">Author: TREX CoE</p>
|
<p class="author">Author: TREX CoE</p>
|
||||||
<p class="date">Created: 2022-08-23 Tue 06:40</p>
|
<p class="date">Created: 2022-08-31 Wed 14:46</p>
|
||||||
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||||
<head>
|
<head>
|
||||||
<!-- 2022-08-23 Tue 06:40 -->
|
<!-- 2022-08-31 Wed 14:46 -->
|
||||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<title>Electrons</title>
|
<title>Electrons</title>
|
||||||
@ -333,88 +333,88 @@ for the JavaScript code in this tag.
|
|||||||
<h2>Table of Contents</h2>
|
<h2>Table of Contents</h2>
|
||||||
<div id="text-table-of-contents">
|
<div id="text-table-of-contents">
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org5ea8a5f">1. Context</a>
|
<li><a href="#org573ee27">1. Context</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgc7773fd">1.1. Data structure</a></li>
|
<li><a href="#org1e96036">1.1. Data structure</a></li>
|
||||||
<li><a href="#org6805db6">1.2. Access functions</a>
|
<li><a href="#org9f8bd42">1.2. Access functions</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org0213e19">1.2.1. Number of electrons</a></li>
|
<li><a href="#org48b5319">1.2.1. Number of electrons</a></li>
|
||||||
<li><a href="#orgd7a2f3e">1.2.2. Number of walkers</a></li>
|
<li><a href="#org0998b74">1.2.2. Number of walkers</a></li>
|
||||||
<li><a href="#orga416811">1.2.3. Scaling factors Kappa</a></li>
|
<li><a href="#orgd60431b">1.2.3. Scaling factors Kappa</a></li>
|
||||||
<li><a href="#org09ea169">1.2.4. Electron coordinates</a></li>
|
<li><a href="#org9702b19">1.2.4. Electron coordinates</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#orgde8122f">1.3. Initialization functions</a></li>
|
<li><a href="#org3229b56">1.3. Initialization functions</a></li>
|
||||||
<li><a href="#org09790f8">1.4. Test</a></li>
|
<li><a href="#org7650f3a">1.4. Test</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#orgb34ef3e">2. Computation</a>
|
<li><a href="#orgd626385">2. Computation</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgb5b5506">2.1. Electron-electron distances</a>
|
<li><a href="#org57cd1fb">2.1. Electron-electron distances</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org0e01d50">2.1.1. Get</a></li>
|
<li><a href="#org8ba610b">2.1.1. Get</a></li>
|
||||||
<li><a href="#org4d3e7fc">2.1.2. Compute</a></li>
|
<li><a href="#org1f26d41">2.1.2. Compute</a></li>
|
||||||
<li><a href="#org1415cdf">2.1.3. Test</a></li>
|
<li><a href="#org21d7b2d">2.1.3. Test</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#orgf0421ac">2.2. Electron-electron rescaled distances</a>
|
<li><a href="#orgbb2ebe8">2.2. Electron-electron rescaled distances</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org88c73b9">2.2.1. Get</a></li>
|
<li><a href="#org35403cf">2.2.1. Get</a></li>
|
||||||
<li><a href="#org25f3623">2.2.2. Compute</a></li>
|
<li><a href="#orga925986">2.2.2. Compute</a></li>
|
||||||
<li><a href="#org82083a6">2.2.3. Test</a></li>
|
<li><a href="#org6cfeb54">2.2.3. Test</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#orgfae0794">2.3. Electron-electron rescaled distance gradients and Laplacian with respect to electron coords</a>
|
<li><a href="#orgff86bdc">2.3. Electron-electron rescaled distance gradients and Laplacian with respect to electron coords</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgb9b5de1">2.3.1. Get</a></li>
|
<li><a href="#org5fed986">2.3.1. Get</a></li>
|
||||||
<li><a href="#orgdeabb51">2.3.2. Compute</a></li>
|
<li><a href="#org2baaab8">2.3.2. Compute</a></li>
|
||||||
<li><a href="#orgd05d29d">2.3.3. Test</a></li>
|
<li><a href="#org2f8e95f">2.3.3. Test</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org19a3284">2.4. Electron-electron potential</a>
|
<li><a href="#org6281996">2.4. Electron-electron potential</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org3930d6e">2.4.1. Get</a></li>
|
<li><a href="#org43fde25">2.4.1. Get</a></li>
|
||||||
<li><a href="#orga72e0aa">2.4.2. Compute</a></li>
|
<li><a href="#orga4bf2fc">2.4.2. Compute</a></li>
|
||||||
<li><a href="#org471b9bf">2.4.3. Test</a></li>
|
<li><a href="#org14578a1">2.4.3. Test</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org7f97c87">2.5. Electron-nucleus distances</a>
|
<li><a href="#org1e74339">2.5. Electron-nucleus distances</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org93d4548">2.5.1. Get</a></li>
|
<li><a href="#orge22d476">2.5.1. Get</a></li>
|
||||||
<li><a href="#org5f5c0aa">2.5.2. Compute</a></li>
|
<li><a href="#orgbeb9979">2.5.2. Compute</a></li>
|
||||||
<li><a href="#org1cdac92">2.5.3. Test</a></li>
|
<li><a href="#org7ffabb7">2.5.3. Test</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org798254a">2.6. Electron-nucleus rescaled distances</a>
|
<li><a href="#orgb0f628a">2.6. Electron-nucleus rescaled distances</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orga9c7a4b">2.6.1. Get</a></li>
|
<li><a href="#orgb03e649">2.6.1. Get</a></li>
|
||||||
<li><a href="#org5bc9aae">2.6.2. Compute</a></li>
|
<li><a href="#org7f1bb92">2.6.2. Compute</a></li>
|
||||||
<li><a href="#orgcafcc9f">2.6.3. Test</a></li>
|
<li><a href="#orge3e30b6">2.6.3. Test</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#orge8c47a8">2.7. Electron-nucleus rescaled distance gradients and laplacian with respect to electron coords</a>
|
<li><a href="#orge421888">2.7. Electron-nucleus rescaled distance gradients and laplacian with respect to electron coords</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org91ad5cb">2.7.1. Get</a></li>
|
<li><a href="#org873f57b">2.7.1. Get</a></li>
|
||||||
<li><a href="#orgbdec44f">2.7.2. Compute</a></li>
|
<li><a href="#orga1a1940">2.7.2. Compute</a></li>
|
||||||
<li><a href="#org68e7aad">2.7.3. Test</a></li>
|
<li><a href="#orgf042ac1">2.7.3. Test</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#orgeedd78d">2.8. Electron-nucleus potential</a>
|
<li><a href="#org59cec2e">2.8. Electron-nucleus potential</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org46db997">2.8.1. Get</a></li>
|
<li><a href="#org86d7f1b">2.8.1. Get</a></li>
|
||||||
<li><a href="#orgd77a459">2.8.2. Compute</a></li>
|
<li><a href="#org3ff6def">2.8.2. Compute</a></li>
|
||||||
<li><a href="#orge7166c8">2.8.3. Test</a></li>
|
<li><a href="#orgb8923db">2.8.3. Test</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org5238679">2.9. Generate initial coordinates</a></li>
|
<li><a href="#org7bdf986">2.9. Generate initial coordinates</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org5ea8a5f" class="outline-2">
|
<div id="outline-container-org573ee27" class="outline-2">
|
||||||
<h2 id="org5ea8a5f"><span class="section-number-2">1</span> Context</h2>
|
<h2 id="org573ee27"><span class="section-number-2">1</span> Context</h2>
|
||||||
<div class="outline-text-2" id="text-1">
|
<div class="outline-text-2" id="text-1">
|
||||||
<p>
|
<p>
|
||||||
The following data stored in the context:
|
The following data stored in the context:
|
||||||
@ -615,8 +615,8 @@ Computed data:
|
|||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgc7773fd" class="outline-3">
|
<div id="outline-container-org1e96036" class="outline-3">
|
||||||
<h3 id="orgc7773fd"><span class="section-number-3">1.1</span> Data structure</h3>
|
<h3 id="org1e96036"><span class="section-number-3">1.1</span> Data structure</h3>
|
||||||
<div class="outline-text-3" id="text-1-1">
|
<div class="outline-text-3" id="text-1-1">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c">
|
<pre class="src src-c">
|
||||||
@ -699,8 +699,8 @@ this mechanism.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org6805db6" class="outline-3">
|
<div id="outline-container-org9f8bd42" class="outline-3">
|
||||||
<h3 id="org6805db6"><span class="section-number-3">1.2</span> Access functions</h3>
|
<h3 id="org9f8bd42"><span class="section-number-3">1.2</span> Access functions</h3>
|
||||||
<div class="outline-text-3" id="text-1-2">
|
<div class="outline-text-3" id="text-1-2">
|
||||||
<p>
|
<p>
|
||||||
Access functions return <code>QMCKL_SUCCESS</code> when the data has been
|
Access functions return <code>QMCKL_SUCCESS</code> when the data has been
|
||||||
@ -712,12 +712,12 @@ contains the requested data. Otherwise, this variable is untouched.
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org0213e19" class="outline-4">
|
<div id="outline-container-org48b5319" class="outline-4">
|
||||||
<h4 id="org0213e19"><span class="section-number-4">1.2.1</span> Number of electrons</h4>
|
<h4 id="org48b5319"><span class="section-number-4">1.2.1</span> Number of electrons</h4>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgd7a2f3e" class="outline-4">
|
<div id="outline-container-org0998b74" class="outline-4">
|
||||||
<h4 id="orgd7a2f3e"><span class="section-number-4">1.2.2</span> Number of walkers</h4>
|
<h4 id="org0998b74"><span class="section-number-4">1.2.2</span> Number of walkers</h4>
|
||||||
<div class="outline-text-4" id="text-1-2-2">
|
<div class="outline-text-4" id="text-1-2-2">
|
||||||
<p>
|
<p>
|
||||||
A walker is a set of electron coordinates that are arguments of
|
A walker is a set of electron coordinates that are arguments of
|
||||||
@ -726,12 +726,12 @@ the wave function. <code>walk_num</code> is the number of walkers.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orga416811" class="outline-4">
|
<div id="outline-container-orgd60431b" class="outline-4">
|
||||||
<h4 id="orga416811"><span class="section-number-4">1.2.3</span> Scaling factors Kappa</h4>
|
<h4 id="orgd60431b"><span class="section-number-4">1.2.3</span> Scaling factors Kappa</h4>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org09ea169" class="outline-4">
|
<div id="outline-container-org9702b19" class="outline-4">
|
||||||
<h4 id="org09ea169"><span class="section-number-4">1.2.4</span> Electron coordinates</h4>
|
<h4 id="org9702b19"><span class="section-number-4">1.2.4</span> Electron coordinates</h4>
|
||||||
<div class="outline-text-4" id="text-1-2-4">
|
<div class="outline-text-4" id="text-1-2-4">
|
||||||
<p>
|
<p>
|
||||||
Returns the current electron coordinates. The pointer is assumed
|
Returns the current electron coordinates. The pointer is assumed
|
||||||
@ -781,8 +781,8 @@ current points.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgde8122f" class="outline-3">
|
<div id="outline-container-org3229b56" class="outline-3">
|
||||||
<h3 id="orgde8122f"><span class="section-number-3">1.3</span> Initialization functions</h3>
|
<h3 id="org3229b56"><span class="section-number-3">1.3</span> Initialization functions</h3>
|
||||||
<div class="outline-text-3" id="text-1-3">
|
<div class="outline-text-3" id="text-1-3">
|
||||||
<p>
|
<p>
|
||||||
To set the data relative to the electrons in the context, the
|
To set the data relative to the electrons in the context, the
|
||||||
@ -862,8 +862,8 @@ in the context.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org09790f8" class="outline-3">
|
<div id="outline-container-org7650f3a" class="outline-3">
|
||||||
<h3 id="org09790f8"><span class="section-number-3">1.4</span> Test</h3>
|
<h3 id="org7650f3a"><span class="section-number-3">1.4</span> Test</h3>
|
||||||
<div class="outline-text-3" id="text-1-4">
|
<div class="outline-text-3" id="text-1-4">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c">/* <span style="color: #b22222;">Reference input data </span>*/
|
<pre class="src src-c">/* <span style="color: #b22222;">Reference input data </span>*/
|
||||||
@ -968,8 +968,8 @@ rc = qmckl_get_electron_coord (context, <span style="color: #8b2252;">'N'</span>
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgb34ef3e" class="outline-2">
|
<div id="outline-container-orgd626385" class="outline-2">
|
||||||
<h2 id="orgb34ef3e"><span class="section-number-2">2</span> Computation</h2>
|
<h2 id="orgd626385"><span class="section-number-2">2</span> Computation</h2>
|
||||||
<div class="outline-text-2" id="text-2">
|
<div class="outline-text-2" id="text-2">
|
||||||
<p>
|
<p>
|
||||||
The computed data is stored in the context so that it can be reused
|
The computed data is stored in the context so that it can be reused
|
||||||
@ -982,12 +982,12 @@ current date is stored.
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgb5b5506" class="outline-3">
|
<div id="outline-container-org57cd1fb" class="outline-3">
|
||||||
<h3 id="orgb5b5506"><span class="section-number-3">2.1</span> Electron-electron distances</h3>
|
<h3 id="org57cd1fb"><span class="section-number-3">2.1</span> Electron-electron distances</h3>
|
||||||
<div class="outline-text-3" id="text-2-1">
|
<div class="outline-text-3" id="text-2-1">
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-org0e01d50" class="outline-4">
|
<div id="outline-container-org8ba610b" class="outline-4">
|
||||||
<h4 id="org0e01d50"><span class="section-number-4">2.1.1</span> Get</h4>
|
<h4 id="org8ba610b"><span class="section-number-4">2.1.1</span> Get</h4>
|
||||||
<div class="outline-text-4" id="text-2-1-1">
|
<div class="outline-text-4" id="text-2-1-1">
|
||||||
<div class="org-src-container">
|
<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>);
|
<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>);
|
||||||
@ -996,10 +996,10 @@ current date is stored.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org4d3e7fc" class="outline-4">
|
<div id="outline-container-org1f26d41" class="outline-4">
|
||||||
<h4 id="org4d3e7fc"><span class="section-number-4">2.1.2</span> Compute</h4>
|
<h4 id="org1f26d41"><span class="section-number-4">2.1.2</span> Compute</h4>
|
||||||
<div class="outline-text-4" id="text-2-1-2">
|
<div class="outline-text-4" id="text-2-1-2">
|
||||||
<table id="org89cf9f8" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org54bfdbe" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -1104,8 +1104,8 @@ current date is stored.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org1415cdf" class="outline-4">
|
<div id="outline-container-org21d7b2d" class="outline-4">
|
||||||
<h4 id="org1415cdf"><span class="section-number-4">2.1.3</span> Test</h4>
|
<h4 id="org21d7b2d"><span class="section-number-4">2.1.3</span> Test</h4>
|
||||||
<div class="outline-text-4" id="text-2-1-3">
|
<div class="outline-text-4" id="text-2-1-3">
|
||||||
<div class="org-src-container">
|
<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>));
|
<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>));
|
||||||
@ -1139,8 +1139,8 @@ rc = qmckl_get_electron_ee_distance(context, ee_distance);
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgf0421ac" class="outline-3">
|
<div id="outline-container-orgbb2ebe8" class="outline-3">
|
||||||
<h3 id="orgf0421ac"><span class="section-number-3">2.2</span> Electron-electron rescaled distances</h3>
|
<h3 id="orgbb2ebe8"><span class="section-number-3">2.2</span> Electron-electron rescaled distances</h3>
|
||||||
<div class="outline-text-3" id="text-2-2">
|
<div class="outline-text-3" id="text-2-2">
|
||||||
<p>
|
<p>
|
||||||
<code>ee_distance_rescaled</code> stores the matrix of the rescaled distances between all
|
<code>ee_distance_rescaled</code> stores the matrix of the rescaled distances between all
|
||||||
@ -1158,8 +1158,8 @@ where \(C_{ij}\) is the matrix of electron-electron distances.
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org88c73b9" class="outline-4">
|
<div id="outline-container-org35403cf" class="outline-4">
|
||||||
<h4 id="org88c73b9"><span class="section-number-4">2.2.1</span> Get</h4>
|
<h4 id="org35403cf"><span class="section-number-4">2.2.1</span> Get</h4>
|
||||||
<div class="outline-text-4" id="text-2-2-1">
|
<div class="outline-text-4" id="text-2-2-1">
|
||||||
<div class="org-src-container">
|
<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>);
|
<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>);
|
||||||
@ -1168,10 +1168,10 @@ where \(C_{ij}\) is the matrix of electron-electron distances.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org25f3623" class="outline-4">
|
<div id="outline-container-orga925986" class="outline-4">
|
||||||
<h4 id="org25f3623"><span class="section-number-4">2.2.2</span> Compute</h4>
|
<h4 id="orga925986"><span class="section-number-4">2.2.2</span> Compute</h4>
|
||||||
<div class="outline-text-4" id="text-2-2-2">
|
<div class="outline-text-4" id="text-2-2-2">
|
||||||
<table id="org4713be1" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org42bbd05" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -1284,8 +1284,8 @@ where \(C_{ij}\) is the matrix of electron-electron distances.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org82083a6" class="outline-4">
|
<div id="outline-container-org6cfeb54" class="outline-4">
|
||||||
<h4 id="org82083a6"><span class="section-number-4">2.2.3</span> Test</h4>
|
<h4 id="org6cfeb54"><span class="section-number-4">2.2.3</span> Test</h4>
|
||||||
<div class="outline-text-4" id="text-2-2-3">
|
<div class="outline-text-4" id="text-2-2-3">
|
||||||
<div class="org-src-container">
|
<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>));
|
<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>));
|
||||||
@ -1319,8 +1319,8 @@ rc = qmckl_get_electron_ee_distance_rescaled(context, ee_distance_rescaled);
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgfae0794" class="outline-3">
|
<div id="outline-container-orgff86bdc" class="outline-3">
|
||||||
<h3 id="orgfae0794"><span class="section-number-3">2.3</span> Electron-electron rescaled distance gradients and Laplacian with respect to electron coords</h3>
|
<h3 id="orgff86bdc"><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">
|
<div class="outline-text-3" id="text-2-3">
|
||||||
<p>
|
<p>
|
||||||
The rescaled distances which is given as \(R = (1 - \exp{-\kappa r})/\kappa\)
|
The rescaled distances which is given as \(R = (1 - \exp{-\kappa r})/\kappa\)
|
||||||
@ -1332,8 +1332,8 @@ gives the Laplacian \(\partial x^2 + \partial y^2 + \partial z^2\).
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgb9b5de1" class="outline-4">
|
<div id="outline-container-org5fed986" class="outline-4">
|
||||||
<h4 id="orgb9b5de1"><span class="section-number-4">2.3.1</span> Get</h4>
|
<h4 id="org5fed986"><span class="section-number-4">2.3.1</span> Get</h4>
|
||||||
<div class="outline-text-4" id="text-2-3-1">
|
<div class="outline-text-4" id="text-2-3-1">
|
||||||
<div class="org-src-container">
|
<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>);
|
<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>);
|
||||||
@ -1342,10 +1342,10 @@ gives the Laplacian \(\partial x^2 + \partial y^2 + \partial z^2\).
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgdeabb51" class="outline-4">
|
<div id="outline-container-org2baaab8" class="outline-4">
|
||||||
<h4 id="orgdeabb51"><span class="section-number-4">2.3.2</span> Compute</h4>
|
<h4 id="org2baaab8"><span class="section-number-4">2.3.2</span> Compute</h4>
|
||||||
<div class="outline-text-4" id="text-2-3-2">
|
<div class="outline-text-4" id="text-2-3-2">
|
||||||
<table id="org5e8d3ce" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org6187141" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -1458,8 +1458,8 @@ gives the Laplacian \(\partial x^2 + \partial y^2 + \partial z^2\).
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgd05d29d" class="outline-4">
|
<div id="outline-container-org2f8e95f" class="outline-4">
|
||||||
<h4 id="orgd05d29d"><span class="section-number-4">2.3.3</span> Test</h4>
|
<h4 id="org2f8e95f"><span class="section-number-4">2.3.3</span> Test</h4>
|
||||||
<div class="outline-text-4" id="text-2-3-3">
|
<div class="outline-text-4" id="text-2-3-3">
|
||||||
<div class="org-src-container">
|
<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>));
|
<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>));
|
||||||
@ -1494,8 +1494,8 @@ rc = qmckl_get_electron_ee_distance_rescaled_deriv_e(context, ee_distance_rescal
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org19a3284" class="outline-3">
|
<div id="outline-container-org6281996" class="outline-3">
|
||||||
<h3 id="org19a3284"><span class="section-number-3">2.4</span> Electron-electron potential</h3>
|
<h3 id="org6281996"><span class="section-number-3">2.4</span> Electron-electron potential</h3>
|
||||||
<div class="outline-text-3" id="text-2-4">
|
<div class="outline-text-3" id="text-2-4">
|
||||||
<p>
|
<p>
|
||||||
<code>ee_potential</code> is given by
|
<code>ee_potential</code> is given by
|
||||||
@ -1513,8 +1513,8 @@ distance.
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org3930d6e" class="outline-4">
|
<div id="outline-container-org43fde25" class="outline-4">
|
||||||
<h4 id="org3930d6e"><span class="section-number-4">2.4.1</span> Get</h4>
|
<h4 id="org43fde25"><span class="section-number-4">2.4.1</span> Get</h4>
|
||||||
<div class="outline-text-4" id="text-2-4-1">
|
<div class="outline-text-4" id="text-2-4-1">
|
||||||
<div class="org-src-container">
|
<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_potential</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;">ee_potential</span>);
|
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_get_electron_ee_potential</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;">ee_potential</span>);
|
||||||
@ -1523,10 +1523,10 @@ distance.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orga72e0aa" class="outline-4">
|
<div id="outline-container-orga4bf2fc" class="outline-4">
|
||||||
<h4 id="orga72e0aa"><span class="section-number-4">2.4.2</span> Compute</h4>
|
<h4 id="orga4bf2fc"><span class="section-number-4">2.4.2</span> Compute</h4>
|
||||||
<div class="outline-text-4" id="text-2-4-2">
|
<div class="outline-text-4" id="text-2-4-2">
|
||||||
<table id="orgd2eb102" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org0becd8d" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -1642,8 +1642,8 @@ distance.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org471b9bf" class="outline-4">
|
<div id="outline-container-org14578a1" class="outline-4">
|
||||||
<h4 id="org471b9bf"><span class="section-number-4">2.4.3</span> Test</h4>
|
<h4 id="org14578a1"><span class="section-number-4">2.4.3</span> Test</h4>
|
||||||
<div class="outline-text-4" id="text-2-4-3">
|
<div class="outline-text-4" id="text-2-4-3">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c"><span style="color: #228b22;">double</span> <span style="color: #a0522d;">ee_potential</span>[walk_num];
|
<pre class="src src-c"><span style="color: #228b22;">double</span> <span style="color: #a0522d;">ee_potential</span>[walk_num];
|
||||||
@ -1655,12 +1655,12 @@ rc = qmckl_get_electron_ee_potential(context, &(ee_potential[0]));
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-org7f97c87" class="outline-3">
|
<div id="outline-container-org1e74339" class="outline-3">
|
||||||
<h3 id="org7f97c87"><span class="section-number-3">2.5</span> Electron-nucleus distances</h3>
|
<h3 id="org1e74339"><span class="section-number-3">2.5</span> Electron-nucleus distances</h3>
|
||||||
<div class="outline-text-3" id="text-2-5">
|
<div class="outline-text-3" id="text-2-5">
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-org93d4548" class="outline-4">
|
<div id="outline-container-orge22d476" class="outline-4">
|
||||||
<h4 id="org93d4548"><span class="section-number-4">2.5.1</span> Get</h4>
|
<h4 id="orge22d476"><span class="section-number-4">2.5.1</span> Get</h4>
|
||||||
<div class="outline-text-4" id="text-2-5-1">
|
<div class="outline-text-4" id="text-2-5-1">
|
||||||
<div class="org-src-container">
|
<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>);
|
<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>);
|
||||||
@ -1669,10 +1669,10 @@ rc = qmckl_get_electron_ee_potential(context, &(ee_potential[0]));
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org5f5c0aa" class="outline-4">
|
<div id="outline-container-orgbeb9979" class="outline-4">
|
||||||
<h4 id="org5f5c0aa"><span class="section-number-4">2.5.2</span> Compute</h4>
|
<h4 id="orgbeb9979"><span class="section-number-4">2.5.2</span> Compute</h4>
|
||||||
<div class="outline-text-4" id="text-2-5-2">
|
<div class="outline-text-4" id="text-2-5-2">
|
||||||
<table id="org23fa4db" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="orgca07b08" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -1797,8 +1797,8 @@ rc = qmckl_get_electron_ee_potential(context, &(ee_potential[0]));
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org1cdac92" class="outline-4">
|
<div id="outline-container-org7ffabb7" class="outline-4">
|
||||||
<h4 id="org1cdac92"><span class="section-number-4">2.5.3</span> Test</h4>
|
<h4 id="org7ffabb7"><span class="section-number-4">2.5.3</span> Test</h4>
|
||||||
<div class="outline-text-4" id="text-2-5-3">
|
<div class="outline-text-4" id="text-2-5-3">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c">
|
<pre class="src src-c">
|
||||||
@ -1846,8 +1846,8 @@ rc = qmckl_get_electron_en_distance(context, &(en_distance[0][0][0]));
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org798254a" class="outline-3">
|
<div id="outline-container-orgb0f628a" class="outline-3">
|
||||||
<h3 id="org798254a"><span class="section-number-3">2.6</span> Electron-nucleus rescaled distances</h3>
|
<h3 id="orgb0f628a"><span class="section-number-3">2.6</span> Electron-nucleus rescaled distances</h3>
|
||||||
<div class="outline-text-3" id="text-2-6">
|
<div class="outline-text-3" id="text-2-6">
|
||||||
<p>
|
<p>
|
||||||
<code>en_distance_rescaled</code> stores the matrix of the rescaled distances between
|
<code>en_distance_rescaled</code> stores the matrix of the rescaled distances between
|
||||||
@ -1865,8 +1865,8 @@ where \(C_{ij}\) is the matrix of electron-nucleus distances.
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orga9c7a4b" class="outline-4">
|
<div id="outline-container-orgb03e649" class="outline-4">
|
||||||
<h4 id="orga9c7a4b"><span class="section-number-4">2.6.1</span> Get</h4>
|
<h4 id="orgb03e649"><span class="section-number-4">2.6.1</span> Get</h4>
|
||||||
<div class="outline-text-4" id="text-2-6-1">
|
<div class="outline-text-4" id="text-2-6-1">
|
||||||
<div class="org-src-container">
|
<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>);
|
<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>);
|
||||||
@ -1876,10 +1876,10 @@ where \(C_{ij}\) is the matrix of electron-nucleus distances.
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div id="outline-container-org5bc9aae" class="outline-4">
|
<div id="outline-container-org7f1bb92" class="outline-4">
|
||||||
<h4 id="org5bc9aae"><span class="section-number-4">2.6.2</span> Compute</h4>
|
<h4 id="org7f1bb92"><span class="section-number-4">2.6.2</span> Compute</h4>
|
||||||
<div class="outline-text-4" id="text-2-6-2">
|
<div class="outline-text-4" id="text-2-6-2">
|
||||||
<table id="org6c4c197" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org0ff54b4" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -2019,8 +2019,8 @@ where \(C_{ij}\) is the matrix of electron-nucleus distances.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgcafcc9f" class="outline-4">
|
<div id="outline-container-orge3e30b6" class="outline-4">
|
||||||
<h4 id="orgcafcc9f"><span class="section-number-4">2.6.3</span> Test</h4>
|
<h4 id="orge3e30b6"><span class="section-number-4">2.6.3</span> Test</h4>
|
||||||
<div class="outline-text-4" id="text-2-6-3">
|
<div class="outline-text-4" id="text-2-6-3">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c">
|
<pre class="src src-c">
|
||||||
@ -2058,8 +2058,8 @@ rc = qmckl_get_electron_en_distance_rescaled(context, &(en_distance_rescaled
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orge8c47a8" class="outline-3">
|
<div id="outline-container-orge421888" class="outline-3">
|
||||||
<h3 id="orge8c47a8"><span class="section-number-3">2.7</span> Electron-nucleus rescaled distance gradients and laplacian with respect to electron coords</h3>
|
<h3 id="orge421888"><span class="section-number-3">2.7</span> Electron-nucleus rescaled distance gradients and laplacian with respect to electron coords</h3>
|
||||||
<div class="outline-text-3" id="text-2-7">
|
<div class="outline-text-3" id="text-2-7">
|
||||||
<p>
|
<p>
|
||||||
The rescaled distances which is given as \(R = (1 - \exp{-\kappa r})/\kappa\)
|
The rescaled distances which is given as \(R = (1 - \exp{-\kappa r})/\kappa\)
|
||||||
@ -2071,8 +2071,8 @@ gives the Laplacian \(\partial x^2 + \partial y^2 + \partial z^2\).
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org91ad5cb" class="outline-4">
|
<div id="outline-container-org873f57b" class="outline-4">
|
||||||
<h4 id="org91ad5cb"><span class="section-number-4">2.7.1</span> Get</h4>
|
<h4 id="org873f57b"><span class="section-number-4">2.7.1</span> Get</h4>
|
||||||
<div class="outline-text-4" id="text-2-7-1">
|
<div class="outline-text-4" id="text-2-7-1">
|
||||||
<div class="org-src-container">
|
<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>);
|
<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>);
|
||||||
@ -2081,10 +2081,10 @@ gives the Laplacian \(\partial x^2 + \partial y^2 + \partial z^2\).
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgbdec44f" class="outline-4">
|
<div id="outline-container-orga1a1940" class="outline-4">
|
||||||
<h4 id="orgbdec44f"><span class="section-number-4">2.7.2</span> Compute</h4>
|
<h4 id="orga1a1940"><span class="section-number-4">2.7.2</span> Compute</h4>
|
||||||
<div class="outline-text-4" id="text-2-7-2">
|
<div class="outline-text-4" id="text-2-7-2">
|
||||||
<table id="orgab0dddd" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org7f85dfc" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -2225,8 +2225,8 @@ gives the Laplacian \(\partial x^2 + \partial y^2 + \partial z^2\).
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org68e7aad" class="outline-4">
|
<div id="outline-container-orgf042ac1" class="outline-4">
|
||||||
<h4 id="org68e7aad"><span class="section-number-4">2.7.3</span> Test</h4>
|
<h4 id="orgf042ac1"><span class="section-number-4">2.7.3</span> Test</h4>
|
||||||
<div class="outline-text-4" id="text-2-7-3">
|
<div class="outline-text-4" id="text-2-7-3">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c">
|
<pre class="src src-c">
|
||||||
@ -2269,8 +2269,8 @@ rc = qmckl_get_electron_en_distance_rescaled_deriv_e(context, &(en_distance_
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgeedd78d" class="outline-3">
|
<div id="outline-container-org59cec2e" class="outline-3">
|
||||||
<h3 id="orgeedd78d"><span class="section-number-3">2.8</span> Electron-nucleus potential</h3>
|
<h3 id="org59cec2e"><span class="section-number-3">2.8</span> Electron-nucleus potential</h3>
|
||||||
<div class="outline-text-3" id="text-2-8">
|
<div class="outline-text-3" id="text-2-8">
|
||||||
<p>
|
<p>
|
||||||
<code>en_potential</code> stores the <code>en</code> potential energy
|
<code>en_potential</code> stores the <code>en</code> potential energy
|
||||||
@ -2288,8 +2288,8 @@ distance and \[Z_A\] is the nuclear charge.
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org46db997" class="outline-4">
|
<div id="outline-container-org86d7f1b" class="outline-4">
|
||||||
<h4 id="org46db997"><span class="section-number-4">2.8.1</span> Get</h4>
|
<h4 id="org86d7f1b"><span class="section-number-4">2.8.1</span> Get</h4>
|
||||||
<div class="outline-text-4" id="text-2-8-1">
|
<div class="outline-text-4" id="text-2-8-1">
|
||||||
<div class="org-src-container">
|
<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_potential</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;">en_potential</span>);
|
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_get_electron_en_potential</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;">en_potential</span>);
|
||||||
@ -2298,10 +2298,10 @@ distance and \[Z_A\] is the nuclear charge.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgd77a459" class="outline-4">
|
<div id="outline-container-org3ff6def" class="outline-4">
|
||||||
<h4 id="orgd77a459"><span class="section-number-4">2.8.2</span> Compute</h4>
|
<h4 id="org3ff6def"><span class="section-number-4">2.8.2</span> Compute</h4>
|
||||||
<div class="outline-text-4" id="text-2-8-2">
|
<div class="outline-text-4" id="text-2-8-2">
|
||||||
<table id="org7e37a1d" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org6383b7e" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -2435,8 +2435,8 @@ distance and \[Z_A\] is the nuclear charge.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orge7166c8" class="outline-4">
|
<div id="outline-container-orgb8923db" class="outline-4">
|
||||||
<h4 id="orge7166c8"><span class="section-number-4">2.8.3</span> Test</h4>
|
<h4 id="orgb8923db"><span class="section-number-4">2.8.3</span> Test</h4>
|
||||||
<div class="outline-text-4" id="text-2-8-3">
|
<div class="outline-text-4" id="text-2-8-3">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c"><span style="color: #228b22;">double</span> <span style="color: #a0522d;">en_potential</span>[walk_num];
|
<pre class="src src-c"><span style="color: #228b22;">double</span> <span style="color: #a0522d;">en_potential</span>[walk_num];
|
||||||
@ -2449,14 +2449,14 @@ rc = qmckl_get_electron_en_potential(context, &(en_potential[0]));
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org5238679" class="outline-3">
|
<div id="outline-container-org7bdf986" class="outline-3">
|
||||||
<h3 id="org5238679"><span class="section-number-3">2.9</span> Generate initial coordinates</h3>
|
<h3 id="org7bdf986"><span class="section-number-3">2.9</span> Generate initial coordinates</h3>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="postamble" class="status">
|
<div id="postamble" class="status">
|
||||||
<p class="author">Author: TREX CoE</p>
|
<p class="author">Author: TREX CoE</p>
|
||||||
<p class="date">Created: 2022-08-23 Tue 06:40</p>
|
<p class="date">Created: 2022-08-31 Wed 14:46</p>
|
||||||
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||||
<head>
|
<head>
|
||||||
<!-- 2022-08-23 Tue 06:40 -->
|
<!-- 2022-08-31 Wed 14:46 -->
|
||||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<title>Error handling</title>
|
<title>Error handling</title>
|
||||||
@ -311,24 +311,24 @@ for the JavaScript code in this tag.
|
|||||||
<h2>Table of Contents</h2>
|
<h2>Table of Contents</h2>
|
||||||
<div id="text-table-of-contents">
|
<div id="text-table-of-contents">
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org84cced0">-</a></li>
|
<li><a href="#org145a45f">-</a></li>
|
||||||
<li><a href="#org935dd76">1. Decoding errors</a></li>
|
<li><a href="#org78b39f5">1. Decoding errors</a></li>
|
||||||
<li><a href="#orgb8e8383">2. Data structure in context</a></li>
|
<li><a href="#org7287a15">2. Data structure in context</a></li>
|
||||||
<li><a href="#org89deb94">3. Updating errors in the context</a></li>
|
<li><a href="#org582cfd6">3. Updating errors in the context</a></li>
|
||||||
<li><a href="#org86e6c48">4. Get the error</a></li>
|
<li><a href="#org8045b97">4. Get the error</a></li>
|
||||||
<li><a href="#org6008519">5. Failing</a></li>
|
<li><a href="#org8eb5a43">5. Failing</a></li>
|
||||||
<li><a href="#org61d9b86">6. Last error</a>
|
<li><a href="#org146007b">6. Last error</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org3d902b0">6.1. Fortran inteface</a></li>
|
<li><a href="#org2d3d54f">6.1. Fortran inteface</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org84cced0" class="outline-2">
|
<div id="outline-container-org145a45f" class="outline-2">
|
||||||
<h2 id="org84cced0">-</h2>
|
<h2 id="org145a45f">-</h2>
|
||||||
<div class="outline-text-2" id="text-org84cced0">
|
<div class="outline-text-2" id="text-org145a45f">
|
||||||
<p>
|
<p>
|
||||||
The library should never make the calling programs abort, nor
|
The library should never make the calling programs abort, nor
|
||||||
perform any input/output operations. This decision has to be taken
|
perform any input/output operations. This decision has to be taken
|
||||||
@ -339,7 +339,7 @@ by the developer of the code calling the library.
|
|||||||
All the functions return with an exit code, defined as
|
All the functions return with an exit code, defined as
|
||||||
</p>
|
</p>
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c" id="org9f6b039"><span style="color: #a020f0;">typedef</span> <span style="color: #228b22;">int32_t</span> <span style="color: #228b22;">qmckl_exit_code</span>;
|
<pre class="src src-c" id="org01e987e"><span style="color: #a020f0;">typedef</span> <span style="color: #228b22;">int32_t</span> <span style="color: #228b22;">qmckl_exit_code</span>;
|
||||||
</pre>
|
</pre>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@ -356,7 +356,7 @@ error code is returned to the program.
|
|||||||
Here is the complete list of exit codes.
|
Here is the complete list of exit codes.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<table id="orgabccd67" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="orgfd21f84" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -564,8 +564,8 @@ string is assumed to be large enough to contain the error message
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org935dd76" class="outline-2">
|
<div id="outline-container-org78b39f5" class="outline-2">
|
||||||
<h2 id="org935dd76"><span class="section-number-2">1</span> Decoding errors</h2>
|
<h2 id="org78b39f5"><span class="section-number-2">1</span> Decoding errors</h2>
|
||||||
<div class="outline-text-2" id="text-1">
|
<div class="outline-text-2" id="text-1">
|
||||||
<p>
|
<p>
|
||||||
To decode the error messages, <code>qmckl_string_of_error</code> converts an
|
To decode the error messages, <code>qmckl_string_of_error</code> converts an
|
||||||
@ -583,8 +583,8 @@ The text strings are extracted from the previous table.
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-orgb8e8383" class="outline-2">
|
<div id="outline-container-org7287a15" class="outline-2">
|
||||||
<h2 id="orgb8e8383"><span class="section-number-2">2</span> Data structure in context</h2>
|
<h2 id="org7287a15"><span class="section-number-2">2</span> Data structure in context</h2>
|
||||||
<div class="outline-text-2" id="text-2">
|
<div class="outline-text-2" id="text-2">
|
||||||
<p>
|
<p>
|
||||||
The strings are declared internally with a maximum fixed size to avoid
|
The strings are declared internally with a maximum fixed size to avoid
|
||||||
@ -607,8 +607,8 @@ dynamic memory allocation.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org89deb94" class="outline-2">
|
<div id="outline-container-org582cfd6" class="outline-2">
|
||||||
<h2 id="org89deb94"><span class="section-number-2">3</span> Updating errors in the context</h2>
|
<h2 id="org582cfd6"><span class="section-number-2">3</span> Updating errors in the context</h2>
|
||||||
<div class="outline-text-2" id="text-3">
|
<div class="outline-text-2" id="text-3">
|
||||||
<p>
|
<p>
|
||||||
The error is updated in the context using <code>qmckl_set_error</code>.
|
The error is updated in the context using <code>qmckl_set_error</code>.
|
||||||
@ -627,8 +627,8 @@ explaining the error. The exit code can't be <code>QMCKL_SUCCESS</code>.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-org86e6c48" class="outline-2">
|
<div id="outline-container-org8045b97" class="outline-2">
|
||||||
<h2 id="org86e6c48"><span class="section-number-2">4</span> Get the error</h2>
|
<h2 id="org8045b97"><span class="section-number-2">4</span> Get the error</h2>
|
||||||
<div class="outline-text-2" id="text-4">
|
<div class="outline-text-2" id="text-4">
|
||||||
<p>
|
<p>
|
||||||
Upon error, the error type and message can be obtained from the
|
Upon error, the error type and message can be obtained from the
|
||||||
@ -647,8 +647,8 @@ function name and message is mandatory.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-org6008519" class="outline-2">
|
<div id="outline-container-org8eb5a43" class="outline-2">
|
||||||
<h2 id="org6008519"><span class="section-number-2">5</span> Failing</h2>
|
<h2 id="org8eb5a43"><span class="section-number-2">5</span> Failing</h2>
|
||||||
<div class="outline-text-2" id="text-5">
|
<div class="outline-text-2" id="text-5">
|
||||||
<p>
|
<p>
|
||||||
To make a function fail, the <code>qmckl_failwith</code> function should be
|
To make a function fail, the <code>qmckl_failwith</code> function should be
|
||||||
@ -685,8 +685,8 @@ For example, this function can be used as
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org61d9b86" class="outline-2">
|
<div id="outline-container-org146007b" class="outline-2">
|
||||||
<h2 id="org61d9b86"><span class="section-number-2">6</span> Last error</h2>
|
<h2 id="org146007b"><span class="section-number-2">6</span> Last error</h2>
|
||||||
<div class="outline-text-2" id="text-6">
|
<div class="outline-text-2" id="text-6">
|
||||||
<p>
|
<p>
|
||||||
Returns a string describing the last error, using <code>qmckl_get_error</code>.
|
Returns a string describing the last error, using <code>qmckl_get_error</code>.
|
||||||
@ -698,14 +698,14 @@ Returns a string describing the last error, using <code>qmckl_get_error</code>.
|
|||||||
</pre>
|
</pre>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-org3d902b0" class="outline-3">
|
<div id="outline-container-org2d3d54f" class="outline-3">
|
||||||
<h3 id="org3d902b0"><span class="section-number-3">6.1</span> Fortran inteface</h3>
|
<h3 id="org2d3d54f"><span class="section-number-3">6.1</span> Fortran inteface</h3>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="postamble" class="status">
|
<div id="postamble" class="status">
|
||||||
<p class="author">Author: TREX CoE</p>
|
<p class="author">Author: TREX CoE</p>
|
||||||
<p class="date">Created: 2022-08-23 Tue 06:40</p>
|
<p class="date">Created: 2022-08-31 Wed 14:46</p>
|
||||||
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||||
<head>
|
<head>
|
||||||
<!-- 2022-08-23 Tue 06:40 -->
|
<!-- 2022-08-31 Wed 14:46 -->
|
||||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<title>Code examples</title>
|
<title>Code examples</title>
|
||||||
@ -333,27 +333,27 @@ for the JavaScript code in this tag.
|
|||||||
<h2>Table of Contents</h2>
|
<h2>Table of Contents</h2>
|
||||||
<div id="text-table-of-contents">
|
<div id="text-table-of-contents">
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orga0921d9">1. Python</a>
|
<li><a href="#orgd30a306">1. Python</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org62df20d">1.1. Check numerically that MOs are orthonormal</a></li>
|
<li><a href="#org96f1cab">1.1. Check numerically that MOs are orthonormal</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org306be6e">2. Fortran</a>
|
<li><a href="#org51d3b2f">2. Fortran</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgc5ac8ef">2.1. Checking errors</a></li>
|
<li><a href="#org647bb3b">2.1. Checking errors</a></li>
|
||||||
<li><a href="#org874a51d">2.2. Computing an atomic orbital on a grid</a></li>
|
<li><a href="#org669e7cf">2.2. Computing an atomic orbital on a grid</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orga0921d9" class="outline-2">
|
<div id="outline-container-orgd30a306" class="outline-2">
|
||||||
<h2 id="orga0921d9"><span class="section-number-2">1</span> Python</h2>
|
<h2 id="orgd30a306"><span class="section-number-2">1</span> Python</h2>
|
||||||
<div class="outline-text-2" id="text-1">
|
<div class="outline-text-2" id="text-1">
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-org62df20d" class="outline-3">
|
<div id="outline-container-org96f1cab" class="outline-3">
|
||||||
<h3 id="org62df20d"><span class="section-number-3">1.1</span> Check numerically that MOs are orthonormal</h3>
|
<h3 id="org96f1cab"><span class="section-number-3">1.1</span> Check numerically that MOs are orthonormal</h3>
|
||||||
<div class="outline-text-3" id="text-1-1">
|
<div class="outline-text-3" id="text-1-1">
|
||||||
<p>
|
<p>
|
||||||
In this example, we will compute numerically the overlap
|
In this example, we will compute numerically the overlap
|
||||||
@ -529,12 +529,12 @@ and finally we compute the overlap between all the MOs as
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org306be6e" class="outline-2">
|
<div id="outline-container-org51d3b2f" class="outline-2">
|
||||||
<h2 id="org306be6e"><span class="section-number-2">2</span> Fortran</h2>
|
<h2 id="org51d3b2f"><span class="section-number-2">2</span> Fortran</h2>
|
||||||
<div class="outline-text-2" id="text-2">
|
<div class="outline-text-2" id="text-2">
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-orgc5ac8ef" class="outline-3">
|
<div id="outline-container-org647bb3b" class="outline-3">
|
||||||
<h3 id="orgc5ac8ef"><span class="section-number-3">2.1</span> Checking errors</h3>
|
<h3 id="org647bb3b"><span class="section-number-3">2.1</span> Checking errors</h3>
|
||||||
<div class="outline-text-3" id="text-2-1">
|
<div class="outline-text-3" id="text-2-1">
|
||||||
<p>
|
<p>
|
||||||
All QMCkl functions return an error code. A convenient way to handle
|
All QMCkl functions return an error code. A convenient way to handle
|
||||||
@ -543,7 +543,7 @@ error in text format and exits the program.
|
|||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-f90" id="orgccb01fb"><span style="color: #a020f0;">subroutine</span> <span style="color: #0000ff;">qmckl_check_error</span>(rc, message)
|
<pre class="src src-f90" id="org53433a1"><span style="color: #a020f0;">subroutine</span> <span style="color: #0000ff;">qmckl_check_error</span>(rc, message)
|
||||||
<span style="color: #a020f0;">use</span> <span style="color: #0000ff;">qmckl</span>
|
<span style="color: #a020f0;">use</span> <span style="color: #0000ff;">qmckl</span>
|
||||||
<span style="color: #a020f0;">implicit</span> <span style="color: #228b22;">none</span>
|
<span style="color: #a020f0;">implicit</span> <span style="color: #228b22;">none</span>
|
||||||
<span style="color: #228b22;">integer</span>(qmckl_exit_code), <span style="color: #a020f0;">intent</span>(in) ::<span style="color: #a0522d;"> rc</span>
|
<span style="color: #228b22;">integer</span>(qmckl_exit_code), <span style="color: #a020f0;">intent</span>(in) ::<span style="color: #a0522d;"> rc</span>
|
||||||
@ -561,8 +561,8 @@ error in text format and exits the program.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org874a51d" class="outline-3">
|
<div id="outline-container-org669e7cf" class="outline-3">
|
||||||
<h3 id="org874a51d"><span class="section-number-3">2.2</span> Computing an atomic orbital on a grid</h3>
|
<h3 id="org669e7cf"><span class="section-number-3">2.2</span> Computing an atomic orbital on a grid</h3>
|
||||||
<div class="outline-text-3" id="text-2-2">
|
<div class="outline-text-3" id="text-2-2">
|
||||||
<p>
|
<p>
|
||||||
The following program, in Fortran, computes the values of an atomic
|
The following program, in Fortran, computes the values of an atomic
|
||||||
@ -781,7 +781,7 @@ We finally print the value and Laplacian of the AO:
|
|||||||
</div>
|
</div>
|
||||||
<div id="postamble" class="status">
|
<div id="postamble" class="status">
|
||||||
<p class="author">Author: TREX CoE</p>
|
<p class="author">Author: TREX CoE</p>
|
||||||
<p class="date">Created: 2022-08-23 Tue 06:40</p>
|
<p class="date">Created: 2022-08-31 Wed 14:46</p>
|
||||||
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||||
<head>
|
<head>
|
||||||
<!-- 2022-08-23 Tue 06:40 -->
|
<!-- 2022-08-31 Wed 14:47 -->
|
||||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<title>Jastrow Factor</title>
|
<title>Jastrow Factor</title>
|
||||||
@ -333,105 +333,105 @@ for the JavaScript code in this tag.
|
|||||||
<h2>Table of Contents</h2>
|
<h2>Table of Contents</h2>
|
||||||
<div id="text-table-of-contents">
|
<div id="text-table-of-contents">
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgcd49c77">1. Introduction</a></li>
|
<li><a href="#org8786bc7">1. Introduction</a></li>
|
||||||
<li><a href="#org943207b">2. Context</a>
|
<li><a href="#orgc7e1021">2. Context</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgb53f6c1">2.1. Data structure</a></li>
|
<li><a href="#org5366f82">2.1. Data structure</a></li>
|
||||||
<li><a href="#org5904a19">2.2. Access functions</a></li>
|
<li><a href="#org8dcd527">2.2. Access functions</a></li>
|
||||||
<li><a href="#org421141c">2.3. Initialization functions</a></li>
|
<li><a href="#orgf64359f">2.3. Initialization functions</a></li>
|
||||||
<li><a href="#org01dc994">2.4. Test</a></li>
|
<li><a href="#org91f4a39">2.4. Test</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#orgca962e2">3. Computation</a>
|
<li><a href="#org88ec813">3. Computation</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgcfe5187">3.1. Asymptotic component for \(J_{ee}\)</a>
|
<li><a href="#org280b6e4">3.1. Asymptotic component for \(J_{ee}\)</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org28cde76">3.1.1. Get</a></li>
|
<li><a href="#orgd30a100">3.1.1. Get</a></li>
|
||||||
<li><a href="#org8826679">3.1.2. Compute</a></li>
|
<li><a href="#org966ca65">3.1.2. Compute</a></li>
|
||||||
<li><a href="#org398aac1">3.1.3. Test</a></li>
|
<li><a href="#org89fa15f">3.1.3. Test</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org28a3d3a">3.2. Electron-electron component \(f_{ee}\)</a>
|
<li><a href="#org7d530f9">3.2. Electron-electron component \(f_{ee}\)</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgcd95d67">3.2.1. Get</a></li>
|
<li><a href="#org9cfacb4">3.2.1. Get</a></li>
|
||||||
<li><a href="#org950837f">3.2.2. Compute</a></li>
|
<li><a href="#org10c1c9a">3.2.2. Compute</a></li>
|
||||||
<li><a href="#orgf01f7b2">3.2.3. Test</a></li>
|
<li><a href="#org700eeb2">3.2.3. Test</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org418dfb4">3.3. Electron-electron component derivative \(f'_{ee}\)</a>
|
<li><a href="#org56de980">3.3. Electron-electron component derivative \(f'_{ee}\)</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org7a64730">3.3.1. Get</a></li>
|
<li><a href="#org65829ba">3.3.1. Get</a></li>
|
||||||
<li><a href="#org49b5eb4">3.3.2. Compute</a></li>
|
<li><a href="#org12f0dd2">3.3.2. Compute</a></li>
|
||||||
<li><a href="#org474c6f0">3.3.3. Test</a></li>
|
<li><a href="#org69df70e">3.3.3. Test</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#orge636d52">3.4. Electron-nucleus component \(f_{en}\)</a>
|
<li><a href="#org4dd92a2">3.4. Electron-nucleus component \(f_{en}\)</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org0debbaa">3.4.1. Get</a></li>
|
<li><a href="#org5011c99">3.4.1. Get</a></li>
|
||||||
<li><a href="#orgc41782f">3.4.2. Compute</a></li>
|
<li><a href="#org2ddd406">3.4.2. Compute</a></li>
|
||||||
<li><a href="#org81c665e">3.4.3. Test</a></li>
|
<li><a href="#orgf5dcc8a">3.4.3. Test</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#orga44be3b">3.5. Electron-nucleus component derivative \(f'_{en}\)</a>
|
<li><a href="#org0f4cb42">3.5. Electron-nucleus component derivative \(f'_{en}\)</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgc9381f6">3.5.1. Get</a></li>
|
<li><a href="#org56d1c66">3.5.1. Get</a></li>
|
||||||
<li><a href="#org43d5802">3.5.2. Compute</a></li>
|
<li><a href="#orgd64b6b2">3.5.2. Compute</a></li>
|
||||||
<li><a href="#org89be56e">3.5.3. Test</a></li>
|
<li><a href="#org0744703">3.5.3. Test</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org8f83dff">3.6. Electron-electron rescaled distances for each order</a>
|
<li><a href="#orgc6f8b5f">3.6. Electron-electron rescaled distances for each order</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgfea33d5">3.6.1. Get</a></li>
|
<li><a href="#orga48a44d">3.6.1. Get</a></li>
|
||||||
<li><a href="#orgd883a2c">3.6.2. Compute</a></li>
|
<li><a href="#org469c13f">3.6.2. Compute</a></li>
|
||||||
<li><a href="#orgd909e79">3.6.3. Test</a></li>
|
<li><a href="#org3bd3822">3.6.3. Test</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org91d99c4">3.7. Electron-electron rescaled distances for each order and derivatives</a>
|
<li><a href="#org97101d6">3.7. Electron-electron rescaled distances for each order and derivatives</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgd64ed6b">3.7.1. Get</a></li>
|
<li><a href="#org523093e">3.7.1. Get</a></li>
|
||||||
<li><a href="#org5d41d7f">3.7.2. Compute</a></li>
|
<li><a href="#org84b7e8e">3.7.2. Compute</a></li>
|
||||||
<li><a href="#org5d8cdaf">3.7.3. Test</a></li>
|
<li><a href="#org8652b5b">3.7.3. Test</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org3483c78">3.8. Electron-nucleus rescaled distances for each order</a>
|
<li><a href="#org4bf33b1">3.8. Electron-nucleus rescaled distances for each order</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgb8b1da7">3.8.1. Get</a></li>
|
<li><a href="#orgb46aad4">3.8.1. Get</a></li>
|
||||||
<li><a href="#org99ae122">3.8.2. Compute</a></li>
|
<li><a href="#orgb2aad0d">3.8.2. Compute</a></li>
|
||||||
<li><a href="#org15cc34f">3.8.3. Test</a></li>
|
<li><a href="#orge999b1a">3.8.3. Test</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#orgefeb108">3.9. Electron-nucleus rescaled distances for each order and derivatives</a>
|
<li><a href="#org327e4ec">3.9. Electron-nucleus rescaled distances for each order and derivatives</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org9e80e2f">3.9.1. Get</a></li>
|
<li><a href="#org2c72ca8">3.9.1. Get</a></li>
|
||||||
<li><a href="#org4ab5677">3.9.2. Compute</a></li>
|
<li><a href="#org6c125f5">3.9.2. Compute</a></li>
|
||||||
<li><a href="#org8a5b6fc">3.9.3. Test</a></li>
|
<li><a href="#orgb86b6cd">3.9.3. Test</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org49f8d7f">3.10. Prepare for electron-electron-nucleus Jastrow \(f_{een}\)</a>
|
<li><a href="#org0aabc95">3.10. Prepare for electron-electron-nucleus Jastrow \(f_{een}\)</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org88587d1">3.10.1. Get</a></li>
|
<li><a href="#org60a55b2">3.10.1. Get</a></li>
|
||||||
<li><a href="#org14702b9">3.10.2. Compute dim<sub>cord</sub><sub>vect</sub></a></li>
|
<li><a href="#orgd5a671e">3.10.2. Compute dim<sub>cord</sub><sub>vect</sub></a></li>
|
||||||
<li><a href="#org8898b30">3.10.3. Compute cord<sub>vect</sub><sub>full</sub></a></li>
|
<li><a href="#orgbb0a7d9">3.10.3. Compute cord<sub>vect</sub><sub>full</sub></a></li>
|
||||||
<li><a href="#org0d627f4">3.10.4. Compute lkpm<sub>combined</sub><sub>index</sub></a></li>
|
<li><a href="#org6ab3dbd">3.10.4. Compute lkpm<sub>combined</sub><sub>index</sub></a></li>
|
||||||
<li><a href="#org8a5b36d">3.10.5. Compute tmp<sub>c</sub></a></li>
|
<li><a href="#org7cb81b0">3.10.5. Compute tmp<sub>c</sub></a></li>
|
||||||
<li><a href="#orge39c47c">3.10.6. Compute dtmp<sub>c</sub></a></li>
|
<li><a href="#org5da95ac">3.10.6. Compute dtmp<sub>c</sub></a></li>
|
||||||
<li><a href="#org04b6caa">3.10.7. Test</a></li>
|
<li><a href="#org4bb0cc4">3.10.7. Test</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org90b6408">3.11. Electron-electron-nucleus Jastrow \(f_{een}\)</a>
|
<li><a href="#org7b74d88">3.11. Electron-electron-nucleus Jastrow \(f_{een}\)</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgc31e35b">3.11.1. Get</a></li>
|
<li><a href="#orgda66ef8">3.11.1. Get</a></li>
|
||||||
<li><a href="#org490c187">3.11.2. Compute naive</a></li>
|
<li><a href="#org097815a">3.11.2. Compute naive</a></li>
|
||||||
<li><a href="#orgd262c7a">3.11.3. Compute</a></li>
|
<li><a href="#org628dcca">3.11.3. Compute</a></li>
|
||||||
<li><a href="#orgb92c796">3.11.4. Test</a></li>
|
<li><a href="#orgaf8b30d">3.11.4. Test</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#orgdb35148">3.12. Electron-electron-nucleus Jastrow \(f_{een}\) derivative</a>
|
<li><a href="#org8581ed2">3.12. Electron-electron-nucleus Jastrow \(f_{een}\) derivative</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org69b7bd3">3.12.1. Get</a></li>
|
<li><a href="#orgfe530b8">3.12.1. Get</a></li>
|
||||||
<li><a href="#org740e23a">3.12.2. Compute Naive</a></li>
|
<li><a href="#org43e54f6">3.12.2. Compute Naive</a></li>
|
||||||
<li><a href="#org90266ea">3.12.3. Compute</a></li>
|
<li><a href="#org34aaa17">3.12.3. Compute</a></li>
|
||||||
<li><a href="#org9452523">3.12.4. Test</a></li>
|
<li><a href="#orgcc6e18b">3.12.4. Test</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
@ -440,8 +440,8 @@ for the JavaScript code in this tag.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgcd49c77" class="outline-2">
|
<div id="outline-container-org8786bc7" class="outline-2">
|
||||||
<h2 id="orgcd49c77"><span class="section-number-2">1</span> Introduction</h2>
|
<h2 id="org8786bc7"><span class="section-number-2">1</span> Introduction</h2>
|
||||||
<div class="outline-text-2" id="text-1">
|
<div class="outline-text-2" id="text-1">
|
||||||
<p>
|
<p>
|
||||||
The Jastrow factor depends on the electronic (\(\mathbf{r}\)) and
|
The Jastrow factor depends on the electronic (\(\mathbf{r}\)) and
|
||||||
@ -522,14 +522,14 @@ The terms \(J_{\text{ee}}^\infty\) and \(J_{\text{eN}}^\infty\) are shifts to en
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org943207b" class="outline-2">
|
<div id="outline-container-orgc7e1021" class="outline-2">
|
||||||
<h2 id="org943207b"><span class="section-number-2">2</span> Context</h2>
|
<h2 id="orgc7e1021"><span class="section-number-2">2</span> Context</h2>
|
||||||
<div class="outline-text-2" id="text-2">
|
<div class="outline-text-2" id="text-2">
|
||||||
<p>
|
<p>
|
||||||
The following data stored in the context:
|
The following data stored in the context:
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<table id="org72edf50" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org1ee02ce" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -820,8 +820,8 @@ computed data:
|
|||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgb53f6c1" class="outline-3">
|
<div id="outline-container-org5366f82" class="outline-3">
|
||||||
<h3 id="orgb53f6c1"><span class="section-number-3">2.1</span> Data structure</h3>
|
<h3 id="org5366f82"><span class="section-number-3">2.1</span> Data structure</h3>
|
||||||
<div class="outline-text-3" id="text-2-1">
|
<div class="outline-text-3" id="text-2-1">
|
||||||
<div class="org-src-container">
|
<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>{
|
<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>{
|
||||||
@ -912,8 +912,8 @@ this mechanism.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org5904a19" class="outline-3">
|
<div id="outline-container-org8dcd527" class="outline-3">
|
||||||
<h3 id="org5904a19"><span class="section-number-3">2.2</span> Access functions</h3>
|
<h3 id="org8dcd527"><span class="section-number-3">2.2</span> Access functions</h3>
|
||||||
<div class="outline-text-3" id="text-2-2">
|
<div class="outline-text-3" id="text-2-2">
|
||||||
<p>
|
<p>
|
||||||
Along with these core functions, calculation of the jastrow factor
|
Along with these core functions, calculation of the jastrow factor
|
||||||
@ -933,8 +933,8 @@ function returns <code>true</code>.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org421141c" class="outline-3">
|
<div id="outline-container-orgf64359f" class="outline-3">
|
||||||
<h3 id="org421141c"><span class="section-number-3">2.3</span> Initialization functions</h3>
|
<h3 id="orgf64359f"><span class="section-number-3">2.3</span> Initialization functions</h3>
|
||||||
<div class="outline-text-3" id="text-2-3">
|
<div class="outline-text-3" id="text-2-3">
|
||||||
<p>
|
<p>
|
||||||
To prepare for the Jastrow and its derivative, all the following functions need to be
|
To prepare for the Jastrow and its derivative, all the following functions need to be
|
||||||
@ -959,8 +959,8 @@ are precontracted using BLAS LEVEL 3 operations for an optimal flop count.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org01dc994" class="outline-3">
|
<div id="outline-container-org91f4a39" class="outline-3">
|
||||||
<h3 id="org01dc994"><span class="section-number-3">2.4</span> Test</h3>
|
<h3 id="org91f4a39"><span class="section-number-3">2.4</span> Test</h3>
|
||||||
<div class="outline-text-3" id="text-2-4">
|
<div class="outline-text-3" id="text-2-4">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c">/* <span style="color: #b22222;">Reference input data </span>*/
|
<pre class="src src-c">/* <span style="color: #b22222;">Reference input data </span>*/
|
||||||
@ -1092,8 +1092,8 @@ rc = qmckl_get_nucleus_charge(context, nucl_charge2, nucl_num);
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgca962e2" class="outline-2">
|
<div id="outline-container-org88ec813" class="outline-2">
|
||||||
<h2 id="orgca962e2"><span class="section-number-2">3</span> Computation</h2>
|
<h2 id="org88ec813"><span class="section-number-2">3</span> Computation</h2>
|
||||||
<div class="outline-text-2" id="text-3">
|
<div class="outline-text-2" id="text-3">
|
||||||
<p>
|
<p>
|
||||||
The computed data is stored in the context so that it can be reused
|
The computed data is stored in the context so that it can be reused
|
||||||
@ -1106,8 +1106,8 @@ current date is stored.
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgcfe5187" class="outline-3">
|
<div id="outline-container-org280b6e4" class="outline-3">
|
||||||
<h3 id="orgcfe5187"><span class="section-number-3">3.1</span> Asymptotic component for \(J_{ee}\)</h3>
|
<h3 id="org280b6e4"><span class="section-number-3">3.1</span> Asymptotic component for \(J_{ee}\)</h3>
|
||||||
<div class="outline-text-3" id="text-3-1">
|
<div class="outline-text-3" id="text-3-1">
|
||||||
<p>
|
<p>
|
||||||
Calculate the asymptotic component <code>asymp_jasb</code> to be substracted from the final
|
Calculate the asymptotic component <code>asymp_jasb</code> to be substracted from the final
|
||||||
@ -1122,8 +1122,8 @@ via the <code>bord_vector</code> and the electron-electron rescale factor <code>
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org28cde76" class="outline-4">
|
<div id="outline-container-orgd30a100" class="outline-4">
|
||||||
<h4 id="org28cde76"><span class="section-number-4">3.1.1</span> Get</h4>
|
<h4 id="orgd30a100"><span class="section-number-4">3.1.1</span> Get</h4>
|
||||||
<div class="outline-text-4" id="text-3-1-1">
|
<div class="outline-text-4" id="text-3-1-1">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span>
|
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span>
|
||||||
@ -1135,10 +1135,10 @@ via the <code>bord_vector</code> and the electron-electron rescale factor <code>
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org8826679" class="outline-4">
|
<div id="outline-container-org966ca65" class="outline-4">
|
||||||
<h4 id="org8826679"><span class="section-number-4">3.1.2</span> Compute</h4>
|
<h4 id="org966ca65"><span class="section-number-4">3.1.2</span> Compute</h4>
|
||||||
<div class="outline-text-4" id="text-3-1-2">
|
<div class="outline-text-4" id="text-3-1-2">
|
||||||
<table id="orgc891429" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org22025ac" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -1274,8 +1274,8 @@ via the <code>bord_vector</code> and the electron-electron rescale factor <code>
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org398aac1" class="outline-4">
|
<div id="outline-container-org89fa15f" class="outline-4">
|
||||||
<h4 id="org398aac1"><span class="section-number-4">3.1.3</span> Test</h4>
|
<h4 id="org89fa15f"><span class="section-number-4">3.1.3</span> Test</h4>
|
||||||
<div class="outline-text-4" id="text-3-1-3">
|
<div class="outline-text-4" id="text-3-1-3">
|
||||||
<div class="org-src-container">
|
<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>));
|
<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>));
|
||||||
@ -1326,8 +1326,8 @@ rc = qmckl_get_jastrow_asymp_jasb(context, asymp_jasb,2);
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org28a3d3a" class="outline-3">
|
<div id="outline-container-org7d530f9" class="outline-3">
|
||||||
<h3 id="org28a3d3a"><span class="section-number-3">3.2</span> Electron-electron component \(f_{ee}\)</h3>
|
<h3 id="org7d530f9"><span class="section-number-3">3.2</span> Electron-electron component \(f_{ee}\)</h3>
|
||||||
<div class="outline-text-3" id="text-3-2">
|
<div class="outline-text-3" id="text-3-2">
|
||||||
<p>
|
<p>
|
||||||
Calculate the electron-electron jastrow component <code>factor_ee</code> using the <code>asymp_jasb</code>
|
Calculate the electron-electron jastrow component <code>factor_ee</code> using the <code>asymp_jasb</code>
|
||||||
@ -1342,8 +1342,8 @@ 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-orgcd95d67" class="outline-4">
|
<div id="outline-container-org9cfacb4" class="outline-4">
|
||||||
<h4 id="orgcd95d67"><span class="section-number-4">3.2.1</span> Get</h4>
|
<h4 id="org9cfacb4"><span class="section-number-4">3.2.1</span> Get</h4>
|
||||||
<div class="outline-text-4" id="text-3-2-1">
|
<div class="outline-text-4" id="text-3-2-1">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span>
|
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span>
|
||||||
@ -1355,10 +1355,10 @@ f_{ee} = \sum_{i,j<i} \left\{ \frac{ \eta B_0 C_{ij}}{1 - B_1 C_{ij}} - J_{asym
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org950837f" class="outline-4">
|
<div id="outline-container-org10c1c9a" class="outline-4">
|
||||||
<h4 id="org950837f"><span class="section-number-4">3.2.2</span> Compute</h4>
|
<h4 id="org10c1c9a"><span class="section-number-4">3.2.2</span> Compute</h4>
|
||||||
<div class="outline-text-4" id="text-3-2-2">
|
<div class="outline-text-4" id="text-3-2-2">
|
||||||
<table id="orgaa108bf" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="orga874297" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -1585,8 +1585,8 @@ f_{ee} = \sum_{i,j<i} \left\{ \frac{ \eta B_0 C_{ij}}{1 - B_1 C_{ij}} - J_{asym
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgf01f7b2" class="outline-4">
|
<div id="outline-container-org700eeb2" class="outline-4">
|
||||||
<h4 id="orgf01f7b2"><span class="section-number-4">3.2.3</span> Test</h4>
|
<h4 id="org700eeb2"><span class="section-number-4">3.2.3</span> Test</h4>
|
||||||
<div class="outline-text-4" id="text-3-2-3">
|
<div class="outline-text-4" id="text-3-2-3">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c">/* <span style="color: #b22222;">Check if Jastrow is properly initialized </span>*/
|
<pre class="src src-c">/* <span style="color: #b22222;">Check if Jastrow is properly initialized </span>*/
|
||||||
@ -1604,8 +1604,8 @@ rc = qmckl_get_jastrow_factor_ee(context, factor_ee, walk_num);
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org418dfb4" class="outline-3">
|
<div id="outline-container-org56de980" class="outline-3">
|
||||||
<h3 id="org418dfb4"><span class="section-number-3">3.3</span> Electron-electron component derivative \(f'_{ee}\)</h3>
|
<h3 id="org56de980"><span class="section-number-3">3.3</span> Electron-electron component derivative \(f'_{ee}\)</h3>
|
||||||
<div class="outline-text-3" id="text-3-3">
|
<div class="outline-text-3" id="text-3-3">
|
||||||
<p>
|
<p>
|
||||||
Calculate the derivative of the <code>factor_ee</code> using the <code>ee_distance_rescaled</code> and
|
Calculate the derivative of the <code>factor_ee</code> using the <code>ee_distance_rescaled</code> and
|
||||||
@ -1620,8 +1620,8 @@ TODO: Add equation
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div id="outline-container-org7a64730" class="outline-4">
|
<div id="outline-container-org65829ba" class="outline-4">
|
||||||
<h4 id="org7a64730"><span class="section-number-4">3.3.1</span> Get</h4>
|
<h4 id="org65829ba"><span class="section-number-4">3.3.1</span> Get</h4>
|
||||||
<div class="outline-text-4" id="text-3-3-1">
|
<div class="outline-text-4" id="text-3-3-1">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span>
|
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span>
|
||||||
@ -1633,10 +1633,10 @@ TODO: Add equation
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org49b5eb4" class="outline-4">
|
<div id="outline-container-org12f0dd2" class="outline-4">
|
||||||
<h4 id="org49b5eb4"><span class="section-number-4">3.3.2</span> Compute</h4>
|
<h4 id="org12f0dd2"><span class="section-number-4">3.3.2</span> Compute</h4>
|
||||||
<div class="outline-text-4" id="text-3-3-2">
|
<div class="outline-text-4" id="text-3-3-2">
|
||||||
<table id="org6f7d245" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org6e7d435" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -1998,8 +1998,8 @@ TODO: Add equation
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div id="outline-container-org474c6f0" class="outline-4">
|
<div id="outline-container-org69df70e" class="outline-4">
|
||||||
<h4 id="org474c6f0"><span class="section-number-4">3.3.3</span> Test</h4>
|
<h4 id="org69df70e"><span class="section-number-4">3.3.3</span> Test</h4>
|
||||||
<div class="outline-text-4" id="text-3-3-3">
|
<div class="outline-text-4" id="text-3-3-3">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c">/* <span style="color: #b22222;">Check if Jastrow is properly initialized </span>*/
|
<pre class="src src-c">/* <span style="color: #b22222;">Check if Jastrow is properly initialized </span>*/
|
||||||
@ -2020,8 +2020,8 @@ rc = qmckl_get_jastrow_factor_ee_deriv_e(context, &(factor_ee_deriv_e[0][0][
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orge636d52" class="outline-3">
|
<div id="outline-container-org4dd92a2" class="outline-3">
|
||||||
<h3 id="orge636d52"><span class="section-number-3">3.4</span> Electron-nucleus component \(f_{en}\)</h3>
|
<h3 id="org4dd92a2"><span class="section-number-3">3.4</span> Electron-nucleus component \(f_{en}\)</h3>
|
||||||
<div class="outline-text-3" id="text-3-4">
|
<div class="outline-text-3" id="text-3-4">
|
||||||
<p>
|
<p>
|
||||||
Calculate the electron-electron jastrow component <code>factor_en</code> using the <code>aord_vector</code>
|
Calculate the electron-electron jastrow component <code>factor_en</code> using the <code>aord_vector</code>
|
||||||
@ -2036,8 +2036,8 @@ 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-org0debbaa" class="outline-4">
|
<div id="outline-container-org5011c99" class="outline-4">
|
||||||
<h4 id="org0debbaa"><span class="section-number-4">3.4.1</span> Get</h4>
|
<h4 id="org5011c99"><span class="section-number-4">3.4.1</span> Get</h4>
|
||||||
<div class="outline-text-4" id="text-3-4-1">
|
<div class="outline-text-4" id="text-3-4-1">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span>
|
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span>
|
||||||
@ -2049,10 +2049,10 @@ f_{en} = \sum_{i,j<i} \left\{ \frac{ A_0 C_{ij}}{1 - A_1 C_{ij}} + \sum^{nord}_{
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgc41782f" class="outline-4">
|
<div id="outline-container-org2ddd406" class="outline-4">
|
||||||
<h4 id="orgc41782f"><span class="section-number-4">3.4.2</span> Compute</h4>
|
<h4 id="org2ddd406"><span class="section-number-4">3.4.2</span> Compute</h4>
|
||||||
<div class="outline-text-4" id="text-3-4-2">
|
<div class="outline-text-4" id="text-3-4-2">
|
||||||
<table id="orgb93092e" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="orga53356c" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -2305,8 +2305,8 @@ f_{en} = \sum_{i,j<i} \left\{ \frac{ A_0 C_{ij}}{1 - A_1 C_{ij}} + \sum^{nord}_{
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org81c665e" class="outline-4">
|
<div id="outline-container-orgf5dcc8a" class="outline-4">
|
||||||
<h4 id="org81c665e"><span class="section-number-4">3.4.3</span> Test</h4>
|
<h4 id="orgf5dcc8a"><span class="section-number-4">3.4.3</span> Test</h4>
|
||||||
<div class="outline-text-4" id="text-3-4-3">
|
<div class="outline-text-4" id="text-3-4-3">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c">/* <span style="color: #b22222;">Check if Jastrow is properly initialized </span>*/
|
<pre class="src src-c">/* <span style="color: #b22222;">Check if Jastrow is properly initialized </span>*/
|
||||||
@ -2324,8 +2324,8 @@ rc = qmckl_get_jastrow_factor_en(context, factor_en,walk_num);
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orga44be3b" class="outline-3">
|
<div id="outline-container-org0f4cb42" class="outline-3">
|
||||||
<h3 id="orga44be3b"><span class="section-number-3">3.5</span> Electron-nucleus component derivative \(f'_{en}\)</h3>
|
<h3 id="org0f4cb42"><span class="section-number-3">3.5</span> Electron-nucleus component derivative \(f'_{en}\)</h3>
|
||||||
<div class="outline-text-3" id="text-3-5">
|
<div class="outline-text-3" id="text-3-5">
|
||||||
<p>
|
<p>
|
||||||
Calculate the electron-electron jastrow component <code>factor_en_deriv_e</code> derivative
|
Calculate the electron-electron jastrow component <code>factor_en_deriv_e</code> derivative
|
||||||
@ -2338,8 +2338,8 @@ TODO: write equations.
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgc9381f6" class="outline-4">
|
<div id="outline-container-org56d1c66" class="outline-4">
|
||||||
<h4 id="orgc9381f6"><span class="section-number-4">3.5.1</span> Get</h4>
|
<h4 id="org56d1c66"><span class="section-number-4">3.5.1</span> Get</h4>
|
||||||
<div class="outline-text-4" id="text-3-5-1">
|
<div class="outline-text-4" id="text-3-5-1">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span>
|
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span>
|
||||||
@ -2351,10 +2351,10 @@ TODO: write equations.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org43d5802" class="outline-4">
|
<div id="outline-container-orgd64b6b2" class="outline-4">
|
||||||
<h4 id="org43d5802"><span class="section-number-4">3.5.2</span> Compute</h4>
|
<h4 id="orgd64b6b2"><span class="section-number-4">3.5.2</span> Compute</h4>
|
||||||
<div class="outline-text-4" id="text-3-5-2">
|
<div class="outline-text-4" id="text-3-5-2">
|
||||||
<table id="org1b2243b" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="orgbdc2d75" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -2559,8 +2559,8 @@ TODO: write equations.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org89be56e" class="outline-4">
|
<div id="outline-container-org0744703" class="outline-4">
|
||||||
<h4 id="org89be56e"><span class="section-number-4">3.5.3</span> Test</h4>
|
<h4 id="org0744703"><span class="section-number-4">3.5.3</span> Test</h4>
|
||||||
<div class="outline-text-4" id="text-3-5-3">
|
<div class="outline-text-4" id="text-3-5-3">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c">/* <span style="color: #b22222;">Check if Jastrow is properly initialized </span>*/
|
<pre class="src src-c">/* <span style="color: #b22222;">Check if Jastrow is properly initialized </span>*/
|
||||||
@ -2582,8 +2582,8 @@ rc = qmckl_get_jastrow_factor_en_deriv_e(context, &(factor_en_deriv_e[0][0][
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org8f83dff" class="outline-3">
|
<div id="outline-container-orgc6f8b5f" class="outline-3">
|
||||||
<h3 id="org8f83dff"><span class="section-number-3">3.6</span> Electron-electron rescaled distances for each order</h3>
|
<h3 id="orgc6f8b5f"><span class="section-number-3">3.6</span> Electron-electron rescaled distances for each order</h3>
|
||||||
<div class="outline-text-3" id="text-3-6">
|
<div class="outline-text-3" id="text-3-6">
|
||||||
<p>
|
<p>
|
||||||
<code>een_rescaled_e</code> stores the table of the rescaled distances between all
|
<code>een_rescaled_e</code> stores the table of the rescaled distances between all
|
||||||
@ -2601,8 +2601,8 @@ where \(C_{ij}\) is the matrix of electron-electron distances.
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgfea33d5" class="outline-4">
|
<div id="outline-container-orga48a44d" class="outline-4">
|
||||||
<h4 id="orgfea33d5"><span class="section-number-4">3.6.1</span> Get</h4>
|
<h4 id="orga48a44d"><span class="section-number-4">3.6.1</span> Get</h4>
|
||||||
<div class="outline-text-4" id="text-3-6-1">
|
<div class="outline-text-4" id="text-3-6-1">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span>
|
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span>
|
||||||
@ -2614,10 +2614,10 @@ where \(C_{ij}\) is the matrix of electron-electron distances.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgd883a2c" class="outline-4">
|
<div id="outline-container-org469c13f" class="outline-4">
|
||||||
<h4 id="orgd883a2c"><span class="section-number-4">3.6.2</span> Compute</h4>
|
<h4 id="org469c13f"><span class="section-number-4">3.6.2</span> Compute</h4>
|
||||||
<div class="outline-text-4" id="text-3-6-2">
|
<div class="outline-text-4" id="text-3-6-2">
|
||||||
<table id="org29349f2" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="orga905ad0" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -2946,8 +2946,8 @@ where \(C_{ij}\) is the matrix of electron-electron distances.
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div id="outline-container-orgd909e79" class="outline-4">
|
<div id="outline-container-org3bd3822" class="outline-4">
|
||||||
<h4 id="orgd909e79"><span class="section-number-4">3.6.3</span> Test</h4>
|
<h4 id="org3bd3822"><span class="section-number-4">3.6.3</span> Test</h4>
|
||||||
<div class="outline-text-4" id="text-3-6-3">
|
<div class="outline-text-4" id="text-3-6-3">
|
||||||
<div class="org-src-container">
|
<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>));
|
<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>));
|
||||||
@ -2969,8 +2969,8 @@ rc = qmckl_get_jastrow_een_rescaled_e(context, &(een_rescaled_e[0][0][0][0])
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org91d99c4" class="outline-3">
|
<div id="outline-container-org97101d6" class="outline-3">
|
||||||
<h3 id="org91d99c4"><span class="section-number-3">3.7</span> Electron-electron rescaled distances for each order and derivatives</h3>
|
<h3 id="org97101d6"><span class="section-number-3">3.7</span> Electron-electron rescaled distances for each order and derivatives</h3>
|
||||||
<div class="outline-text-3" id="text-3-7">
|
<div class="outline-text-3" id="text-3-7">
|
||||||
<p>
|
<p>
|
||||||
<code>een_rescaled_e_deriv_e</code> stores the table of the derivatives of the
|
<code>een_rescaled_e_deriv_e</code> stores the table of the derivatives of the
|
||||||
@ -2985,8 +2985,8 @@ TODO: write formulae
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div id="outline-container-orgd64ed6b" class="outline-4">
|
<div id="outline-container-org523093e" class="outline-4">
|
||||||
<h4 id="orgd64ed6b"><span class="section-number-4">3.7.1</span> Get</h4>
|
<h4 id="org523093e"><span class="section-number-4">3.7.1</span> Get</h4>
|
||||||
<div class="outline-text-4" id="text-3-7-1">
|
<div class="outline-text-4" id="text-3-7-1">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span>
|
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span>
|
||||||
@ -2998,10 +2998,10 @@ TODO: write formulae
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org5d41d7f" class="outline-4">
|
<div id="outline-container-org84b7e8e" class="outline-4">
|
||||||
<h4 id="org5d41d7f"><span class="section-number-4">3.7.2</span> Compute</h4>
|
<h4 id="org84b7e8e"><span class="section-number-4">3.7.2</span> Compute</h4>
|
||||||
<div class="outline-text-4" id="text-3-7-2">
|
<div class="outline-text-4" id="text-3-7-2">
|
||||||
<table id="org207ff5b" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org45c5e25" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -3179,8 +3179,8 @@ TODO: write formulae
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org5d8cdaf" class="outline-4">
|
<div id="outline-container-org8652b5b" class="outline-4">
|
||||||
<h4 id="org5d8cdaf"><span class="section-number-4">3.7.3</span> Test</h4>
|
<h4 id="org8652b5b"><span class="section-number-4">3.7.3</span> Test</h4>
|
||||||
<div class="outline-text-4" id="text-3-7-3">
|
<div class="outline-text-4" id="text-3-7-3">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c">//<span style="color: #b22222;">assert(qmckl_electron_provided(context));</span>
|
<pre class="src src-c">//<span style="color: #b22222;">assert(qmckl_electron_provided(context));</span>
|
||||||
@ -3202,8 +3202,8 @@ rc = qmckl_get_jastrow_een_rescaled_e_deriv_e(context,
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org3483c78" class="outline-3">
|
<div id="outline-container-org4bf33b1" class="outline-3">
|
||||||
<h3 id="org3483c78"><span class="section-number-3">3.8</span> Electron-nucleus rescaled distances for each order</h3>
|
<h3 id="org4bf33b1"><span class="section-number-3">3.8</span> Electron-nucleus rescaled distances for each order</h3>
|
||||||
<div class="outline-text-3" id="text-3-8">
|
<div class="outline-text-3" id="text-3-8">
|
||||||
<p>
|
<p>
|
||||||
<code>een_rescaled_n</code> stores the table of the rescaled distances between
|
<code>een_rescaled_n</code> stores the table of the rescaled distances between
|
||||||
@ -3221,8 +3221,8 @@ where \(C_{ia}\) is the matrix of electron-nucleus distances.
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgb8b1da7" class="outline-4">
|
<div id="outline-container-orgb46aad4" class="outline-4">
|
||||||
<h4 id="orgb8b1da7"><span class="section-number-4">3.8.1</span> Get</h4>
|
<h4 id="orgb46aad4"><span class="section-number-4">3.8.1</span> Get</h4>
|
||||||
<div class="outline-text-4" id="text-3-8-1">
|
<div class="outline-text-4" id="text-3-8-1">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span>
|
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span>
|
||||||
@ -3234,10 +3234,10 @@ where \(C_{ia}\) is the matrix of electron-nucleus distances.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org99ae122" class="outline-4">
|
<div id="outline-container-orgb2aad0d" class="outline-4">
|
||||||
<h4 id="org99ae122"><span class="section-number-4">3.8.2</span> Compute</h4>
|
<h4 id="orgb2aad0d"><span class="section-number-4">3.8.2</span> Compute</h4>
|
||||||
<div class="outline-text-4" id="text-3-8-2">
|
<div class="outline-text-4" id="text-3-8-2">
|
||||||
<table id="org5ef65eb" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="orgf4ca561" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -3454,8 +3454,8 @@ where \(C_{ia}\) is the matrix of electron-nucleus distances.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org15cc34f" class="outline-4">
|
<div id="outline-container-orge999b1a" class="outline-4">
|
||||||
<h4 id="org15cc34f"><span class="section-number-4">3.8.3</span> Test</h4>
|
<h4 id="orge999b1a"><span class="section-number-4">3.8.3</span> Test</h4>
|
||||||
<div class="outline-text-4" id="text-3-8-3">
|
<div class="outline-text-4" id="text-3-8-3">
|
||||||
<div class="org-src-container">
|
<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>));
|
<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>));
|
||||||
@ -3477,8 +3477,8 @@ rc = qmckl_get_jastrow_een_rescaled_n(context, &(een_rescaled_n[0][0][0][0])
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgefeb108" class="outline-3">
|
<div id="outline-container-org327e4ec" class="outline-3">
|
||||||
<h3 id="orgefeb108"><span class="section-number-3">3.9</span> Electron-nucleus rescaled distances for each order and derivatives</h3>
|
<h3 id="org327e4ec"><span class="section-number-3">3.9</span> Electron-nucleus rescaled distances for each order and derivatives</h3>
|
||||||
<div class="outline-text-3" id="text-3-9">
|
<div class="outline-text-3" id="text-3-9">
|
||||||
<p>
|
<p>
|
||||||
<code>een_rescaled_n_deriv_e</code> stores the table of the rescaled distances between
|
<code>een_rescaled_n_deriv_e</code> stores the table of the rescaled distances between
|
||||||
@ -3487,8 +3487,8 @@ electrons and nucleii raised to the power \(p\) defined by <code>cord_num</code>
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div id="outline-container-org9e80e2f" class="outline-4">
|
<div id="outline-container-org2c72ca8" class="outline-4">
|
||||||
<h4 id="org9e80e2f"><span class="section-number-4">3.9.1</span> Get</h4>
|
<h4 id="org2c72ca8"><span class="section-number-4">3.9.1</span> Get</h4>
|
||||||
<div class="outline-text-4" id="text-3-9-1">
|
<div class="outline-text-4" id="text-3-9-1">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span>
|
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span>
|
||||||
@ -3500,10 +3500,10 @@ electrons and nucleii raised to the power \(p\) defined by <code>cord_num</code>
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org4ab5677" class="outline-4">
|
<div id="outline-container-org6c125f5" class="outline-4">
|
||||||
<h4 id="org4ab5677"><span class="section-number-4">3.9.2</span> Compute</h4>
|
<h4 id="org6c125f5"><span class="section-number-4">3.9.2</span> Compute</h4>
|
||||||
<div class="outline-text-4" id="text-3-9-2">
|
<div class="outline-text-4" id="text-3-9-2">
|
||||||
<table id="org0d9d8f3" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org65a5b30" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -3703,8 +3703,8 @@ electrons and nucleii raised to the power \(p\) defined by <code>cord_num</code>
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org8a5b6fc" class="outline-4">
|
<div id="outline-container-orgb86b6cd" class="outline-4">
|
||||||
<h4 id="org8a5b6fc"><span class="section-number-4">3.9.3</span> Test</h4>
|
<h4 id="orgb86b6cd"><span class="section-number-4">3.9.3</span> Test</h4>
|
||||||
<div class="outline-text-4" id="text-3-9-3">
|
<div class="outline-text-4" id="text-3-9-3">
|
||||||
<div class="org-src-container">
|
<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>));
|
<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>));
|
||||||
@ -3727,8 +3727,8 @@ rc = qmckl_get_jastrow_een_rescaled_n_deriv_e(context, &(een_rescaled_n_deri
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org49f8d7f" class="outline-3">
|
<div id="outline-container-org0aabc95" class="outline-3">
|
||||||
<h3 id="org49f8d7f"><span class="section-number-3">3.10</span> Prepare for electron-electron-nucleus Jastrow \(f_{een}\)</h3>
|
<h3 id="org0aabc95"><span class="section-number-3">3.10</span> Prepare for electron-electron-nucleus Jastrow \(f_{een}\)</h3>
|
||||||
<div class="outline-text-3" id="text-3-10">
|
<div class="outline-text-3" id="text-3-10">
|
||||||
<p>
|
<p>
|
||||||
Prepare <code>cord_vect_full</code> and <code>lkpm_combined_index</code> tables required for the
|
Prepare <code>cord_vect_full</code> and <code>lkpm_combined_index</code> tables required for the
|
||||||
@ -3737,8 +3737,8 @@ calculation of the three-body jastrow <code>factor_een</code> and its derivative
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org88587d1" class="outline-4">
|
<div id="outline-container-org60a55b2" class="outline-4">
|
||||||
<h4 id="org88587d1"><span class="section-number-4">3.10.1</span> Get</h4>
|
<h4 id="org60a55b2"><span class="section-number-4">3.10.1</span> Get</h4>
|
||||||
<div class="outline-text-4" id="text-3-10-1">
|
<div class="outline-text-4" id="text-3-10-1">
|
||||||
<div class="org-src-container">
|
<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>);
|
<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>);
|
||||||
@ -3751,10 +3751,10 @@ calculation of the three-body jastrow <code>factor_een</code> and its derivative
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org14702b9" class="outline-4">
|
<div id="outline-container-orgd5a671e" class="outline-4">
|
||||||
<h4 id="org14702b9"><span class="section-number-4">3.10.2</span> Compute dim<sub>cord</sub><sub>vect</sub></h4>
|
<h4 id="orgd5a671e"><span class="section-number-4">3.10.2</span> Compute dim<sub>cord</sub><sub>vect</sub></h4>
|
||||||
<div class="outline-text-4" id="text-3-10-2">
|
<div class="outline-text-4" id="text-3-10-2">
|
||||||
<table id="org86b0950" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org3fbc52e" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -3882,10 +3882,10 @@ calculation of the three-body jastrow <code>factor_een</code> and its derivative
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org8898b30" class="outline-4">
|
<div id="outline-container-orgbb0a7d9" class="outline-4">
|
||||||
<h4 id="org8898b30"><span class="section-number-4">3.10.3</span> Compute cord<sub>vect</sub><sub>full</sub></h4>
|
<h4 id="orgbb0a7d9"><span class="section-number-4">3.10.3</span> Compute cord<sub>vect</sub><sub>full</sub></h4>
|
||||||
<div class="outline-text-4" id="text-3-10-3">
|
<div class="outline-text-4" id="text-3-10-3">
|
||||||
<table id="org957f931" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org43217ce" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -4090,10 +4090,10 @@ calculation of the three-body jastrow <code>factor_een</code> and its derivative
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div id="outline-container-org0d627f4" class="outline-4">
|
<div id="outline-container-org6ab3dbd" class="outline-4">
|
||||||
<h4 id="org0d627f4"><span class="section-number-4">3.10.4</span> Compute lkpm<sub>combined</sub><sub>index</sub></h4>
|
<h4 id="org6ab3dbd"><span class="section-number-4">3.10.4</span> Compute lkpm<sub>combined</sub><sub>index</sub></h4>
|
||||||
<div class="outline-text-4" id="text-3-10-4">
|
<div class="outline-text-4" id="text-3-10-4">
|
||||||
<table id="org5d271ec" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org97c2f67" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -4249,10 +4249,10 @@ calculation of the three-body jastrow <code>factor_een</code> and its derivative
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org8a5b36d" class="outline-4">
|
<div id="outline-container-org7cb81b0" class="outline-4">
|
||||||
<h4 id="org8a5b36d"><span class="section-number-4">3.10.5</span> Compute tmp<sub>c</sub></h4>
|
<h4 id="org7cb81b0"><span class="section-number-4">3.10.5</span> Compute tmp<sub>c</sub></h4>
|
||||||
<div class="outline-text-4" id="text-3-10-5">
|
<div class="outline-text-4" id="text-3-10-5">
|
||||||
<table id="orge34b41a" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org5d08405" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -4435,10 +4435,10 @@ calculation of the three-body jastrow <code>factor_een</code> and its derivative
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div id="outline-container-orge39c47c" class="outline-4">
|
<div id="outline-container-org5da95ac" class="outline-4">
|
||||||
<h4 id="orge39c47c"><span class="section-number-4">3.10.6</span> Compute dtmp<sub>c</sub></h4>
|
<h4 id="org5da95ac"><span class="section-number-4">3.10.6</span> Compute dtmp<sub>c</sub></h4>
|
||||||
<div class="outline-text-4" id="text-3-10-6">
|
<div class="outline-text-4" id="text-3-10-6">
|
||||||
<table id="org830c01e" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="orgf88a69e" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -4611,8 +4611,8 @@ calculation of the three-body jastrow <code>factor_een</code> and its derivative
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org04b6caa" class="outline-4">
|
<div id="outline-container-org4bb0cc4" class="outline-4">
|
||||||
<h4 id="org04b6caa"><span class="section-number-4">3.10.7</span> Test</h4>
|
<h4 id="org4bb0cc4"><span class="section-number-4">3.10.7</span> Test</h4>
|
||||||
<div class="outline-text-4" id="text-3-10-7">
|
<div class="outline-text-4" id="text-3-10-7">
|
||||||
<div class="org-src-container">
|
<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>));
|
<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>));
|
||||||
@ -4634,8 +4634,8 @@ printf(<span style="color: #8b2252;">"%e\n%e\n"</span>, tmp_c[0][1][0][0][0],0.2
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org90b6408" class="outline-3">
|
<div id="outline-container-org7b74d88" class="outline-3">
|
||||||
<h3 id="org90b6408"><span class="section-number-3">3.11</span> Electron-electron-nucleus Jastrow \(f_{een}\)</h3>
|
<h3 id="org7b74d88"><span class="section-number-3">3.11</span> Electron-electron-nucleus Jastrow \(f_{een}\)</h3>
|
||||||
<div class="outline-text-3" id="text-3-11">
|
<div class="outline-text-3" id="text-3-11">
|
||||||
<p>
|
<p>
|
||||||
Calculate the electron-electron-nuclear three-body jastrow component <code>factor_een</code>
|
Calculate the electron-electron-nuclear three-body jastrow component <code>factor_een</code>
|
||||||
@ -4647,8 +4647,8 @@ TODO: write equations.
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgc31e35b" class="outline-4">
|
<div id="outline-container-orgda66ef8" class="outline-4">
|
||||||
<h4 id="orgc31e35b"><span class="section-number-4">3.11.1</span> Get</h4>
|
<h4 id="orgda66ef8"><span class="section-number-4">3.11.1</span> Get</h4>
|
||||||
<div class="outline-text-4" id="text-3-11-1">
|
<div class="outline-text-4" id="text-3-11-1">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span>
|
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span>
|
||||||
@ -4660,10 +4660,10 @@ TODO: write equations.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org490c187" class="outline-4">
|
<div id="outline-container-org097815a" class="outline-4">
|
||||||
<h4 id="org490c187"><span class="section-number-4">3.11.2</span> Compute naive</h4>
|
<h4 id="org097815a"><span class="section-number-4">3.11.2</span> Compute naive</h4>
|
||||||
<div class="outline-text-4" id="text-3-11-2">
|
<div class="outline-text-4" id="text-3-11-2">
|
||||||
<table id="orgc6c3eba" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org6a09781" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -4844,10 +4844,10 @@ TODO: write equations.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgd262c7a" class="outline-4">
|
<div id="outline-container-org628dcca" class="outline-4">
|
||||||
<h4 id="orgd262c7a"><span class="section-number-4">3.11.3</span> Compute</h4>
|
<h4 id="org628dcca"><span class="section-number-4">3.11.3</span> Compute</h4>
|
||||||
<div class="outline-text-4" id="text-3-11-3">
|
<div class="outline-text-4" id="text-3-11-3">
|
||||||
<table id="org7c16c27" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="orgad49223" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -5021,8 +5021,8 @@ TODO: write equations.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgb92c796" class="outline-4">
|
<div id="outline-container-orgaf8b30d" class="outline-4">
|
||||||
<h4 id="orgb92c796"><span class="section-number-4">3.11.4</span> Test</h4>
|
<h4 id="orgaf8b30d"><span class="section-number-4">3.11.4</span> Test</h4>
|
||||||
<div class="outline-text-4" id="text-3-11-4">
|
<div class="outline-text-4" id="text-3-11-4">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c">/* <span style="color: #b22222;">Check if Jastrow is properly initialized </span>*/
|
<pre class="src src-c">/* <span style="color: #b22222;">Check if Jastrow is properly initialized </span>*/
|
||||||
@ -5038,8 +5038,8 @@ rc = qmckl_get_jastrow_factor_een(context, &(factor_een[0]),walk_num);
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgdb35148" class="outline-3">
|
<div id="outline-container-org8581ed2" class="outline-3">
|
||||||
<h3 id="orgdb35148"><span class="section-number-3">3.12</span> Electron-electron-nucleus Jastrow \(f_{een}\) derivative</h3>
|
<h3 id="org8581ed2"><span class="section-number-3">3.12</span> Electron-electron-nucleus Jastrow \(f_{een}\) derivative</h3>
|
||||||
<div class="outline-text-3" id="text-3-12">
|
<div class="outline-text-3" id="text-3-12">
|
||||||
<p>
|
<p>
|
||||||
Calculate the electron-electron-nuclear three-body jastrow component <code>factor_een_deriv_e</code>
|
Calculate the electron-electron-nuclear three-body jastrow component <code>factor_een_deriv_e</code>
|
||||||
@ -5051,8 +5051,8 @@ TODO: write equations.
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org69b7bd3" class="outline-4">
|
<div id="outline-container-orgfe530b8" class="outline-4">
|
||||||
<h4 id="org69b7bd3"><span class="section-number-4">3.12.1</span> Get</h4>
|
<h4 id="orgfe530b8"><span class="section-number-4">3.12.1</span> Get</h4>
|
||||||
<div class="outline-text-4" id="text-3-12-1">
|
<div class="outline-text-4" id="text-3-12-1">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span>
|
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span>
|
||||||
@ -5064,10 +5064,10 @@ TODO: write equations.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org740e23a" class="outline-4">
|
<div id="outline-container-org43e54f6" class="outline-4">
|
||||||
<h4 id="org740e23a"><span class="section-number-4">3.12.2</span> Compute Naive</h4>
|
<h4 id="org43e54f6"><span class="section-number-4">3.12.2</span> Compute Naive</h4>
|
||||||
<div class="outline-text-4" id="text-3-12-2">
|
<div class="outline-text-4" id="text-3-12-2">
|
||||||
<table id="orge0bfd50" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org8420f0b" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -5281,10 +5281,10 @@ TODO: write equations.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org90266ea" class="outline-4">
|
<div id="outline-container-org34aaa17" class="outline-4">
|
||||||
<h4 id="org90266ea"><span class="section-number-4">3.12.3</span> Compute</h4>
|
<h4 id="org34aaa17"><span class="section-number-4">3.12.3</span> Compute</h4>
|
||||||
<div class="outline-text-4" id="text-3-12-3">
|
<div class="outline-text-4" id="text-3-12-3">
|
||||||
<table id="org49ad299" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org15872f5" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -5492,8 +5492,8 @@ TODO: write equations.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org9452523" class="outline-4">
|
<div id="outline-container-orgcc6e18b" class="outline-4">
|
||||||
<h4 id="org9452523"><span class="section-number-4">3.12.4</span> Test</h4>
|
<h4 id="orgcc6e18b"><span class="section-number-4">3.12.4</span> Test</h4>
|
||||||
<div class="outline-text-4" id="text-3-12-4">
|
<div class="outline-text-4" id="text-3-12-4">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c">/* <span style="color: #b22222;">Check if Jastrow is properly initialized </span>*/
|
<pre class="src src-c">/* <span style="color: #b22222;">Check if Jastrow is properly initialized </span>*/
|
||||||
@ -5512,7 +5512,7 @@ rc = qmckl_get_jastrow_factor_een_deriv_e(context, &(factor_een_deriv_e[0][0
|
|||||||
</div>
|
</div>
|
||||||
<div id="postamble" class="status">
|
<div id="postamble" class="status">
|
||||||
<p class="author">Author: TREX CoE</p>
|
<p class="author">Author: TREX CoE</p>
|
||||||
<p class="date">Created: 2022-08-23 Tue 06:40</p>
|
<p class="date">Created: 2022-08-31 Wed 14:47</p>
|
||||||
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||||
<head>
|
<head>
|
||||||
<!-- 2022-08-23 Tue 06:40 -->
|
<!-- 2022-08-31 Wed 14:46 -->
|
||||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<title>Local Energy</title>
|
<title>Local Energy</title>
|
||||||
@ -333,43 +333,43 @@ for the JavaScript code in this tag.
|
|||||||
<h2>Table of Contents</h2>
|
<h2>Table of Contents</h2>
|
||||||
<div id="text-table-of-contents">
|
<div id="text-table-of-contents">
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgd2fc24b">1. Context</a>
|
<li><a href="#org14de13c">1. Context</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgf580632">1.1. Data structure</a></li>
|
<li><a href="#org8094731">1.1. Data structure</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org57ae470">2. Computation</a>
|
<li><a href="#orgfb72810">2. Computation</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgb150d43">2.1. Kinetic energy</a>
|
<li><a href="#org0f0cf2c">2.1. Kinetic energy</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org271bd9b">2.1.1. Get</a></li>
|
<li><a href="#orgbc50522">2.1.1. Get</a></li>
|
||||||
<li><a href="#orgf5d9c72">2.1.2. Provide</a></li>
|
<li><a href="#org16981ac">2.1.2. Provide</a></li>
|
||||||
<li><a href="#org629f084">2.1.3. Compute kinetic enregy</a></li>
|
<li><a href="#org1ebe093">2.1.3. Compute kinetic enregy</a></li>
|
||||||
<li><a href="#orga24f030">2.1.4. Test</a></li>
|
<li><a href="#orgb322f84">2.1.4. Test</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org19e2eed">2.2. Potential energy</a>
|
<li><a href="#org98db49e">2.2. Potential energy</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org72741b8">2.2.1. Get</a></li>
|
<li><a href="#orgb569c70">2.2.1. Get</a></li>
|
||||||
<li><a href="#org19d6b5a">2.2.2. Provide</a></li>
|
<li><a href="#orgc968f8a">2.2.2. Provide</a></li>
|
||||||
<li><a href="#org72a7812">2.2.3. Compute potential enregy</a></li>
|
<li><a href="#orgdfd24e1">2.2.3. Compute potential enregy</a></li>
|
||||||
<li><a href="#orgd0c7534">2.2.4. Test</a></li>
|
<li><a href="#org4b211be">2.2.4. Test</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org8fc7421">2.3. Local energy</a>
|
<li><a href="#org74d864f">2.3. Local energy</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org89b4632">2.3.1. Get</a></li>
|
<li><a href="#org3be1349">2.3.1. Get</a></li>
|
||||||
<li><a href="#org0529adc">2.3.2. Provide</a></li>
|
<li><a href="#orgfa590c0">2.3.2. Provide</a></li>
|
||||||
<li><a href="#org95922b2">2.3.3. Compute local enregy</a></li>
|
<li><a href="#org69a2a27">2.3.3. Compute local enregy</a></li>
|
||||||
<li><a href="#orgfbc3be1">2.3.4. Test</a></li>
|
<li><a href="#orgaa1feaf">2.3.4. Test</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org6c4a136">2.4. Drift vector</a>
|
<li><a href="#org967f814">2.4. Drift vector</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orga6bfa0f">2.4.1. Get</a></li>
|
<li><a href="#org5a81f10">2.4.1. Get</a></li>
|
||||||
<li><a href="#orgb64cbd0">2.4.2. Provide</a></li>
|
<li><a href="#orgaa49e3b">2.4.2. Provide</a></li>
|
||||||
<li><a href="#orgaf9d714">2.4.3. Compute drift vector</a></li>
|
<li><a href="#org2252d2a">2.4.3. Compute drift vector</a></li>
|
||||||
<li><a href="#orgd2029da">2.4.4. Test</a></li>
|
<li><a href="#org66ff396">2.4.4. Test</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
@ -378,8 +378,8 @@ for the JavaScript code in this tag.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgd2fc24b" class="outline-2">
|
<div id="outline-container-org14de13c" class="outline-2">
|
||||||
<h2 id="orgd2fc24b"><span class="section-number-2">1</span> Context</h2>
|
<h2 id="org14de13c"><span class="section-number-2">1</span> Context</h2>
|
||||||
<div class="outline-text-2" id="text-1">
|
<div class="outline-text-2" id="text-1">
|
||||||
<p>
|
<p>
|
||||||
The following arrays are stored in the context:
|
The following arrays are stored in the context:
|
||||||
@ -452,8 +452,8 @@ Computed data:
|
|||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgf580632" class="outline-3">
|
<div id="outline-container-org8094731" class="outline-3">
|
||||||
<h3 id="orgf580632"><span class="section-number-3">1.1</span> Data structure</h3>
|
<h3 id="org8094731"><span class="section-number-3">1.1</span> Data structure</h3>
|
||||||
<div class="outline-text-3" id="text-1-1">
|
<div class="outline-text-3" id="text-1-1">
|
||||||
<div class="org-src-container">
|
<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_local_energy_struct</span> {
|
<pre class="src src-c"><span style="color: #a020f0;">typedef</span> <span style="color: #a020f0;">struct</span> <span style="color: #228b22;">qmckl_local_energy_struct</span> {
|
||||||
@ -488,12 +488,12 @@ this mechanism.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org57ae470" class="outline-2">
|
<div id="outline-container-orgfb72810" class="outline-2">
|
||||||
<h2 id="org57ae470"><span class="section-number-2">2</span> Computation</h2>
|
<h2 id="orgfb72810"><span class="section-number-2">2</span> Computation</h2>
|
||||||
<div class="outline-text-2" id="text-2">
|
<div class="outline-text-2" id="text-2">
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-orgb150d43" class="outline-3">
|
<div id="outline-container-org0f0cf2c" class="outline-3">
|
||||||
<h3 id="orgb150d43"><span class="section-number-3">2.1</span> Kinetic energy</h3>
|
<h3 id="org0f0cf2c"><span class="section-number-3">2.1</span> Kinetic energy</h3>
|
||||||
<div class="outline-text-3" id="text-2-1">
|
<div class="outline-text-3" id="text-2-1">
|
||||||
<p>
|
<p>
|
||||||
Where the kinetic energy is given as:
|
Where the kinetic energy is given as:
|
||||||
@ -517,8 +517,8 @@ case is given as follows:
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org271bd9b" class="outline-4">
|
<div id="outline-container-orgbc50522" class="outline-4">
|
||||||
<h4 id="org271bd9b"><span class="section-number-4">2.1.1</span> Get</h4>
|
<h4 id="orgbc50522"><span class="section-number-4">2.1.1</span> Get</h4>
|
||||||
<div class="outline-text-4" id="text-2-1-1">
|
<div class="outline-text-4" id="text-2-1-1">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_get_kinetic_energy</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;">kinetic_energy</span>);
|
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_get_kinetic_energy</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;">kinetic_energy</span>);
|
||||||
@ -527,14 +527,14 @@ case is given as follows:
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgf5d9c72" class="outline-4">
|
<div id="outline-container-org16981ac" class="outline-4">
|
||||||
<h4 id="orgf5d9c72"><span class="section-number-4">2.1.2</span> Provide</h4>
|
<h4 id="org16981ac"><span class="section-number-4">2.1.2</span> Provide</h4>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org629f084" class="outline-4">
|
<div id="outline-container-org1ebe093" class="outline-4">
|
||||||
<h4 id="org629f084"><span class="section-number-4">2.1.3</span> Compute kinetic enregy</h4>
|
<h4 id="org1ebe093"><span class="section-number-4">2.1.3</span> Compute kinetic enregy</h4>
|
||||||
<div class="outline-text-4" id="text-2-1-3">
|
<div class="outline-text-4" id="text-2-1-3">
|
||||||
<table id="org8454d6b" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org9527205" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -763,12 +763,12 @@ case is given as follows:
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orga24f030" class="outline-4">
|
<div id="outline-container-orgb322f84" class="outline-4">
|
||||||
<h4 id="orga24f030"><span class="section-number-4">2.1.4</span> Test</h4>
|
<h4 id="orgb322f84"><span class="section-number-4">2.1.4</span> Test</h4>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-org19e2eed" class="outline-3">
|
<div id="outline-container-org98db49e" class="outline-3">
|
||||||
<h3 id="org19e2eed"><span class="section-number-3">2.2</span> Potential energy</h3>
|
<h3 id="org98db49e"><span class="section-number-3">2.2</span> Potential energy</h3>
|
||||||
<div class="outline-text-3" id="text-2-2">
|
<div class="outline-text-3" id="text-2-2">
|
||||||
<p>
|
<p>
|
||||||
The potential energy is the sum of all the following terms
|
The potential energy is the sum of all the following terms
|
||||||
@ -804,8 +804,8 @@ contributions.
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org72741b8" class="outline-4">
|
<div id="outline-container-orgb569c70" class="outline-4">
|
||||||
<h4 id="org72741b8"><span class="section-number-4">2.2.1</span> Get</h4>
|
<h4 id="orgb569c70"><span class="section-number-4">2.2.1</span> Get</h4>
|
||||||
<div class="outline-text-4" id="text-2-2-1">
|
<div class="outline-text-4" id="text-2-2-1">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_get_potential_energy</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;">potential_energy</span>);
|
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_get_potential_energy</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;">potential_energy</span>);
|
||||||
@ -814,14 +814,14 @@ contributions.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org19d6b5a" class="outline-4">
|
<div id="outline-container-orgc968f8a" class="outline-4">
|
||||||
<h4 id="org19d6b5a"><span class="section-number-4">2.2.2</span> Provide</h4>
|
<h4 id="orgc968f8a"><span class="section-number-4">2.2.2</span> Provide</h4>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org72a7812" class="outline-4">
|
<div id="outline-container-orgdfd24e1" class="outline-4">
|
||||||
<h4 id="org72a7812"><span class="section-number-4">2.2.3</span> Compute potential enregy</h4>
|
<h4 id="orgdfd24e1"><span class="section-number-4">2.2.3</span> Compute potential enregy</h4>
|
||||||
<div class="outline-text-4" id="text-2-2-3">
|
<div class="outline-text-4" id="text-2-2-3">
|
||||||
<table id="org37b2a70" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="orgd676451" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -948,12 +948,12 @@ contributions.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgd0c7534" class="outline-4">
|
<div id="outline-container-org4b211be" class="outline-4">
|
||||||
<h4 id="orgd0c7534"><span class="section-number-4">2.2.4</span> Test</h4>
|
<h4 id="org4b211be"><span class="section-number-4">2.2.4</span> Test</h4>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-org8fc7421" class="outline-3">
|
<div id="outline-container-org74d864f" class="outline-3">
|
||||||
<h3 id="org8fc7421"><span class="section-number-3">2.3</span> Local energy</h3>
|
<h3 id="org74d864f"><span class="section-number-3">2.3</span> Local energy</h3>
|
||||||
<div class="outline-text-3" id="text-2-3">
|
<div class="outline-text-3" id="text-2-3">
|
||||||
<p>
|
<p>
|
||||||
The local energy is the sum of kinetic and potential energies.
|
The local energy is the sum of kinetic and potential energies.
|
||||||
@ -967,8 +967,8 @@ E_L = KE + PE
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div id="outline-container-org89b4632" class="outline-4">
|
<div id="outline-container-org3be1349" class="outline-4">
|
||||||
<h4 id="org89b4632"><span class="section-number-4">2.3.1</span> Get</h4>
|
<h4 id="org3be1349"><span class="section-number-4">2.3.1</span> Get</h4>
|
||||||
<div class="outline-text-4" id="text-2-3-1">
|
<div class="outline-text-4" id="text-2-3-1">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_get_local_energy</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;">local_energy</span>, <span style="color: #a020f0;">const</span> <span style="color: #228b22;">int64_t</span> <span style="color: #a0522d;">size_max</span>);
|
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_get_local_energy</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;">local_energy</span>, <span style="color: #a020f0;">const</span> <span style="color: #228b22;">int64_t</span> <span style="color: #a0522d;">size_max</span>);
|
||||||
@ -977,14 +977,14 @@ E_L = KE + PE
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org0529adc" class="outline-4">
|
<div id="outline-container-orgfa590c0" class="outline-4">
|
||||||
<h4 id="org0529adc"><span class="section-number-4">2.3.2</span> Provide</h4>
|
<h4 id="orgfa590c0"><span class="section-number-4">2.3.2</span> Provide</h4>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org95922b2" class="outline-4">
|
<div id="outline-container-org69a2a27" class="outline-4">
|
||||||
<h4 id="org95922b2"><span class="section-number-4">2.3.3</span> Compute local enregy</h4>
|
<h4 id="org69a2a27"><span class="section-number-4">2.3.3</span> Compute local enregy</h4>
|
||||||
<div class="outline-text-4" id="text-2-3-3">
|
<div class="outline-text-4" id="text-2-3-3">
|
||||||
<table id="org8740d1e" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="orgb491978" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -1080,12 +1080,12 @@ E_L = KE + PE
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgfbc3be1" class="outline-4">
|
<div id="outline-container-orgaa1feaf" class="outline-4">
|
||||||
<h4 id="orgfbc3be1"><span class="section-number-4">2.3.4</span> Test</h4>
|
<h4 id="orgaa1feaf"><span class="section-number-4">2.3.4</span> Test</h4>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-org6c4a136" class="outline-3">
|
<div id="outline-container-org967f814" class="outline-3">
|
||||||
<h3 id="org6c4a136"><span class="section-number-3">2.4</span> Drift vector</h3>
|
<h3 id="org967f814"><span class="section-number-3">2.4</span> Drift vector</h3>
|
||||||
<div class="outline-text-3" id="text-2-4">
|
<div class="outline-text-3" id="text-2-4">
|
||||||
<p>
|
<p>
|
||||||
The drift vector is calculated as the ration of the gradient
|
The drift vector is calculated as the ration of the gradient
|
||||||
@ -1099,8 +1099,8 @@ with the determinant of the wavefunction.
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orga6bfa0f" class="outline-4">
|
<div id="outline-container-org5a81f10" class="outline-4">
|
||||||
<h4 id="orga6bfa0f"><span class="section-number-4">2.4.1</span> Get</h4>
|
<h4 id="org5a81f10"><span class="section-number-4">2.4.1</span> Get</h4>
|
||||||
<div class="outline-text-4" id="text-2-4-1">
|
<div class="outline-text-4" id="text-2-4-1">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_get_drift_vector</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;">drift_vector</span>);
|
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_get_drift_vector</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;">drift_vector</span>);
|
||||||
@ -1109,14 +1109,14 @@ with the determinant of the wavefunction.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgb64cbd0" class="outline-4">
|
<div id="outline-container-orgaa49e3b" class="outline-4">
|
||||||
<h4 id="orgb64cbd0"><span class="section-number-4">2.4.2</span> Provide</h4>
|
<h4 id="orgaa49e3b"><span class="section-number-4">2.4.2</span> Provide</h4>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgaf9d714" class="outline-4">
|
<div id="outline-container-org2252d2a" class="outline-4">
|
||||||
<h4 id="orgaf9d714"><span class="section-number-4">2.4.3</span> Compute drift vector</h4>
|
<h4 id="org2252d2a"><span class="section-number-4">2.4.3</span> Compute drift vector</h4>
|
||||||
<div class="outline-text-4" id="text-2-4-3">
|
<div class="outline-text-4" id="text-2-4-3">
|
||||||
<table id="org0713078" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org52f51ce" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -1337,15 +1337,15 @@ with the determinant of the wavefunction.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgd2029da" class="outline-4">
|
<div id="outline-container-org66ff396" class="outline-4">
|
||||||
<h4 id="orgd2029da"><span class="section-number-4">2.4.4</span> Test</h4>
|
<h4 id="org66ff396"><span class="section-number-4">2.4.4</span> Test</h4>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="postamble" class="status">
|
<div id="postamble" class="status">
|
||||||
<p class="author">Author: TREX CoE</p>
|
<p class="author">Author: TREX CoE</p>
|
||||||
<p class="date">Created: 2022-08-23 Tue 06:40</p>
|
<p class="date">Created: 2022-08-31 Wed 14:46</p>
|
||||||
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||||
<head>
|
<head>
|
||||||
<!-- 2022-08-23 Tue 06:40 -->
|
<!-- 2022-08-31 Wed 14:46 -->
|
||||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<title>Memory management</title>
|
<title>Memory management</title>
|
||||||
@ -311,16 +311,16 @@ for the JavaScript code in this tag.
|
|||||||
<h2>Table of Contents</h2>
|
<h2>Table of Contents</h2>
|
||||||
<div id="text-table-of-contents">
|
<div id="text-table-of-contents">
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org3e2eb44">1. Memory data structure for the context</a></li>
|
<li><a href="#orgb7b196f">1. Memory data structure for the context</a></li>
|
||||||
<li><a href="#org19d7cb4">2. Passing info to allocation routines</a></li>
|
<li><a href="#org4229ef5">2. Passing info to allocation routines</a></li>
|
||||||
<li><a href="#org7844691">3. Allocation/deallocation functions</a></li>
|
<li><a href="#org0476e48">3. Allocation/deallocation functions</a></li>
|
||||||
<li><a href="#org6d7e8af">4. Get the size of a memory block</a></li>
|
<li><a href="#org86b79d4">4. Get the size of a memory block</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org3e2eb44" class="outline-2">
|
<div id="outline-container-orgb7b196f" class="outline-2">
|
||||||
<h2 id="org3e2eb44"><span class="section-number-2">1</span> Memory data structure for the context</h2>
|
<h2 id="orgb7b196f"><span class="section-number-2">1</span> Memory data structure for the context</h2>
|
||||||
<div class="outline-text-2" id="text-1">
|
<div class="outline-text-2" id="text-1">
|
||||||
<p>
|
<p>
|
||||||
Every time a new block of memory is allocated, the information
|
Every time a new block of memory is allocated, the information
|
||||||
@ -362,8 +362,8 @@ array, and the number of allocated blocks.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org19d7cb4" class="outline-2">
|
<div id="outline-container-org4229ef5" class="outline-2">
|
||||||
<h2 id="org19d7cb4"><span class="section-number-2">2</span> Passing info to allocation routines</h2>
|
<h2 id="org4229ef5"><span class="section-number-2">2</span> Passing info to allocation routines</h2>
|
||||||
<div class="outline-text-2" id="text-2">
|
<div class="outline-text-2" id="text-2">
|
||||||
<p>
|
<p>
|
||||||
Passing information to the allocation routine should be done by
|
Passing information to the allocation routine should be done by
|
||||||
@ -372,8 +372,8 @@ passing an instance of a <code>qmckl_memory_info_struct</code>.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org7844691" class="outline-2">
|
<div id="outline-container-org0476e48" class="outline-2">
|
||||||
<h2 id="org7844691"><span class="section-number-2">3</span> Allocation/deallocation functions</h2>
|
<h2 id="org0476e48"><span class="section-number-2">3</span> Allocation/deallocation functions</h2>
|
||||||
<div class="outline-text-2" id="text-3">
|
<div class="outline-text-2" id="text-3">
|
||||||
<p>
|
<p>
|
||||||
Memory allocation inside the library should be done with
|
Memory allocation inside the library should be done with
|
||||||
@ -537,8 +537,8 @@ allocation and needs to be updated.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-org6d7e8af" class="outline-2">
|
<div id="outline-container-org86b79d4" class="outline-2">
|
||||||
<h2 id="org6d7e8af"><span class="section-number-2">4</span> Get the size of a memory block</h2>
|
<h2 id="org86b79d4"><span class="section-number-2">4</span> Get the size of a memory block</h2>
|
||||||
<div class="outline-text-2" id="text-4">
|
<div class="outline-text-2" id="text-4">
|
||||||
<p>
|
<p>
|
||||||
All the blocks allocated with <code>qmckl_malloc</code> keep track of how many
|
All the blocks allocated with <code>qmckl_malloc</code> keep track of how many
|
||||||
@ -633,7 +633,7 @@ rc = qmckl_context_destroy(context);
|
|||||||
</div>
|
</div>
|
||||||
<div id="postamble" class="status">
|
<div id="postamble" class="status">
|
||||||
<p class="author">Author: TREX CoE</p>
|
<p class="author">Author: TREX CoE</p>
|
||||||
<p class="date">Created: 2022-08-23 Tue 06:40</p>
|
<p class="date">Created: 2022-08-31 Wed 14:46</p>
|
||||||
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
122
qmckl_mo.html
122
qmckl_mo.html
@ -3,7 +3,7 @@
|
|||||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||||
<head>
|
<head>
|
||||||
<!-- 2022-08-23 Tue 06:40 -->
|
<!-- 2022-08-31 Wed 14:46 -->
|
||||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<title>Molecular Orbitals</title>
|
<title>Molecular Orbitals</title>
|
||||||
@ -311,49 +311,49 @@ for the JavaScript code in this tag.
|
|||||||
<h2>Table of Contents</h2>
|
<h2>Table of Contents</h2>
|
||||||
<div id="text-table-of-contents">
|
<div id="text-table-of-contents">
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org22a6202">1. Context</a>
|
<li><a href="#orgf1caac4">1. Context</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgf54d9f9">1.1. Data structure</a></li>
|
<li><a href="#org729604e">1.1. Data structure</a></li>
|
||||||
<li><a href="#org978f42c">1.2. Initialization functions</a></li>
|
<li><a href="#orgc2829b6">1.2. Initialization functions</a></li>
|
||||||
<li><a href="#org09e6a72">1.3. Access functions</a>
|
<li><a href="#org5d378d5">1.3. Access functions</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgc35fc82">1.3.1. Fortran interfaces</a></li>
|
<li><a href="#org57f8d75">1.3.1. Fortran interfaces</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org281e0a0">1.4. Update</a>
|
<li><a href="#org846e6ec">1.4. Update</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org0d87252">1.4.1. Fortran interface</a></li>
|
<li><a href="#org479c9f4">1.4.1. Fortran interface</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#orgd8add13">2. Computation</a>
|
<li><a href="#org69438d2">2. Computation</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org5549a2a">2.1. Computation of MOs: values only</a>
|
<li><a href="#org75802d2">2.1. Computation of MOs: values only</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org1ee5151">2.1.1. Get</a></li>
|
<li><a href="#orgd9e5be2">2.1.1. Get</a></li>
|
||||||
<li><a href="#orgcc1834a">2.1.2. Provide</a></li>
|
<li><a href="#org0db4577">2.1.2. Provide</a></li>
|
||||||
<li><a href="#org2c60be9">2.1.3. Compute</a></li>
|
<li><a href="#orgd6bab1b">2.1.3. Compute</a></li>
|
||||||
<li><a href="#orga9dbebb">2.1.4. HPC version</a></li>
|
<li><a href="#orgc7972c0">2.1.4. HPC version</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org07899c7">2.2. Computation of MOs: values, gradient, Laplacian</a>
|
<li><a href="#org199c79d">2.2. Computation of MOs: values, gradient, Laplacian</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgc1ecafe">2.2.1. Get</a></li>
|
<li><a href="#orga641906">2.2.1. Get</a></li>
|
||||||
<li><a href="#org0231e23">2.2.2. Provide</a></li>
|
<li><a href="#org54f51e6">2.2.2. Provide</a></li>
|
||||||
<li><a href="#org65b80e7">2.2.3. Compute</a></li>
|
<li><a href="#org08d9acf">2.2.3. Compute</a></li>
|
||||||
<li><a href="#org88f3d6d">2.2.4. HPC version</a></li>
|
<li><a href="#orgda6996f">2.2.4. HPC version</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#orge2a54c1">2.3. Test</a></li>
|
<li><a href="#org388b5d8">2.3. Test</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org22a6202" class="outline-2">
|
<div id="outline-container-orgf1caac4" class="outline-2">
|
||||||
<h2 id="org22a6202"><span class="section-number-2">1</span> Context</h2>
|
<h2 id="orgf1caac4"><span class="section-number-2">1</span> Context</h2>
|
||||||
<div class="outline-text-2" id="text-1">
|
<div class="outline-text-2" id="text-1">
|
||||||
<p>
|
<p>
|
||||||
The following arrays are stored in the context:
|
The following arrays are stored in the context:
|
||||||
@ -433,8 +433,8 @@ Computed data:
|
|||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgf54d9f9" class="outline-3">
|
<div id="outline-container-org729604e" class="outline-3">
|
||||||
<h3 id="orgf54d9f9"><span class="section-number-3">1.1</span> Data structure</h3>
|
<h3 id="org729604e"><span class="section-number-3">1.1</span> Data structure</h3>
|
||||||
<div class="outline-text-3" id="text-1-1">
|
<div class="outline-text-3" id="text-1-1">
|
||||||
<div class="org-src-container">
|
<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> {
|
<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> {
|
||||||
@ -486,8 +486,8 @@ this mechanism.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org978f42c" class="outline-3">
|
<div id="outline-container-orgc2829b6" class="outline-3">
|
||||||
<h3 id="org978f42c"><span class="section-number-3">1.2</span> Initialization functions</h3>
|
<h3 id="orgc2829b6"><span class="section-number-3">1.2</span> Initialization functions</h3>
|
||||||
<div class="outline-text-3" id="text-1-2">
|
<div class="outline-text-3" id="text-1-2">
|
||||||
<p>
|
<p>
|
||||||
To set the basis set, all the following functions need to be
|
To set the basis set, all the following functions need to be
|
||||||
@ -507,8 +507,8 @@ computed to accelerate the calculations.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org09e6a72" class="outline-3">
|
<div id="outline-container-org5d378d5" class="outline-3">
|
||||||
<h3 id="org09e6a72"><span class="section-number-3">1.3</span> Access functions</h3>
|
<h3 id="org5d378d5"><span class="section-number-3">1.3</span> Access functions</h3>
|
||||||
<div class="outline-text-3" id="text-1-3">
|
<div class="outline-text-3" id="text-1-3">
|
||||||
<p>
|
<p>
|
||||||
When all the data for the AOs have been provided, the following
|
When all the data for the AOs have been provided, the following
|
||||||
@ -521,13 +521,13 @@ function returns <code>true</code>.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgc35fc82" class="outline-4">
|
<div id="outline-container-org57f8d75" class="outline-4">
|
||||||
<h4 id="orgc35fc82"><span class="section-number-4">1.3.1</span> Fortran interfaces</h4>
|
<h4 id="org57f8d75"><span class="section-number-4">1.3.1</span> Fortran interfaces</h4>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org281e0a0" class="outline-3">
|
<div id="outline-container-org846e6ec" class="outline-3">
|
||||||
<h3 id="org281e0a0"><span class="section-number-3">1.4</span> Update</h3>
|
<h3 id="org846e6ec"><span class="section-number-3">1.4</span> Update</h3>
|
||||||
<div class="outline-text-3" id="text-1-4">
|
<div class="outline-text-3" id="text-1-4">
|
||||||
<p>
|
<p>
|
||||||
Useless MOs can be removed, for instance virtual MOs in a single
|
Useless MOs can be removed, for instance virtual MOs in a single
|
||||||
@ -548,22 +548,22 @@ otherwise it is kept.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org0d87252" class="outline-4">
|
<div id="outline-container-org479c9f4" class="outline-4">
|
||||||
<h4 id="org0d87252"><span class="section-number-4">1.4.1</span> Fortran interface</h4>
|
<h4 id="org479c9f4"><span class="section-number-4">1.4.1</span> Fortran interface</h4>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgd8add13" class="outline-2">
|
<div id="outline-container-org69438d2" class="outline-2">
|
||||||
<h2 id="orgd8add13"><span class="section-number-2">2</span> Computation</h2>
|
<h2 id="org69438d2"><span class="section-number-2">2</span> Computation</h2>
|
||||||
<div class="outline-text-2" id="text-2">
|
<div class="outline-text-2" id="text-2">
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-org5549a2a" class="outline-3">
|
<div id="outline-container-org75802d2" class="outline-3">
|
||||||
<h3 id="org5549a2a"><span class="section-number-3">2.1</span> Computation of MOs: values only</h3>
|
<h3 id="org75802d2"><span class="section-number-3">2.1</span> Computation of MOs: values only</h3>
|
||||||
<div class="outline-text-3" id="text-2-1">
|
<div class="outline-text-3" id="text-2-1">
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-org1ee5151" class="outline-4">
|
<div id="outline-container-orgd9e5be2" class="outline-4">
|
||||||
<h4 id="org1ee5151"><span class="section-number-4">2.1.1</span> Get</h4>
|
<h4 id="orgd9e5be2"><span class="section-number-4">2.1.1</span> Get</h4>
|
||||||
<div class="outline-text-4" id="text-2-1-1">
|
<div class="outline-text-4" id="text-2-1-1">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span>
|
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span>
|
||||||
@ -587,8 +587,8 @@ Uses the given array to compute the values.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgcc1834a" class="outline-4">
|
<div id="outline-container-org0db4577" class="outline-4">
|
||||||
<h4 id="orgcc1834a"><span class="section-number-4">2.1.2</span> Provide</h4>
|
<h4 id="org0db4577"><span class="section-number-4">2.1.2</span> Provide</h4>
|
||||||
<div class="outline-text-4" id="text-2-1-2">
|
<div class="outline-text-4" id="text-2-1-2">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_provide_mo_basis_mo_value</span>(<span style="color: #228b22;">qmckl_context</span> <span style="color: #a0522d;">context</span>);
|
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_provide_mo_basis_mo_value</span>(<span style="color: #228b22;">qmckl_context</span> <span style="color: #a0522d;">context</span>);
|
||||||
@ -673,10 +673,10 @@ Uses the given array to compute the values.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org2c60be9" class="outline-4">
|
<div id="outline-container-orgd6bab1b" class="outline-4">
|
||||||
<h4 id="org2c60be9"><span class="section-number-4">2.1.3</span> Compute</h4>
|
<h4 id="orgd6bab1b"><span class="section-number-4">2.1.3</span> Compute</h4>
|
||||||
<div class="outline-text-4" id="text-2-1-3">
|
<div class="outline-text-4" id="text-2-1-3">
|
||||||
<table id="orgcf35489" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org4f14390" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -850,8 +850,8 @@ matrix multiplication instead of a dgemm, as exposed in
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orga9dbebb" class="outline-4">
|
<div id="outline-container-orgc7972c0" class="outline-4">
|
||||||
<h4 id="orga9dbebb"><span class="section-number-4">2.1.4</span> HPC version</h4>
|
<h4 id="orgc7972c0"><span class="section-number-4">2.1.4</span> HPC version</h4>
|
||||||
<div class="outline-text-4" id="text-2-1-4">
|
<div class="outline-text-4" id="text-2-1-4">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c"><span style="color: #483d8b;">#ifdef</span> HAVE_HPC
|
<pre class="src src-c"><span style="color: #483d8b;">#ifdef</span> HAVE_HPC
|
||||||
@ -944,12 +944,12 @@ matrix multiplication instead of a dgemm, as exposed in
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org07899c7" class="outline-3">
|
<div id="outline-container-org199c79d" class="outline-3">
|
||||||
<h3 id="org07899c7"><span class="section-number-3">2.2</span> Computation of MOs: values, gradient, Laplacian</h3>
|
<h3 id="org199c79d"><span class="section-number-3">2.2</span> Computation of MOs: values, gradient, Laplacian</h3>
|
||||||
<div class="outline-text-3" id="text-2-2">
|
<div class="outline-text-3" id="text-2-2">
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-orgc1ecafe" class="outline-4">
|
<div id="outline-container-orga641906" class="outline-4">
|
||||||
<h4 id="orgc1ecafe"><span class="section-number-4">2.2.1</span> Get</h4>
|
<h4 id="orga641906"><span class="section-number-4">2.2.1</span> Get</h4>
|
||||||
<div class="outline-text-4" id="text-2-2-1">
|
<div class="outline-text-4" id="text-2-2-1">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span>
|
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span>
|
||||||
@ -973,8 +973,8 @@ Uses the given array to compute the VGL.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org0231e23" class="outline-4">
|
<div id="outline-container-org54f51e6" class="outline-4">
|
||||||
<h4 id="org0231e23"><span class="section-number-4">2.2.2</span> Provide</h4>
|
<h4 id="org54f51e6"><span class="section-number-4">2.2.2</span> Provide</h4>
|
||||||
<div class="outline-text-4" id="text-2-2-2">
|
<div class="outline-text-4" id="text-2-2-2">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_provide_mo_basis_mo_vgl</span>(<span style="color: #228b22;">qmckl_context</span> <span style="color: #a0522d;">context</span>);
|
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_provide_mo_basis_mo_vgl</span>(<span style="color: #228b22;">qmckl_context</span> <span style="color: #a0522d;">context</span>);
|
||||||
@ -1058,10 +1058,10 @@ Uses the given array to compute the VGL.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org65b80e7" class="outline-4">
|
<div id="outline-container-org08d9acf" class="outline-4">
|
||||||
<h4 id="org65b80e7"><span class="section-number-4">2.2.3</span> Compute</h4>
|
<h4 id="org08d9acf"><span class="section-number-4">2.2.3</span> Compute</h4>
|
||||||
<div class="outline-text-4" id="text-2-2-3">
|
<div class="outline-text-4" id="text-2-2-3">
|
||||||
<table id="org755db09" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org088ef46" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -1233,8 +1233,8 @@ matrix multiplication instead of a dgemm, as exposed in
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org88f3d6d" class="outline-4">
|
<div id="outline-container-orgda6996f" class="outline-4">
|
||||||
<h4 id="org88f3d6d"><span class="section-number-4">2.2.4</span> HPC version</h4>
|
<h4 id="orgda6996f"><span class="section-number-4">2.2.4</span> HPC version</h4>
|
||||||
<div class="outline-text-4" id="text-2-2-4">
|
<div class="outline-text-4" id="text-2-2-4">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c"><span style="color: #483d8b;">#ifdef</span> HAVE_HPC
|
<pre class="src src-c"><span style="color: #483d8b;">#ifdef</span> HAVE_HPC
|
||||||
@ -1380,14 +1380,14 @@ matrix multiplication instead of a dgemm, as exposed in
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orge2a54c1" class="outline-3">
|
<div id="outline-container-org388b5d8" class="outline-3">
|
||||||
<h3 id="orge2a54c1"><span class="section-number-3">2.3</span> Test</h3>
|
<h3 id="org388b5d8"><span class="section-number-3">2.3</span> Test</h3>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="postamble" class="status">
|
<div id="postamble" class="status">
|
||||||
<p class="author">Author: TREX CoE</p>
|
<p class="author">Author: TREX CoE</p>
|
||||||
<p class="date">Created: 2022-08-23 Tue 06:40</p>
|
<p class="date">Created: 2022-08-31 Wed 14:46</p>
|
||||||
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||||
<head>
|
<head>
|
||||||
<!-- 2022-08-23 Tue 06:40 -->
|
<!-- 2022-08-31 Wed 14:47 -->
|
||||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<title>Nucleus</title>
|
<title>Nucleus</title>
|
||||||
@ -333,35 +333,35 @@ for the JavaScript code in this tag.
|
|||||||
<h2>Table of Contents</h2>
|
<h2>Table of Contents</h2>
|
||||||
<div id="text-table-of-contents">
|
<div id="text-table-of-contents">
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org5fbccf2">1. Context</a>
|
<li><a href="#org8be6190">1. Context</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgd4c43ca">1.1. Data structure</a></li>
|
<li><a href="#orgb8f6c3a">1.1. Data structure</a></li>
|
||||||
<li><a href="#orgd0259d0">1.2. Access functions</a></li>
|
<li><a href="#orgd9dbcbe">1.2. Access functions</a></li>
|
||||||
<li><a href="#orga98c082">1.3. Initialization functions</a></li>
|
<li><a href="#org7c6f597">1.3. Initialization functions</a></li>
|
||||||
<li><a href="#org28d2653">1.4. Test</a></li>
|
<li><a href="#org3304598">1.4. Test</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#orgbe5494a">2. Computation</a>
|
<li><a href="#org4b4e073">2. Computation</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgaf8f725">2.1. Nucleus-nucleus distances</a>
|
<li><a href="#org8cf2d57">2.1. Nucleus-nucleus distances</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgdae94b5">2.1.1. Get</a></li>
|
<li><a href="#org248b386">2.1.1. Get</a></li>
|
||||||
<li><a href="#org6428781">2.1.2. Compute</a></li>
|
<li><a href="#orgde431ea">2.1.2. Compute</a></li>
|
||||||
<li><a href="#orgdb8f2f7">2.1.3. Test</a></li>
|
<li><a href="#org459317f">2.1.3. Test</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#orgda2a83f">2.2. Nucleus-nucleus rescaled distances</a>
|
<li><a href="#org976051b">2.2. Nucleus-nucleus rescaled distances</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org9add8f8">2.2.1. Get</a></li>
|
<li><a href="#org1f9ee0d">2.2.1. Get</a></li>
|
||||||
<li><a href="#orgc8c510d">2.2.2. Compute</a></li>
|
<li><a href="#orgb65303b">2.2.2. Compute</a></li>
|
||||||
<li><a href="#orge13547e">2.2.3. Test</a></li>
|
<li><a href="#orgb4ab1c5">2.2.3. Test</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#orgbe203fe">2.3. Nuclear repulsion energy</a>
|
<li><a href="#orgeb30de7">2.3. Nuclear repulsion energy</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org333e0c7">2.3.1. Get</a></li>
|
<li><a href="#org221a954">2.3.1. Get</a></li>
|
||||||
<li><a href="#org8a418b5">2.3.2. Compute</a></li>
|
<li><a href="#org9939126">2.3.2. Compute</a></li>
|
||||||
<li><a href="#org6b053b6">2.3.3. Test</a></li>
|
<li><a href="#org00adbec">2.3.3. Test</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
@ -370,8 +370,8 @@ for the JavaScript code in this tag.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org5fbccf2" class="outline-2">
|
<div id="outline-container-org8be6190" class="outline-2">
|
||||||
<h2 id="org5fbccf2"><span class="section-number-2">1</span> Context</h2>
|
<h2 id="org8be6190"><span class="section-number-2">1</span> Context</h2>
|
||||||
<div class="outline-text-2" id="text-1">
|
<div class="outline-text-2" id="text-1">
|
||||||
<p>
|
<p>
|
||||||
The following data stored in the context:
|
The following data stored in the context:
|
||||||
@ -486,8 +486,8 @@ Computed data:
|
|||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgd4c43ca" class="outline-3">
|
<div id="outline-container-orgb8f6c3a" class="outline-3">
|
||||||
<h3 id="orgd4c43ca"><span class="section-number-3">1.1</span> Data structure</h3>
|
<h3 id="orgb8f6c3a"><span class="section-number-3">1.1</span> Data structure</h3>
|
||||||
<div class="outline-text-3" id="text-1-1">
|
<div class="outline-text-3" id="text-1-1">
|
||||||
<div class="org-src-container">
|
<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> {
|
<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> {
|
||||||
@ -545,8 +545,8 @@ this mechanism.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgd0259d0" class="outline-3">
|
<div id="outline-container-orgd9dbcbe" class="outline-3">
|
||||||
<h3 id="orgd0259d0"><span class="section-number-3">1.2</span> Access functions</h3>
|
<h3 id="orgd9dbcbe"><span class="section-number-3">1.2</span> Access functions</h3>
|
||||||
<div class="outline-text-3" id="text-1-2">
|
<div class="outline-text-3" id="text-1-2">
|
||||||
<p>
|
<p>
|
||||||
When all the data relative to nuclei have been set, the following
|
When all the data relative to nuclei have been set, the following
|
||||||
@ -560,8 +560,8 @@ function returns <code>true</code>.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orga98c082" class="outline-3">
|
<div id="outline-container-org7c6f597" class="outline-3">
|
||||||
<h3 id="orga98c082"><span class="section-number-3">1.3</span> Initialization functions</h3>
|
<h3 id="org7c6f597"><span class="section-number-3">1.3</span> Initialization functions</h3>
|
||||||
<div class="outline-text-3" id="text-1-3">
|
<div class="outline-text-3" id="text-1-3">
|
||||||
<p>
|
<p>
|
||||||
To set the data relative to the nuclei in the context, the
|
To set the data relative to the nuclei in the context, the
|
||||||
@ -618,8 +618,8 @@ Sets the rescale parameter for the nuclear distances.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org28d2653" class="outline-3">
|
<div id="outline-container-org3304598" class="outline-3">
|
||||||
<h3 id="org28d2653"><span class="section-number-3">1.4</span> Test</h3>
|
<h3 id="org3304598"><span class="section-number-3">1.4</span> Test</h3>
|
||||||
<div class="outline-text-3" id="text-1-4">
|
<div class="outline-text-3" id="text-1-4">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c"><span style="color: #a020f0;">const</span> <span style="color: #228b22;">double</span>* <span style="color: #a0522d;">nucl_charge</span> = chbrclf_charge;
|
<pre class="src src-c"><span style="color: #a020f0;">const</span> <span style="color: #228b22;">double</span>* <span style="color: #a0522d;">nucl_charge</span> = chbrclf_charge;
|
||||||
@ -702,8 +702,8 @@ rc = qmckl_get_nucleus_charge(context, nucl_charge2, chbrclf_nucl_num);
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgbe5494a" class="outline-2">
|
<div id="outline-container-org4b4e073" class="outline-2">
|
||||||
<h2 id="orgbe5494a"><span class="section-number-2">2</span> Computation</h2>
|
<h2 id="org4b4e073"><span class="section-number-2">2</span> Computation</h2>
|
||||||
<div class="outline-text-2" id="text-2">
|
<div class="outline-text-2" id="text-2">
|
||||||
<p>
|
<p>
|
||||||
The computed data is stored in the context so that it can be reused
|
The computed data is stored in the context so that it can be reused
|
||||||
@ -716,12 +716,12 @@ current date is stored.
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgaf8f725" class="outline-3">
|
<div id="outline-container-org8cf2d57" class="outline-3">
|
||||||
<h3 id="orgaf8f725"><span class="section-number-3">2.1</span> Nucleus-nucleus distances</h3>
|
<h3 id="org8cf2d57"><span class="section-number-3">2.1</span> Nucleus-nucleus distances</h3>
|
||||||
<div class="outline-text-3" id="text-2-1">
|
<div class="outline-text-3" id="text-2-1">
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-orgdae94b5" class="outline-4">
|
<div id="outline-container-org248b386" class="outline-4">
|
||||||
<h4 id="orgdae94b5"><span class="section-number-4">2.1.1</span> Get</h4>
|
<h4 id="org248b386"><span class="section-number-4">2.1.1</span> Get</h4>
|
||||||
<div class="outline-text-4" id="text-2-1-1">
|
<div class="outline-text-4" id="text-2-1-1">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span>
|
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span>
|
||||||
@ -733,10 +733,10 @@ current date is stored.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org6428781" class="outline-4">
|
<div id="outline-container-orgde431ea" class="outline-4">
|
||||||
<h4 id="org6428781"><span class="section-number-4">2.1.2</span> Compute</h4>
|
<h4 id="orgde431ea"><span class="section-number-4">2.1.2</span> Compute</h4>
|
||||||
<div class="outline-text-4" id="text-2-1-2">
|
<div class="outline-text-4" id="text-2-1-2">
|
||||||
<table id="org025e8e7" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org311c88e" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -814,8 +814,8 @@ current date is stored.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgdb8f2f7" class="outline-4">
|
<div id="outline-container-org459317f" class="outline-4">
|
||||||
<h4 id="orgdb8f2f7"><span class="section-number-4">2.1.3</span> Test</h4>
|
<h4 id="org459317f"><span class="section-number-4">2.1.3</span> Test</h4>
|
||||||
<div class="outline-text-4" id="text-2-1-3">
|
<div class="outline-text-4" id="text-2-1-3">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c">/* <span style="color: #b22222;">Reference input data </span>*/
|
<pre class="src src-c">/* <span style="color: #b22222;">Reference input data </span>*/
|
||||||
@ -834,12 +834,12 @@ rc = qmckl_get_nucleus_nn_distance(context, distance, chbrclf_nucl_num*chbrclf_n
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgda2a83f" class="outline-3">
|
<div id="outline-container-org976051b" class="outline-3">
|
||||||
<h3 id="orgda2a83f"><span class="section-number-3">2.2</span> Nucleus-nucleus rescaled distances</h3>
|
<h3 id="org976051b"><span class="section-number-3">2.2</span> Nucleus-nucleus rescaled distances</h3>
|
||||||
<div class="outline-text-3" id="text-2-2">
|
<div class="outline-text-3" id="text-2-2">
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-org9add8f8" class="outline-4">
|
<div id="outline-container-org1f9ee0d" class="outline-4">
|
||||||
<h4 id="org9add8f8"><span class="section-number-4">2.2.1</span> Get</h4>
|
<h4 id="org1f9ee0d"><span class="section-number-4">2.2.1</span> Get</h4>
|
||||||
<div class="outline-text-4" id="text-2-2-1">
|
<div class="outline-text-4" id="text-2-2-1">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span>
|
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span>
|
||||||
@ -851,10 +851,10 @@ rc = qmckl_get_nucleus_nn_distance(context, distance, chbrclf_nucl_num*chbrclf_n
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgc8c510d" class="outline-4">
|
<div id="outline-container-orgb65303b" class="outline-4">
|
||||||
<h4 id="orgc8c510d"><span class="section-number-4">2.2.2</span> Compute</h4>
|
<h4 id="orgb65303b"><span class="section-number-4">2.2.2</span> Compute</h4>
|
||||||
<div class="outline-text-4" id="text-2-2-2">
|
<div class="outline-text-4" id="text-2-2-2">
|
||||||
<table id="orgd579d01" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="orge2eda35" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -933,8 +933,8 @@ rc = qmckl_get_nucleus_nn_distance(context, distance, chbrclf_nucl_num*chbrclf_n
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orge13547e" class="outline-4">
|
<div id="outline-container-orgb4ab1c5" class="outline-4">
|
||||||
<h4 id="orge13547e"><span class="section-number-4">2.2.3</span> Test</h4>
|
<h4 id="orgb4ab1c5"><span class="section-number-4">2.2.3</span> Test</h4>
|
||||||
<div class="outline-text-4" id="text-2-2-3">
|
<div class="outline-text-4" id="text-2-2-3">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c">/* <span style="color: #b22222;">Reference input data </span>*/
|
<pre class="src src-c">/* <span style="color: #b22222;">Reference input data </span>*/
|
||||||
@ -954,8 +954,8 @@ rc = qmckl_get_nucleus_nn_distance(context, distance, chbrclf_nucl_num*chbrclf_n
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgbe203fe" class="outline-3">
|
<div id="outline-container-orgeb30de7" class="outline-3">
|
||||||
<h3 id="orgbe203fe"><span class="section-number-3">2.3</span> Nuclear repulsion energy</h3>
|
<h3 id="orgeb30de7"><span class="section-number-3">2.3</span> Nuclear repulsion energy</h3>
|
||||||
<div class="outline-text-3" id="text-2-3">
|
<div class="outline-text-3" id="text-2-3">
|
||||||
<p>
|
<p>
|
||||||
\[
|
\[
|
||||||
@ -964,8 +964,8 @@ rc = qmckl_get_nucleus_nn_distance(context, distance, chbrclf_nucl_num*chbrclf_n
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org333e0c7" class="outline-4">
|
<div id="outline-container-org221a954" class="outline-4">
|
||||||
<h4 id="org333e0c7"><span class="section-number-4">2.3.1</span> Get</h4>
|
<h4 id="org221a954"><span class="section-number-4">2.3.1</span> Get</h4>
|
||||||
<div class="outline-text-4" id="text-2-3-1">
|
<div class="outline-text-4" id="text-2-3-1">
|
||||||
<div class="org-src-container">
|
<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: #a020f0;">const</span> <span style="color: #a0522d;">energy</span>);
|
<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: #a020f0;">const</span> <span style="color: #a0522d;">energy</span>);
|
||||||
@ -974,10 +974,10 @@ rc = qmckl_get_nucleus_nn_distance(context, distance, chbrclf_nucl_num*chbrclf_n
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org8a418b5" class="outline-4">
|
<div id="outline-container-org9939126" class="outline-4">
|
||||||
<h4 id="org8a418b5"><span class="section-number-4">2.3.2</span> Compute</h4>
|
<h4 id="org9939126"><span class="section-number-4">2.3.2</span> Compute</h4>
|
||||||
<div class="outline-text-4" id="text-2-3-2">
|
<div class="outline-text-4" id="text-2-3-2">
|
||||||
<table id="org1f82a4e" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org109d264" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -1067,8 +1067,8 @@ rc = qmckl_get_nucleus_nn_distance(context, distance, chbrclf_nucl_num*chbrclf_n
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org6b053b6" class="outline-4">
|
<div id="outline-container-org00adbec" class="outline-4">
|
||||||
<h4 id="org6b053b6"><span class="section-number-4">2.3.3</span> Test</h4>
|
<h4 id="org00adbec"><span class="section-number-4">2.3.3</span> Test</h4>
|
||||||
<div class="outline-text-4" id="text-2-3-3">
|
<div class="outline-text-4" id="text-2-3-3">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c">/* <span style="color: #b22222;">Reference input data </span>*/
|
<pre class="src src-c">/* <span style="color: #b22222;">Reference input data </span>*/
|
||||||
@ -1088,7 +1088,7 @@ rc = qmckl_get_nucleus_repulsion(context, &rep);
|
|||||||
</div>
|
</div>
|
||||||
<div id="postamble" class="status">
|
<div id="postamble" class="status">
|
||||||
<p class="author">Author: TREX CoE</p>
|
<p class="author">Author: TREX CoE</p>
|
||||||
<p class="date">Created: 2022-08-23 Tue 06:40</p>
|
<p class="date">Created: 2022-08-31 Wed 14:47</p>
|
||||||
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||||
<head>
|
<head>
|
||||||
<!-- 2022-08-23 Tue 06:40 -->
|
<!-- 2022-08-31 Wed 14:46 -->
|
||||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<title>Numerical precision</title>
|
<title>Numerical precision</title>
|
||||||
@ -333,16 +333,16 @@ for the JavaScript code in this tag.
|
|||||||
<h2>Table of Contents</h2>
|
<h2>Table of Contents</h2>
|
||||||
<div id="text-table-of-contents">
|
<div id="text-table-of-contents">
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org5927456">1. Control of the numerical precision</a></li>
|
<li><a href="#orgcc722da">1. Control of the numerical precision</a></li>
|
||||||
<li><a href="#org751aa40">2. Precision</a></li>
|
<li><a href="#org79ca982">2. Precision</a></li>
|
||||||
<li><a href="#org3eeba28">3. Range</a></li>
|
<li><a href="#org5b17d0d">3. Range</a></li>
|
||||||
<li><a href="#org50c615b">4. Helper functions</a></li>
|
<li><a href="#org5c6aee8">4. Helper functions</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org5927456" class="outline-2">
|
<div id="outline-container-orgcc722da" class="outline-2">
|
||||||
<h2 id="org5927456"><span class="section-number-2">1</span> Control of the numerical precision</h2>
|
<h2 id="orgcc722da"><span class="section-number-2">1</span> Control of the numerical precision</h2>
|
||||||
<div class="outline-text-2" id="text-1">
|
<div class="outline-text-2" id="text-1">
|
||||||
<p>
|
<p>
|
||||||
Controlling numerical precision enables optimizations. Here, the
|
Controlling numerical precision enables optimizations. Here, the
|
||||||
@ -353,7 +353,7 @@ Arithmetic (IEEE 754),
|
|||||||
refers to the number of exponent bits.
|
refers to the number of exponent bits.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<table id="orge442f29" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="orgc98662f" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -397,8 +397,8 @@ integer. The update functions return <code>QMCKL_SUCCESS</code> or
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org751aa40" class="outline-2">
|
<div id="outline-container-org79ca982" class="outline-2">
|
||||||
<h2 id="org751aa40"><span class="section-number-2">2</span> Precision</h2>
|
<h2 id="org79ca982"><span class="section-number-2">2</span> Precision</h2>
|
||||||
<div class="outline-text-2" id="text-2">
|
<div class="outline-text-2" id="text-2">
|
||||||
<p>
|
<p>
|
||||||
<code>qmckl_context_set_numprec_precision</code> modifies the parameter for the
|
<code>qmckl_context_set_numprec_precision</code> modifies the parameter for the
|
||||||
@ -485,8 +485,8 @@ numerical precision in the context.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org3eeba28" class="outline-2">
|
<div id="outline-container-org5b17d0d" class="outline-2">
|
||||||
<h2 id="org3eeba28"><span class="section-number-2">3</span> Range</h2>
|
<h2 id="org5b17d0d"><span class="section-number-2">3</span> Range</h2>
|
||||||
<div class="outline-text-2" id="text-3">
|
<div class="outline-text-2" id="text-3">
|
||||||
<p>
|
<p>
|
||||||
<code>qmckl_set_numprec_range</code> modifies the parameter for the numerical
|
<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>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-org50c615b" class="outline-2">
|
<div id="outline-container-org5c6aee8" class="outline-2">
|
||||||
<h2 id="org50c615b"><span class="section-number-2">4</span> Helper functions</h2>
|
<h2 id="org5c6aee8"><span class="section-number-2">4</span> Helper functions</h2>
|
||||||
<div class="outline-text-2" id="text-4">
|
<div class="outline-text-2" id="text-4">
|
||||||
<p>
|
<p>
|
||||||
<code>qmckl_get_numprec_epsilon</code> returns \(\epsilon = 2^{1-n}\) where <code>n</code> is the precision.
|
<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>
|
||||||
<div id="postamble" class="status">
|
<div id="postamble" class="status">
|
||||||
<p class="author">Author: TREX CoE</p>
|
<p class="author">Author: TREX CoE</p>
|
||||||
<p class="date">Created: 2022-08-23 Tue 06:40</p>
|
<p class="date">Created: 2022-08-31 Wed 14:46</p>
|
||||||
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||||
<head>
|
<head>
|
||||||
<!-- 2022-08-23 Tue 06:40 -->
|
<!-- 2022-08-31 Wed 14:46 -->
|
||||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<title>Point</title>
|
<title>Point</title>
|
||||||
@ -333,25 +333,25 @@ for the JavaScript code in this tag.
|
|||||||
<h2>Table of Contents</h2>
|
<h2>Table of Contents</h2>
|
||||||
<div id="text-table-of-contents">
|
<div id="text-table-of-contents">
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org9e466fd">1. Context</a>
|
<li><a href="#org1932eb2">1. Context</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgab40757">1.1. Data structure</a></li>
|
<li><a href="#orgcfe2b49">1.1. Data structure</a></li>
|
||||||
<li><a href="#orgf220e59">1.2. Access functions</a>
|
<li><a href="#org216297f">1.2. Access functions</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgdd4051e">1.2.1. Number of points</a></li>
|
<li><a href="#org47210d0">1.2.1. Number of points</a></li>
|
||||||
<li><a href="#org8d21727">1.2.2. Point coordinates</a></li>
|
<li><a href="#org2e8db1d">1.2.2. Point coordinates</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#orgae16aed">1.3. Initialization functions</a></li>
|
<li><a href="#orgcb3f14d">1.3. Initialization functions</a></li>
|
||||||
<li><a href="#org70d847d">1.4. Test</a></li>
|
<li><a href="#org1e1587c">1.4. Test</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org9e466fd" class="outline-2">
|
<div id="outline-container-org1932eb2" class="outline-2">
|
||||||
<h2 id="org9e466fd"><span class="section-number-2">1</span> Context</h2>
|
<h2 id="org1932eb2"><span class="section-number-2">1</span> Context</h2>
|
||||||
<div class="outline-text-2" id="text-1">
|
<div class="outline-text-2" id="text-1">
|
||||||
<p>
|
<p>
|
||||||
The following data stored in the context:
|
The following data stored in the context:
|
||||||
@ -401,8 +401,8 @@ corresponds to the 3 × <code>num</code> matrix.
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgab40757" class="outline-3">
|
<div id="outline-container-orgcfe2b49" class="outline-3">
|
||||||
<h3 id="orgab40757"><span class="section-number-3">1.1</span> Data structure</h3>
|
<h3 id="orgcfe2b49"><span class="section-number-3">1.1</span> Data structure</h3>
|
||||||
<div class="outline-text-3" id="text-1-1">
|
<div class="outline-text-3" id="text-1-1">
|
||||||
<div class="org-src-container">
|
<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_point_struct</span> {
|
<pre class="src src-c"><span style="color: #a020f0;">typedef</span> <span style="color: #a020f0;">struct</span> <span style="color: #228b22;">qmckl_point_struct</span> {
|
||||||
@ -438,8 +438,8 @@ corresponds to the 3 × <code>num</code> matrix.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgf220e59" class="outline-3">
|
<div id="outline-container-org216297f" class="outline-3">
|
||||||
<h3 id="orgf220e59"><span class="section-number-3">1.2</span> Access functions</h3>
|
<h3 id="org216297f"><span class="section-number-3">1.2</span> Access functions</h3>
|
||||||
<div class="outline-text-3" id="text-1-2">
|
<div class="outline-text-3" id="text-1-2">
|
||||||
<p>
|
<p>
|
||||||
Access functions return <code>QMCKL_SUCCESS</code> when the data has been
|
Access functions return <code>QMCKL_SUCCESS</code> when the data has been
|
||||||
@ -450,8 +450,8 @@ contains the requested data. Otherwise, this variable is untouched.
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgdd4051e" class="outline-4">
|
<div id="outline-container-org47210d0" class="outline-4">
|
||||||
<h4 id="orgdd4051e"><span class="section-number-4">1.2.1</span> Number of points</h4>
|
<h4 id="org47210d0"><span class="section-number-4">1.2.1</span> Number of points</h4>
|
||||||
<div class="outline-text-4" id="text-1-2-1">
|
<div class="outline-text-4" id="text-1-2-1">
|
||||||
<p>
|
<p>
|
||||||
Returns the number of points stored in the context.
|
Returns the number of points stored in the context.
|
||||||
@ -473,8 +473,8 @@ Returns the number of points stored in the context.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org8d21727" class="outline-4">
|
<div id="outline-container-org2e8db1d" class="outline-4">
|
||||||
<h4 id="org8d21727"><span class="section-number-4">1.2.2</span> Point coordinates</h4>
|
<h4 id="org2e8db1d"><span class="section-number-4">1.2.2</span> Point coordinates</h4>
|
||||||
<div class="outline-text-4" id="text-1-2-2">
|
<div class="outline-text-4" id="text-1-2-2">
|
||||||
<p>
|
<p>
|
||||||
Returns the point coordinates as sequences of (x,y,z).
|
Returns the point coordinates as sequences of (x,y,z).
|
||||||
@ -502,8 +502,8 @@ The pointer is assumed to point on a memory block of size
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div id="outline-container-orgae16aed" class="outline-3">
|
<div id="outline-container-orgcb3f14d" class="outline-3">
|
||||||
<h3 id="orgae16aed"><span class="section-number-3">1.3</span> Initialization functions</h3>
|
<h3 id="orgcb3f14d"><span class="section-number-3">1.3</span> Initialization functions</h3>
|
||||||
<div class="outline-text-3" id="text-1-3">
|
<div class="outline-text-3" id="text-1-3">
|
||||||
<p>
|
<p>
|
||||||
When the data is set in the context, if the arrays are large
|
When the data is set in the context, if the arrays are large
|
||||||
@ -635,8 +635,8 @@ Copy a sequence of <code>num</code> points \((x,y,z)\) into the context.
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div id="outline-container-org70d847d" class="outline-3">
|
<div id="outline-container-org1e1587c" class="outline-3">
|
||||||
<h3 id="org70d847d"><span class="section-number-3">1.4</span> Test</h3>
|
<h3 id="org1e1587c"><span class="section-number-3">1.4</span> Test</h3>
|
||||||
<div class="outline-text-3" id="text-1-4">
|
<div class="outline-text-3" id="text-1-4">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c">/* <span style="color: #b22222;">Reference input data </span>*/
|
<pre class="src src-c">/* <span style="color: #b22222;">Reference input data </span>*/
|
||||||
@ -695,7 +695,7 @@ rc = qmckl_get_point (context, <span style="color: #8b2252;">'N'</span>, coord3,
|
|||||||
</div>
|
</div>
|
||||||
<div id="postamble" class="status">
|
<div id="postamble" class="status">
|
||||||
<p class="author">Author: TREX CoE</p>
|
<p class="author">Author: TREX CoE</p>
|
||||||
<p class="date">Created: 2022-08-23 Tue 06:40</p>
|
<p class="date">Created: 2022-08-31 Wed 14:46</p>
|
||||||
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||||
<head>
|
<head>
|
||||||
<!-- 2022-08-23 Tue 06:40 -->
|
<!-- 2022-08-31 Wed 14:46 -->
|
||||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<title>Sherman-Morrison-Woodbury</title>
|
<title>Sherman-Morrison-Woodbury</title>
|
||||||
@ -333,86 +333,86 @@ for the JavaScript code in this tag.
|
|||||||
<h2>Table of Contents</h2>
|
<h2>Table of Contents</h2>
|
||||||
<div id="text-table-of-contents">
|
<div id="text-table-of-contents">
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgf13353a">1. Headers</a></li>
|
<li><a href="#orgef6f956">1. Headers</a></li>
|
||||||
<li><a href="#org6456454">2. Naïve Sherman-Morrison</a>
|
<li><a href="#org9e5f67f">2. Naïve Sherman-Morrison</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org941bf6b">2.1. <code>qmckl_sherman_morrison</code></a>
|
<li><a href="#orgb477ca3">2.1. <code>qmckl_sherman_morrison</code></a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orge570a12">2.1.1. Requirements</a></li>
|
<li><a href="#org1c77250">2.1.1. Requirements</a></li>
|
||||||
<li><a href="#org64b377b">2.1.2. C header</a></li>
|
<li><a href="#orgc02fbdf">2.1.2. C header</a></li>
|
||||||
<li><a href="#org7f88967">2.1.3. C source</a></li>
|
<li><a href="#org878631d">2.1.3. C source</a></li>
|
||||||
<li><a href="#org1c50f9a">2.1.4. Performance</a></li>
|
<li><a href="#orgf76d533">2.1.4. Performance</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org6b774ca">3. Woodbury 2x2</a>
|
<li><a href="#org217d2e1">3. Woodbury 2x2</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org47d28d5">3.1. <code>qmckl_woodbury_2</code></a>
|
<li><a href="#org4570b9c">3.1. <code>qmckl_woodbury_2</code></a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orge443746">3.1.1. Requirements</a></li>
|
<li><a href="#org93f6197">3.1.1. Requirements</a></li>
|
||||||
<li><a href="#org3312c13">3.1.2. C header</a></li>
|
<li><a href="#org95fc524">3.1.2. C header</a></li>
|
||||||
<li><a href="#orgce0e8b9">3.1.3. C source</a></li>
|
<li><a href="#org4f9e5dc">3.1.3. C source</a></li>
|
||||||
<li><a href="#orgc09afd0">3.1.4. Performance</a></li>
|
<li><a href="#org8989269">3.1.4. Performance</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org386f4aa">4. Woodbury 3x3</a>
|
<li><a href="#org434fd88">4. Woodbury 3x3</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org9c68cde">4.1. <code>qmckl_woodbury_3</code></a>
|
<li><a href="#org9d4233b">4.1. <code>qmckl_woodbury_3</code></a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org00c4a16">4.1.1. Requirements</a></li>
|
<li><a href="#org360727b">4.1.1. Requirements</a></li>
|
||||||
<li><a href="#org3a32dc8">4.1.2. C header</a></li>
|
<li><a href="#org887017e">4.1.2. C header</a></li>
|
||||||
<li><a href="#orga52cb7d">4.1.3. C source</a></li>
|
<li><a href="#org1fa222b">4.1.3. C source</a></li>
|
||||||
<li><a href="#org4433429">4.1.4. Performance…</a></li>
|
<li><a href="#org377bb6f">4.1.4. Performance…</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#orgfedd6b2">5. Sherman-Morrison with update splitting</a>
|
<li><a href="#org12255cb">5. Sherman-Morrison with update splitting</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgb1c9f38">5.1. <code>qmckl_sherman_morrison_splitting</code></a>
|
<li><a href="#org89c045f">5.1. <code>qmckl_sherman_morrison_splitting</code></a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orge8e8c08">5.1.1. Requirements</a></li>
|
<li><a href="#orgb22394f">5.1.1. Requirements</a></li>
|
||||||
<li><a href="#org2f0c903">5.1.2. C header</a></li>
|
<li><a href="#org6aba29a">5.1.2. C header</a></li>
|
||||||
<li><a href="#orgfa8c291">5.1.3. C source</a></li>
|
<li><a href="#orgbef9edc">5.1.3. C source</a></li>
|
||||||
<li><a href="#org9d51aa5">5.1.4. Performance…</a></li>
|
<li><a href="#org3a4dfe0">5.1.4. Performance…</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org9d1ed2f">6. Woodbury 3x3 and 2x2 with Sherman-Morrison and update splitting</a>
|
<li><a href="#org830b603">6. Woodbury 3x3 and 2x2 with Sherman-Morrison and update splitting</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgd845b05">6.1. <code>qmckl_sherman_morrison_smw32s</code></a>
|
<li><a href="#org81f3858">6.1. <code>qmckl_sherman_morrison_smw32s</code></a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org8987217">6.1.1. Requirements</a></li>
|
<li><a href="#orgd39aea4">6.1.1. Requirements</a></li>
|
||||||
<li><a href="#orgb0766ee">6.1.2. C header</a></li>
|
<li><a href="#org709a171">6.1.2. C header</a></li>
|
||||||
<li><a href="#orge8fc7b2">6.1.3. C source</a></li>
|
<li><a href="#org0bc37d7">6.1.3. C source</a></li>
|
||||||
<li><a href="#org3d79400">6.1.4. Performance…</a></li>
|
<li><a href="#org43b37cf">6.1.4. Performance…</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#orgc822638">7. Helper Functions</a>
|
<li><a href="#org79c8b9e">7. Helper Functions</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org731ebe6">7.1. <code>qmckl_slagel_splitting</code></a>
|
<li><a href="#orgce3354c">7.1. <code>qmckl_slagel_splitting</code></a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org7f3a6ac">7.1.1. Requirements</a></li>
|
<li><a href="#orgda07659">7.1.1. Requirements</a></li>
|
||||||
<li><a href="#orgd2e39cd">7.1.2. C header</a></li>
|
<li><a href="#org8e4b543">7.1.2. C header</a></li>
|
||||||
<li><a href="#orga734b56">7.1.3. C source</a></li>
|
<li><a href="#org4c203bf">7.1.3. C source</a></li>
|
||||||
<li><a href="#org01fddd7">7.1.4. Performance</a></li>
|
<li><a href="#org7ce8618">7.1.4. Performance</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#orgdaa64ac">8. End of files</a></li>
|
<li><a href="#orgbe9b580">8. End of files</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgf13353a" class="outline-2">
|
<div id="outline-container-orgef6f956" class="outline-2">
|
||||||
<h2 id="orgf13353a"><span class="section-number-2">1</span> Headers</h2>
|
<h2 id="orgef6f956"><span class="section-number-2">1</span> Headers</h2>
|
||||||
<div class="outline-text-2" id="text-1">
|
<div class="outline-text-2" id="text-1">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c"><span style="color: #483d8b;">#include</span> <span style="color: #8b2252;">"qmckl.h"</span>
|
<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>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org6456454" class="outline-2">
|
<div id="outline-container-org9e5f67f" class="outline-2">
|
||||||
<h2 id="org6456454"><span class="section-number-2">2</span> Naïve Sherman-Morrison</h2>
|
<h2 id="org9e5f67f"><span class="section-number-2">2</span> Naïve Sherman-Morrison</h2>
|
||||||
<div class="outline-text-2" id="text-2">
|
<div class="outline-text-2" id="text-2">
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-org941bf6b" class="outline-3">
|
<div id="outline-container-orgb477ca3" class="outline-3">
|
||||||
<h3 id="org941bf6b"><span class="section-number-3">2.1</span> <code>qmckl_sherman_morrison</code></h3>
|
<h3 id="orgb477ca3"><span class="section-number-3">2.1</span> <code>qmckl_sherman_morrison</code></h3>
|
||||||
<div class="outline-text-3" id="text-2-1">
|
<div class="outline-text-3" id="text-2-1">
|
||||||
<p>
|
<p>
|
||||||
This is the simplest of the available Sherman-Morrison-Woodbury kernels. It applies rank-1 updates one by one in
|
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.
|
from applying the updates to the original matrix.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<table id="org59b689f" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="orge1c6215" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -557,8 +557,8 @@ from applying the updates to the original matrix.
|
|||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orge570a12" class="outline-4">
|
<div id="outline-container-org1c77250" class="outline-4">
|
||||||
<h4 id="orge570a12"><span class="section-number-4">2.1.1</span> Requirements</h4>
|
<h4 id="org1c77250"><span class="section-number-4">2.1.1</span> Requirements</h4>
|
||||||
<div class="outline-text-4" id="text-2-1-1">
|
<div class="outline-text-4" id="text-2-1-1">
|
||||||
<ul class="org-ul">
|
<ul class="org-ul">
|
||||||
<li><code>context</code> is not <code>QMCKL_NULL_CONTEXT</code></li>
|
<li><code>context</code> is not <code>QMCKL_NULL_CONTEXT</code></li>
|
||||||
@ -573,8 +573,8 @@ from applying the updates to the original matrix.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org64b377b" class="outline-4">
|
<div id="outline-container-orgc02fbdf" class="outline-4">
|
||||||
<h4 id="org64b377b"><span class="section-number-4">2.1.2</span> C header</h4>
|
<h4 id="orgc02fbdf"><span class="section-number-4">2.1.2</span> C header</h4>
|
||||||
<div class="outline-text-4" id="text-2-1-2">
|
<div class="outline-text-4" id="text-2-1-2">
|
||||||
<div class="org-src-container">
|
<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> (
|
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_sherman_morrison</span> (
|
||||||
@ -592,8 +592,8 @@ from applying the updates to the original matrix.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org7f88967" class="outline-4">
|
<div id="outline-container-org878631d" class="outline-4">
|
||||||
<h4 id="org7f88967"><span class="section-number-4">2.1.3</span> C source</h4>
|
<h4 id="org878631d"><span class="section-number-4">2.1.3</span> C source</h4>
|
||||||
<div class="outline-text-4" id="text-2-1-3">
|
<div class="outline-text-4" id="text-2-1-3">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c"><span style="color: #483d8b;">#include</span> <span style="color: #8b2252;"><stdbool.h></span>
|
<pre class="src src-c"><span style="color: #483d8b;">#include</span> <span style="color: #8b2252;"><stdbool.h></span>
|
||||||
@ -663,8 +663,8 @@ from applying the updates to the original matrix.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org1c50f9a" class="outline-4">
|
<div id="outline-container-orgf76d533" class="outline-4">
|
||||||
<h4 id="org1c50f9a"><span class="section-number-4">2.1.4</span> Performance</h4>
|
<h4 id="orgf76d533"><span class="section-number-4">2.1.4</span> Performance</h4>
|
||||||
<div class="outline-text-4" id="text-2-1-4">
|
<div class="outline-text-4" id="text-2-1-4">
|
||||||
<p>
|
<p>
|
||||||
This function performs best when there is only 1 rank-1 update in the update cycle. It is not useful to
|
This function performs best when there is only 1 rank-1 update in the update cycle. It is not useful to
|
||||||
@ -676,12 +676,12 @@ where applying the update causes singular behaviour.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org6b774ca" class="outline-2">
|
<div id="outline-container-org217d2e1" class="outline-2">
|
||||||
<h2 id="org6b774ca"><span class="section-number-2">3</span> Woodbury 2x2</h2>
|
<h2 id="org217d2e1"><span class="section-number-2">3</span> Woodbury 2x2</h2>
|
||||||
<div class="outline-text-2" id="text-3">
|
<div class="outline-text-2" id="text-3">
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-org47d28d5" class="outline-3">
|
<div id="outline-container-org4570b9c" class="outline-3">
|
||||||
<h3 id="org47d28d5"><span class="section-number-3">3.1</span> <code>qmckl_woodbury_2</code></h3>
|
<h3 id="org4570b9c"><span class="section-number-3">3.1</span> <code>qmckl_woodbury_2</code></h3>
|
||||||
<div class="outline-text-3" id="text-3-1">
|
<div class="outline-text-3" id="text-3-1">
|
||||||
<p>
|
<p>
|
||||||
The Woodbury 2x2 kernel. It is used to apply two rank-1 updates at once. The formula used in
|
The Woodbury 2x2 kernel. It is used to apply two rank-1 updates at once. The formula used in
|
||||||
@ -705,7 +705,7 @@ from applying the updates to the original matrix.
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<table id="orgd85e3ee" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="orgb9d7b7a" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -777,8 +777,8 @@ from applying the updates to the original matrix.
|
|||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orge443746" class="outline-4">
|
<div id="outline-container-org93f6197" class="outline-4">
|
||||||
<h4 id="orge443746"><span class="section-number-4">3.1.1</span> Requirements</h4>
|
<h4 id="org93f6197"><span class="section-number-4">3.1.1</span> Requirements</h4>
|
||||||
<div class="outline-text-4" id="text-3-1-1">
|
<div class="outline-text-4" id="text-3-1-1">
|
||||||
<ul class="org-ul">
|
<ul class="org-ul">
|
||||||
<li><code>context</code> is not <code>qmckl_null_context</code></li>
|
<li><code>context</code> is not <code>qmckl_null_context</code></li>
|
||||||
@ -792,8 +792,8 @@ from applying the updates to the original matrix.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org3312c13" class="outline-4">
|
<div id="outline-container-org95fc524" class="outline-4">
|
||||||
<h4 id="org3312c13"><span class="section-number-4">3.1.2</span> C header</h4>
|
<h4 id="org95fc524"><span class="section-number-4">3.1.2</span> C header</h4>
|
||||||
<div class="outline-text-4" id="text-3-1-2">
|
<div class="outline-text-4" id="text-3-1-2">
|
||||||
<div class="org-src-container">
|
<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> (
|
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_woodbury_2</span> (
|
||||||
@ -810,8 +810,8 @@ from applying the updates to the original matrix.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgce0e8b9" class="outline-4">
|
<div id="outline-container-org4f9e5dc" class="outline-4">
|
||||||
<h4 id="orgce0e8b9"><span class="section-number-4">3.1.3</span> C source</h4>
|
<h4 id="org4f9e5dc"><span class="section-number-4">3.1.3</span> C source</h4>
|
||||||
<div class="outline-text-4" id="text-3-1-3">
|
<div class="outline-text-4" id="text-3-1-3">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c"><span style="color: #483d8b;">#include</span> <span style="color: #8b2252;"><stdbool.h></span>
|
<pre class="src src-c"><span style="color: #483d8b;">#include</span> <span style="color: #8b2252;"><stdbool.h></span>
|
||||||
@ -898,8 +898,8 @@ from applying the updates to the original matrix.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgc09afd0" class="outline-4">
|
<div id="outline-container-org8989269" class="outline-4">
|
||||||
<h4 id="orgc09afd0"><span class="section-number-4">3.1.4</span> Performance</h4>
|
<h4 id="org8989269"><span class="section-number-4">3.1.4</span> Performance</h4>
|
||||||
<div class="outline-text-4" id="text-3-1-4">
|
<div class="outline-text-4" id="text-3-1-4">
|
||||||
<p>
|
<p>
|
||||||
This function is most efficient when used in cases where there are only 2 rank-1 updates and
|
This function is most efficient when used in cases where there are only 2 rank-1 updates and
|
||||||
@ -910,12 +910,12 @@ it is sure they will not result in a singular matrix.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org386f4aa" class="outline-2">
|
<div id="outline-container-org434fd88" class="outline-2">
|
||||||
<h2 id="org386f4aa"><span class="section-number-2">4</span> Woodbury 3x3</h2>
|
<h2 id="org434fd88"><span class="section-number-2">4</span> Woodbury 3x3</h2>
|
||||||
<div class="outline-text-2" id="text-4">
|
<div class="outline-text-2" id="text-4">
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-org9c68cde" class="outline-3">
|
<div id="outline-container-org9d4233b" class="outline-3">
|
||||||
<h3 id="org9c68cde"><span class="section-number-3">4.1</span> <code>qmckl_woodbury_3</code></h3>
|
<h3 id="org9d4233b"><span class="section-number-3">4.1</span> <code>qmckl_woodbury_3</code></h3>
|
||||||
<div class="outline-text-3" id="text-4-1">
|
<div class="outline-text-3" id="text-4-1">
|
||||||
<p>
|
<p>
|
||||||
The 3x3 version of the Woodbury 2x2 kernel. It is used to apply three
|
The 3x3 version of the Woodbury 2x2 kernel. It is used to apply three
|
||||||
@ -936,7 +936,7 @@ from applying the updates to the original matrix.
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<table id="org3864aae" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org35fcc53" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -1008,8 +1008,8 @@ from applying the updates to the original matrix.
|
|||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org00c4a16" class="outline-4">
|
<div id="outline-container-org360727b" class="outline-4">
|
||||||
<h4 id="org00c4a16"><span class="section-number-4">4.1.1</span> Requirements</h4>
|
<h4 id="org360727b"><span class="section-number-4">4.1.1</span> Requirements</h4>
|
||||||
<div class="outline-text-4" id="text-4-1-1">
|
<div class="outline-text-4" id="text-4-1-1">
|
||||||
<ul class="org-ul">
|
<ul class="org-ul">
|
||||||
<li><code>context</code> is not <code>qmckl_null_context</code></li>
|
<li><code>context</code> is not <code>qmckl_null_context</code></li>
|
||||||
@ -1023,8 +1023,8 @@ from applying the updates to the original matrix.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org3a32dc8" class="outline-4">
|
<div id="outline-container-org887017e" class="outline-4">
|
||||||
<h4 id="org3a32dc8"><span class="section-number-4">4.1.2</span> C header</h4>
|
<h4 id="org887017e"><span class="section-number-4">4.1.2</span> C header</h4>
|
||||||
<div class="outline-text-4" id="text-4-1-2">
|
<div class="outline-text-4" id="text-4-1-2">
|
||||||
<div class="org-src-container">
|
<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> (
|
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_woodbury_3</span> (
|
||||||
@ -1041,8 +1041,8 @@ from applying the updates to the original matrix.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orga52cb7d" class="outline-4">
|
<div id="outline-container-org1fa222b" class="outline-4">
|
||||||
<h4 id="orga52cb7d"><span class="section-number-4">4.1.3</span> C source</h4>
|
<h4 id="org1fa222b"><span class="section-number-4">4.1.3</span> C source</h4>
|
||||||
<div class="outline-text-4" id="text-4-1-3">
|
<div class="outline-text-4" id="text-4-1-3">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c"><span style="color: #483d8b;">#include</span> <span style="color: #8b2252;"><stdbool.h></span>
|
<pre class="src src-c"><span style="color: #483d8b;">#include</span> <span style="color: #8b2252;"><stdbool.h></span>
|
||||||
@ -1144,8 +1144,8 @@ from applying the updates to the original matrix.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org4433429" class="outline-4">
|
<div id="outline-container-org377bb6f" class="outline-4">
|
||||||
<h4 id="org4433429"><span class="section-number-4">4.1.4</span> Performance…</h4>
|
<h4 id="org377bb6f"><span class="section-number-4">4.1.4</span> Performance…</h4>
|
||||||
<div class="outline-text-4" id="text-4-1-4">
|
<div class="outline-text-4" id="text-4-1-4">
|
||||||
<p>
|
<p>
|
||||||
This function is most efficient when used in cases where there are only 3 rank-1 updates and
|
This function is most efficient when used in cases where there are only 3 rank-1 updates and
|
||||||
@ -1156,12 +1156,12 @@ it is sure they will not result in a singular matrix.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgfedd6b2" class="outline-2">
|
<div id="outline-container-org12255cb" class="outline-2">
|
||||||
<h2 id="orgfedd6b2"><span class="section-number-2">5</span> Sherman-Morrison with update splitting</h2>
|
<h2 id="org12255cb"><span class="section-number-2">5</span> Sherman-Morrison with update splitting</h2>
|
||||||
<div class="outline-text-2" id="text-5">
|
<div class="outline-text-2" id="text-5">
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-orgb1c9f38" class="outline-3">
|
<div id="outline-container-org89c045f" class="outline-3">
|
||||||
<h3 id="orgb1c9f38"><span class="section-number-3">5.1</span> <code>qmckl_sherman_morrison_splitting</code></h3>
|
<h3 id="org89c045f"><span class="section-number-3">5.1</span> <code>qmckl_sherman_morrison_splitting</code></h3>
|
||||||
<div class="outline-text-3" id="text-5-1">
|
<div class="outline-text-3" id="text-5-1">
|
||||||
<p>
|
<p>
|
||||||
This is a variation on the 'Naive' Sherman-Morrison kernel. Whenever the denominator \(1+v_j^T S^{-1} u_j\) in
|
This is a variation on the 'Naive' Sherman-Morrison kernel. Whenever the denominator \(1+v_j^T S^{-1} u_j\) in
|
||||||
@ -1183,7 +1183,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.
|
from applying the updates to the original matrix.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<table id="orga11000d" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="orgb7aeacc" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -1267,8 +1267,8 @@ from applying the updates to the original matrix.
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div id="outline-container-orge8e8c08" class="outline-4">
|
<div id="outline-container-orgb22394f" class="outline-4">
|
||||||
<h4 id="orge8e8c08"><span class="section-number-4">5.1.1</span> Requirements</h4>
|
<h4 id="orgb22394f"><span class="section-number-4">5.1.1</span> Requirements</h4>
|
||||||
<div class="outline-text-4" id="text-5-1-1">
|
<div class="outline-text-4" id="text-5-1-1">
|
||||||
<ul class="org-ul">
|
<ul class="org-ul">
|
||||||
<li><code>context</code> is not <code>QMCKL_NULL_CONTEXT</code></li>
|
<li><code>context</code> is not <code>QMCKL_NULL_CONTEXT</code></li>
|
||||||
@ -1283,8 +1283,8 @@ from applying the updates to the original matrix.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org2f0c903" class="outline-4">
|
<div id="outline-container-org6aba29a" class="outline-4">
|
||||||
<h4 id="org2f0c903"><span class="section-number-4">5.1.2</span> C header</h4>
|
<h4 id="org6aba29a"><span class="section-number-4">5.1.2</span> C header</h4>
|
||||||
<div class="outline-text-4" id="text-5-1-2">
|
<div class="outline-text-4" id="text-5-1-2">
|
||||||
<div class="org-src-container">
|
<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> (
|
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_sherman_morrison_splitting</span> (
|
||||||
@ -1302,8 +1302,8 @@ from applying the updates to the original matrix.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgfa8c291" class="outline-4">
|
<div id="outline-container-orgbef9edc" class="outline-4">
|
||||||
<h4 id="orgfa8c291"><span class="section-number-4">5.1.3</span> C source</h4>
|
<h4 id="orgbef9edc"><span class="section-number-4">5.1.3</span> C source</h4>
|
||||||
<div class="outline-text-4" id="text-5-1-3">
|
<div class="outline-text-4" id="text-5-1-3">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c"><span style="color: #483d8b;">#include</span> <span style="color: #8b2252;"><stdbool.h></span>
|
<pre class="src src-c"><span style="color: #483d8b;">#include</span> <span style="color: #8b2252;"><stdbool.h></span>
|
||||||
@ -1343,8 +1343,8 @@ from applying the updates to the original matrix.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org9d51aa5" class="outline-4">
|
<div id="outline-container-org3a4dfe0" class="outline-4">
|
||||||
<h4 id="org9d51aa5"><span class="section-number-4">5.1.4</span> Performance…</h4>
|
<h4 id="org3a4dfe0"><span class="section-number-4">5.1.4</span> Performance…</h4>
|
||||||
<div class="outline-text-4" id="text-5-1-4">
|
<div class="outline-text-4" id="text-5-1-4">
|
||||||
<p>
|
<p>
|
||||||
This kernel performs best when there are 2 or more rank-1 update cycles and fail-rate is high.
|
This kernel performs best when there are 2 or more rank-1 update cycles and fail-rate is high.
|
||||||
@ -1354,12 +1354,12 @@ This kernel performs best when there are 2 or more rank-1 update cycles and fail
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org9d1ed2f" class="outline-2">
|
<div id="outline-container-org830b603" class="outline-2">
|
||||||
<h2 id="org9d1ed2f"><span class="section-number-2">6</span> Woodbury 3x3 and 2x2 with Sherman-Morrison and update splitting</h2>
|
<h2 id="org830b603"><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 class="outline-text-2" id="text-6">
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-orgd845b05" class="outline-3">
|
<div id="outline-container-org81f3858" class="outline-3">
|
||||||
<h3 id="orgd845b05"><span class="section-number-3">6.1</span> <code>qmckl_sherman_morrison_smw32s</code></h3>
|
<h3 id="org81f3858"><span class="section-number-3">6.1</span> <code>qmckl_sherman_morrison_smw32s</code></h3>
|
||||||
<div class="outline-text-3" id="text-6-1">
|
<div class="outline-text-3" id="text-6-1">
|
||||||
<p>
|
<p>
|
||||||
The Woodbury 3x3 and 2x2 kernel with Sherman-Morrison and update splitting combines the low-level Woodbury 3x3 kernel,
|
The Woodbury 3x3 and 2x2 kernel with Sherman-Morrison and update splitting combines the low-level Woodbury 3x3 kernel,
|
||||||
@ -1374,7 +1374,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.
|
from applying the updates to the original matrix.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<table id="org11763af" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org01a927a" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -1454,8 +1454,8 @@ from applying the updates to the original matrix.
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div id="outline-container-org8987217" class="outline-4">
|
<div id="outline-container-orgd39aea4" class="outline-4">
|
||||||
<h4 id="org8987217"><span class="section-number-4">6.1.1</span> Requirements</h4>
|
<h4 id="orgd39aea4"><span class="section-number-4">6.1.1</span> Requirements</h4>
|
||||||
<div class="outline-text-4" id="text-6-1-1">
|
<div class="outline-text-4" id="text-6-1-1">
|
||||||
<ul class="org-ul">
|
<ul class="org-ul">
|
||||||
<li><code>context</code> is not <code>QMCKL_NULL_CONTEXT</code></li>
|
<li><code>context</code> is not <code>QMCKL_NULL_CONTEXT</code></li>
|
||||||
@ -1470,8 +1470,8 @@ from applying the updates to the original matrix.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgb0766ee" class="outline-4">
|
<div id="outline-container-org709a171" class="outline-4">
|
||||||
<h4 id="orgb0766ee"><span class="section-number-4">6.1.2</span> C header</h4>
|
<h4 id="org709a171"><span class="section-number-4">6.1.2</span> C header</h4>
|
||||||
<div class="outline-text-4" id="text-6-1-2">
|
<div class="outline-text-4" id="text-6-1-2">
|
||||||
<div class="org-src-container">
|
<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> (
|
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_sherman_morrison_smw32s</span> (
|
||||||
@ -1489,8 +1489,8 @@ from applying the updates to the original matrix.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orge8fc7b2" class="outline-4">
|
<div id="outline-container-org0bc37d7" class="outline-4">
|
||||||
<h4 id="orge8fc7b2"><span class="section-number-4">6.1.3</span> C source</h4>
|
<h4 id="org0bc37d7"><span class="section-number-4">6.1.3</span> C source</h4>
|
||||||
<div class="outline-text-4" id="text-6-1-3">
|
<div class="outline-text-4" id="text-6-1-3">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c"><span style="color: #483d8b;">#include</span> <span style="color: #8b2252;"><stdbool.h></span>
|
<pre class="src src-c"><span style="color: #483d8b;">#include</span> <span style="color: #8b2252;"><stdbool.h></span>
|
||||||
@ -1568,8 +1568,8 @@ from applying the updates to the original matrix.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org3d79400" class="outline-4">
|
<div id="outline-container-org43b37cf" class="outline-4">
|
||||||
<h4 id="org3d79400"><span class="section-number-4">6.1.4</span> Performance…</h4>
|
<h4 id="org43b37cf"><span class="section-number-4">6.1.4</span> Performance…</h4>
|
||||||
<div class="outline-text-4" id="text-6-1-4">
|
<div class="outline-text-4" id="text-6-1-4">
|
||||||
<p>
|
<p>
|
||||||
This kernel performs best for update cycles with 2 or more rank-1 updates and the fail-rate is low.
|
This kernel performs best for update cycles with 2 or more rank-1 updates and the fail-rate is low.
|
||||||
@ -1579,8 +1579,8 @@ This kernel performs best for update cycles with 2 or more rank-1 updates and th
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgc822638" class="outline-2">
|
<div id="outline-container-org79c8b9e" class="outline-2">
|
||||||
<h2 id="orgc822638"><span class="section-number-2">7</span> Helper Functions</h2>
|
<h2 id="org79c8b9e"><span class="section-number-2">7</span> Helper Functions</h2>
|
||||||
<div class="outline-text-2" id="text-7">
|
<div class="outline-text-2" id="text-7">
|
||||||
<p>
|
<p>
|
||||||
Private helper-functions that are used by the Sherman-Morrison-Woodbury kernels.
|
Private helper-functions that are used by the Sherman-Morrison-Woodbury kernels.
|
||||||
@ -1588,8 +1588,8 @@ These functions can only be used internally by the kernels in this module.
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org731ebe6" class="outline-3">
|
<div id="outline-container-orgce3354c" class="outline-3">
|
||||||
<h3 id="org731ebe6"><span class="section-number-3">7.1</span> <code>qmckl_slagel_splitting</code></h3>
|
<h3 id="orgce3354c"><span class="section-number-3">7.1</span> <code>qmckl_slagel_splitting</code></h3>
|
||||||
<div class="outline-text-3" id="text-7-1">
|
<div class="outline-text-3" id="text-7-1">
|
||||||
<p>
|
<p>
|
||||||
<code>qmckl_slagel_splitting</code> is the non-recursive, inner part of the 'Sherman-Morrison with update splitting'-kernel.
|
<code>qmckl_slagel_splitting</code> is the non-recursive, inner part of the 'Sherman-Morrison with update splitting'-kernel.
|
||||||
@ -1609,7 +1609,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.
|
from applying the updates to the original matrix.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<table id="orgd11f9fd" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org01be5c4" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -1703,8 +1703,8 @@ from applying the updates to the original matrix.
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div id="outline-container-org7f3a6ac" class="outline-4">
|
<div id="outline-container-orgda07659" class="outline-4">
|
||||||
<h4 id="org7f3a6ac"><span class="section-number-4">7.1.1</span> Requirements</h4>
|
<h4 id="orgda07659"><span class="section-number-4">7.1.1</span> Requirements</h4>
|
||||||
<div class="outline-text-4" id="text-7-1-1">
|
<div class="outline-text-4" id="text-7-1-1">
|
||||||
<ul class="org-ul">
|
<ul class="org-ul">
|
||||||
<li><code>LDS >= 2</code></li>
|
<li><code>LDS >= 2</code></li>
|
||||||
@ -1721,8 +1721,8 @@ from applying the updates to the original matrix.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgd2e39cd" class="outline-4">
|
<div id="outline-container-org8e4b543" class="outline-4">
|
||||||
<h4 id="orgd2e39cd"><span class="section-number-4">7.1.2</span> C header</h4>
|
<h4 id="org8e4b543"><span class="section-number-4">7.1.2</span> C header</h4>
|
||||||
<div class="outline-text-4" id="text-7-1-2">
|
<div class="outline-text-4" id="text-7-1-2">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c"><span style="color: #228b22;">double</span> <span style="color: #0000ff;">qmckl_slagel_splitting</span> (
|
<pre class="src src-c"><span style="color: #228b22;">double</span> <span style="color: #0000ff;">qmckl_slagel_splitting</span> (
|
||||||
@ -1742,8 +1742,8 @@ from applying the updates to the original matrix.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orga734b56" class="outline-4">
|
<div id="outline-container-org4c203bf" class="outline-4">
|
||||||
<h4 id="orga734b56"><span class="section-number-4">7.1.3</span> C source</h4>
|
<h4 id="org4c203bf"><span class="section-number-4">7.1.3</span> C source</h4>
|
||||||
<div class="outline-text-4" id="text-7-1-3">
|
<div class="outline-text-4" id="text-7-1-3">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c"><span style="color: #483d8b;">#include</span> <span style="color: #8b2252;"><stdbool.h></span>
|
<pre class="src src-c"><span style="color: #483d8b;">#include</span> <span style="color: #8b2252;"><stdbool.h></span>
|
||||||
@ -1821,8 +1821,8 @@ from applying the updates to the original matrix.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org01fddd7" class="outline-4">
|
<div id="outline-container-org7ce8618" class="outline-4">
|
||||||
<h4 id="org01fddd7"><span class="section-number-4">7.1.4</span> Performance</h4>
|
<h4 id="org7ce8618"><span class="section-number-4">7.1.4</span> Performance</h4>
|
||||||
<div class="outline-text-4" id="text-7-1-4">
|
<div class="outline-text-4" id="text-7-1-4">
|
||||||
<p>
|
<p>
|
||||||
This function cannot be used by itself and is used in Sherman-Morrison with update splitting and Woodbury 3x3 and 2x2
|
This function cannot be used by itself and is used in Sherman-Morrison with update splitting and Woodbury 3x3 and 2x2
|
||||||
@ -1833,8 +1833,8 @@ with Sherman-Morrison and update splitting. Please look at the performance recco
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgdaa64ac" class="outline-2">
|
<div id="outline-container-orgbe9b580" class="outline-2">
|
||||||
<h2 id="orgdaa64ac"><span class="section-number-2">8</span> End of files</h2>
|
<h2 id="orgbe9b580"><span class="section-number-2">8</span> End of files</h2>
|
||||||
<div class="outline-text-2" id="text-8">
|
<div class="outline-text-2" id="text-8">
|
||||||
<div class="org-src-container">
|
<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);
|
<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);
|
||||||
@ -1848,7 +1848,7 @@ with Sherman-Morrison and update splitting. Please look at the performance recco
|
|||||||
</div>
|
</div>
|
||||||
<div id="postamble" class="status">
|
<div id="postamble" class="status">
|
||||||
<p class="author">Author: TREX CoE</p>
|
<p class="author">Author: TREX CoE</p>
|
||||||
<p class="date">Created: 2022-08-23 Tue 06:40</p>
|
<p class="date">Created: 2022-08-31 Wed 14:46</p>
|
||||||
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||||
<head>
|
<head>
|
||||||
<!-- 2022-08-23 Tue 06:40 -->
|
<!-- 2022-08-31 Wed 14:47 -->
|
||||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<title>Data for Tests</title>
|
<title>Data for Tests</title>
|
||||||
@ -233,27 +233,27 @@ for the JavaScript code in this tag.
|
|||||||
<h2>Table of Contents</h2>
|
<h2>Table of Contents</h2>
|
||||||
<div id="text-table-of-contents">
|
<div id="text-table-of-contents">
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org669d40f">1. CHBrClF</a>
|
<li><a href="#org01469e0">1. CHBrClF</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgf7eafb1">1.1. XYZ coordinates</a></li>
|
<li><a href="#org4899c81">1.1. XYZ coordinates</a></li>
|
||||||
<li><a href="#org9ca11f6">1.2. Atomic basis set</a></li>
|
<li><a href="#org2d593c6">1.2. Atomic basis set</a></li>
|
||||||
<li><a href="#org699ec52">1.3. Molecular orbitals</a></li>
|
<li><a href="#org06d6e3c">1.3. Molecular orbitals</a></li>
|
||||||
<li><a href="#org74c7f8a">1.4. Electron coordinates</a></li>
|
<li><a href="#org9bec25e">1.4. Electron coordinates</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org5a77599">2. N2</a>
|
<li><a href="#org2b82df8">2. N2</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org063a359">2.1. XYZ coordinates</a></li>
|
<li><a href="#org6aeca8f">2.1. XYZ coordinates</a></li>
|
||||||
<li><a href="#org270c437">2.2. Electron coordinates</a></li>
|
<li><a href="#orge237305">2.2. Electron coordinates</a></li>
|
||||||
<li><a href="#org279f24d">2.3. Jastrow related data</a></li>
|
<li><a href="#org23af16d">2.3. Jastrow related data</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org669d40f" class="outline-2">
|
<div id="outline-container-org01469e0" class="outline-2">
|
||||||
<h2 id="org669d40f"><span class="section-number-2">1</span> CHBrClF</h2>
|
<h2 id="org01469e0"><span class="section-number-2">1</span> CHBrClF</h2>
|
||||||
<div class="outline-text-2" id="text-1">
|
<div class="outline-text-2" id="text-1">
|
||||||
<p>
|
<p>
|
||||||
This test is the all-electron Hartree-Fock wave function of CHClBr,
|
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>
|
||||||
|
|
||||||
|
|
||||||
<div id="outline-container-orgf7eafb1" class="outline-3">
|
<div id="outline-container-org4899c81" class="outline-3">
|
||||||
<h3 id="orgf7eafb1"><span class="section-number-3">1.1</span> XYZ coordinates</h3>
|
<h3 id="org4899c81"><span class="section-number-3">1.1</span> XYZ coordinates</h3>
|
||||||
<div class="outline-text-3" id="text-1-1">
|
<div class="outline-text-3" id="text-1-1">
|
||||||
<pre class="example">
|
<pre class="example">
|
||||||
5
|
5
|
||||||
@ -368,8 +368,8 @@ Nuclear coordinates are stored in atomic units in transposed format.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org9ca11f6" class="outline-3">
|
<div id="outline-container-org2d593c6" class="outline-3">
|
||||||
<h3 id="org9ca11f6"><span class="section-number-3">1.2</span> Atomic basis set</h3>
|
<h3 id="org2d593c6"><span class="section-number-3">1.2</span> Atomic basis set</h3>
|
||||||
<div class="outline-text-3" id="text-1-2">
|
<div class="outline-text-3" id="text-1-2">
|
||||||
<pre class="example">
|
<pre class="example">
|
||||||
HYDROGEN
|
HYDROGEN
|
||||||
@ -1288,8 +1288,8 @@ F 1
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org699ec52" class="outline-3">
|
<div id="outline-container-org06d6e3c" class="outline-3">
|
||||||
<h3 id="org699ec52"><span class="section-number-3">1.3</span> Molecular orbitals</h3>
|
<h3 id="org06d6e3c"><span class="section-number-3">1.3</span> Molecular orbitals</h3>
|
||||||
<div class="outline-text-3" id="text-1-3">
|
<div class="outline-text-3" id="text-1-3">
|
||||||
<div class="org-src-container">
|
<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)
|
<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>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org74c7f8a" class="outline-3">
|
<div id="outline-container-org9bec25e" class="outline-3">
|
||||||
<h3 id="org74c7f8a"><span class="section-number-3">1.4</span> Electron coordinates</h3>
|
<h3 id="org9bec25e"><span class="section-number-3">1.4</span> Electron coordinates</h3>
|
||||||
<div class="outline-text-3" id="text-1-4">
|
<div class="outline-text-3" id="text-1-4">
|
||||||
<p>
|
<p>
|
||||||
Electron coordinates are stored in atomic units in normal format.
|
Electron coordinates are stored in atomic units in normal format.
|
||||||
@ -60373,8 +60373,8 @@ Electron coordinates are stored in atomic units in normal format.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org5a77599" class="outline-2">
|
<div id="outline-container-org2b82df8" class="outline-2">
|
||||||
<h2 id="org5a77599"><span class="section-number-2">2</span> N2</h2>
|
<h2 id="org2b82df8"><span class="section-number-2">2</span> N2</h2>
|
||||||
<div class="outline-text-2" id="text-2">
|
<div class="outline-text-2" id="text-2">
|
||||||
<p>
|
<p>
|
||||||
This test is mainly for the Jastrow factor and was supplied by
|
This test is mainly for the Jastrow factor and was supplied by
|
||||||
@ -60415,8 +60415,8 @@ treated by pseudopotentials thus excluded from the actual calculation.
|
|||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org063a359" class="outline-3">
|
<div id="outline-container-org6aeca8f" class="outline-3">
|
||||||
<h3 id="org063a359"><span class="section-number-3">2.1</span> XYZ coordinates</h3>
|
<h3 id="org6aeca8f"><span class="section-number-3">2.1</span> XYZ coordinates</h3>
|
||||||
<div class="outline-text-3" id="text-2-1">
|
<div class="outline-text-3" id="text-2-1">
|
||||||
<pre class="example">
|
<pre class="example">
|
||||||
2
|
2
|
||||||
@ -60443,8 +60443,8 @@ Nuclear coordinates are stored in atomic units in transposed format.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org270c437" class="outline-3">
|
<div id="outline-container-orge237305" class="outline-3">
|
||||||
<h3 id="org270c437"><span class="section-number-3">2.2</span> Electron coordinates</h3>
|
<h3 id="orge237305"><span class="section-number-3">2.2</span> Electron coordinates</h3>
|
||||||
<div class="outline-text-3" id="text-2-2">
|
<div class="outline-text-3" id="text-2-2">
|
||||||
<p>
|
<p>
|
||||||
Electron coordinates are stored in atomic units in normal format.
|
Electron coordinates are stored in atomic units in normal format.
|
||||||
@ -60473,8 +60473,8 @@ Electron coordinates are stored in atomic units in normal format.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org279f24d" class="outline-3">
|
<div id="outline-container-org23af16d" class="outline-3">
|
||||||
<h3 id="org279f24d"><span class="section-number-3">2.3</span> Jastrow related data</h3>
|
<h3 id="org23af16d"><span class="section-number-3">2.3</span> Jastrow related data</h3>
|
||||||
<div class="outline-text-3" id="text-2-3">
|
<div class="outline-text-3" id="text-2-3">
|
||||||
<p>
|
<p>
|
||||||
This test is mainly for the Jastrow factor and was supplied by
|
This test is mainly for the Jastrow factor and was supplied by
|
||||||
@ -60573,7 +60573,7 @@ Ramon Panades Baruetta.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="postamble" class="status">
|
<div id="postamble" class="status">
|
||||||
<p class="date">Created: 2022-08-23 Tue 06:40</p>
|
<p class="date">Created: 2022-08-31 Wed 14:47</p>
|
||||||
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||||
<head>
|
<head>
|
||||||
<!-- 2022-08-23 Tue 06:40 -->
|
<!-- 2022-08-31 Wed 14:46 -->
|
||||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<title>TREXIO I/O library</title>
|
<title>TREXIO I/O library</title>
|
||||||
@ -311,53 +311,53 @@ for the JavaScript code in this tag.
|
|||||||
<h2>Table of Contents</h2>
|
<h2>Table of Contents</h2>
|
||||||
<div id="text-table-of-contents">
|
<div id="text-table-of-contents">
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org27e2931">1. Local functions</a>
|
<li><a href="#org97a0030">1. Local functions</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org98af290">1.1. Open file</a></li>
|
<li><a href="#orgcb2b65c">1.1. Open file</a></li>
|
||||||
<li><a href="#orge38bec4">1.2. Electron</a></li>
|
<li><a href="#orgbf05ea7">1.2. Electron</a></li>
|
||||||
<li><a href="#org2071ffd">1.3. Nucleus</a>
|
<li><a href="#org369771d">1.3. Nucleus</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org7e522d3">1.3.1. Number of nuclei</a></li>
|
<li><a href="#org96c6b35">1.3.1. Number of nuclei</a></li>
|
||||||
<li><a href="#orgda29fb2">1.3.2. Nuclear charges</a></li>
|
<li><a href="#org70af914">1.3.2. Nuclear charges</a></li>
|
||||||
<li><a href="#org252758f">1.3.3. Nuclear coordinates</a></li>
|
<li><a href="#org85a7e5d">1.3.3. Nuclear coordinates</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org38f938a">1.4. Basis set and AOs</a>
|
<li><a href="#org137c902">1.4. Basis set and AOs</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgb61db4d">1.4.1. Basis set type</a></li>
|
<li><a href="#org44cde9a">1.4.1. Basis set type</a></li>
|
||||||
<li><a href="#orga395dec">1.4.2. Number of shells</a></li>
|
<li><a href="#orga268e7d">1.4.2. Number of shells</a></li>
|
||||||
<li><a href="#org16502ce">1.4.3. Number of primitives</a></li>
|
<li><a href="#org481d3d4">1.4.3. Number of primitives</a></li>
|
||||||
<li><a href="#org176edfe">1.4.4. Number of atomic orbitals</a></li>
|
<li><a href="#org4e42b6e">1.4.4. Number of atomic orbitals</a></li>
|
||||||
<li><a href="#org50eeb8c">1.4.5. Nucleus<sub>index</sub> array</a></li>
|
<li><a href="#orgad188be">1.4.5. Nucleus<sub>index</sub> array</a></li>
|
||||||
<li><a href="#orgbc05b71">1.4.6. Number of shells per nucleus</a></li>
|
<li><a href="#orgbab07eb">1.4.6. Number of shells per nucleus</a></li>
|
||||||
<li><a href="#org8627781">1.4.7. Angular momentum</a></li>
|
<li><a href="#org0b0ab01">1.4.7. Angular momentum</a></li>
|
||||||
<li><a href="#orgdf86fc8">1.4.8. Number of primitives per shell</a></li>
|
<li><a href="#org90b2e47">1.4.8. Number of primitives per shell</a></li>
|
||||||
<li><a href="#org7dde624">1.4.9. Indices of the primitives</a></li>
|
<li><a href="#orgfa86dba">1.4.9. Indices of the primitives</a></li>
|
||||||
<li><a href="#orge8ebc3c">1.4.10. Normalization of the shells</a></li>
|
<li><a href="#org68facd5">1.4.10. Normalization of the shells</a></li>
|
||||||
<li><a href="#org2195b66">1.4.11. Exponents</a></li>
|
<li><a href="#orgb1d071e">1.4.11. Exponents</a></li>
|
||||||
<li><a href="#orgf0ede81">1.4.12. Coefficients</a></li>
|
<li><a href="#org3a25f57">1.4.12. Coefficients</a></li>
|
||||||
<li><a href="#org0b8c1bc">1.4.13. Normalization of the primitivies</a></li>
|
<li><a href="#org7d1573c">1.4.13. Normalization of the primitivies</a></li>
|
||||||
<li><a href="#orgad902cb">1.4.14. AO Normalization</a></li>
|
<li><a href="#org28ad8fa">1.4.14. AO Normalization</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org23d4169">1.5. Molecular orbitals</a>
|
<li><a href="#org35724ab">1.5. Molecular orbitals</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgaca6784">1.5.1. Number of MOs</a></li>
|
<li><a href="#org6372278">1.5.1. Number of MOs</a></li>
|
||||||
<li><a href="#orga630063">1.5.2. MO coefficients</a></li>
|
<li><a href="#org6ad67c0">1.5.2. MO coefficients</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org8b9c0a0">1.6. <span class="todo TODO">TODO</span> ECP</a></li>
|
<li><a href="#org21a88eb">1.6. <span class="todo TODO">TODO</span> ECP</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org0ee85e1">2. Read everything</a></li>
|
<li><a href="#orgf62a06a">2. Read everything</a></li>
|
||||||
<li><a href="#orge197ec4">3. Test</a>
|
<li><a href="#orgd4f3c4c">3. Test</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<li>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org0defdfd">3.0.1. Electrons</a></li>
|
<li><a href="#org3eb87f2">3.0.1. Electrons</a></li>
|
||||||
<li><a href="#orgb4a9017">3.0.2. Nuclei</a></li>
|
<li><a href="#org247db63">3.0.2. Nuclei</a></li>
|
||||||
<li><a href="#org3b976e1">3.0.3. Atomic basis</a></li>
|
<li><a href="#orgd5eb4ad">3.0.3. Atomic basis</a></li>
|
||||||
<li><a href="#orga755bae">3.0.4. MO Basis</a></li>
|
<li><a href="#orga6bbd4e">3.0.4. MO Basis</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
@ -366,8 +366,8 @@ for the JavaScript code in this tag.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org27e2931" class="outline-2">
|
<div id="outline-container-org97a0030" class="outline-2">
|
||||||
<h2 id="org27e2931"><span class="section-number-2">1</span> Local functions</h2>
|
<h2 id="org97a0030"><span class="section-number-2">1</span> Local functions</h2>
|
||||||
<div class="outline-text-2" id="text-1">
|
<div class="outline-text-2" id="text-1">
|
||||||
<p>
|
<p>
|
||||||
Functions defined in this section are all local: they should not be
|
Functions defined in this section are all local: they should not be
|
||||||
@ -390,8 +390,8 @@ In the functions defined in this section, we use as local variables
|
|||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org98af290" class="outline-3">
|
<div id="outline-container-orgcb2b65c" class="outline-3">
|
||||||
<h3 id="org98af290"><span class="section-number-3">1.1</span> Open file</h3>
|
<h3 id="orgcb2b65c"><span class="section-number-3">1.1</span> Open file</h3>
|
||||||
<div class="outline-text-3" id="text-1-1">
|
<div class="outline-text-3" id="text-1-1">
|
||||||
<p>
|
<p>
|
||||||
We first define a helper function to open a file by first trying to
|
We first define a helper function to open a file by first trying to
|
||||||
@ -423,8 +423,8 @@ groups of data by passing the <code>trexio_t</code> handle.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orge38bec4" class="outline-3">
|
<div id="outline-container-orgbf05ea7" class="outline-3">
|
||||||
<h3 id="orge38bec4"><span class="section-number-3">1.2</span> Electron</h3>
|
<h3 id="orgbf05ea7"><span class="section-number-3">1.2</span> Electron</h3>
|
||||||
<div class="outline-text-3" id="text-1-2">
|
<div class="outline-text-3" id="text-1-2">
|
||||||
<p>
|
<p>
|
||||||
In this section we read all the data into the electron data structure.
|
In this section we read all the data into the electron data structure.
|
||||||
@ -475,8 +475,8 @@ We read the number of up-spin and down-spin electrons.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org2071ffd" class="outline-3">
|
<div id="outline-container-org369771d" class="outline-3">
|
||||||
<h3 id="org2071ffd"><span class="section-number-3">1.3</span> Nucleus</h3>
|
<h3 id="org369771d"><span class="section-number-3">1.3</span> Nucleus</h3>
|
||||||
<div class="outline-text-3" id="text-1-3">
|
<div class="outline-text-3" id="text-1-3">
|
||||||
<p>
|
<p>
|
||||||
In this section we read the number of nuclei, the molecular geometry and nuclear charges.
|
In this section we read the number of nuclei, the molecular geometry and nuclear charges.
|
||||||
@ -496,8 +496,8 @@ In this section we read the number of nuclei, the molecular geometry and nuclear
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org7e522d3" class="outline-4">
|
<div id="outline-container-org96c6b35" class="outline-4">
|
||||||
<h4 id="org7e522d3"><span class="section-number-4">1.3.1</span> Number of nuclei</h4>
|
<h4 id="org96c6b35"><span class="section-number-4">1.3.1</span> Number of nuclei</h4>
|
||||||
<div class="outline-text-4" id="text-1-3-1">
|
<div class="outline-text-4" id="text-1-3-1">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c"><span style="color: #228b22;">int64_t</span> <span style="color: #a0522d;">nucleus_num</span> = 0L;
|
<pre class="src src-c"><span style="color: #228b22;">int64_t</span> <span style="color: #a0522d;">nucleus_num</span> = 0L;
|
||||||
@ -520,8 +520,8 @@ rc = qmckl_set_nucleus_num(context, nucleus_num);
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgda29fb2" class="outline-4">
|
<div id="outline-container-org70af914" class="outline-4">
|
||||||
<h4 id="orgda29fb2"><span class="section-number-4">1.3.2</span> Nuclear charges</h4>
|
<h4 id="org70af914"><span class="section-number-4">1.3.2</span> Nuclear charges</h4>
|
||||||
<div class="outline-text-4" id="text-1-3-2">
|
<div class="outline-text-4" id="text-1-3-2">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c">{
|
<pre class="src src-c">{
|
||||||
@ -561,8 +561,8 @@ rc = qmckl_set_nucleus_num(context, nucleus_num);
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org252758f" class="outline-4">
|
<div id="outline-container-org85a7e5d" class="outline-4">
|
||||||
<h4 id="org252758f"><span class="section-number-4">1.3.3</span> Nuclear coordinates</h4>
|
<h4 id="org85a7e5d"><span class="section-number-4">1.3.3</span> Nuclear coordinates</h4>
|
||||||
<div class="outline-text-4" id="text-1-3-3">
|
<div class="outline-text-4" id="text-1-3-3">
|
||||||
<p>
|
<p>
|
||||||
Now, we read the molecular geometry. It is stored in normal format
|
Now, we read the molecular geometry. It is stored in normal format
|
||||||
@ -617,8 +617,8 @@ in the TREXIO file (<code>'N'</code>), so it will be automatically transposed in
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org38f938a" class="outline-3">
|
<div id="outline-container-org137c902" class="outline-3">
|
||||||
<h3 id="org38f938a"><span class="section-number-3">1.4</span> Basis set and AOs</h3>
|
<h3 id="org137c902"><span class="section-number-3">1.4</span> Basis set and AOs</h3>
|
||||||
<div class="outline-text-3" id="text-1-4">
|
<div class="outline-text-3" id="text-1-4">
|
||||||
<p>
|
<p>
|
||||||
In this section we read the atomic basis set and atomic orbitals.
|
In this section we read the atomic basis set and atomic orbitals.
|
||||||
@ -644,8 +644,8 @@ In this section we read the atomic basis set and atomic orbitals.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgb61db4d" class="outline-4">
|
<div id="outline-container-org44cde9a" class="outline-4">
|
||||||
<h4 id="orgb61db4d"><span class="section-number-4">1.4.1</span> Basis set type</h4>
|
<h4 id="org44cde9a"><span class="section-number-4">1.4.1</span> Basis set type</h4>
|
||||||
<div class="outline-text-4" id="text-1-4-1">
|
<div class="outline-text-4" id="text-1-4-1">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c"><span style="color: #483d8b;">#define</span> <span style="color: #a0522d;">MAX_STR_LEN</span> 1024
|
<pre class="src src-c"><span style="color: #483d8b;">#define</span> <span style="color: #a0522d;">MAX_STR_LEN</span> 1024
|
||||||
@ -676,8 +676,8 @@ In this section we read the atomic basis set and atomic orbitals.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orga395dec" class="outline-4">
|
<div id="outline-container-orga268e7d" class="outline-4">
|
||||||
<h4 id="orga395dec"><span class="section-number-4">1.4.2</span> Number of shells</h4>
|
<h4 id="orga268e7d"><span class="section-number-4">1.4.2</span> Number of shells</h4>
|
||||||
<div class="outline-text-4" id="text-1-4-2">
|
<div class="outline-text-4" id="text-1-4-2">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c"><span style="color: #228b22;">int64_t</span> <span style="color: #a0522d;">shell_num</span> = 0L;
|
<pre class="src src-c"><span style="color: #228b22;">int64_t</span> <span style="color: #a0522d;">shell_num</span> = 0L;
|
||||||
@ -701,8 +701,8 @@ rc = qmckl_set_ao_basis_shell_num(context, shell_num);
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org16502ce" class="outline-4">
|
<div id="outline-container-org481d3d4" class="outline-4">
|
||||||
<h4 id="org16502ce"><span class="section-number-4">1.4.3</span> Number of primitives</h4>
|
<h4 id="org481d3d4"><span class="section-number-4">1.4.3</span> Number of primitives</h4>
|
||||||
<div class="outline-text-4" id="text-1-4-3">
|
<div class="outline-text-4" id="text-1-4-3">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c"><span style="color: #228b22;">int64_t</span> <span style="color: #a0522d;">prim_num</span> = 0L;
|
<pre class="src src-c"><span style="color: #228b22;">int64_t</span> <span style="color: #a0522d;">prim_num</span> = 0L;
|
||||||
@ -726,8 +726,8 @@ rc = qmckl_set_ao_basis_prim_num(context, prim_num);
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org176edfe" class="outline-4">
|
<div id="outline-container-org4e42b6e" class="outline-4">
|
||||||
<h4 id="org176edfe"><span class="section-number-4">1.4.4</span> Number of atomic orbitals</h4>
|
<h4 id="org4e42b6e"><span class="section-number-4">1.4.4</span> Number of atomic orbitals</h4>
|
||||||
<div class="outline-text-4" id="text-1-4-4">
|
<div class="outline-text-4" id="text-1-4-4">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c"><span style="color: #228b22;">int64_t</span> <span style="color: #a0522d;">ao_num</span> = 0LL;
|
<pre class="src src-c"><span style="color: #228b22;">int64_t</span> <span style="color: #a0522d;">ao_num</span> = 0LL;
|
||||||
@ -751,8 +751,8 @@ rc = qmckl_set_ao_basis_ao_num(context, ao_num);
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org50eeb8c" class="outline-4">
|
<div id="outline-container-orgad188be" class="outline-4">
|
||||||
<h4 id="org50eeb8c"><span class="section-number-4">1.4.5</span> Nucleus<sub>index</sub> array</h4>
|
<h4 id="orgad188be"><span class="section-number-4">1.4.5</span> Nucleus<sub>index</sub> array</h4>
|
||||||
<div class="outline-text-4" id="text-1-4-5">
|
<div class="outline-text-4" id="text-1-4-5">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c">{
|
<pre class="src src-c">{
|
||||||
@ -832,8 +832,8 @@ rc = qmckl_set_ao_basis_ao_num(context, ao_num);
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgbc05b71" class="outline-4">
|
<div id="outline-container-orgbab07eb" class="outline-4">
|
||||||
<h4 id="orgbc05b71"><span class="section-number-4">1.4.6</span> Number of shells per nucleus</h4>
|
<h4 id="orgbab07eb"><span class="section-number-4">1.4.6</span> Number of shells per nucleus</h4>
|
||||||
<div class="outline-text-4" id="text-1-4-6">
|
<div class="outline-text-4" id="text-1-4-6">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c">{
|
<pre class="src src-c">{
|
||||||
@ -918,8 +918,8 @@ rc = qmckl_set_ao_basis_ao_num(context, ao_num);
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org8627781" class="outline-4">
|
<div id="outline-container-org0b0ab01" class="outline-4">
|
||||||
<h4 id="org8627781"><span class="section-number-4">1.4.7</span> Angular momentum</h4>
|
<h4 id="org0b0ab01"><span class="section-number-4">1.4.7</span> Angular momentum</h4>
|
||||||
<div class="outline-text-4" id="text-1-4-7">
|
<div class="outline-text-4" id="text-1-4-7">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c">{
|
<pre class="src src-c">{
|
||||||
@ -964,8 +964,8 @@ rc = qmckl_set_ao_basis_ao_num(context, ao_num);
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgdf86fc8" class="outline-4">
|
<div id="outline-container-org90b2e47" class="outline-4">
|
||||||
<h4 id="orgdf86fc8"><span class="section-number-4">1.4.8</span> Number of primitives per shell</h4>
|
<h4 id="org90b2e47"><span class="section-number-4">1.4.8</span> Number of primitives per shell</h4>
|
||||||
<div class="outline-text-4" id="text-1-4-8">
|
<div class="outline-text-4" id="text-1-4-8">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c">{
|
<pre class="src src-c">{
|
||||||
@ -1049,8 +1049,8 @@ rc = qmckl_set_ao_basis_ao_num(context, ao_num);
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org7dde624" class="outline-4">
|
<div id="outline-container-orgfa86dba" class="outline-4">
|
||||||
<h4 id="org7dde624"><span class="section-number-4">1.4.9</span> Indices of the primitives</h4>
|
<h4 id="orgfa86dba"><span class="section-number-4">1.4.9</span> Indices of the primitives</h4>
|
||||||
<div class="outline-text-4" id="text-1-4-9">
|
<div class="outline-text-4" id="text-1-4-9">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c">{
|
<pre class="src src-c">{
|
||||||
@ -1130,8 +1130,8 @@ rc = qmckl_set_ao_basis_ao_num(context, ao_num);
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orge8ebc3c" class="outline-4">
|
<div id="outline-container-org68facd5" class="outline-4">
|
||||||
<h4 id="orge8ebc3c"><span class="section-number-4">1.4.10</span> Normalization of the shells</h4>
|
<h4 id="org68facd5"><span class="section-number-4">1.4.10</span> Normalization of the shells</h4>
|
||||||
<div class="outline-text-4" id="text-1-4-10">
|
<div class="outline-text-4" id="text-1-4-10">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c">{
|
<pre class="src src-c">{
|
||||||
@ -1176,8 +1176,8 @@ rc = qmckl_set_ao_basis_ao_num(context, ao_num);
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org2195b66" class="outline-4">
|
<div id="outline-container-orgb1d071e" class="outline-4">
|
||||||
<h4 id="org2195b66"><span class="section-number-4">1.4.11</span> Exponents</h4>
|
<h4 id="orgb1d071e"><span class="section-number-4">1.4.11</span> Exponents</h4>
|
||||||
<div class="outline-text-4" id="text-1-4-11">
|
<div class="outline-text-4" id="text-1-4-11">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c">{
|
<pre class="src src-c">{
|
||||||
@ -1222,8 +1222,8 @@ rc = qmckl_set_ao_basis_ao_num(context, ao_num);
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgf0ede81" class="outline-4">
|
<div id="outline-container-org3a25f57" class="outline-4">
|
||||||
<h4 id="orgf0ede81"><span class="section-number-4">1.4.12</span> Coefficients</h4>
|
<h4 id="org3a25f57"><span class="section-number-4">1.4.12</span> Coefficients</h4>
|
||||||
<div class="outline-text-4" id="text-1-4-12">
|
<div class="outline-text-4" id="text-1-4-12">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c">{
|
<pre class="src src-c">{
|
||||||
@ -1268,8 +1268,8 @@ rc = qmckl_set_ao_basis_ao_num(context, ao_num);
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org0b8c1bc" class="outline-4">
|
<div id="outline-container-org7d1573c" class="outline-4">
|
||||||
<h4 id="org0b8c1bc"><span class="section-number-4">1.4.13</span> Normalization of the primitivies</h4>
|
<h4 id="org7d1573c"><span class="section-number-4">1.4.13</span> Normalization of the primitivies</h4>
|
||||||
<div class="outline-text-4" id="text-1-4-13">
|
<div class="outline-text-4" id="text-1-4-13">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c">{
|
<pre class="src src-c">{
|
||||||
@ -1314,8 +1314,8 @@ rc = qmckl_set_ao_basis_ao_num(context, ao_num);
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgad902cb" class="outline-4">
|
<div id="outline-container-org28ad8fa" class="outline-4">
|
||||||
<h4 id="orgad902cb"><span class="section-number-4">1.4.14</span> AO Normalization</h4>
|
<h4 id="org28ad8fa"><span class="section-number-4">1.4.14</span> AO Normalization</h4>
|
||||||
<div class="outline-text-4" id="text-1-4-14">
|
<div class="outline-text-4" id="text-1-4-14">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c">{
|
<pre class="src src-c">{
|
||||||
@ -1370,8 +1370,8 @@ rc = qmckl_set_ao_basis_ao_num(context, ao_num);
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-org23d4169" class="outline-3">
|
<div id="outline-container-org35724ab" class="outline-3">
|
||||||
<h3 id="org23d4169"><span class="section-number-3">1.5</span> Molecular orbitals</h3>
|
<h3 id="org35724ab"><span class="section-number-3">1.5</span> Molecular orbitals</h3>
|
||||||
<div class="outline-text-3" id="text-1-5">
|
<div class="outline-text-3" id="text-1-5">
|
||||||
<p>
|
<p>
|
||||||
In this section we read the MO coefficients.
|
In this section we read the MO coefficients.
|
||||||
@ -1397,8 +1397,8 @@ In this section we read the MO coefficients.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgaca6784" class="outline-4">
|
<div id="outline-container-org6372278" class="outline-4">
|
||||||
<h4 id="orgaca6784"><span class="section-number-4">1.5.1</span> Number of MOs</h4>
|
<h4 id="org6372278"><span class="section-number-4">1.5.1</span> Number of MOs</h4>
|
||||||
<div class="outline-text-4" id="text-1-5-1">
|
<div class="outline-text-4" id="text-1-5-1">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c"><span style="color: #228b22;">int64_t</span> <span style="color: #a0522d;">mo_num</span> = 0L;
|
<pre class="src src-c"><span style="color: #228b22;">int64_t</span> <span style="color: #a0522d;">mo_num</span> = 0L;
|
||||||
@ -1421,8 +1421,8 @@ rc = qmckl_set_mo_basis_mo_num(context, mo_num);
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orga630063" class="outline-4">
|
<div id="outline-container-org6ad67c0" class="outline-4">
|
||||||
<h4 id="orga630063"><span class="section-number-4">1.5.2</span> MO coefficients</h4>
|
<h4 id="org6ad67c0"><span class="section-number-4">1.5.2</span> MO coefficients</h4>
|
||||||
<div class="outline-text-4" id="text-1-5-2">
|
<div class="outline-text-4" id="text-1-5-2">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c">{
|
<pre class="src src-c">{
|
||||||
@ -1471,12 +1471,12 @@ rc = qmckl_set_mo_basis_mo_num(context, mo_num);
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org8b9c0a0" class="outline-3">
|
<div id="outline-container-org21a88eb" class="outline-3">
|
||||||
<h3 id="org8b9c0a0"><span class="section-number-3">1.6</span> <span class="todo TODO">TODO</span> ECP</h3>
|
<h3 id="org21a88eb"><span class="section-number-3">1.6</span> <span class="todo TODO">TODO</span> ECP</h3>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-org0ee85e1" class="outline-2">
|
<div id="outline-container-orgf62a06a" class="outline-2">
|
||||||
<h2 id="org0ee85e1"><span class="section-number-2">2</span> Read everything</h2>
|
<h2 id="orgf62a06a"><span class="section-number-2">2</span> Read everything</h2>
|
||||||
<div class="outline-text-2" id="text-2">
|
<div class="outline-text-2" id="text-2">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span>
|
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span>
|
||||||
@ -1563,8 +1563,8 @@ rc = qmckl_set_mo_basis_mo_num(context, mo_num);
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orge197ec4" class="outline-2">
|
<div id="outline-container-orgd4f3c4c" class="outline-2">
|
||||||
<h2 id="orge197ec4"><span class="section-number-2">3</span> Test</h2>
|
<h2 id="orgd4f3c4c"><span class="section-number-2">3</span> Test</h2>
|
||||||
<div class="outline-text-2" id="text-3">
|
<div class="outline-text-2" id="text-3">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c"><span style="color: #483d8b;">#ifdef</span> HAVE_TREXIO
|
<pre class="src src-c"><span style="color: #483d8b;">#ifdef</span> HAVE_TREXIO
|
||||||
@ -1596,8 +1596,8 @@ rc = qmckl_trexio_read(context, fname, 255);
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org0defdfd" class="outline-4">
|
<div id="outline-container-org3eb87f2" class="outline-4">
|
||||||
<h4 id="org0defdfd"><span class="section-number-4">3.0.1</span> Electrons</h4>
|
<h4 id="org3eb87f2"><span class="section-number-4">3.0.1</span> Electrons</h4>
|
||||||
<div class="outline-text-4" id="text-3-0-1">
|
<div class="outline-text-4" id="text-3-0-1">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c">printf(<span style="color: #8b2252;">"Electrons\n"</span>);
|
<pre class="src src-c">printf(<span style="color: #8b2252;">"Electrons\n"</span>);
|
||||||
@ -1615,8 +1615,8 @@ rc = qmckl_get_electron_down_num(context, &dn_num);
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgb4a9017" class="outline-4">
|
<div id="outline-container-org247db63" class="outline-4">
|
||||||
<h4 id="orgb4a9017"><span class="section-number-4">3.0.2</span> Nuclei</h4>
|
<h4 id="org247db63"><span class="section-number-4">3.0.2</span> Nuclei</h4>
|
||||||
<div class="outline-text-4" id="text-3-0-2">
|
<div class="outline-text-4" id="text-3-0-2">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c">printf(<span style="color: #8b2252;">"Nuclei\n"</span>);
|
<pre class="src src-c">printf(<span style="color: #8b2252;">"Nuclei\n"</span>);
|
||||||
@ -1656,8 +1656,8 @@ coord = <span style="color: #008b8b;">NULL</span>;
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org3b976e1" class="outline-4">
|
<div id="outline-container-orgd5eb4ad" class="outline-4">
|
||||||
<h4 id="org3b976e1"><span class="section-number-4">3.0.3</span> Atomic basis</h4>
|
<h4 id="orgd5eb4ad"><span class="section-number-4">3.0.3</span> Atomic basis</h4>
|
||||||
<div class="outline-text-4" id="text-3-0-3">
|
<div class="outline-text-4" id="text-3-0-3">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c">printf(<span style="color: #8b2252;">"Atomic basis\n"</span>);
|
<pre class="src src-c">printf(<span style="color: #8b2252;">"Atomic basis\n"</span>);
|
||||||
@ -1765,8 +1765,8 @@ prim_factor = <span style="color: #008b8b;">NULL</span>;
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orga755bae" class="outline-4">
|
<div id="outline-container-orga6bbd4e" class="outline-4">
|
||||||
<h4 id="orga755bae"><span class="section-number-4">3.0.4</span> MO Basis</h4>
|
<h4 id="orga6bbd4e"><span class="section-number-4">3.0.4</span> MO Basis</h4>
|
||||||
<div class="outline-text-4" id="text-3-0-4">
|
<div class="outline-text-4" id="text-3-0-4">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c">printf(<span style="color: #8b2252;">"MOs\n"</span>);
|
<pre class="src src-c">printf(<span style="color: #8b2252;">"MOs\n"</span>);
|
||||||
@ -1796,7 +1796,7 @@ charge = <span style="color: #008b8b;">NULL</span>;
|
|||||||
</div>
|
</div>
|
||||||
<div id="postamble" class="status">
|
<div id="postamble" class="status">
|
||||||
<p class="author">Author: TREX CoE</p>
|
<p class="author">Author: TREX CoE</p>
|
||||||
<p class="date">Created: 2022-08-23 Tue 06:40</p>
|
<p class="date">Created: 2022-08-31 Wed 14:46</p>
|
||||||
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||||
<head>
|
<head>
|
||||||
<!-- 2022-08-23 Tue 06:40 -->
|
<!-- 2022-08-31 Wed 14:47 -->
|
||||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<title>Verificarlo CI</title>
|
<title>Verificarlo CI</title>
|
||||||
@ -311,22 +311,22 @@ for the JavaScript code in this tag.
|
|||||||
<h2>Table of Contents</h2>
|
<h2>Table of Contents</h2>
|
||||||
<div id="text-table-of-contents">
|
<div id="text-table-of-contents">
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgce79f7f">1. Verificarlo probes</a>
|
<li><a href="#org7a6d947">1. Verificarlo probes</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgba8b2ee">1.1. Automatically initialize the <code>vfc_probe</code> object if <code>VFC_CI</code> is defined</a></li>
|
<li><a href="#org5c4c878">1.1. Automatically initialize the <code>vfc_probe</code> object if <code>VFC_CI</code> is defined</a></li>
|
||||||
<li><a href="#org813dd0a">1.2. Standard probe, without check</a></li>
|
<li><a href="#org3164f05">1.2. Standard probe, without check</a></li>
|
||||||
<li><a href="#org15ab9ec">1.3. Probe with absolute check</a></li>
|
<li><a href="#org2e00a16">1.3. Probe with absolute check</a></li>
|
||||||
<li><a href="#orge1ea1b8">1.4. Probe with relative check</a></li>
|
<li><a href="#org75ee2a6">1.4. Probe with relative check</a></li>
|
||||||
<li><a href="#orgad5b08c">1.5. Automatically delete and dump the vfc<sub>probe</sub> object if <code>VFC_CI</code> is defined</a></li>
|
<li><a href="#org90a4b71">1.5. Automatically delete and dump the vfc<sub>probe</sub> object if <code>VFC_CI</code> is defined</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org17e789a">2. Fortran wrappers</a></li>
|
<li><a href="#org0fe4b49">2. Fortran wrappers</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgce79f7f" class="outline-2">
|
<div id="outline-container-org7a6d947" class="outline-2">
|
||||||
<h2 id="orgce79f7f"><span class="section-number-2">1</span> Verificarlo probes</h2>
|
<h2 id="org7a6d947"><span class="section-number-2">1</span> Verificarlo probes</h2>
|
||||||
<div class="outline-text-2" id="text-1">
|
<div class="outline-text-2" id="text-1">
|
||||||
<p>
|
<p>
|
||||||
This file contains utility functions to enable the Verificarlo
|
This file contains utility functions to enable the Verificarlo
|
||||||
@ -377,8 +377,8 @@ To learn more about Verificarlo CI :
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div id="outline-container-orgba8b2ee" class="outline-3">
|
<div id="outline-container-org5c4c878" class="outline-3">
|
||||||
<h3 id="orgba8b2ee"><span class="section-number-3">1.1</span> Automatically initialize the <code>vfc_probe</code> object if <code>VFC_CI</code> is defined</h3>
|
<h3 id="org5c4c878"><span class="section-number-3">1.1</span> Automatically initialize the <code>vfc_probe</code> object if <code>VFC_CI</code> is defined</h3>
|
||||||
<div class="outline-text-3" id="text-1-1">
|
<div class="outline-text-3" id="text-1-1">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c"><span style="color: #483d8b;">#ifdef</span> VFC_CI
|
<pre class="src src-c"><span style="color: #483d8b;">#ifdef</span> VFC_CI
|
||||||
@ -398,8 +398,8 @@ To learn more about Verificarlo CI :
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org813dd0a" class="outline-3">
|
<div id="outline-container-org3164f05" class="outline-3">
|
||||||
<h3 id="org813dd0a"><span class="section-number-3">1.2</span> Standard probe, without check</h3>
|
<h3 id="org3164f05"><span class="section-number-3">1.2</span> Standard probe, without check</h3>
|
||||||
<div class="outline-text-3" id="text-1-2">
|
<div class="outline-text-3" id="text-1-2">
|
||||||
<ul class="org-ul">
|
<ul class="org-ul">
|
||||||
<li>if <code>VFC_CI</code> is defined, place a standard probe</li>
|
<li>if <code>VFC_CI</code> is defined, place a standard probe</li>
|
||||||
@ -434,8 +434,8 @@ if <code>VFC_CI</code> is undefined, return <code>false</code> (no error)
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org15ab9ec" class="outline-3">
|
<div id="outline-container-org2e00a16" class="outline-3">
|
||||||
<h3 id="org15ab9ec"><span class="section-number-3">1.3</span> Probe with absolute check</h3>
|
<h3 id="org2e00a16"><span class="section-number-3">1.3</span> Probe with absolute check</h3>
|
||||||
<div class="outline-text-3" id="text-1-3">
|
<div class="outline-text-3" id="text-1-3">
|
||||||
<ul class="org-ul">
|
<ul class="org-ul">
|
||||||
<li>if <code>VFC_CI</code> is defined, place a probe with an absolute check</li>
|
<li>if <code>VFC_CI</code> is defined, place a probe with an absolute check</li>
|
||||||
@ -475,8 +475,8 @@ and accuracy
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orge1ea1b8" class="outline-3">
|
<div id="outline-container-org75ee2a6" class="outline-3">
|
||||||
<h3 id="orge1ea1b8"><span class="section-number-3">1.4</span> Probe with relative check</h3>
|
<h3 id="org75ee2a6"><span class="section-number-3">1.4</span> Probe with relative check</h3>
|
||||||
<div class="outline-text-3" id="text-1-4">
|
<div class="outline-text-3" id="text-1-4">
|
||||||
<ul class="org-ul">
|
<ul class="org-ul">
|
||||||
<li>if <code>VFC_CI</code> is defined, place a probe with a relative check</li>
|
<li>if <code>VFC_CI</code> is defined, place a probe with a relative check</li>
|
||||||
@ -516,8 +516,8 @@ and accuracy
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgad5b08c" class="outline-3">
|
<div id="outline-container-org90a4b71" class="outline-3">
|
||||||
<h3 id="orgad5b08c"><span class="section-number-3">1.5</span> Automatically delete and dump the vfc<sub>probe</sub> object if <code>VFC_CI</code> is defined</h3>
|
<h3 id="org90a4b71"><span class="section-number-3">1.5</span> Automatically delete and dump the vfc<sub>probe</sub> object if <code>VFC_CI</code> is defined</h3>
|
||||||
<div class="outline-text-3" id="text-1-5">
|
<div class="outline-text-3" id="text-1-5">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c"><span style="color: #483d8b;">#ifdef</span> VFC_CI
|
<pre class="src src-c"><span style="color: #483d8b;">#ifdef</span> VFC_CI
|
||||||
@ -538,8 +538,8 @@ and accuracy
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org17e789a" class="outline-2">
|
<div id="outline-container-org0fe4b49" class="outline-2">
|
||||||
<h2 id="org17e789a"><span class="section-number-2">2</span> Fortran wrappers</h2>
|
<h2 id="org0fe4b49"><span class="section-number-2">2</span> Fortran wrappers</h2>
|
||||||
<div class="outline-text-2" id="text-2">
|
<div class="outline-text-2" id="text-2">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c"><span style="color: #228b22;">bool</span> <span style="color: #0000ff;">qmckl_probe_f</span>(
|
<pre class="src src-c"><span style="color: #228b22;">bool</span> <span style="color: #0000ff;">qmckl_probe_f</span>(
|
||||||
@ -663,7 +663,7 @@ and accuracy
|
|||||||
</div>
|
</div>
|
||||||
<div id="postamble" class="status">
|
<div id="postamble" class="status">
|
||||||
<p class="author">Author: TREX CoE</p>
|
<p class="author">Author: TREX CoE</p>
|
||||||
<p class="date">Created: 2022-08-23 Tue 06:40</p>
|
<p class="date">Created: 2022-08-31 Wed 14:47</p>
|
||||||
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
Loading…
Reference in New Issue
Block a user