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@2f0ca9f674 🚀
This commit is contained in:
parent
dc6ad35d72
commit
b4d2841132
@ -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>
|
||||||
<!-- 2024-02-14 Wed 10:15 -->
|
<!-- 2024-02-14 Wed 10:27 -->
|
||||||
<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>
|
||||||
@ -375,7 +375,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: 2024-02-14 Wed 10:15</p>
|
<p class="date">Created: 2024-02-14 Wed 10:27</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>
|
||||||
<!-- 2024-02-14 Wed 10:15 -->
|
<!-- 2024-02-14 Wed 10:27 -->
|
||||||
<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>
|
||||||
@ -346,36 +346,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="#org7cac93b">1. Installing QMCkl</a>
|
<li><a href="#orgc48799e">1. Installing QMCkl</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org4377324">1.1. Installing from the released tarball (for end users)</a></li>
|
<li><a href="#org4dc0da6">1.1. Installing from the released tarball (for end users)</a></li>
|
||||||
<li><a href="#org30e7e4a">1.2. Installing from the source repository (for developers)</a></li>
|
<li><a href="#org4ac5c26">1.2. Installing from the source repository (for developers)</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#orgdca5473">2. Using QMCkl</a></li>
|
<li><a href="#org103a798">2. Using QMCkl</a></li>
|
||||||
<li><a href="#org4a51043">3. Developing in QMCkl</a>
|
<li><a href="#org1ef01f5">3. Developing in QMCkl</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgbd672ae">3.1. Literate programming</a></li>
|
<li><a href="#org430e8ac">3.1. Literate programming</a></li>
|
||||||
<li><a href="#orgeb1e63a">3.2. Source code editing</a></li>
|
<li><a href="#org0d0f872">3.2. Source code editing</a></li>
|
||||||
<li><a href="#org1b4c802">3.3. Choice of the programming language</a></li>
|
<li><a href="#orgee3460c">3.3. Choice of the programming language</a></li>
|
||||||
<li><a href="#orgbec8883">3.4. Coding rules</a></li>
|
<li><a href="#org9d0c991">3.4. Coding rules</a></li>
|
||||||
<li><a href="#org6f07969">3.5. Design of the library</a></li>
|
<li><a href="#org4a3236c">3.5. Design of the library</a></li>
|
||||||
<li><a href="#orgf152c03">3.6. Naming conventions</a></li>
|
<li><a href="#org71d0ab4">3.6. Naming conventions</a></li>
|
||||||
<li><a href="#org4e26d96">3.7. Application programming interface</a></li>
|
<li><a href="#org895f996">3.7. Application programming interface</a></li>
|
||||||
<li><a href="#org4352462">3.8. Global state</a></li>
|
<li><a href="#org7992d01">3.8. Global state</a></li>
|
||||||
<li><a href="#org784b760">3.9. Headers</a></li>
|
<li><a href="#orgadb0c94">3.9. Headers</a></li>
|
||||||
<li><a href="#orge847b38">3.10. Low-level functions</a></li>
|
<li><a href="#orgba97be3">3.10. Low-level functions</a></li>
|
||||||
<li><a href="#orgc6cb4ff">3.11. High-level functions</a></li>
|
<li><a href="#org05bc597">3.11. High-level functions</a></li>
|
||||||
<li><a href="#orgbb06627">3.12. Numerical precision</a></li>
|
<li><a href="#orga599a44">3.12. Numerical precision</a></li>
|
||||||
<li><a href="#orgffffe85">3.13. Algorithms</a></li>
|
<li><a href="#orgc680b81">3.13. Algorithms</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org7cac93b" class="outline-2">
|
<div id="outline-container-orgc48799e" class="outline-2">
|
||||||
<h2 id="org7cac93b"><span class="section-number-2">1</span> Installing QMCkl</h2>
|
<h2 id="orgc48799e"><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
|
||||||
@ -384,8 +384,8 @@ The latest version fo QMCkl can be downloaded
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org4377324" class="outline-3">
|
<div id="outline-container-org4dc0da6" class="outline-3">
|
||||||
<h3 id="org4377324"><span class="section-number-3">1.1</span> Installing from the released tarball (for end users)</h3>
|
<h3 id="org4dc0da6"><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
|
||||||
@ -400,8 +400,8 @@ options are defined using <code>CFLAGS</code> and <code>FCFLAGS</code>.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org30e7e4a" class="outline-3">
|
<div id="outline-container-org4ac5c26" class="outline-3">
|
||||||
<h3 id="org30e7e4a"><span class="section-number-3">1.2</span> Installing from the source repository (for developers)</h3>
|
<h3 id="org4ac5c26"><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
|
||||||
@ -422,8 +422,8 @@ to be executed first.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgdca5473" class="outline-2">
|
<div id="outline-container-org103a798" class="outline-2">
|
||||||
<h2 id="orgdca5473"><span class="section-number-2">2</span> Using QMCkl</h2>
|
<h2 id="org103a798"><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
|
||||||
@ -452,12 +452,12 @@ Both files are located in the <code>include/</code> directory.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org4a51043" class="outline-2">
|
<div id="outline-container-org1ef01f5" class="outline-2">
|
||||||
<h2 id="org4a51043"><span class="section-number-2">3</span> Developing in QMCkl</h2>
|
<h2 id="org1ef01f5"><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-orgbd672ae" class="outline-3">
|
<div id="outline-container-org430e8ac" class="outline-3">
|
||||||
<h3 id="orgbd672ae"><span class="section-number-3">3.1</span> Literate programming</h3>
|
<h3 id="org430e8ac"><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
|
||||||
@ -507,8 +507,8 @@ tarball contains the generated source code.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgeb1e63a" class="outline-3">
|
<div id="outline-container-org0d0f872" class="outline-3">
|
||||||
<h3 id="orgeb1e63a"><span class="section-number-3">3.2</span> Source code editing</h3>
|
<h3 id="org0d0f872"><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>.
|
||||||
@ -539,8 +539,8 @@ org-mode.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org1b4c802" class="outline-3">
|
<div id="outline-container-orgee3460c" class="outline-3">
|
||||||
<h3 id="org1b4c802"><span class="section-number-3">3.3</span> Choice of the programming language</h3>
|
<h3 id="orgee3460c"><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
|
||||||
@ -604,8 +604,8 @@ For more guidelines on using Fortran to generate a C interface, see
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgbec8883" class="outline-3">
|
<div id="outline-container-org9d0c991" class="outline-3">
|
||||||
<h3 id="orgbec8883"><span class="section-number-3">3.4</span> Coding rules</h3>
|
<h3 id="org9d0c991"><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
|
||||||
@ -625,8 +625,8 @@ make cppcheck ; cat cppcheck.out
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org6f07969" class="outline-3">
|
<div id="outline-container-org4a3236c" class="outline-3">
|
||||||
<h3 id="org6f07969"><span class="section-number-3">3.5</span> Design of the library</h3>
|
<h3 id="org4a3236c"><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
|
||||||
@ -637,8 +637,8 @@ functions (see below).
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgf152c03" class="outline-3">
|
<div id="outline-container-org71d0ab4" class="outline-3">
|
||||||
<h3 id="orgf152c03"><span class="section-number-3">3.6</span> Naming conventions</h3>
|
<h3 id="org71d0ab4"><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
|
||||||
@ -659,8 +659,8 @@ form is allowed.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org4e26d96" class="outline-3">
|
<div id="outline-container-org895f996" class="outline-3">
|
||||||
<h3 id="org4e26d96"><span class="section-number-3">3.7</span> Application programming interface</h3>
|
<h3 id="org895f996"><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
|
||||||
@ -692,15 +692,15 @@ bindings in other languages in other repositories.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org4352462" class="outline-3">
|
<div id="outline-container-org7992d01" class="outline-3">
|
||||||
<h3 id="org4352462"><span class="section-number-3">3.8</span> Global state</h3>
|
<h3 id="org7992d01"><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="orgebfd51b">=context=</a> contains the global
|
<code>qmckl_context_create</code> function. The <a id="orgc97c104">=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>
|
||||||
@ -714,8 +714,8 @@ the state is done by setters and getters, prefixed by
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org784b760" class="outline-3">
|
<div id="outline-container-orgadb0c94" class="outline-3">
|
||||||
<h3 id="org784b760"><span class="section-number-3">3.9</span> Headers</h3>
|
<h3 id="orgadb0c94"><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
|
||||||
@ -803,8 +803,8 @@ and the types definitions should be written in the <code>*fh_type.f90</code> fil
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orge847b38" class="outline-3">
|
<div id="outline-container-orgba97be3" class="outline-3">
|
||||||
<h3 id="orge847b38"><span class="section-number-3">3.10</span> Low-level functions</h3>
|
<h3 id="orgba97be3"><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
|
||||||
@ -813,14 +813,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="#orgebfd51b"><code>context</code></a>. They are not allowed to allocate/deallocate memory, and
|
<a href="#orgc97c104"><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-orgc6cb4ff" class="outline-3">
|
<div id="outline-container-org05bc597" class="outline-3">
|
||||||
<h3 id="orgc6cb4ff"><span class="section-number-3">3.11</span> High-level functions</h3>
|
<h3 id="org05bc597"><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.
|
||||||
@ -832,8 +832,8 @@ temporary storage, to simplify the use of accelerators.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgbb06627" class="outline-3">
|
<div id="outline-container-orga599a44" class="outline-3">
|
||||||
<h3 id="orgbb06627"><span class="section-number-3">3.12</span> Numerical precision</h3>
|
<h3 id="orga599a44"><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
|
||||||
@ -841,7 +841,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="#orgebfd51b"><code>context</code></a> variable.
|
specified in the <a href="#orgc97c104"><code>context</code></a> variable.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
@ -909,8 +909,8 @@ following points :
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgffffe85" class="outline-3">
|
<div id="outline-container-orgc680b81" class="outline-3">
|
||||||
<h3 id="orgffffe85"><span class="section-number-3">3.13</span> Algorithms</h3>
|
<h3 id="orgc680b81"><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
|
||||||
@ -926,7 +926,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: 2024-02-14 Wed 10:15</p>
|
<p class="date">Created: 2024-02-14 Wed 10:27</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>
|
||||||
|
218
qmckl_ao.html
218
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>
|
||||||
<!-- 2024-02-14 Wed 10:15 -->
|
<!-- 2024-02-14 Wed 10:27 -->
|
||||||
<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>
|
||||||
@ -346,62 +346,62 @@ 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="#org6761c5d">1. Introduction</a></li>
|
<li><a href="#org1c567b5">1. Introduction</a></li>
|
||||||
<li><a href="#orga1a7ed0">2. Context</a>
|
<li><a href="#org8bd12c3">2. Context</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgd63fcf4">2.1. Constant data</a>
|
<li><a href="#org617ce33">2.1. Constant data</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgd1f8c14">2.1.1. Initialization functions</a>
|
<li><a href="#orgc70e26e">2.1.1. Initialization functions</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org316b784">2.1.1.1. C interface</a></li>
|
<li><a href="#org4ce00b4">2.1.1.1. C interface</a></li>
|
||||||
<li><a href="#orgd84e938">2.1.1.2. Fortran interface</a></li>
|
<li><a href="#org706c5c8">2.1.1.2. Fortran interface</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#orgf2ca03a">2.1.2. Access functions</a>
|
<li><a href="#org475f264">2.1.2. Access functions</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org714590b">2.1.2.1. C interface</a></li>
|
<li><a href="#orgeda3568">2.1.2.1. C interface</a></li>
|
||||||
<li><a href="#org6c717a0">2.1.2.2. Fortran interface</a></li>
|
<li><a href="#orgb42e765">2.1.2.2. Fortran interface</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org5d385f3">2.2. Computed data</a>
|
<li><a href="#orgd5086fc">2.2. Computed data</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgfa7ee2c">2.2.1. After initialization</a></li>
|
<li><a href="#org8f900fc">2.2.1. After initialization</a></li>
|
||||||
<li><a href="#org79037e1">2.2.2. <span class="todo TODO">TODO</span> HPC-specific data structures</a></li>
|
<li><a href="#org1c7c0da">2.2.2. <span class="todo TODO">TODO</span> HPC-specific data structures</a></li>
|
||||||
<li><a href="#org060c796">2.2.3. Access functions</a></li>
|
<li><a href="#org3d432bf">2.2.3. Access functions</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#orgdfbf2f8">3. Radial part</a>
|
<li><a href="#orgeba7221">3. Radial part</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org2292296">3.1. General functions for Gaussian basis functions</a></li>
|
<li><a href="#orgcbdc21b">3.1. General functions for Gaussian basis functions</a></li>
|
||||||
<li><a href="#orgab45706">3.2. Computation of primitives</a></li>
|
<li><a href="#org29e076d">3.2. Computation of primitives</a></li>
|
||||||
<li><a href="#org7445f8b">3.3. Computation of shells</a></li>
|
<li><a href="#orge98a737">3.3. Computation of shells</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#orgb1ab4c8">4. Polynomial part</a>
|
<li><a href="#orgd3d4c0a">4. Polynomial part</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org8779eae">4.1. General functions for Powers of \(x-X_i\)</a></li>
|
<li><a href="#org9d5185a">4.1. General functions for Powers of \(x-X_i\)</a></li>
|
||||||
<li><a href="#orgaed6ebb">4.2. General functions for Value, Gradient and Laplacian of a polynomial</a></li>
|
<li><a href="#org1aefd6a">4.2. General functions for Value, Gradient and Laplacian of a polynomial</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#orga2bffe2">5. Combining radial and polynomial parts</a>
|
<li><a href="#orgf6788d8">5. Combining radial and polynomial parts</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgdf42100">5.1. Determination of nucleus ranges</a></li>
|
<li><a href="#org0ed3181">5.1. Determination of nucleus ranges</a></li>
|
||||||
<li><a href="#orgc5554ee">5.2. Values only</a>
|
<li><a href="#org9416dbc">5.2. Values only</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orga365e4e">5.2.1. Unoptimized version</a></li>
|
<li><a href="#org427d746">5.2.1. Unoptimized version</a></li>
|
||||||
<li><a href="#org8dd049a">5.2.2. HPC version</a></li>
|
<li><a href="#orgf11295d">5.2.2. HPC version</a></li>
|
||||||
<li><a href="#org38789ac">5.2.3. Interfaces</a></li>
|
<li><a href="#org48d491f">5.2.3. Interfaces</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org798aeeb">5.3. Value, gradients, Laplacian</a>
|
<li><a href="#org17827cb">5.3. Value, gradients, Laplacian</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgf4ee616">5.3.1. Reference version</a></li>
|
<li><a href="#org08844a2">5.3.1. Reference version</a></li>
|
||||||
<li><a href="#org15d38ed">5.3.2. HPC version</a></li>
|
<li><a href="#org50bfe59">5.3.2. HPC version</a></li>
|
||||||
<li><a href="#orgbde76e0">5.3.3. Interfaces</a></li>
|
<li><a href="#orge769588">5.3.3. Interfaces</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
@ -410,8 +410,8 @@ for the JavaScript code in this tag.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org6761c5d" class="outline-2">
|
<div id="outline-container-org1c567b5" class="outline-2">
|
||||||
<h2 id="org6761c5d"><span class="section-number-2">1</span> Introduction</h2>
|
<h2 id="org1c567b5"><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
|
||||||
@ -464,19 +464,19 @@ gradients and Laplacian of the atomic basis functions.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orga1a7ed0" class="outline-2">
|
<div id="outline-container-org8bd12c3" class="outline-2">
|
||||||
<h2 id="orga1a7ed0"><span class="section-number-2">2</span> Context</h2>
|
<h2 id="org8bd12c3"><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-orgd63fcf4" class="outline-3">
|
<div id="outline-container-org617ce33" class="outline-3">
|
||||||
<h3 id="orgd63fcf4"><span class="section-number-3">2.1</span> Constant data</h3>
|
<h3 id="org617ce33"><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="org5cf2087" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org746a912" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -710,7 +710,7 @@ calling the functions:
|
|||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-C" id="orgca743e5"><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="orga6a8f25"><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>,
|
||||||
@ -747,7 +747,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="org17866ba"><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="orgae29711"><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>);
|
||||||
|
|
||||||
@ -785,17 +785,17 @@ For array variables, use the rule:
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgd1f8c14" class="outline-4">
|
<div id="outline-container-orgc70e26e" class="outline-4">
|
||||||
<h4 id="orgd1f8c14"><span class="section-number-4">2.1.1</span> Initialization functions</h4>
|
<h4 id="orgc70e26e"><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="#orga1a7ed0">2</a>.
|
equal of larger than the value given in the table of section <a href="#org8bd12c3">2</a>.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org316b784" class="outline-5">
|
<div id="outline-container-org4ce00b4" class="outline-5">
|
||||||
<h5 id="org316b784"><span class="section-number-5">2.1.1.1</span> C interface</h5>
|
<h5 id="org4ce00b4"><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
|
||||||
@ -919,8 +919,8 @@ called.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgd84e938" class="outline-5">
|
<div id="outline-container-org706c5c8" class="outline-5">
|
||||||
<h5 id="orgd84e938"><span class="section-number-5">2.1.1.2</span> Fortran interface</h5>
|
<h5 id="org706c5c8"><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>
|
||||||
@ -1103,17 +1103,17 @@ called.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgf2ca03a" class="outline-4">
|
<div id="outline-container-org475f264" class="outline-4">
|
||||||
<h4 id="orgf2ca03a"><span class="section-number-4">2.1.2</span> Access functions</h4>
|
<h4 id="org475f264"><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="#orga1a7ed0">2</a>.
|
equal of larger than the value given in the table of section <a href="#org8bd12c3">2</a>.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org714590b" class="outline-5">
|
<div id="outline-container-orgeda3568" class="outline-5">
|
||||||
<h5 id="org714590b"><span class="section-number-5">2.1.2.1</span> C interface</h5>
|
<h5 id="orgeda3568"><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>
|
||||||
@ -1235,8 +1235,8 @@ function returns <code>true</code>.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org6c717a0" class="outline-5">
|
<div id="outline-container-orgb42e765" class="outline-5">
|
||||||
<h5 id="org6c717a0"><span class="section-number-5">2.1.2.2</span> Fortran interface</h5>
|
<h5 id="orgb42e765"><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>
|
||||||
@ -1420,8 +1420,8 @@ function returns <code>true</code>.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org5d385f3" class="outline-3">
|
<div id="outline-container-orgd5086fc" class="outline-3">
|
||||||
<h3 id="org5d385f3"><span class="section-number-3">2.2</span> Computed data</h3>
|
<h3 id="orgd5086fc"><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:
|
||||||
@ -1496,8 +1496,8 @@ The following data is computed as described in the next sections:
|
|||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgfa7ee2c" class="outline-4">
|
<div id="outline-container-org8f900fc" class="outline-4">
|
||||||
<h4 id="orgfa7ee2c"><span class="section-number-4">2.2.1</span> After initialization</h4>
|
<h4 id="org8f900fc"><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
|
||||||
@ -1511,8 +1511,8 @@ the context.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org79037e1" class="outline-4">
|
<div id="outline-container-org1c7c0da" class="outline-4">
|
||||||
<h4 id="org79037e1"><span class="section-number-4">2.2.2</span> <span class="todo TODO">TODO</span> HPC-specific data structures</h4>
|
<h4 id="org1c7c0da"><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:
|
||||||
@ -1542,8 +1542,8 @@ which is a matrix-vector product.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org060c796" class="outline-4">
|
<div id="outline-container-org3d432bf" class="outline-4">
|
||||||
<h4 id="org060c796"><span class="section-number-4">2.2.3</span> Access functions</h4>
|
<h4 id="org3d432bf"><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>
|
||||||
@ -1556,7 +1556,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="#orgab45706">3.2</a>.
|
See section <a href="#org29e076d">3.2</a>.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
@ -1569,7 +1569,7 @@ See section <a href="#orgab45706">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="#org7445f8b">3.3</a>.
|
evaluated at the current coordinates. See section <a href="#orge98a737">3.3</a>.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
@ -1583,7 +1583,7 @@ evaluated at the current coordinates. See section <a href="#org7445f8b">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="#orga2bffe2">5</a>.
|
See section <a href="#orgf6788d8">5</a>.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
@ -1608,7 +1608,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="#orga2bffe2">5</a>.
|
the current coordinates. See section <a href="#orgf6788d8">5</a>.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
@ -1627,12 +1627,12 @@ Uses the given array to compute the value.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgdfbf2f8" class="outline-2">
|
<div id="outline-container-orgeba7221" class="outline-2">
|
||||||
<h2 id="orgdfbf2f8"><span class="section-number-2">3</span> Radial part</h2>
|
<h2 id="orgeba7221"><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-org2292296" class="outline-3">
|
<div id="outline-container-orgcbdc21b" class="outline-3">
|
||||||
<h3 id="org2292296"><span class="section-number-3">3.1</span> General functions for Gaussian basis functions</h3>
|
<h3 id="orgcbdc21b"><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
|
||||||
@ -1806,10 +1806,10 @@ Requirements:
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgab45706" class="outline-3">
|
<div id="outline-container-org29e076d" class="outline-3">
|
||||||
<h3 id="orgab45706"><span class="section-number-3">3.2</span> Computation of primitives</h3>
|
<h3 id="org29e076d"><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="orgf0cd827" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org7dba759" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -1972,10 +1972,10 @@ Requirements:
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org7445f8b" class="outline-3">
|
<div id="outline-container-orge98a737" class="outline-3">
|
||||||
<h3 id="org7445f8b"><span class="section-number-3">3.3</span> Computation of shells</h3>
|
<h3 id="orge98a737"><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="org6fd53c9" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org0981a28" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -2232,8 +2232,8 @@ Requirements:
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgb1ab4c8" class="outline-2">
|
<div id="outline-container-orgd3d4c0a" class="outline-2">
|
||||||
<h2 id="orgb1ab4c8"><span class="section-number-2">4</span> Polynomial part</h2>
|
<h2 id="orgd3d4c0a"><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
|
||||||
@ -2253,8 +2253,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-org8779eae" class="outline-3">
|
<div id="outline-container-org9d5185a" class="outline-3">
|
||||||
<h3 id="org8779eae"><span class="section-number-3">4.1</span> General functions for Powers of \(x-X_i\)</h3>
|
<h3 id="org9d5185a"><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>
|
||||||
@ -2266,7 +2266,7 @@ the \(n\) points:
|
|||||||
\[ P_{ik} = X_i^k \]
|
\[ P_{ik} = X_i^k \]
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<table id="orga94abc5" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="orgbce2cbe" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -2409,8 +2409,8 @@ Requirements:
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgaed6ebb" class="outline-3">
|
<div id="outline-container-org1aefd6a" class="outline-3">
|
||||||
<h3 id="orgaed6ebb"><span class="section-number-3">4.2</span> General functions for Value, Gradient and Laplacian of a polynomial</h3>
|
<h3 id="org1aefd6a"><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\)
|
||||||
@ -2455,7 +2455,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="orgf895f95" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="orgc0c2ea5" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -3250,12 +3250,12 @@ For example, with a=0, b=2 and c=1 the string is "yyz"</li>
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orga2bffe2" class="outline-2">
|
<div id="outline-container-orgf6788d8" class="outline-2">
|
||||||
<h2 id="orga2bffe2"><span class="section-number-2">5</span> Combining radial and polynomial parts</h2>
|
<h2 id="orgf6788d8"><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-orgdf42100" class="outline-3">
|
<div id="outline-container-org0ed3181" class="outline-3">
|
||||||
<h3 id="orgdf42100"><span class="section-number-3">5.1</span> Determination of nucleus ranges</h3>
|
<h3 id="org0ed3181"><span class="section-number-3">5.1</span> Determination of nucleus ranges</h3>
|
||||||
<div class="outline-text-3" id="text-5-1">
|
<div class="outline-text-3" id="text-5-1">
|
||||||
<p>
|
<p>
|
||||||
The range of a nucleus is defined as the distance beyond which all
|
The range of a nucleus is defined as the distance beyond which all
|
||||||
@ -3422,14 +3422,14 @@ of bits of precision (1-53), a range is given.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgc5554ee" class="outline-3">
|
<div id="outline-container-org9416dbc" class="outline-3">
|
||||||
<h3 id="orgc5554ee"><span class="section-number-3">5.2</span> Values only</h3>
|
<h3 id="org9416dbc"><span class="section-number-3">5.2</span> Values only</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-orga365e4e" class="outline-4">
|
<div id="outline-container-org427d746" class="outline-4">
|
||||||
<h4 id="orga365e4e"><span class="section-number-4">5.2.1</span> Unoptimized version</h4>
|
<h4 id="org427d746"><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="orge84fb21" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org566cebc" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -3670,10 +3670,10 @@ of bits of precision (1-53), a range is given.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org8dd049a" class="outline-4">
|
<div id="outline-container-orgf11295d" class="outline-4">
|
||||||
<h4 id="org8dd049a"><span class="section-number-4">5.2.2</span> HPC version</h4>
|
<h4 id="orgf11295d"><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="orgbd9af53" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org5867e87" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -3831,8 +3831,8 @@ of bits of precision (1-53), a range is given.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org38789ac" class="outline-4">
|
<div id="outline-container-org48d491f" class="outline-4">
|
||||||
<h4 id="org38789ac"><span class="section-number-4">5.2.3</span> Interfaces</h4>
|
<h4 id="org48d491f"><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_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> (
|
||||||
@ -3881,14 +3881,14 @@ of bits of precision (1-53), a range is given.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org798aeeb" class="outline-3">
|
<div id="outline-container-org17827cb" class="outline-3">
|
||||||
<h3 id="org798aeeb"><span class="section-number-3">5.3</span> Value, gradients, Laplacian</h3>
|
<h3 id="org17827cb"><span class="section-number-3">5.3</span> Value, gradients, Laplacian</h3>
|
||||||
<div class="outline-text-3" id="text-5-3">
|
<div class="outline-text-3" id="text-5-3">
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-orgf4ee616" class="outline-4">
|
<div id="outline-container-org08844a2" class="outline-4">
|
||||||
<h4 id="orgf4ee616"><span class="section-number-4">5.3.1</span> Reference version</h4>
|
<h4 id="org08844a2"><span class="section-number-4">5.3.1</span> Reference version</h4>
|
||||||
<div class="outline-text-4" id="text-5-3-1">
|
<div class="outline-text-4" id="text-5-3-1">
|
||||||
<table id="org8e611c1" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org87d3c1d" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -4157,10 +4157,10 @@ of bits of precision (1-53), a range is given.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org15d38ed" class="outline-4">
|
<div id="outline-container-org50bfe59" class="outline-4">
|
||||||
<h4 id="org15d38ed"><span class="section-number-4">5.3.2</span> HPC version</h4>
|
<h4 id="org50bfe59"><span class="section-number-4">5.3.2</span> HPC version</h4>
|
||||||
<div class="outline-text-4" id="text-5-3-2">
|
<div class="outline-text-4" id="text-5-3-2">
|
||||||
<table id="org3e06e97" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="orge9e1893" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -4319,8 +4319,8 @@ of bits of precision (1-53), a range is given.
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div id="outline-container-orgbde76e0" class="outline-4">
|
<div id="outline-container-orge769588" class="outline-4">
|
||||||
<h4 id="orgbde76e0"><span class="section-number-4">5.3.3</span> Interfaces</h4>
|
<h4 id="orge769588"><span class="section-number-4">5.3.3</span> Interfaces</h4>
|
||||||
<div class="outline-text-4" id="text-5-3-3">
|
<div class="outline-text-4" id="text-5-3-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> (
|
||||||
@ -4372,7 +4372,7 @@ of bits of precision (1-53), a range is given.
|
|||||||
</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: 2024-02-14 Wed 10:15</p>
|
<p class="date">Created: 2024-02-14 Wed 10:27</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>
|
||||||
|
184
qmckl_blas.html
184
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>
|
||||||
<!-- 2024-02-14 Wed 10:15 -->
|
<!-- 2024-02-14 Wed 10:27 -->
|
||||||
<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>
|
||||||
@ -346,56 +346,56 @@ 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="#orgcbbfe86">-</a></li>
|
<li><a href="#orgc773b5d">-</a></li>
|
||||||
<li><a href="#org767ad55">1. Data types</a>
|
<li><a href="#org4438315">1. Data types</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org5505d8d">1.1. Vector</a></li>
|
<li><a href="#org1defaaf">1.1. Vector</a></li>
|
||||||
<li><a href="#orgd0ba3f0">1.2. Matrix</a></li>
|
<li><a href="#org837a02b">1.2. Matrix</a></li>
|
||||||
<li><a href="#orgfe1ff50">1.3. Tensor</a></li>
|
<li><a href="#orgef179ff">1.3. Tensor</a></li>
|
||||||
<li><a href="#orgd36d7ba">1.4. Reshaping</a>
|
<li><a href="#org8f71668">1.4. Reshaping</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgc1e05b9">1.4.1. Vector -> Matrix</a></li>
|
<li><a href="#orge2d574a">1.4.1. Vector -> Matrix</a></li>
|
||||||
<li><a href="#org152b917">1.4.2. Vector -> Tensor</a></li>
|
<li><a href="#org1d0eb52">1.4.2. Vector -> Tensor</a></li>
|
||||||
<li><a href="#orgbbcec30">1.4.3. Matrix -> Vector</a></li>
|
<li><a href="#org70ffcca">1.4.3. Matrix -> Vector</a></li>
|
||||||
<li><a href="#org15eabf3">1.4.4. Matrix -> Tensor</a></li>
|
<li><a href="#orgcccc88c">1.4.4. Matrix -> Tensor</a></li>
|
||||||
<li><a href="#orgb929c39">1.4.5. Tensor -> Vector</a></li>
|
<li><a href="#orgbfbc737">1.4.5. Tensor -> Vector</a></li>
|
||||||
<li><a href="#org97f359b">1.4.6. Tensor -> Matrix</a></li>
|
<li><a href="#orgc736e58">1.4.6. Tensor -> Matrix</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org2282cf4">1.5. Access macros</a></li>
|
<li><a href="#orge84fc6f">1.5. Access macros</a></li>
|
||||||
<li><a href="#org4b23832">1.6. Set all elements</a>
|
<li><a href="#orgb3dce98">1.6. Set all elements</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgc914e77">1.6.1. Vector</a></li>
|
<li><a href="#org48bbc01">1.6.1. Vector</a></li>
|
||||||
<li><a href="#orgd3149a2">1.6.2. Matrix</a></li>
|
<li><a href="#orgb4c2a30">1.6.2. Matrix</a></li>
|
||||||
<li><a href="#org3c62599">1.6.3. Tensor</a></li>
|
<li><a href="#org0c7cb2b">1.6.3. Tensor</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org59fdbfa">1.7. Copy to/from to <code>double*</code></a></li>
|
<li><a href="#org5c4205d">1.7. Copy to/from to <code>double*</code></a></li>
|
||||||
<li><a href="#orge2bc0fe">1.8. Allocate and copy to <code>double*</code></a></li>
|
<li><a href="#org2e458cd">1.8. Allocate and copy to <code>double*</code></a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#orge3fe602">2. Matrix operations</a>
|
<li><a href="#org97b5810">2. Matrix operations</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org178341b">2.1. <code>qmckl_dgemm</code></a></li>
|
<li><a href="#orgb095d55">2.1. <code>qmckl_dgemm</code></a></li>
|
||||||
<li><a href="#orgf1dedd6">2.2. <code>qmckl_dgemm_safe</code></a></li>
|
<li><a href="#org493d40f">2.2. <code>qmckl_dgemm_safe</code></a></li>
|
||||||
<li><a href="#org5335c63">2.3. <code>qmckl_matmul</code></a></li>
|
<li><a href="#org06901b8">2.3. <code>qmckl_matmul</code></a></li>
|
||||||
<li><a href="#org6c7fc85">2.4. <code>qmckl_adjugate</code></a></li>
|
<li><a href="#org46af1eb">2.4. <code>qmckl_adjugate</code></a></li>
|
||||||
<li><a href="#org79753bf">2.5. <code>qmckl_adjugate_safe</code></a>
|
<li><a href="#org4ee100d">2.5. <code>qmckl_adjugate_safe</code></a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgd6878d6">2.5.1. C interface</a></li>
|
<li><a href="#orgfdb6392">2.5.1. C interface</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#orgeaa8b43">2.6. <code>qmckl_transpose</code></a></li>
|
<li><a href="#org92429bc">2.6. <code>qmckl_transpose</code></a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#orgbc24a01">3. Utilities</a></li>
|
<li><a href="#org9412761">3. Utilities</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgcbbfe86" class="outline-2">
|
<div id="outline-container-orgc773b5d" class="outline-2">
|
||||||
<h2 id="orgcbbfe86">-</h2>
|
<h2 id="orgc773b5d">-</h2>
|
||||||
<div class="outline-text-2" id="text-orgcbbfe86">
|
<div class="outline-text-2" id="text-orgc773b5d">
|
||||||
<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
|
||||||
@ -409,12 +409,12 @@ are not intended to be passed to external codes.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org767ad55" class="outline-2">
|
<div id="outline-container-org4438315" class="outline-2">
|
||||||
<h2 id="org767ad55"><span class="section-number-2">1</span> Data types</h2>
|
<h2 id="org4438315"><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-org5505d8d" class="outline-3">
|
<div id="outline-container-org1defaaf" class="outline-3">
|
||||||
<h3 id="org5505d8d"><span class="section-number-3">1.1</span> Vector</h3>
|
<h3 id="org1defaaf"><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">
|
||||||
|
|
||||||
@ -468,8 +468,8 @@ Allocates a new vector. If the allocation failed the size is zero.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgd0ba3f0" class="outline-3">
|
<div id="outline-container-org837a02b" class="outline-3">
|
||||||
<h3 id="orgd0ba3f0"><span class="section-number-3">1.2</span> Matrix</h3>
|
<h3 id="org837a02b"><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">
|
||||||
|
|
||||||
@ -529,8 +529,8 @@ Allocates a new matrix. If the allocation failed the sizes are zero.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgfe1ff50" class="outline-3">
|
<div id="outline-container-orgef179ff" class="outline-3">
|
||||||
<h3 id="orgfe1ff50"><span class="section-number-3">1.3</span> Tensor</h3>
|
<h3 id="orgef179ff"><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">
|
||||||
|
|
||||||
@ -597,16 +597,16 @@ is zero.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgd36d7ba" class="outline-3">
|
<div id="outline-container-org8f71668" class="outline-3">
|
||||||
<h3 id="orgd36d7ba"><span class="section-number-3">1.4</span> Reshaping</h3>
|
<h3 id="org8f71668"><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-orgc1e05b9" class="outline-4">
|
<div id="outline-container-orge2d574a" class="outline-4">
|
||||||
<h4 id="orgc1e05b9"><span class="section-number-4">1.4.1</span> Vector -> Matrix</h4>
|
<h4 id="orge2d574a"><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>
|
||||||
@ -622,8 +622,8 @@ Reshapes a vector into a matrix.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org152b917" class="outline-4">
|
<div id="outline-container-org1d0eb52" class="outline-4">
|
||||||
<h4 id="org152b917"><span class="section-number-4">1.4.2</span> Vector -> Tensor</h4>
|
<h4 id="org1d0eb52"><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>
|
||||||
@ -639,8 +639,8 @@ Reshapes a vector into a tensor.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgbbcec30" class="outline-4">
|
<div id="outline-container-org70ffcca" class="outline-4">
|
||||||
<h4 id="orgbbcec30"><span class="section-number-4">1.4.3</span> Matrix -> Vector</h4>
|
<h4 id="org70ffcca"><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>
|
||||||
@ -654,8 +654,8 @@ Reshapes a matrix into a vector.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org15eabf3" class="outline-4">
|
<div id="outline-container-orgcccc88c" class="outline-4">
|
||||||
<h4 id="org15eabf3"><span class="section-number-4">1.4.4</span> Matrix -> Tensor</h4>
|
<h4 id="orgcccc88c"><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>
|
||||||
@ -671,8 +671,8 @@ Reshapes a matrix into a tensor.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgb929c39" class="outline-4">
|
<div id="outline-container-orgbfbc737" class="outline-4">
|
||||||
<h4 id="orgb929c39"><span class="section-number-4">1.4.5</span> Tensor -> Vector</h4>
|
<h4 id="orgbfbc737"><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>
|
||||||
@ -686,8 +686,8 @@ Reshapes a tensor into a vector.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org97f359b" class="outline-4">
|
<div id="outline-container-orgc736e58" class="outline-4">
|
||||||
<h4 id="org97f359b"><span class="section-number-4">1.4.6</span> Tensor -> Matrix</h4>
|
<h4 id="orgc736e58"><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>
|
||||||
@ -704,8 +704,8 @@ Reshapes a tensor into a vector.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org2282cf4" class="outline-3">
|
<div id="outline-container-orge84fc6f" class="outline-3">
|
||||||
<h3 id="org2282cf4"><span class="section-number-3">1.5</span> Access macros</h3>
|
<h3 id="orge84fc6f"><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
|
||||||
@ -730,12 +730,12 @@ For example:
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org4b23832" class="outline-3">
|
<div id="outline-container-orgb3dce98" class="outline-3">
|
||||||
<h3 id="org4b23832"><span class="section-number-3">1.6</span> Set all elements</h3>
|
<h3 id="orgb3dce98"><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-orgc914e77" class="outline-4">
|
<div id="outline-container-org48bbc01" class="outline-4">
|
||||||
<h4 id="orgc914e77"><span class="section-number-4">1.6.1</span> Vector</h4>
|
<h4 id="org48bbc01"><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>
|
||||||
@ -745,8 +745,8 @@ For example:
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgd3149a2" class="outline-4">
|
<div id="outline-container-orgb4c2a30" class="outline-4">
|
||||||
<h4 id="orgd3149a2"><span class="section-number-4">1.6.2</span> Matrix</h4>
|
<h4 id="orgb4c2a30"><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>
|
||||||
@ -756,8 +756,8 @@ For example:
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org3c62599" class="outline-4">
|
<div id="outline-container-org0c7cb2b" class="outline-4">
|
||||||
<h4 id="org3c62599"><span class="section-number-4">1.6.3</span> Tensor</h4>
|
<h4 id="org0c7cb2b"><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>
|
||||||
@ -768,8 +768,8 @@ For example:
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org59fdbfa" class="outline-3">
|
<div id="outline-container-org5c4205d" class="outline-3">
|
||||||
<h3 id="org59fdbfa"><span class="section-number-3">1.7</span> Copy to/from to <code>double*</code></h3>
|
<h3 id="org5c4205d"><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>
|
||||||
@ -851,8 +851,8 @@ Converts a <code>double*</code> to a tensor.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orge2bc0fe" class="outline-3">
|
<div id="outline-container-org2e458cd" class="outline-3">
|
||||||
<h3 id="orge2bc0fe"><span class="section-number-3">1.8</span> Allocate and copy to <code>double*</code></h3>
|
<h3 id="org2e458cd"><span class="section-number-3">1.8</span> Allocate and copy to <code>double*</code></h3>
|
||||||
<div class="outline-text-3" id="text-1-8">
|
<div class="outline-text-3" id="text-1-8">
|
||||||
<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_alloc_double_of_vector</span>(<span style="color: #a020f0;">const</span> <span style="color: #228b22;">qmckl_context</span> <span style="color: #a0522d;">context</span>,
|
<pre class="src src-c"><span style="color: #228b22;">double</span>* <span style="color: #0000ff;">qmckl_alloc_double_of_vector</span>(<span style="color: #a020f0;">const</span> <span style="color: #228b22;">qmckl_context</span> <span style="color: #a0522d;">context</span>,
|
||||||
@ -876,12 +876,12 @@ Converts a <code>double*</code> to a tensor.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orge3fe602" class="outline-2">
|
<div id="outline-container-org97b5810" class="outline-2">
|
||||||
<h2 id="orge3fe602"><span class="section-number-2">2</span> Matrix operations</h2>
|
<h2 id="org97b5810"><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-org178341b" class="outline-3">
|
<div id="outline-container-orgb095d55" class="outline-3">
|
||||||
<h3 id="org178341b"><span class="section-number-3">2.1</span> <code>qmckl_dgemm</code></h3>
|
<h3 id="orgb095d55"><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:
|
||||||
@ -893,7 +893,7 @@ Matrix multiplication with a BLAS interface:
|
|||||||
\]
|
\]
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<table id="org697cd6b" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org30f0dee" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -1052,8 +1052,8 @@ Requirements:
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgf1dedd6" class="outline-3">
|
<div id="outline-container-org493d40f" class="outline-3">
|
||||||
<h3 id="orgf1dedd6"><span class="section-number-3">2.2</span> <code>qmckl_dgemm_safe</code></h3>
|
<h3 id="org493d40f"><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>
|
||||||
@ -1062,7 +1062,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="org4b98c8c" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="orga08fdbf" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -1248,8 +1248,8 @@ Requirements:
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org5335c63" class="outline-3">
|
<div id="outline-container-org06901b8" class="outline-3">
|
||||||
<h3 id="org5335c63"><span class="section-number-3">2.3</span> <code>qmckl_matmul</code></h3>
|
<h3 id="org06901b8"><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:
|
||||||
@ -1261,7 +1261,7 @@ Matrix multiplication using the <code>qmckl_matrix</code> data type:
|
|||||||
\]
|
\]
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<table id="org1ca6080" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="orge3ce05a" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -1355,8 +1355,8 @@ Matrix multiplication using the <code>qmckl_matrix</code> data type:
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org6c7fc85" class="outline-3">
|
<div id="outline-container-org46af1eb" class="outline-3">
|
||||||
<h3 id="org6c7fc85"><span class="section-number-3">2.4</span> <code>qmckl_adjugate</code></h3>
|
<h3 id="org46af1eb"><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
|
||||||
@ -1374,7 +1374,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="org2cb3d17" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org809fc7b" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -1570,8 +1570,8 @@ determinant with the inverse:
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org79753bf" class="outline-3">
|
<div id="outline-container-org4ee100d" class="outline-3">
|
||||||
<h3 id="org79753bf"><span class="section-number-3">2.5</span> <code>qmckl_adjugate_safe</code></h3>
|
<h3 id="org4ee100d"><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>
|
||||||
@ -1581,7 +1581,7 @@ NumPy arrays implies that sizes of the input and output arrays are provided.
|
|||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
|
||||||
<table id="orgdf024a5" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="orgafdaad1" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -1703,13 +1703,13 @@ LAPACK library.
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgd6878d6" class="outline-4">
|
<div id="outline-container-orgfdb6392" class="outline-4">
|
||||||
<h4 id="orgd6878d6"><span class="section-number-4">2.5.1</span> C interface</h4>
|
<h4 id="orgfdb6392"><span class="section-number-4">2.5.1</span> C interface</h4>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgeaa8b43" class="outline-3">
|
<div id="outline-container-org92429bc" class="outline-3">
|
||||||
<h3 id="orgeaa8b43"><span class="section-number-3">2.6</span> <code>qmckl_transpose</code></h3>
|
<h3 id="org92429bc"><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}\).
|
||||||
@ -1770,8 +1770,8 @@ Transposes a matrix: \(A^\dagger_{ji} = A_{ij}\).
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgbc24a01" class="outline-2">
|
<div id="outline-container-org9412761" class="outline-2">
|
||||||
<h2 id="orgbc24a01"><span class="section-number-2">3</span> Utilities</h2>
|
<h2 id="org9412761"><span class="section-number-2">3</span> Utilities</h2>
|
||||||
<div class="outline-text-2" id="text-3">
|
<div class="outline-text-2" id="text-3">
|
||||||
<p>
|
<p>
|
||||||
Trick to make MKL efficient on AMD
|
Trick to make MKL efficient on AMD
|
||||||
@ -1789,7 +1789,7 @@ Trick to make MKL efficient on AMD
|
|||||||
</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: 2024-02-14 Wed 10:15</p>
|
<p class="date">Created: 2024-02-14 Wed 10:27</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>
|
||||||
<!-- 2024-02-14 Wed 10:15 -->
|
<!-- 2024-02-14 Wed 10:26 -->
|
||||||
<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>
|
||||||
@ -324,21 +324,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="#org0e348b2">1. Context handling</a>
|
<li><a href="#org263e1b5">1. Context handling</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org6017b6b">1.1. Data structure</a></li>
|
<li><a href="#org26c1243">1.1. Data structure</a></li>
|
||||||
<li><a href="#org77454dd">1.2. Creation</a></li>
|
<li><a href="#org9a50020">1.2. Creation</a></li>
|
||||||
<li><a href="#org931fa94">1.3. Locking</a></li>
|
<li><a href="#org4ffe015">1.3. Locking</a></li>
|
||||||
<li><a href="#org057a86c">1.4. <span class="todo TODO">TODO</span> Copy</a></li>
|
<li><a href="#org14dc067">1.4. <span class="todo TODO">TODO</span> Copy</a></li>
|
||||||
<li><a href="#orgbe1d002">1.5. Destroy</a></li>
|
<li><a href="#org5f25531">1.5. Destroy</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org0e348b2" class="outline-2">
|
<div id="outline-container-org263e1b5" class="outline-2">
|
||||||
<h2 id="org0e348b2"><span class="section-number-2">1</span> Context handling</h2>
|
<h2 id="org263e1b5"><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,
|
||||||
@ -351,7 +351,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="orga3cbf3e"><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="org1efe590"><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>
|
||||||
@ -369,8 +369,8 @@ and <code>ctx</code> is a <code>qmckl_context_struct*</code> pointer.
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org6017b6b" class="outline-3">
|
<div id="outline-container-org26c1243" class="outline-3">
|
||||||
<h3 id="org6017b6b"><span class="section-number-3">1.1</span> Data structure</h3>
|
<h3 id="org26c1243"><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>
|
||||||
The qmckl<sub>extra</sub> pointer lets the other implementation of the library
|
The qmckl<sub>extra</sub> pointer lets the other implementation of the library
|
||||||
@ -406,7 +406,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="#org77454dd"><code>qmckl_context_create</code></a> <a href="#orgbe1d002"><code>qmckl_context_destroy</code></a> and <a href="#org057a86c"><code>qmckl_context_copy</code></a>
|
<a href="#org9a50020"><code>qmckl_context_create</code></a> <a href="#org5f25531"><code>qmckl_context_destroy</code></a> and <a href="#org14dc067"><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>
|
||||||
|
|
||||||
@ -427,8 +427,8 @@ This has the effect to increment the date of the context.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org77454dd" class="outline-3">
|
<div id="outline-container-org9a50020" class="outline-3">
|
||||||
<h3 id="org77454dd"><span class="section-number-3">1.2</span> Creation</h3>
|
<h3 id="org9a50020"><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.
|
||||||
@ -445,8 +445,8 @@ To create a new context, <code>qmckl_context_create()</code> should be used.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-org931fa94" class="outline-3">
|
<div id="outline-container-org4ffe015" class="outline-3">
|
||||||
<h3 id="org931fa94"><span class="section-number-3">1.3</span> Locking</h3>
|
<h3 id="org4ffe015"><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
|
||||||
@ -462,8 +462,8 @@ number of times the thread has locked it is saved in the
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-org057a86c" class="outline-3">
|
<div id="outline-container-org14dc067" class="outline-3">
|
||||||
<h3 id="org057a86c"><span class="section-number-3">1.4</span> <span class="todo TODO">TODO</span> Copy</h3>
|
<h3 id="org14dc067"><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
|
||||||
@ -471,8 +471,8 @@ number of times the thread has locked it is saved in the
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-orgbe1d002" class="outline-3">
|
<div id="outline-container-org5f25531" class="outline-3">
|
||||||
<h3 id="orgbe1d002"><span class="section-number-3">1.5</span> Destroy</h3>
|
<h3 id="org5f25531"><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.
|
||||||
@ -490,7 +490,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: 2024-02-14 Wed 10:15</p>
|
<p class="date">Created: 2024-02-14 Wed 10:26</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>
|
||||||
<!-- 2024-02-14 Wed 10:15 -->
|
<!-- 2024-02-14 Wed 10:27 -->
|
||||||
<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>
|
||||||
@ -324,32 +324,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="#org573344a">1. Context</a>
|
<li><a href="#org8f9880d">1. Context</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org274f10f">1.1. Data structure</a></li>
|
<li><a href="#org4999b51">1.1. Data structure</a></li>
|
||||||
<li><a href="#org7514018">1.2. Access functions</a></li>
|
<li><a href="#org2c6e4d7">1.2. Access functions</a></li>
|
||||||
<li><a href="#org70f846b">1.3. Initialization functions</a></li>
|
<li><a href="#org9744867">1.3. Initialization functions</a></li>
|
||||||
<li><a href="#orgccdc119">1.4. Fortran Interfaces</a></li>
|
<li><a href="#org4e74d39">1.4. Fortran Interfaces</a></li>
|
||||||
<li><a href="#org81d7418">1.5. Test</a></li>
|
<li><a href="#org3ab154b">1.5. Test</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org8e5ff3b">2. Computation</a>
|
<li><a href="#org30057d2">2. Computation</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org460c987">2.1. Determinant matrix</a>
|
<li><a href="#org148c2db">2.1. Determinant matrix</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgfaf7960">2.1.1. Get</a></li>
|
<li><a href="#org15b2043">2.1.1. Get</a></li>
|
||||||
<li><a href="#orga388f83">2.1.2. Provide</a></li>
|
<li><a href="#orge88990c">2.1.2. Provide</a></li>
|
||||||
<li><a href="#orge4ddf95">2.1.3. Compute alpha</a></li>
|
<li><a href="#org7298d07">2.1.3. Compute alpha</a></li>
|
||||||
<li><a href="#orge83a280">2.1.4. Compute beta</a></li>
|
<li><a href="#org642b5ee">2.1.4. Compute beta</a></li>
|
||||||
<li><a href="#org5bd75eb">2.1.5. Test</a></li>
|
<li><a href="#org4f6edaa">2.1.5. Test</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org17f9dc0">2.2. Inverse of Determinant matrix</a>
|
<li><a href="#orgdbc8ec5">2.2. Inverse of Determinant matrix</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgf33d185">2.2.1. Get</a></li>
|
<li><a href="#org0df0206">2.2.1. Get</a></li>
|
||||||
<li><a href="#org4456ebc">2.2.2. Provide</a></li>
|
<li><a href="#org8125777">2.2.2. Provide</a></li>
|
||||||
<li><a href="#orgf61d937">2.2.3. Compute alpha</a></li>
|
<li><a href="#org6c9a7eb">2.2.3. Compute alpha</a></li>
|
||||||
<li><a href="#orgb2e6562">2.2.4. Compute beta</a></li>
|
<li><a href="#org0e3fa44">2.2.4. Compute beta</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
@ -358,8 +358,8 @@ for the JavaScript code in this tag.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org573344a" class="outline-2">
|
<div id="outline-container-org8f9880d" class="outline-2">
|
||||||
<h2 id="org573344a"><span class="section-number-2">1</span> Context</h2>
|
<h2 id="org8f9880d"><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:
|
||||||
@ -535,8 +535,8 @@ Computed data:
|
|||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org274f10f" class="outline-3">
|
<div id="outline-container-org4999b51" class="outline-3">
|
||||||
<h3 id="org274f10f"><span class="section-number-3">1.1</span> Data structure</h3>
|
<h3 id="org4999b51"><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> {
|
||||||
@ -604,8 +604,8 @@ this mechanism.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org7514018" class="outline-3">
|
<div id="outline-container-org2c6e4d7" class="outline-3">
|
||||||
<h3 id="org7514018"><span class="section-number-3">1.2</span> Access functions</h3>
|
<h3 id="org2c6e4d7"><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
|
||||||
@ -619,8 +619,8 @@ function returns <code>true</code>.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org70f846b" class="outline-3">
|
<div id="outline-container-org9744867" class="outline-3">
|
||||||
<h3 id="org70f846b"><span class="section-number-3">1.3</span> Initialization functions</h3>
|
<h3 id="org9744867"><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
|
||||||
@ -643,24 +643,24 @@ computed to accelerate the calculations.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgccdc119" class="outline-3">
|
<div id="outline-container-org4e74d39" class="outline-3">
|
||||||
<h3 id="orgccdc119"><span class="section-number-3">1.4</span> Fortran Interfaces</h3>
|
<h3 id="org4e74d39"><span class="section-number-3">1.4</span> Fortran Interfaces</h3>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-org81d7418" class="outline-3">
|
<div id="outline-container-org3ab154b" class="outline-3">
|
||||||
<h3 id="org81d7418"><span class="section-number-3">1.5</span> Test</h3>
|
<h3 id="org3ab154b"><span class="section-number-3">1.5</span> Test</h3>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-org8e5ff3b" class="outline-2">
|
<div id="outline-container-org30057d2" class="outline-2">
|
||||||
<h2 id="org8e5ff3b"><span class="section-number-2">2</span> Computation</h2>
|
<h2 id="org30057d2"><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-org460c987" class="outline-3">
|
<div id="outline-container-org148c2db" class="outline-3">
|
||||||
<h3 id="org460c987"><span class="section-number-3">2.1</span> Determinant matrix</h3>
|
<h3 id="org148c2db"><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-orgfaf7960" class="outline-4">
|
<div id="outline-container-org15b2043" class="outline-4">
|
||||||
<h4 id="orgfaf7960"><span class="section-number-4">2.1.1</span> Get</h4>
|
<h4 id="org15b2043"><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>);
|
||||||
@ -670,14 +670,14 @@ computed to accelerate the calculations.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orga388f83" class="outline-4">
|
<div id="outline-container-orge88990c" class="outline-4">
|
||||||
<h4 id="orga388f83"><span class="section-number-4">2.1.2</span> Provide</h4>
|
<h4 id="orge88990c"><span class="section-number-4">2.1.2</span> Provide</h4>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orge4ddf95" class="outline-4">
|
<div id="outline-container-org7298d07" class="outline-4">
|
||||||
<h4 id="orge4ddf95"><span class="section-number-4">2.1.3</span> Compute alpha</h4>
|
<h4 id="org7298d07"><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="orgebd6f3e" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org3c93396" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -851,10 +851,10 @@ computed to accelerate the calculations.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orge83a280" class="outline-4">
|
<div id="outline-container-org642b5ee" class="outline-4">
|
||||||
<h4 id="orge83a280"><span class="section-number-4">2.1.4</span> Compute beta</h4>
|
<h4 id="org642b5ee"><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="orgc7a6fb1" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="orgae69062" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -1028,18 +1028,18 @@ computed to accelerate the calculations.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org5bd75eb" class="outline-4">
|
<div id="outline-container-org4f6edaa" class="outline-4">
|
||||||
<h4 id="org5bd75eb"><span class="section-number-4">2.1.5</span> Test</h4>
|
<h4 id="org4f6edaa"><span class="section-number-4">2.1.5</span> Test</h4>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org17f9dc0" class="outline-3">
|
<div id="outline-container-orgdbc8ec5" class="outline-3">
|
||||||
<h3 id="org17f9dc0"><span class="section-number-3">2.2</span> Inverse of Determinant matrix</h3>
|
<h3 id="orgdbc8ec5"><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-orgf33d185" class="outline-4">
|
<div id="outline-container-org0df0206" class="outline-4">
|
||||||
<h4 id="orgf33d185"><span class="section-number-4">2.2.1</span> Get</h4>
|
<h4 id="org0df0206"><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>);
|
||||||
@ -1053,14 +1053,14 @@ computed to accelerate the calculations.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org4456ebc" class="outline-4">
|
<div id="outline-container-org8125777" class="outline-4">
|
||||||
<h4 id="org4456ebc"><span class="section-number-4">2.2.2</span> Provide</h4>
|
<h4 id="org8125777"><span class="section-number-4">2.2.2</span> Provide</h4>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgf61d937" class="outline-4">
|
<div id="outline-container-org6c9a7eb" class="outline-4">
|
||||||
<h4 id="orgf61d937"><span class="section-number-4">2.2.3</span> Compute alpha</h4>
|
<h4 id="org6c9a7eb"><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="org9fb0776" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org4c75603" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -1222,10 +1222,10 @@ computed to accelerate the calculations.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgb2e6562" class="outline-4">
|
<div id="outline-container-org0e3fa44" class="outline-4">
|
||||||
<h4 id="orgb2e6562"><span class="section-number-4">2.2.4</span> Compute beta</h4>
|
<h4 id="org0e3fa44"><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="org9280104" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="orgeaa44a3" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -1392,7 +1392,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: 2024-02-14 Wed 10:15</p>
|
<p class="date">Created: 2024-02-14 Wed 10:27</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>
|
||||||
<!-- 2024-02-14 Wed 10:15 -->
|
<!-- 2024-02-14 Wed 10:27 -->
|
||||||
<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>
|
||||||
@ -346,54 +346,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="#orgd43026e">1. Squared distance</a>
|
<li><a href="#orgcae8029">1. Squared distance</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org98138d1">1.1. <code>qmckl_distance_sq</code></a>
|
<li><a href="#org6991c09">1.1. <code>qmckl_distance_sq</code></a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org7b0bb28">1.1.1. Performance</a></li>
|
<li><a href="#orga422f6b">1.1.1. Performance</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org7903ed2">2. Distance</a>
|
<li><a href="#org8a23aca">2. Distance</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org99ea683">2.1. <code>qmckl_distance</code></a>
|
<li><a href="#org58f1537">2.1. <code>qmckl_distance</code></a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org477c5ca">2.1.1. Requirements</a></li>
|
<li><a href="#org12e682a">2.1.1. Requirements</a></li>
|
||||||
<li><a href="#orga41ce9c">2.1.2. C header</a></li>
|
<li><a href="#org4de0f9f">2.1.2. C header</a></li>
|
||||||
<li><a href="#org900c6f1">2.1.3. Source</a></li>
|
<li><a href="#org1045d40">2.1.3. Source</a></li>
|
||||||
<li><a href="#org599d8a9">2.1.4. Performance</a></li>
|
<li><a href="#org9ff395b">2.1.4. Performance</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org6dff3c4">3. Rescaled Distance</a>
|
<li><a href="#orge0df93d">3. Rescaled Distance</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org1cd72e5">3.1. <code>qmckl_distance_rescaled</code></a>
|
<li><a href="#orgc736b5b">3.1. <code>qmckl_distance_rescaled</code></a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org5f6dd4a">3.1.1. Requirements</a></li>
|
<li><a href="#org365bbba">3.1.1. Requirements</a></li>
|
||||||
<li><a href="#orgeabdd90">3.1.2. C header</a></li>
|
<li><a href="#org7bb851d">3.1.2. C header</a></li>
|
||||||
<li><a href="#org112b0f1">3.1.3. Source</a></li>
|
<li><a href="#orgc5846e7">3.1.3. Source</a></li>
|
||||||
<li><a href="#orgc1b1344">3.1.4. Performance</a></li>
|
<li><a href="#orgbc224e3">3.1.4. Performance</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#orgd4f0ab1">4. Rescaled Distance Derivatives</a>
|
<li><a href="#orge2b87ed">4. Rescaled Distance Derivatives</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org354978a">4.1. <code>qmckl_distance_rescaled_gl</code></a></li>
|
<li><a href="#org948c7cf">4.1. <code>qmckl_distance_rescaled_gl</code></a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgd43026e" class="outline-2">
|
<div id="outline-container-orgcae8029" class="outline-2">
|
||||||
<h2 id="orgd43026e"><span class="section-number-2">1</span> Squared distance</h2>
|
<h2 id="orgcae8029"><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-org98138d1" class="outline-3">
|
<div id="outline-container-org6991c09" class="outline-3">
|
||||||
<h3 id="org98138d1"><span class="section-number-3">1.1</span> <code>qmckl_distance_sq</code></h3>
|
<h3 id="org6991c09"><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
|
||||||
@ -406,7 +406,7 @@ between all pairs of points in two sets, one point within each set:
|
|||||||
\]
|
\]
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<table id="orgc024b9b" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org8658456" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -679,8 +679,8 @@ Requirements:
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org7b0bb28" class="outline-4">
|
<div id="outline-container-orga422f6b" class="outline-4">
|
||||||
<h4 id="org7b0bb28"><span class="section-number-4">1.1.1</span> Performance</h4>
|
<h4 id="orga422f6b"><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
|
||||||
@ -690,12 +690,12 @@ transposed.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-org7903ed2" class="outline-2">
|
<div id="outline-container-org8a23aca" class="outline-2">
|
||||||
<h2 id="org7903ed2"><span class="section-number-2">2</span> Distance</h2>
|
<h2 id="org8a23aca"><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-org99ea683" class="outline-3">
|
<div id="outline-container-org58f1537" class="outline-3">
|
||||||
<h3 id="org99ea683"><span class="section-number-3">2.1</span> <code>qmckl_distance</code></h3>
|
<h3 id="org58f1537"><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
|
||||||
@ -713,7 +713,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="org9c13a0f" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="orgd7a35f1" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -814,8 +814,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-org477c5ca" class="outline-4">
|
<div id="outline-container-org12e682a" class="outline-4">
|
||||||
<h4 id="org477c5ca"><span class="section-number-4">2.1.1</span> Requirements</h4>
|
<h4 id="org12e682a"><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>
|
||||||
@ -833,8 +833,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-orga41ce9c" class="outline-4">
|
<div id="outline-container-org4de0f9f" class="outline-4">
|
||||||
<h4 id="orga41ce9c"><span class="section-number-4">2.1.2</span> C header</h4>
|
<h4 id="org4de0f9f"><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> (
|
||||||
@ -854,8 +854,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-org900c6f1" class="outline-4">
|
<div id="outline-container-org1045d40" class="outline-4">
|
||||||
<h4 id="org900c6f1"><span class="section-number-4">2.1.3</span> Source</h4>
|
<h4 id="org1045d40"><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: #a020f0;">function</span> <span style="color: #0000ff;">qmckl_distance</span>(context, transa, transb, m, n, <span style="color: #a020f0;">&</span>
|
<pre class="src src-f90"><span style="color: #a020f0;">function</span> <span style="color: #0000ff;">qmckl_distance</span>(context, transa, transb, m, n, <span style="color: #a020f0;">&</span>
|
||||||
@ -1006,8 +1006,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-org599d8a9" class="outline-4">
|
<div id="outline-container-org9ff395b" class="outline-4">
|
||||||
<h4 id="org599d8a9"><span class="section-number-4">2.1.4</span> Performance</h4>
|
<h4 id="org9ff395b"><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.
|
||||||
@ -1017,12 +1017,12 @@ This function is more efficient when <code>A</code> and <code>B</code> are trans
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org6dff3c4" class="outline-2">
|
<div id="outline-container-orge0df93d" class="outline-2">
|
||||||
<h2 id="org6dff3c4"><span class="section-number-2">3</span> Rescaled Distance</h2>
|
<h2 id="orge0df93d"><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-org1cd72e5" class="outline-3">
|
<div id="outline-container-orgc736b5b" class="outline-3">
|
||||||
<h3 id="org1cd72e5"><span class="section-number-3">3.1</span> <code>qmckl_distance_rescaled</code></h3>
|
<h3 id="orgc736b5b"><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
|
||||||
@ -1040,7 +1040,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="org9c89043" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="orgd32f153" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -1148,8 +1148,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-org5f6dd4a" class="outline-4">
|
<div id="outline-container-org365bbba" class="outline-4">
|
||||||
<h4 id="org5f6dd4a"><span class="section-number-4">3.1.1</span> Requirements</h4>
|
<h4 id="org365bbba"><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>
|
||||||
@ -1167,8 +1167,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-orgeabdd90" class="outline-4">
|
<div id="outline-container-org7bb851d" class="outline-4">
|
||||||
<h4 id="orgeabdd90"><span class="section-number-4">3.1.2</span> C header</h4>
|
<h4 id="org7bb851d"><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> (
|
||||||
@ -1189,8 +1189,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-org112b0f1" class="outline-4">
|
<div id="outline-container-orgc5846e7" class="outline-4">
|
||||||
<h4 id="org112b0f1"><span class="section-number-4">3.1.3</span> Source</h4>
|
<h4 id="orgc5846e7"><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: #a020f0;">function</span> <span style="color: #0000ff;">qmckl_distance_rescaled</span>(context, transa, transb, m, n, <span style="color: #a020f0;">&</span>
|
<pre class="src src-f90"><span style="color: #a020f0;">function</span> <span style="color: #0000ff;">qmckl_distance_rescaled</span>(context, transa, transb, m, n, <span style="color: #a020f0;">&</span>
|
||||||
@ -1344,8 +1344,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-orgc1b1344" class="outline-4">
|
<div id="outline-container-orgbc224e3" class="outline-4">
|
||||||
<h4 id="orgc1b1344"><span class="section-number-4">3.1.4</span> Performance</h4>
|
<h4 id="orgbc224e3"><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.
|
||||||
@ -1354,12 +1354,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-orgd4f0ab1" class="outline-2">
|
<div id="outline-container-orge2b87ed" class="outline-2">
|
||||||
<h2 id="orgd4f0ab1"><span class="section-number-2">4</span> Rescaled Distance Derivatives</h2>
|
<h2 id="orge2b87ed"><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-org354978a" class="outline-3">
|
<div id="outline-container-org948c7cf" class="outline-3">
|
||||||
<h3 id="org354978a"><span class="section-number-3">4.1</span> <code>qmckl_distance_rescaled_gl</code></h3>
|
<h3 id="org948c7cf"><span class="section-number-3">4.1</span> <code>qmckl_distance_rescaled_gl</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_gl</code> computes the matrix of the gradient and Laplacian of the
|
<code>qmckl_distance_rescaled_gl</code> computes the matrix of the gradient and Laplacian of the
|
||||||
@ -1414,7 +1414,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="org6085636" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org3f8e232" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -1735,7 +1735,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: 2024-02-14 Wed 10:15</p>
|
<p class="date">Created: 2024-02-14 Wed 10:27</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>
|
||||||
<!-- 2024-02-14 Wed 10:15 -->
|
<!-- 2024-02-14 Wed 10:27 -->
|
||||||
<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>
|
||||||
@ -346,59 +346,59 @@ 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="#orgd818941">1. Context</a>
|
<li><a href="#org1cdbeb3">1. Context</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org34c99bb">1.1. Data structure</a></li>
|
<li><a href="#org3361423">1.1. Data structure</a></li>
|
||||||
<li><a href="#orga417315">1.2. Initialization functions</a></li>
|
<li><a href="#orgb4d2a28">1.2. Initialization functions</a></li>
|
||||||
<li><a href="#orgd65bab8">1.3. Access functions</a>
|
<li><a href="#org7964211">1.3. Access functions</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgd3d8cfe">1.3.1. Number of electrons</a></li>
|
<li><a href="#orge586d64">1.3.1. Number of electrons</a></li>
|
||||||
<li><a href="#org0f12380">1.3.2. Number of walkers</a></li>
|
<li><a href="#orge5542e2">1.3.2. Number of walkers</a></li>
|
||||||
<li><a href="#orge27fa43">1.3.3. Electron coordinates</a></li>
|
<li><a href="#org02ebd13">1.3.3. Electron coordinates</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org1405e07">1.4. Test</a></li>
|
<li><a href="#orge35b52a">1.4. Test</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org160af35">2. Computation</a>
|
<li><a href="#org8c03c31">2. Computation</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org01e1e20">2.1. Electron-electron distances</a>
|
<li><a href="#orgafec639">2.1. Electron-electron distances</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org45f3287">2.1.1. Get</a></li>
|
<li><a href="#org546b5fc">2.1.1. Get</a></li>
|
||||||
<li><a href="#org21ca419">2.1.2. Compute</a></li>
|
<li><a href="#org4982f13">2.1.2. Compute</a></li>
|
||||||
<li><a href="#org4e57bd3">2.1.3. Test</a></li>
|
<li><a href="#org2019ea0">2.1.3. Test</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org7ddb20a">2.2. Electron-electron potential</a>
|
<li><a href="#org654a996">2.2. Electron-electron potential</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgaac87c4">2.2.1. Get</a></li>
|
<li><a href="#orgc7421ec">2.2.1. Get</a></li>
|
||||||
<li><a href="#org2c0adc0">2.2.2. Compute</a></li>
|
<li><a href="#org1a64695">2.2.2. Compute</a></li>
|
||||||
<li><a href="#org2aee8dd">2.2.3. Test</a></li>
|
<li><a href="#orgbae645b">2.2.3. Test</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org3d05cc5">2.3. Electron-nucleus distances</a>
|
<li><a href="#org0b9b81b">2.3. Electron-nucleus distances</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org3fa6164">2.3.1. Get</a></li>
|
<li><a href="#org6a95401">2.3.1. Get</a></li>
|
||||||
<li><a href="#orgecad9d6">2.3.2. Compute</a></li>
|
<li><a href="#orgb4f6777">2.3.2. Compute</a></li>
|
||||||
<li><a href="#org0c38824">2.3.3. Test</a></li>
|
<li><a href="#org48b007a">2.3.3. Test</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org2ebd8dc">2.4. Electron-nucleus potential</a>
|
<li><a href="#org3677c2e">2.4. Electron-nucleus potential</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgc382a7f">2.4.1. Get</a></li>
|
<li><a href="#org4fb69e3">2.4.1. Get</a></li>
|
||||||
<li><a href="#org15577e9">2.4.2. Compute</a></li>
|
<li><a href="#org51cb62b">2.4.2. Compute</a></li>
|
||||||
<li><a href="#orgf650fce">2.4.3. Test</a></li>
|
<li><a href="#org2796299">2.4.3. Test</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#orgd8b74c3">2.5. Generate initial coordinates</a></li>
|
<li><a href="#org63cf65d">2.5. Generate initial coordinates</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgd818941" class="outline-2">
|
<div id="outline-container-org1cdbeb3" class="outline-2">
|
||||||
<h2 id="orgd818941"><span class="section-number-2">1</span> Context</h2>
|
<h2 id="org1cdbeb3"><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:
|
||||||
@ -539,8 +539,8 @@ Computed data:
|
|||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org34c99bb" class="outline-3">
|
<div id="outline-container-org3361423" class="outline-3">
|
||||||
<h3 id="org34c99bb"><span class="section-number-3">1.1</span> Data structure</h3>
|
<h3 id="org3361423"><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">
|
||||||
@ -609,8 +609,8 @@ this mechanism.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orga417315" class="outline-3">
|
<div id="outline-container-orgb4d2a28" class="outline-3">
|
||||||
<h3 id="orga417315"><span class="section-number-3">1.2</span> Initialization functions</h3>
|
<h3 id="orgb4d2a28"><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 data relative to the electrons in the context, the
|
To set the data relative to the electrons in the context, the
|
||||||
@ -683,8 +683,8 @@ in the context.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgd65bab8" class="outline-3">
|
<div id="outline-container-org7964211" class="outline-3">
|
||||||
<h3 id="orgd65bab8"><span class="section-number-3">1.3</span> Access functions</h3>
|
<h3 id="org7964211"><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>
|
||||||
Access functions return <code>QMCKL_SUCCESS</code> when the data has been
|
Access functions return <code>QMCKL_SUCCESS</code> when the data has been
|
||||||
@ -696,12 +696,12 @@ contains the requested data. Otherwise, this variable is untouched.
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgd3d8cfe" class="outline-4">
|
<div id="outline-container-orge586d64" class="outline-4">
|
||||||
<h4 id="orgd3d8cfe"><span class="section-number-4">1.3.1</span> Number of electrons</h4>
|
<h4 id="orge586d64"><span class="section-number-4">1.3.1</span> Number of electrons</h4>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org0f12380" class="outline-4">
|
<div id="outline-container-orge5542e2" class="outline-4">
|
||||||
<h4 id="org0f12380"><span class="section-number-4">1.3.2</span> Number of walkers</h4>
|
<h4 id="orge5542e2"><span class="section-number-4">1.3.2</span> Number of walkers</h4>
|
||||||
<div class="outline-text-4" id="text-1-3-2">
|
<div class="outline-text-4" id="text-1-3-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
|
||||||
@ -710,8 +710,8 @@ the wave function. <code>walk_num</code> is the number of walkers.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orge27fa43" class="outline-4">
|
<div id="outline-container-org02ebd13" class="outline-4">
|
||||||
<h4 id="orge27fa43"><span class="section-number-4">1.3.3</span> Electron coordinates</h4>
|
<h4 id="org02ebd13"><span class="section-number-4">1.3.3</span> Electron coordinates</h4>
|
||||||
<div class="outline-text-4" id="text-1-3-3">
|
<div class="outline-text-4" id="text-1-3-3">
|
||||||
<p>
|
<p>
|
||||||
Returns the current electron coordinates. The pointer is assumed
|
Returns the current electron coordinates. The pointer is assumed
|
||||||
@ -776,8 +776,8 @@ current points.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-org1405e07" class="outline-3">
|
<div id="outline-container-orge35b52a" class="outline-3">
|
||||||
<h3 id="org1405e07"><span class="section-number-3">1.4</span> Test</h3>
|
<h3 id="orge35b52a"><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> */
|
||||||
@ -856,8 +856,8 @@ rc = qmckl_get_electron_coord (context, <span style="color: #8b2252;">'N'</span>
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org160af35" class="outline-2">
|
<div id="outline-container-org8c03c31" class="outline-2">
|
||||||
<h2 id="org160af35"><span class="section-number-2">2</span> Computation</h2>
|
<h2 id="org8c03c31"><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
|
||||||
@ -870,12 +870,12 @@ current date is stored.
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org01e1e20" class="outline-3">
|
<div id="outline-container-orgafec639" class="outline-3">
|
||||||
<h3 id="org01e1e20"><span class="section-number-3">2.1</span> Electron-electron distances</h3>
|
<h3 id="orgafec639"><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-org45f3287" class="outline-4">
|
<div id="outline-container-org546b5fc" class="outline-4">
|
||||||
<h4 id="org45f3287"><span class="section-number-4">2.1.1</span> Get</h4>
|
<h4 id="org546b5fc"><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>);
|
||||||
@ -884,10 +884,10 @@ current date is stored.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org21ca419" class="outline-4">
|
<div id="outline-container-org4982f13" class="outline-4">
|
||||||
<h4 id="org21ca419"><span class="section-number-4">2.1.2</span> Compute</h4>
|
<h4 id="org4982f13"><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="org68f9fb2" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="orgc1144f8" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -992,8 +992,8 @@ current date is stored.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org4e57bd3" class="outline-4">
|
<div id="outline-container-org2019ea0" class="outline-4">
|
||||||
<h4 id="org4e57bd3"><span class="section-number-4">2.1.3</span> Test</h4>
|
<h4 id="org2019ea0"><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>));
|
||||||
@ -1027,8 +1027,8 @@ rc = qmckl_get_electron_ee_distance(context, ee_distance);
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org7ddb20a" class="outline-3">
|
<div id="outline-container-org654a996" class="outline-3">
|
||||||
<h3 id="org7ddb20a"><span class="section-number-3">2.2</span> Electron-electron potential</h3>
|
<h3 id="org654a996"><span class="section-number-3">2.2</span> Electron-electron potential</h3>
|
||||||
<div class="outline-text-3" id="text-2-2">
|
<div class="outline-text-3" id="text-2-2">
|
||||||
<p>
|
<p>
|
||||||
<code>ee_potential</code> is given by
|
<code>ee_potential</code> is given by
|
||||||
@ -1046,8 +1046,8 @@ distance.
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgaac87c4" class="outline-4">
|
<div id="outline-container-orgc7421ec" class="outline-4">
|
||||||
<h4 id="orgaac87c4"><span class="section-number-4">2.2.1</span> Get</h4>
|
<h4 id="orgc7421ec"><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_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>);
|
||||||
@ -1056,10 +1056,10 @@ distance.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org2c0adc0" class="outline-4">
|
<div id="outline-container-org1a64695" class="outline-4">
|
||||||
<h4 id="org2c0adc0"><span class="section-number-4">2.2.2</span> Compute</h4>
|
<h4 id="org1a64695"><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="org918060a" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org4862d78" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -1175,8 +1175,8 @@ distance.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org2aee8dd" class="outline-4">
|
<div id="outline-container-orgbae645b" class="outline-4">
|
||||||
<h4 id="org2aee8dd"><span class="section-number-4">2.2.3</span> Test</h4>
|
<h4 id="orgbae645b"><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: #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];
|
||||||
@ -1188,12 +1188,12 @@ rc = qmckl_get_electron_ee_potential(context, &(ee_potential[0]));
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-org3d05cc5" class="outline-3">
|
<div id="outline-container-org0b9b81b" class="outline-3">
|
||||||
<h3 id="org3d05cc5"><span class="section-number-3">2.3</span> Electron-nucleus distances</h3>
|
<h3 id="org0b9b81b"><span class="section-number-3">2.3</span> Electron-nucleus distances</h3>
|
||||||
<div class="outline-text-3" id="text-2-3">
|
<div class="outline-text-3" id="text-2-3">
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-org3fa6164" class="outline-4">
|
<div id="outline-container-org6a95401" class="outline-4">
|
||||||
<h4 id="org3fa6164"><span class="section-number-4">2.3.1</span> Get</h4>
|
<h4 id="org6a95401"><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_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>);
|
||||||
@ -1202,10 +1202,10 @@ rc = qmckl_get_electron_ee_potential(context, &(ee_potential[0]));
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgecad9d6" class="outline-4">
|
<div id="outline-container-orgb4f6777" class="outline-4">
|
||||||
<h4 id="orgecad9d6"><span class="section-number-4">2.3.2</span> Compute</h4>
|
<h4 id="orgb4f6777"><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="org4257b19" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org6632070" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -1312,8 +1312,8 @@ rc = qmckl_get_electron_ee_potential(context, &(ee_potential[0]));
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org0c38824" class="outline-4">
|
<div id="outline-container-org48b007a" class="outline-4">
|
||||||
<h4 id="org0c38824"><span class="section-number-4">2.3.3</span> Test</h4>
|
<h4 id="org48b007a"><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">
|
<pre class="src src-c">
|
||||||
@ -1361,8 +1361,8 @@ rc = qmckl_get_electron_en_distance(context, &(en_distance[0][0][0]));
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org2ebd8dc" class="outline-3">
|
<div id="outline-container-org3677c2e" class="outline-3">
|
||||||
<h3 id="org2ebd8dc"><span class="section-number-3">2.4</span> Electron-nucleus potential</h3>
|
<h3 id="org3677c2e"><span class="section-number-3">2.4</span> Electron-nucleus potential</h3>
|
||||||
<div class="outline-text-3" id="text-2-4">
|
<div class="outline-text-3" id="text-2-4">
|
||||||
<p>
|
<p>
|
||||||
<code>en_potential</code> stores the <code>en</code> potential energy
|
<code>en_potential</code> stores the <code>en</code> potential energy
|
||||||
@ -1380,8 +1380,8 @@ distance and \[Z_A\] is the nuclear charge.
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgc382a7f" class="outline-4">
|
<div id="outline-container-org4fb69e3" class="outline-4">
|
||||||
<h4 id="orgc382a7f"><span class="section-number-4">2.4.1</span> Get</h4>
|
<h4 id="org4fb69e3"><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_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>);
|
||||||
@ -1390,10 +1390,10 @@ distance and \[Z_A\] is the nuclear charge.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org15577e9" class="outline-4">
|
<div id="outline-container-org51cb62b" class="outline-4">
|
||||||
<h4 id="org15577e9"><span class="section-number-4">2.4.2</span> Compute</h4>
|
<h4 id="org51cb62b"><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="orgd3d4606" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="orga25e453" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -1527,8 +1527,8 @@ distance and \[Z_A\] is the nuclear charge.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgf650fce" class="outline-4">
|
<div id="outline-container-org2796299" class="outline-4">
|
||||||
<h4 id="orgf650fce"><span class="section-number-4">2.4.3</span> Test</h4>
|
<h4 id="org2796299"><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;">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];
|
||||||
@ -1541,14 +1541,14 @@ rc = qmckl_get_electron_en_potential(context, &(en_potential[0]));
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgd8b74c3" class="outline-3">
|
<div id="outline-container-org63cf65d" class="outline-3">
|
||||||
<h3 id="orgd8b74c3"><span class="section-number-3">2.5</span> Generate initial coordinates</h3>
|
<h3 id="org63cf65d"><span class="section-number-3">2.5</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: 2024-02-14 Wed 10:15</p>
|
<p class="date">Created: 2024-02-14 Wed 10:27</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>
|
||||||
<!-- 2024-02-14 Wed 10:15 -->
|
<!-- 2024-02-14 Wed 10:26 -->
|
||||||
<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>
|
||||||
@ -324,29 +324,29 @@ 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="#orgaae3360">-</a></li>
|
<li><a href="#orgeb9a5f3">-</a></li>
|
||||||
<li><a href="#orgbfe30f5">1. Decoding errors</a></li>
|
<li><a href="#orgfb8b2cb">1. Decoding errors</a></li>
|
||||||
<li><a href="#orgac1b37a">2. Data structure in context</a></li>
|
<li><a href="#org6eab8b6">2. Data structure in context</a></li>
|
||||||
<li><a href="#org7337b79">3. Updating errors in the context</a></li>
|
<li><a href="#orgdcce828">3. Updating errors in the context</a></li>
|
||||||
<li><a href="#orgc488b07">4. Get the error</a></li>
|
<li><a href="#org1cc9209">4. Get the error</a></li>
|
||||||
<li><a href="#orgebcca0c">5. Failing</a></li>
|
<li><a href="#orgd499465">5. Failing</a></li>
|
||||||
<li><a href="#org0216bce">6. Last error</a>
|
<li><a href="#org4c6fff7">6. Last error</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org7932688">6.1. Fortran inteface</a></li>
|
<li><a href="#org7cdeaea">6.1. Fortran inteface</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org5438558">7. Helper functions for debugging</a>
|
<li><a href="#org5772f75">7. Helper functions for debugging</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgd96cfa9">7.1. Fortran inteface</a></li>
|
<li><a href="#org1f0329a">7.1. Fortran inteface</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgaae3360" class="outline-2">
|
<div id="outline-container-orgeb9a5f3" class="outline-2">
|
||||||
<h2 id="orgaae3360">-</h2>
|
<h2 id="orgeb9a5f3">-</h2>
|
||||||
<div class="outline-text-2" id="text-orgaae3360">
|
<div class="outline-text-2" id="text-orgeb9a5f3">
|
||||||
<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
|
||||||
@ -357,7 +357,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="org30d23bb"><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="org4645138"><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>
|
||||||
|
|
||||||
@ -374,7 +374,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="org2303254" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org5598d4a" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -582,8 +582,8 @@ string is assumed to be large enough to contain the error message
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgbfe30f5" class="outline-2">
|
<div id="outline-container-orgfb8b2cb" class="outline-2">
|
||||||
<h2 id="orgbfe30f5"><span class="section-number-2">1</span> Decoding errors</h2>
|
<h2 id="orgfb8b2cb"><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
|
||||||
@ -601,8 +601,8 @@ The text strings are extracted from the previous table.
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-orgac1b37a" class="outline-2">
|
<div id="outline-container-org6eab8b6" class="outline-2">
|
||||||
<h2 id="orgac1b37a"><span class="section-number-2">2</span> Data structure in context</h2>
|
<h2 id="org6eab8b6"><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
|
||||||
@ -625,8 +625,8 @@ dynamic memory allocation.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org7337b79" class="outline-2">
|
<div id="outline-container-orgdcce828" class="outline-2">
|
||||||
<h2 id="org7337b79"><span class="section-number-2">3</span> Updating errors in the context</h2>
|
<h2 id="orgdcce828"><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>.
|
||||||
@ -645,8 +645,8 @@ explaining the error. The exit code can't be <code>QMCKL_SUCCESS</code>.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-orgc488b07" class="outline-2">
|
<div id="outline-container-org1cc9209" class="outline-2">
|
||||||
<h2 id="orgc488b07"><span class="section-number-2">4</span> Get the error</h2>
|
<h2 id="org1cc9209"><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
|
||||||
@ -665,8 +665,8 @@ function name and message is mandatory.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-orgebcca0c" class="outline-2">
|
<div id="outline-container-orgd499465" class="outline-2">
|
||||||
<h2 id="orgebcca0c"><span class="section-number-2">5</span> Failing</h2>
|
<h2 id="orgd499465"><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
|
||||||
@ -703,8 +703,8 @@ For example, this function can be used as
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org0216bce" class="outline-2">
|
<div id="outline-container-org4c6fff7" class="outline-2">
|
||||||
<h2 id="org0216bce"><span class="section-number-2">6</span> Last error</h2>
|
<h2 id="org4c6fff7"><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>.
|
||||||
@ -716,13 +716,13 @@ Returns a string describing the last error, using <code>qmckl_get_error</code>.
|
|||||||
</pre>
|
</pre>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-org7932688" class="outline-3">
|
<div id="outline-container-org7cdeaea" class="outline-3">
|
||||||
<h3 id="org7932688"><span class="section-number-3">6.1</span> Fortran inteface</h3>
|
<h3 id="org7cdeaea"><span class="section-number-3">6.1</span> Fortran inteface</h3>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org5438558" class="outline-2">
|
<div id="outline-container-org5772f75" class="outline-2">
|
||||||
<h2 id="org5438558"><span class="section-number-2">7</span> Helper functions for debugging</h2>
|
<h2 id="org5772f75"><span class="section-number-2">7</span> Helper functions for debugging</h2>
|
||||||
<div class="outline-text-2" id="text-7">
|
<div class="outline-text-2" id="text-7">
|
||||||
<p>
|
<p>
|
||||||
The following function prints to <code>stderr</code> an error message is the return code is
|
The following function prints to <code>stderr</code> an error message is the return code is
|
||||||
@ -748,14 +748,14 @@ It should be used as:
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgd96cfa9" class="outline-3">
|
<div id="outline-container-org1f0329a" class="outline-3">
|
||||||
<h3 id="orgd96cfa9"><span class="section-number-3">7.1</span> Fortran inteface</h3>
|
<h3 id="org1f0329a"><span class="section-number-3">7.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: 2024-02-14 Wed 10:15</p>
|
<p class="date">Created: 2024-02-14 Wed 10:26</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>
|
||||||
<!-- 2024-02-14 Wed 10:15 -->
|
<!-- 2024-02-14 Wed 10:27 -->
|
||||||
<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>
|
||||||
@ -346,25 +346,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="#org0246fd1">1. Overlap matrix in the MO basis</a>
|
<li><a href="#org7537372">1. Overlap matrix in the MO basis</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgd2e4820">1.1. Python</a></li>
|
<li><a href="#orgf6a7ffb">1.1. Python</a></li>
|
||||||
<li><a href="#org65ebaec">1.2. C</a></li>
|
<li><a href="#org60df978">1.2. C</a></li>
|
||||||
<li><a href="#org71a860b">1.3. Fortran</a></li>
|
<li><a href="#orgeac1801">1.3. Fortran</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org5dfa699">2. Fortran</a>
|
<li><a href="#org1df6978">2. Fortran</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org8a3ad4c">2.1. Checking errors</a></li>
|
<li><a href="#org79027b6">2.1. Checking errors</a></li>
|
||||||
<li><a href="#org6c6ccf4">2.2. Computing an atomic orbital on a grid</a></li>
|
<li><a href="#orgace3e62">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-org0246fd1" class="outline-2">
|
<div id="outline-container-org7537372" class="outline-2">
|
||||||
<h2 id="org0246fd1"><span class="section-number-2">1</span> Overlap matrix in the MO basis</h2>
|
<h2 id="org7537372"><span class="section-number-2">1</span> Overlap matrix in the MO basis</h2>
|
||||||
<div class="outline-text-2" id="text-1">
|
<div class="outline-text-2" id="text-1">
|
||||||
<p>
|
<p>
|
||||||
The focal point of this example is the numerical evaluation of the overlap
|
The focal point of this example is the numerical evaluation of the overlap
|
||||||
@ -417,8 +417,8 @@ code.
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgd2e4820" class="outline-3">
|
<div id="outline-container-orgf6a7ffb" class="outline-3">
|
||||||
<h3 id="orgd2e4820"><span class="section-number-3">1.1</span> Python</h3>
|
<h3 id="orgf6a7ffb"><span class="section-number-3">1.1</span> Python</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
|
||||||
@ -593,8 +593,8 @@ and finally we compute the overlap between all the MOs as
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org65ebaec" class="outline-3">
|
<div id="outline-container-org60df978" class="outline-3">
|
||||||
<h3 id="org65ebaec"><span class="section-number-3">1.2</span> C</h3>
|
<h3 id="org60df978"><span class="section-number-3">1.2</span> C</h3>
|
||||||
<div class="outline-text-3" id="text-1-2">
|
<div class="outline-text-3" id="text-1-2">
|
||||||
<p>
|
<p>
|
||||||
In this example, electron-nucleus cusp fitting is added.
|
In this example, electron-nucleus cusp fitting is added.
|
||||||
@ -922,8 +922,8 @@ and finally we compute the overlap between all the MOs as
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div id="outline-container-org71a860b" class="outline-3">
|
<div id="outline-container-orgeac1801" class="outline-3">
|
||||||
<h3 id="org71a860b"><span class="section-number-3">1.3</span> Fortran</h3>
|
<h3 id="orgeac1801"><span class="section-number-3">1.3</span> Fortran</h3>
|
||||||
<div class="outline-text-3" id="text-1-3">
|
<div class="outline-text-3" id="text-1-3">
|
||||||
<p>
|
<p>
|
||||||
Here is the same piece of code translated in Fortran
|
Here is the same piece of code translated in Fortran
|
||||||
@ -1099,12 +1099,12 @@ Here is the same piece of code translated in Fortran
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-org5dfa699" class="outline-2">
|
<div id="outline-container-org1df6978" class="outline-2">
|
||||||
<h2 id="org5dfa699"><span class="section-number-2">2</span> Fortran</h2>
|
<h2 id="org1df6978"><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-org8a3ad4c" class="outline-3">
|
<div id="outline-container-org79027b6" class="outline-3">
|
||||||
<h3 id="org8a3ad4c"><span class="section-number-3">2.1</span> Checking errors</h3>
|
<h3 id="org79027b6"><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
|
||||||
@ -1113,7 +1113,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="orga26c5d3"><span style="color: #a020f0;">subroutine</span> <span style="color: #0000ff;">qmckl_check_error</span>(rc, message)
|
<pre class="src src-f90" id="orgb6344be"><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>
|
||||||
@ -1131,8 +1131,8 @@ error in text format and exits the program.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org6c6ccf4" class="outline-3">
|
<div id="outline-container-orgace3e62" class="outline-3">
|
||||||
<h3 id="org6c6ccf4"><span class="section-number-3">2.2</span> Computing an atomic orbital on a grid</h3>
|
<h3 id="orgace3e62"><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
|
||||||
@ -1351,7 +1351,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: 2024-02-14 Wed 10:15</p>
|
<p class="date">Created: 2024-02-14 Wed 10:27</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>
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -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>
|
||||||
<!-- 2024-02-14 Wed 10:15 -->
|
<!-- 2024-02-14 Wed 10:27 -->
|
||||||
<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>
|
||||||
@ -346,44 +346,44 @@ 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="#org57aec35">1. Context</a>
|
<li><a href="#org8f1d185">1. Context</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org287bdc3">1.1. Data structure</a></li>
|
<li><a href="#orga802511">1.1. Data structure</a></li>
|
||||||
<li><a href="#org6e241a0">1.2. Access functions</a></li>
|
<li><a href="#org13ccdf9">1.2. Access functions</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#orgec7e821">2. Computation</a>
|
<li><a href="#orgda6002b">2. Computation</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org99566c0">2.1. Kinetic energy</a>
|
<li><a href="#org979333d">2.1. Kinetic energy</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org5f23062">2.1.1. Get</a></li>
|
<li><a href="#orgf89b82b">2.1.1. Get</a></li>
|
||||||
<li><a href="#org05c9437">2.1.2. Provide</a></li>
|
<li><a href="#org85968c6">2.1.2. Provide</a></li>
|
||||||
<li><a href="#org92c0091">2.1.3. Compute kinetic enregy</a></li>
|
<li><a href="#org508ebdc">2.1.3. Compute kinetic enregy</a></li>
|
||||||
<li><a href="#org136249b">2.1.4. Test</a></li>
|
<li><a href="#org553accf">2.1.4. Test</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org693f406">2.2. Potential energy</a>
|
<li><a href="#org31e41bb">2.2. Potential energy</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org0f7f7e3">2.2.1. Get</a></li>
|
<li><a href="#org8a1ad1f">2.2.1. Get</a></li>
|
||||||
<li><a href="#org70656db">2.2.2. Provide</a></li>
|
<li><a href="#orgc97d1d2">2.2.2. Provide</a></li>
|
||||||
<li><a href="#org9791adc">2.2.3. Compute potential enregy</a></li>
|
<li><a href="#orgc942f89">2.2.3. Compute potential enregy</a></li>
|
||||||
<li><a href="#org83cc070">2.2.4. Test</a></li>
|
<li><a href="#orgd55a91e">2.2.4. Test</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#orgc92741e">2.3. Local energy</a>
|
<li><a href="#orgfdecba8">2.3. Local energy</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgb9a1b5c">2.3.1. Get</a></li>
|
<li><a href="#org65e7e14">2.3.1. Get</a></li>
|
||||||
<li><a href="#org1997dde">2.3.2. Provide</a></li>
|
<li><a href="#orga34290f">2.3.2. Provide</a></li>
|
||||||
<li><a href="#orgbf288b9">2.3.3. Compute local enregy</a></li>
|
<li><a href="#org4646617">2.3.3. Compute local enregy</a></li>
|
||||||
<li><a href="#orgc9cb2bd">2.3.4. Test</a></li>
|
<li><a href="#org4f037eb">2.3.4. Test</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org95d3998">2.4. Drift vector</a>
|
<li><a href="#orgd574956">2.4. Drift vector</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org37541cd">2.4.1. Get</a></li>
|
<li><a href="#orgce6230f">2.4.1. Get</a></li>
|
||||||
<li><a href="#orgc1ca6f3">2.4.2. Provide</a></li>
|
<li><a href="#org28e333e">2.4.2. Provide</a></li>
|
||||||
<li><a href="#org35d92a4">2.4.3. Compute drift vector</a></li>
|
<li><a href="#org6a0b0f6">2.4.3. Compute drift vector</a></li>
|
||||||
<li><a href="#orga2176d8">2.4.4. Test</a></li>
|
<li><a href="#org4924c6c">2.4.4. Test</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
@ -392,8 +392,8 @@ for the JavaScript code in this tag.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org57aec35" class="outline-2">
|
<div id="outline-container-org8f1d185" class="outline-2">
|
||||||
<h2 id="org57aec35"><span class="section-number-2">1</span> Context</h2>
|
<h2 id="org8f1d185"><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:
|
||||||
@ -466,8 +466,8 @@ Computed data:
|
|||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org287bdc3" class="outline-3">
|
<div id="outline-container-orga802511" class="outline-3">
|
||||||
<h3 id="org287bdc3"><span class="section-number-3">1.1</span> Data structure</h3>
|
<h3 id="orga802511"><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> {
|
||||||
@ -501,8 +501,8 @@ this mechanism.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org6e241a0" class="outline-3">
|
<div id="outline-container-org13ccdf9" class="outline-3">
|
||||||
<h3 id="org6e241a0"><span class="section-number-3">1.2</span> Access functions</h3>
|
<h3 id="org13ccdf9"><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 local energy have been provided, the following
|
When all the data for the local energy have been provided, the following
|
||||||
@ -517,12 +517,12 @@ function returns <code>true</code>.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgec7e821" class="outline-2">
|
<div id="outline-container-orgda6002b" class="outline-2">
|
||||||
<h2 id="orgec7e821"><span class="section-number-2">2</span> Computation</h2>
|
<h2 id="orgda6002b"><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-org99566c0" class="outline-3">
|
<div id="outline-container-org979333d" class="outline-3">
|
||||||
<h3 id="org99566c0"><span class="section-number-3">2.1</span> Kinetic energy</h3>
|
<h3 id="org979333d"><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:
|
||||||
@ -546,8 +546,8 @@ case is given as follows:
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org5f23062" class="outline-4">
|
<div id="outline-container-orgf89b82b" class="outline-4">
|
||||||
<h4 id="org5f23062"><span class="section-number-4">2.1.1</span> Get</h4>
|
<h4 id="orgf89b82b"><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>);
|
||||||
@ -556,14 +556,14 @@ case is given as follows:
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org05c9437" class="outline-4">
|
<div id="outline-container-org85968c6" class="outline-4">
|
||||||
<h4 id="org05c9437"><span class="section-number-4">2.1.2</span> Provide</h4>
|
<h4 id="org85968c6"><span class="section-number-4">2.1.2</span> Provide</h4>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org92c0091" class="outline-4">
|
<div id="outline-container-org508ebdc" class="outline-4">
|
||||||
<h4 id="org92c0091"><span class="section-number-4">2.1.3</span> Compute kinetic enregy</h4>
|
<h4 id="org508ebdc"><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="orgf0e4556" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="orgd04eb7f" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -792,12 +792,12 @@ case is given as follows:
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org136249b" class="outline-4">
|
<div id="outline-container-org553accf" class="outline-4">
|
||||||
<h4 id="org136249b"><span class="section-number-4">2.1.4</span> Test</h4>
|
<h4 id="org553accf"><span class="section-number-4">2.1.4</span> Test</h4>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-org693f406" class="outline-3">
|
<div id="outline-container-org31e41bb" class="outline-3">
|
||||||
<h3 id="org693f406"><span class="section-number-3">2.2</span> Potential energy</h3>
|
<h3 id="org31e41bb"><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
|
||||||
@ -833,8 +833,8 @@ contributions.
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org0f7f7e3" class="outline-4">
|
<div id="outline-container-org8a1ad1f" class="outline-4">
|
||||||
<h4 id="org0f7f7e3"><span class="section-number-4">2.2.1</span> Get</h4>
|
<h4 id="org8a1ad1f"><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>);
|
||||||
@ -843,14 +843,14 @@ contributions.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org70656db" class="outline-4">
|
<div id="outline-container-orgc97d1d2" class="outline-4">
|
||||||
<h4 id="org70656db"><span class="section-number-4">2.2.2</span> Provide</h4>
|
<h4 id="orgc97d1d2"><span class="section-number-4">2.2.2</span> Provide</h4>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org9791adc" class="outline-4">
|
<div id="outline-container-orgc942f89" class="outline-4">
|
||||||
<h4 id="org9791adc"><span class="section-number-4">2.2.3</span> Compute potential enregy</h4>
|
<h4 id="orgc942f89"><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="orgd403b0f" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="orge92ca5e" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -977,12 +977,12 @@ contributions.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org83cc070" class="outline-4">
|
<div id="outline-container-orgd55a91e" class="outline-4">
|
||||||
<h4 id="org83cc070"><span class="section-number-4">2.2.4</span> Test</h4>
|
<h4 id="orgd55a91e"><span class="section-number-4">2.2.4</span> Test</h4>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-orgc92741e" class="outline-3">
|
<div id="outline-container-orgfdecba8" class="outline-3">
|
||||||
<h3 id="orgc92741e"><span class="section-number-3">2.3</span> Local energy</h3>
|
<h3 id="orgfdecba8"><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.
|
||||||
@ -996,8 +996,8 @@ E_L = KE + PE
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div id="outline-container-orgb9a1b5c" class="outline-4">
|
<div id="outline-container-org65e7e14" class="outline-4">
|
||||||
<h4 id="orgb9a1b5c"><span class="section-number-4">2.3.1</span> Get</h4>
|
<h4 id="org65e7e14"><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>);
|
||||||
@ -1006,14 +1006,14 @@ E_L = KE + PE
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org1997dde" class="outline-4">
|
<div id="outline-container-orga34290f" class="outline-4">
|
||||||
<h4 id="org1997dde"><span class="section-number-4">2.3.2</span> Provide</h4>
|
<h4 id="orga34290f"><span class="section-number-4">2.3.2</span> Provide</h4>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgbf288b9" class="outline-4">
|
<div id="outline-container-org4646617" class="outline-4">
|
||||||
<h4 id="orgbf288b9"><span class="section-number-4">2.3.3</span> Compute local enregy</h4>
|
<h4 id="org4646617"><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="org98600e8" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="orge5d77cf" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -1109,12 +1109,12 @@ E_L = KE + PE
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgc9cb2bd" class="outline-4">
|
<div id="outline-container-org4f037eb" class="outline-4">
|
||||||
<h4 id="orgc9cb2bd"><span class="section-number-4">2.3.4</span> Test</h4>
|
<h4 id="org4f037eb"><span class="section-number-4">2.3.4</span> Test</h4>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-org95d3998" class="outline-3">
|
<div id="outline-container-orgd574956" class="outline-3">
|
||||||
<h3 id="org95d3998"><span class="section-number-3">2.4</span> Drift vector</h3>
|
<h3 id="orgd574956"><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
|
||||||
@ -1128,8 +1128,8 @@ with the determinant of the wavefunction.
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org37541cd" class="outline-4">
|
<div id="outline-container-orgce6230f" class="outline-4">
|
||||||
<h4 id="org37541cd"><span class="section-number-4">2.4.1</span> Get</h4>
|
<h4 id="orgce6230f"><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>);
|
||||||
@ -1138,14 +1138,14 @@ with the determinant of the wavefunction.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgc1ca6f3" class="outline-4">
|
<div id="outline-container-org28e333e" class="outline-4">
|
||||||
<h4 id="orgc1ca6f3"><span class="section-number-4">2.4.2</span> Provide</h4>
|
<h4 id="org28e333e"><span class="section-number-4">2.4.2</span> Provide</h4>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org35d92a4" class="outline-4">
|
<div id="outline-container-org6a0b0f6" class="outline-4">
|
||||||
<h4 id="org35d92a4"><span class="section-number-4">2.4.3</span> Compute drift vector</h4>
|
<h4 id="org6a0b0f6"><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="org3049762" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org196fd96" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -1366,15 +1366,15 @@ with the determinant of the wavefunction.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orga2176d8" class="outline-4">
|
<div id="outline-container-org4924c6c" class="outline-4">
|
||||||
<h4 id="orga2176d8"><span class="section-number-4">2.4.4</span> Test</h4>
|
<h4 id="org4924c6c"><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: 2024-02-14 Wed 10:15</p>
|
<p class="date">Created: 2024-02-14 Wed 10:27</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>
|
||||||
<!-- 2024-02-14 Wed 10:15 -->
|
<!-- 2024-02-14 Wed 10:27 -->
|
||||||
<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>
|
||||||
@ -324,16 +324,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="#orgd0e72b8">1. Memory data structure for the context</a></li>
|
<li><a href="#org5d1a3a7">1. Memory data structure for the context</a></li>
|
||||||
<li><a href="#org9f9dc33">2. Passing info to allocation routines</a></li>
|
<li><a href="#orge8a81dc">2. Passing info to allocation routines</a></li>
|
||||||
<li><a href="#orgf907e1a">3. Allocation/deallocation functions</a></li>
|
<li><a href="#org50e3749">3. Allocation/deallocation functions</a></li>
|
||||||
<li><a href="#orgcac1213">4. Get the size of a memory block</a></li>
|
<li><a href="#org4027573">4. Get the size of a memory block</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgd0e72b8" class="outline-2">
|
<div id="outline-container-org5d1a3a7" class="outline-2">
|
||||||
<h2 id="orgd0e72b8"><span class="section-number-2">1</span> Memory data structure for the context</h2>
|
<h2 id="org5d1a3a7"><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
|
||||||
@ -375,8 +375,8 @@ array, and the number of allocated blocks.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org9f9dc33" class="outline-2">
|
<div id="outline-container-orge8a81dc" class="outline-2">
|
||||||
<h2 id="org9f9dc33"><span class="section-number-2">2</span> Passing info to allocation routines</h2>
|
<h2 id="orge8a81dc"><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
|
||||||
@ -385,8 +385,8 @@ passing an instance of a <code>qmckl_memory_info_struct</code>.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgf907e1a" class="outline-2">
|
<div id="outline-container-org50e3749" class="outline-2">
|
||||||
<h2 id="orgf907e1a"><span class="section-number-2">3</span> Allocation/deallocation functions</h2>
|
<h2 id="org50e3749"><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
|
||||||
@ -645,8 +645,8 @@ successful deallocation of the memory block.</li>
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-orgcac1213" class="outline-2">
|
<div id="outline-container-org4027573" class="outline-2">
|
||||||
<h2 id="orgcac1213"><span class="section-number-2">4</span> Get the size of a memory block</h2>
|
<h2 id="org4027573"><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
|
||||||
@ -741,7 +741,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: 2024-02-14 Wed 10:15</p>
|
<p class="date">Created: 2024-02-14 Wed 10:27</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>
|
||||||
|
192
qmckl_mo.html
192
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>
|
||||||
<!-- 2024-02-14 Wed 10:15 -->
|
<!-- 2024-02-14 Wed 10:27 -->
|
||||||
<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>
|
||||||
@ -346,72 +346,72 @@ 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="#orgf602ddb">1. Context</a>
|
<li><a href="#org76b4413">1. Context</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org767acbf">1.1. Data structure</a></li>
|
<li><a href="#orgc1cb681">1.1. Data structure</a></li>
|
||||||
<li><a href="#org32ada82">1.2. Initialization functions</a></li>
|
<li><a href="#org89d4199">1.2. Initialization functions</a></li>
|
||||||
<li><a href="#orgf4daef6">1.3. Cusp adjsutment functions</a></li>
|
<li><a href="#org986b2f8">1.3. Cusp adjsutment functions</a></li>
|
||||||
<li><a href="#org7597123">1.4. Access functions</a>
|
<li><a href="#org15d3e7a">1.4. Access functions</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org077cac4">1.4.1. Fortran interfaces</a></li>
|
<li><a href="#orga6576f5">1.4.1. Fortran interfaces</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#orgdc3e365">1.5. Update</a>
|
<li><a href="#org6fd6e00">1.5. Update</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgea5ce29">1.5.1. Fortran interface</a></li>
|
<li><a href="#org63d3a41">1.5.1. Fortran interface</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#orgbadbe90">2. Computation</a>
|
<li><a href="#org7369c8b">2. Computation</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org9281d4c">2.1. Parameters of the cusp-correction functions</a></li>
|
<li><a href="#orgca2351d">2.1. Parameters of the cusp-correction functions</a></li>
|
||||||
<li><a href="#orgb1038f7">2.2. Computation of MOs: values only</a>
|
<li><a href="#org8fbad9b">2.2. Computation of MOs: values only</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgb791946">2.2.1. Get</a></li>
|
<li><a href="#orge1ad611">2.2.1. Get</a></li>
|
||||||
<li><a href="#org546e200">2.2.2. Provide</a></li>
|
<li><a href="#org3475c59">2.2.2. Provide</a></li>
|
||||||
<li><a href="#org454ef48">2.2.3. Compute</a></li>
|
<li><a href="#org8e6d30c">2.2.3. Compute</a></li>
|
||||||
<li><a href="#org046a640">2.2.4. HPC version</a>
|
<li><a href="#org9520ac6">2.2.4. HPC version</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgddf7d7f">2.2.4.1. Single-precision</a></li>
|
<li><a href="#org2e4fd0e">2.2.4.1. Single-precision</a></li>
|
||||||
<li><a href="#org325954f">2.2.4.2. Double-precision</a></li>
|
<li><a href="#orgdd84bb9">2.2.4.2. Double-precision</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org690f6a1">2.3. Computation of MOs: values, gradient, Laplacian</a>
|
<li><a href="#orgd3a950c">2.3. Computation of MOs: values, gradient, Laplacian</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgf8995aa">2.3.1. Get</a></li>
|
<li><a href="#org8188c4a">2.3.1. Get</a></li>
|
||||||
<li><a href="#org6c4078e">2.3.2. Provide</a></li>
|
<li><a href="#org6d56fa2">2.3.2. Provide</a></li>
|
||||||
<li><a href="#org1f03fb3">2.3.3. Compute</a></li>
|
<li><a href="#org7549e24">2.3.3. Compute</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#orgcba226e">2.4. Computation of cusp-corrected MOs: values only</a>
|
<li><a href="#org4a0a963">2.4. Computation of cusp-corrected MOs: values only</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgc07ffdf">2.4.1. Compute</a></li>
|
<li><a href="#orgaa4192a">2.4.1. Compute</a></li>
|
||||||
<li><a href="#org7ba0506">2.4.2. HPC version</a></li>
|
<li><a href="#orgce54187">2.4.2. HPC version</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org39d9492">2.5. Computation of cusp-corrected MOs: values, gradient, Laplacian</a>
|
<li><a href="#orgc0c937d">2.5. Computation of cusp-corrected MOs: values, gradient, Laplacian</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orge11f91d">2.5.1. Compute</a></li>
|
<li><a href="#orged49027">2.5.1. Compute</a></li>
|
||||||
<li><a href="#org3e63c93">2.5.2. HPC version</a></li>
|
<li><a href="#org879d6a4">2.5.2. HPC version</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#orgc52a088">2.6. Rescaling of MO coefficients</a>
|
<li><a href="#org5e7c335">2.6. Rescaling of MO coefficients</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org8c01bc8">2.6.1. Fortran interface</a></li>
|
<li><a href="#org730fd14">2.6.1. Fortran interface</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#orgf018b90">2.7. Test</a></li>
|
<li><a href="#org235c741">2.7. Test</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgf602ddb" class="outline-2">
|
<div id="outline-container-org76b4413" class="outline-2">
|
||||||
<h2 id="orgf602ddb"><span class="section-number-2">1</span> Context</h2>
|
<h2 id="org76b4413"><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:
|
||||||
@ -490,8 +490,8 @@ Computed data:
|
|||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org767acbf" class="outline-3">
|
<div id="outline-container-orgc1cb681" class="outline-3">
|
||||||
<h3 id="org767acbf"><span class="section-number-3">1.1</span> Data structure</h3>
|
<h3 id="orgc1cb681"><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> {
|
||||||
@ -548,8 +548,8 @@ this mechanism.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org32ada82" class="outline-3">
|
<div id="outline-container-org89d4199" class="outline-3">
|
||||||
<h3 id="org32ada82"><span class="section-number-3">1.2</span> Initialization functions</h3>
|
<h3 id="org89d4199"><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
|
||||||
@ -570,8 +570,8 @@ computed to accelerate the calculations.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgf4daef6" class="outline-3">
|
<div id="outline-container-org986b2f8" class="outline-3">
|
||||||
<h3 id="orgf4daef6"><span class="section-number-3">1.3</span> Cusp adjsutment functions</h3>
|
<h3 id="org986b2f8"><span class="section-number-3">1.3</span> Cusp adjsutment functions</h3>
|
||||||
<div class="outline-text-3" id="text-1-3">
|
<div class="outline-text-3" id="text-1-3">
|
||||||
<p>
|
<p>
|
||||||
To activate the cusp adjustment, the user must enter the radius of
|
To activate the cusp adjustment, the user must enter the radius of
|
||||||
@ -586,8 +586,8 @@ of the non-\(s\) AOs at the center.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org7597123" class="outline-3">
|
<div id="outline-container-org15d3e7a" class="outline-3">
|
||||||
<h3 id="org7597123"><span class="section-number-3">1.4</span> Access functions</h3>
|
<h3 id="org15d3e7a"><span class="section-number-3">1.4</span> Access functions</h3>
|
||||||
<div class="outline-text-3" id="text-1-4">
|
<div class="outline-text-3" id="text-1-4">
|
||||||
<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
|
||||||
@ -600,13 +600,13 @@ function returns <code>true</code>.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org077cac4" class="outline-4">
|
<div id="outline-container-orga6576f5" class="outline-4">
|
||||||
<h4 id="org077cac4"><span class="section-number-4">1.4.1</span> Fortran interfaces</h4>
|
<h4 id="orga6576f5"><span class="section-number-4">1.4.1</span> Fortran interfaces</h4>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgdc3e365" class="outline-3">
|
<div id="outline-container-org6fd6e00" class="outline-3">
|
||||||
<h3 id="orgdc3e365"><span class="section-number-3">1.5</span> Update</h3>
|
<h3 id="org6fd6e00"><span class="section-number-3">1.5</span> Update</h3>
|
||||||
<div class="outline-text-3" id="text-1-5">
|
<div class="outline-text-3" id="text-1-5">
|
||||||
<p>
|
<p>
|
||||||
It may be desirable to remove certain molecular orbitals (MOs) that
|
It may be desirable to remove certain molecular orbitals (MOs) that
|
||||||
@ -633,25 +633,25 @@ calculation. If the integer is non-zero, the MO will be kept.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgea5ce29" class="outline-4">
|
<div id="outline-container-org63d3a41" class="outline-4">
|
||||||
<h4 id="orgea5ce29"><span class="section-number-4">1.5.1</span> Fortran interface</h4>
|
<h4 id="org63d3a41"><span class="section-number-4">1.5.1</span> Fortran interface</h4>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgbadbe90" class="outline-2">
|
<div id="outline-container-org7369c8b" class="outline-2">
|
||||||
<h2 id="orgbadbe90"><span class="section-number-2">2</span> Computation</h2>
|
<h2 id="org7369c8b"><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-org9281d4c" class="outline-3">
|
<div id="outline-container-orgca2351d" class="outline-3">
|
||||||
<h3 id="org9281d4c"><span class="section-number-3">2.1</span> Parameters of the cusp-correction functions</h3>
|
<h3 id="orgca2351d"><span class="section-number-3">2.1</span> Parameters of the cusp-correction functions</h3>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-orgb1038f7" class="outline-3">
|
<div id="outline-container-org8fbad9b" class="outline-3">
|
||||||
<h3 id="orgb1038f7"><span class="section-number-3">2.2</span> Computation of MOs: values only</h3>
|
<h3 id="org8fbad9b"><span class="section-number-3">2.2</span> Computation of MOs: values only</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-orgb791946" class="outline-4">
|
<div id="outline-container-orge1ad611" class="outline-4">
|
||||||
<h4 id="orgb791946"><span class="section-number-4">2.2.1</span> Get</h4>
|
<h4 id="orge1ad611"><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>
|
||||||
@ -675,8 +675,8 @@ Uses the given array to compute the values.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org546e200" class="outline-4">
|
<div id="outline-container-org3475c59" class="outline-4">
|
||||||
<h4 id="org546e200"><span class="section-number-4">2.2.2</span> Provide</h4>
|
<h4 id="org3475c59"><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_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>);
|
||||||
@ -761,10 +761,10 @@ Uses the given array to compute the values.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org454ef48" class="outline-4">
|
<div id="outline-container-org8e6d30c" class="outline-4">
|
||||||
<h4 id="org454ef48"><span class="section-number-4">2.2.3</span> Compute</h4>
|
<h4 id="org8e6d30c"><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="orgd4431cc" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org48ff8fa" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -919,8 +919,8 @@ matrix multiplication instead of a dgemm, as exposed in
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org046a640" class="outline-4">
|
<div id="outline-container-org9520ac6" class="outline-4">
|
||||||
<h4 id="org046a640"><span class="section-number-4">2.2.4</span> HPC version</h4>
|
<h4 id="org9520ac6"><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
|
||||||
@ -947,8 +947,8 @@ matrix multiplication instead of a dgemm, as exposed in
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div id="outline-container-orgddf7d7f" class="outline-5">
|
<div id="outline-container-org2e4fd0e" class="outline-5">
|
||||||
<h5 id="orgddf7d7f"><span class="section-number-5">2.2.4.1</span> Single-precision</h5>
|
<h5 id="org2e4fd0e"><span class="section-number-5">2.2.4.1</span> Single-precision</h5>
|
||||||
<div class="outline-text-5" id="text-2-2-4-1">
|
<div class="outline-text-5" id="text-2-2-4-1">
|
||||||
<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
|
||||||
@ -1069,8 +1069,8 @@ matrix multiplication instead of a dgemm, as exposed in
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org325954f" class="outline-5">
|
<div id="outline-container-orgdd84bb9" class="outline-5">
|
||||||
<h5 id="org325954f"><span class="section-number-5">2.2.4.2</span> Double-precision</h5>
|
<h5 id="orgdd84bb9"><span class="section-number-5">2.2.4.2</span> Double-precision</h5>
|
||||||
<div class="outline-text-5" id="text-2-2-4-2">
|
<div class="outline-text-5" id="text-2-2-4-2">
|
||||||
<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
|
||||||
@ -1187,12 +1187,12 @@ matrix multiplication instead of a dgemm, as exposed in
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org690f6a1" class="outline-3">
|
<div id="outline-container-orgd3a950c" class="outline-3">
|
||||||
<h3 id="org690f6a1"><span class="section-number-3">2.3</span> Computation of MOs: values, gradient, Laplacian</h3>
|
<h3 id="orgd3a950c"><span class="section-number-3">2.3</span> Computation of MOs: values, gradient, Laplacian</h3>
|
||||||
<div class="outline-text-3" id="text-2-3">
|
<div class="outline-text-3" id="text-2-3">
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-orgf8995aa" class="outline-4">
|
<div id="outline-container-org8188c4a" class="outline-4">
|
||||||
<h4 id="orgf8995aa"><span class="section-number-4">2.3.1</span> Get</h4>
|
<h4 id="org8188c4a"><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>
|
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span>
|
||||||
@ -1216,8 +1216,8 @@ Uses the given array to compute the VGL.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org6c4078e" class="outline-4">
|
<div id="outline-container-org6d56fa2" class="outline-4">
|
||||||
<h4 id="org6c4078e"><span class="section-number-4">2.3.2</span> Provide</h4>
|
<h4 id="org6d56fa2"><span class="section-number-4">2.3.2</span> Provide</h4>
|
||||||
<div class="outline-text-4" id="text-2-3-2">
|
<div class="outline-text-4" id="text-2-3-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>);
|
||||||
@ -1301,10 +1301,10 @@ Uses the given array to compute the VGL.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org1f03fb3" class="outline-4">
|
<div id="outline-container-org7549e24" class="outline-4">
|
||||||
<h4 id="org1f03fb3"><span class="section-number-4">2.3.3</span> Compute</h4>
|
<h4 id="org7549e24"><span class="section-number-4">2.3.3</span> Compute</h4>
|
||||||
<div class="outline-text-4" id="text-2-3-3">
|
<div class="outline-text-4" id="text-2-3-3">
|
||||||
<table id="org269096f" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org857d335" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -1478,14 +1478,14 @@ matrix multiplication instead of a dgemm, as exposed in
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgcba226e" class="outline-3">
|
<div id="outline-container-org4a0a963" class="outline-3">
|
||||||
<h3 id="orgcba226e"><span class="section-number-3">2.4</span> Computation of cusp-corrected MOs: values only</h3>
|
<h3 id="org4a0a963"><span class="section-number-3">2.4</span> Computation of cusp-corrected MOs: values only</h3>
|
||||||
<div class="outline-text-3" id="text-2-4">
|
<div class="outline-text-3" id="text-2-4">
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-orgc07ffdf" class="outline-4">
|
<div id="outline-container-orgaa4192a" class="outline-4">
|
||||||
<h4 id="orgc07ffdf"><span class="section-number-4">2.4.1</span> Compute</h4>
|
<h4 id="orgaa4192a"><span class="section-number-4">2.4.1</span> Compute</h4>
|
||||||
<div class="outline-text-4" id="text-2-4-1">
|
<div class="outline-text-4" id="text-2-4-1">
|
||||||
<table id="org310cd05" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org2c06d39" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -1724,8 +1724,8 @@ matrix multiplication instead of a dgemm, as exposed in
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org7ba0506" class="outline-4">
|
<div id="outline-container-orgce54187" class="outline-4">
|
||||||
<h4 id="org7ba0506"><span class="section-number-4">2.4.2</span> HPC version</h4>
|
<h4 id="orgce54187"><span class="section-number-4">2.4.2</span> HPC version</h4>
|
||||||
<div class="outline-text-4" id="text-2-4-2">
|
<div class="outline-text-4" id="text-2-4-2">
|
||||||
<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
|
||||||
@ -1863,14 +1863,14 @@ IVDEP
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org39d9492" class="outline-3">
|
<div id="outline-container-orgc0c937d" class="outline-3">
|
||||||
<h3 id="org39d9492"><span class="section-number-3">2.5</span> Computation of cusp-corrected MOs: values, gradient, Laplacian</h3>
|
<h3 id="orgc0c937d"><span class="section-number-3">2.5</span> Computation of cusp-corrected MOs: values, gradient, Laplacian</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-orge11f91d" class="outline-4">
|
<div id="outline-container-orged49027" class="outline-4">
|
||||||
<h4 id="orge11f91d"><span class="section-number-4">2.5.1</span> Compute</h4>
|
<h4 id="orged49027"><span class="section-number-4">2.5.1</span> Compute</h4>
|
||||||
<div class="outline-text-4" id="text-2-5-1">
|
<div class="outline-text-4" id="text-2-5-1">
|
||||||
<table id="org3bf2cf6" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org6cf1a83" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -2166,8 +2166,8 @@ IVDEP
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org3e63c93" class="outline-4">
|
<div id="outline-container-org879d6a4" class="outline-4">
|
||||||
<h4 id="org3e63c93"><span class="section-number-4">2.5.2</span> HPC version</h4>
|
<h4 id="org879d6a4"><span class="section-number-4">2.5.2</span> HPC version</h4>
|
||||||
<div class="outline-text-4" id="text-2-5-2">
|
<div class="outline-text-4" id="text-2-5-2">
|
||||||
<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
|
||||||
@ -2366,8 +2366,8 @@ IVDEP
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgc52a088" class="outline-3">
|
<div id="outline-container-org5e7c335" class="outline-3">
|
||||||
<h3 id="orgc52a088"><span class="section-number-3">2.6</span> Rescaling of MO coefficients</h3>
|
<h3 id="org5e7c335"><span class="section-number-3">2.6</span> Rescaling of MO coefficients</h3>
|
||||||
<div class="outline-text-3" id="text-2-6">
|
<div class="outline-text-3" id="text-2-6">
|
||||||
<p>
|
<p>
|
||||||
When evaluating Slater determinants, the value of the determinants
|
When evaluating Slater determinants, the value of the determinants
|
||||||
@ -2384,19 +2384,19 @@ correct range.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org8c01bc8" class="outline-4">
|
<div id="outline-container-org730fd14" class="outline-4">
|
||||||
<h4 id="org8c01bc8"><span class="section-number-4">2.6.1</span> Fortran interface</h4>
|
<h4 id="org730fd14"><span class="section-number-4">2.6.1</span> Fortran interface</h4>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgf018b90" class="outline-3">
|
<div id="outline-container-org235c741" class="outline-3">
|
||||||
<h3 id="orgf018b90"><span class="section-number-3">2.7</span> Test</h3>
|
<h3 id="org235c741"><span class="section-number-3">2.7</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: 2024-02-14 Wed 10:15</p>
|
<p class="date">Created: 2024-02-14 Wed 10:27</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>
|
||||||
<!-- 2024-02-14 Wed 10:15 -->
|
<!-- 2024-02-14 Wed 10:26 -->
|
||||||
<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>
|
||||||
@ -346,28 +346,28 @@ 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="#orge4f7e69">1. Context</a>
|
<li><a href="#org1f82a75">1. Context</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orga254be1">1.1. Data structure</a></li>
|
<li><a href="#orgb81911a">1.1. Data structure</a></li>
|
||||||
<li><a href="#org4c4f31b">1.2. Access functions</a></li>
|
<li><a href="#org018f88e">1.2. Access functions</a></li>
|
||||||
<li><a href="#orgd2cbfc6">1.3. Initialization functions</a></li>
|
<li><a href="#org3755078">1.3. Initialization functions</a></li>
|
||||||
<li><a href="#orgbea9464">1.4. Test</a></li>
|
<li><a href="#org814ecff">1.4. Test</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org40f7932">2. Computation</a>
|
<li><a href="#org2e1e7f8">2. Computation</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org6682a0a">2.1. Nucleus-nucleus distances</a>
|
<li><a href="#orgbf8a403">2.1. Nucleus-nucleus distances</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgb79311f">2.1.1. Get</a></li>
|
<li><a href="#orgfa5155b">2.1.1. Get</a></li>
|
||||||
<li><a href="#org4af5b45">2.1.2. Compute</a></li>
|
<li><a href="#orgbf32277">2.1.2. Compute</a></li>
|
||||||
<li><a href="#org01c03ec">2.1.3. Test</a></li>
|
<li><a href="#org6c05cf1">2.1.3. Test</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org27d5dfa">2.2. Nuclear repulsion energy</a>
|
<li><a href="#orgd186550">2.2. Nuclear repulsion energy</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org366bd82">2.2.1. Get</a></li>
|
<li><a href="#org9f3d53a">2.2.1. Get</a></li>
|
||||||
<li><a href="#org49efcb2">2.2.2. Compute</a></li>
|
<li><a href="#org4a76f78">2.2.2. Compute</a></li>
|
||||||
<li><a href="#org5eca2e1">2.2.3. Test</a></li>
|
<li><a href="#org88055ae">2.2.3. Test</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
@ -376,8 +376,8 @@ for the JavaScript code in this tag.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orge4f7e69" class="outline-2">
|
<div id="outline-container-org1f82a75" class="outline-2">
|
||||||
<h2 id="orge4f7e69"><span class="section-number-2">1</span> Context</h2>
|
<h2 id="org1f82a75"><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:
|
||||||
@ -474,8 +474,8 @@ Computed data:
|
|||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orga254be1" class="outline-3">
|
<div id="outline-container-orgb81911a" class="outline-3">
|
||||||
<h3 id="orga254be1"><span class="section-number-3">1.1</span> Data structure</h3>
|
<h3 id="orgb81911a"><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> {
|
||||||
@ -529,8 +529,8 @@ this mechanism.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org4c4f31b" class="outline-3">
|
<div id="outline-container-org018f88e" class="outline-3">
|
||||||
<h3 id="org4c4f31b"><span class="section-number-3">1.2</span> Access functions</h3>
|
<h3 id="org018f88e"><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
|
||||||
@ -544,8 +544,8 @@ function returns <code>true</code>.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgd2cbfc6" class="outline-3">
|
<div id="outline-container-org3755078" class="outline-3">
|
||||||
<h3 id="orgd2cbfc6"><span class="section-number-3">1.3</span> Initialization functions</h3>
|
<h3 id="org3755078"><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
|
||||||
@ -591,8 +591,8 @@ are be given in atomic units.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgbea9464" class="outline-3">
|
<div id="outline-container-org814ecff" class="outline-3">
|
||||||
<h3 id="orgbea9464"><span class="section-number-3">1.4</span> Test</h3>
|
<h3 id="org814ecff"><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;
|
||||||
@ -661,8 +661,8 @@ rc = qmckl_get_nucleus_charge(context, nucl_charge2, chbrclf_nucl_num);
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org40f7932" class="outline-2">
|
<div id="outline-container-org2e1e7f8" class="outline-2">
|
||||||
<h2 id="org40f7932"><span class="section-number-2">2</span> Computation</h2>
|
<h2 id="org2e1e7f8"><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
|
||||||
@ -675,12 +675,12 @@ current date is stored.
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org6682a0a" class="outline-3">
|
<div id="outline-container-orgbf8a403" class="outline-3">
|
||||||
<h3 id="org6682a0a"><span class="section-number-3">2.1</span> Nucleus-nucleus distances</h3>
|
<h3 id="orgbf8a403"><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-orgb79311f" class="outline-4">
|
<div id="outline-container-orgfa5155b" class="outline-4">
|
||||||
<h4 id="orgb79311f"><span class="section-number-4">2.1.1</span> Get</h4>
|
<h4 id="orgfa5155b"><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>
|
||||||
@ -692,10 +692,10 @@ current date is stored.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org4af5b45" class="outline-4">
|
<div id="outline-container-orgbf32277" class="outline-4">
|
||||||
<h4 id="org4af5b45"><span class="section-number-4">2.1.2</span> Compute</h4>
|
<h4 id="orgbf32277"><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="org3f08e07" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org269037d" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -773,8 +773,8 @@ current date is stored.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org01c03ec" class="outline-4">
|
<div id="outline-container-org6c05cf1" class="outline-4">
|
||||||
<h4 id="org01c03ec"><span class="section-number-4">2.1.3</span> Test</h4>
|
<h4 id="org6c05cf1"><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> */
|
||||||
@ -793,8 +793,8 @@ rc = qmckl_get_nucleus_nn_distance(context, distance, chbrclf_nucl_num*chbrclf_n
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org27d5dfa" class="outline-3">
|
<div id="outline-container-orgd186550" class="outline-3">
|
||||||
<h3 id="org27d5dfa"><span class="section-number-3">2.2</span> Nuclear repulsion energy</h3>
|
<h3 id="orgd186550"><span class="section-number-3">2.2</span> Nuclear repulsion energy</h3>
|
||||||
<div class="outline-text-3" id="text-2-2">
|
<div class="outline-text-3" id="text-2-2">
|
||||||
<p>
|
<p>
|
||||||
\[
|
\[
|
||||||
@ -803,8 +803,8 @@ rc = qmckl_get_nucleus_nn_distance(context, distance, chbrclf_nucl_num*chbrclf_n
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org366bd82" class="outline-4">
|
<div id="outline-container-org9f3d53a" class="outline-4">
|
||||||
<h4 id="org366bd82"><span class="section-number-4">2.2.1</span> Get</h4>
|
<h4 id="org9f3d53a"><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_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>);
|
||||||
@ -813,10 +813,10 @@ rc = qmckl_get_nucleus_nn_distance(context, distance, chbrclf_nucl_num*chbrclf_n
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org49efcb2" class="outline-4">
|
<div id="outline-container-org4a76f78" class="outline-4">
|
||||||
<h4 id="org49efcb2"><span class="section-number-4">2.2.2</span> Compute</h4>
|
<h4 id="org4a76f78"><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="org64fe585" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org0ffb562" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -906,8 +906,8 @@ rc = qmckl_get_nucleus_nn_distance(context, distance, chbrclf_nucl_num*chbrclf_n
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org5eca2e1" class="outline-4">
|
<div id="outline-container-org88055ae" class="outline-4">
|
||||||
<h4 id="org5eca2e1"><span class="section-number-4">2.2.3</span> Test</h4>
|
<h4 id="org88055ae"><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> */
|
||||||
@ -927,7 +927,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: 2024-02-14 Wed 10:15</p>
|
<p class="date">Created: 2024-02-14 Wed 10:26</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>
|
||||||
<!-- 2024-02-14 Wed 10:15 -->
|
<!-- 2024-02-14 Wed 10:27 -->
|
||||||
<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>‎</title>
|
<title>‎</title>
|
||||||
@ -345,18 +345,18 @@ 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="#orge0a1002">1. Control of the numerical precision</a></li>
|
<li><a href="#org3285991">1. Control of the numerical precision</a></li>
|
||||||
<li><a href="#org0904fa6">2. Precision</a></li>
|
<li><a href="#orgc19fe89">2. Precision</a></li>
|
||||||
<li><a href="#orge44fc9b">3. Range</a></li>
|
<li><a href="#org7017b9c">3. Range</a></li>
|
||||||
<li><a href="#orgfcb1e6e">4. Helper functions</a>
|
<li><a href="#org6543e1d">4. Helper functions</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org742e316">4.1. Epsilon</a></li>
|
<li><a href="#orgce21fbe">4.1. Epsilon</a></li>
|
||||||
<li><a href="#orgd661707">4.2. Testing the number of unchanged bits</a></li>
|
<li><a href="#org3603cb5">4.2. Testing the number of unchanged bits</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org8c5c17e">5. Approximate functions</a>
|
<li><a href="#org1401528">5. Approximate functions</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org449c72c">5.1. Exponential</a></li>
|
<li><a href="#orgb937c0d">5.1. Exponential</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
@ -366,8 +366,8 @@ for the JavaScript code in this tag.
|
|||||||
3+TITLE: Numerical precision
|
3+TITLE: Numerical precision
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div id="outline-container-orge0a1002" class="outline-2">
|
<div id="outline-container-org3285991" class="outline-2">
|
||||||
<h2 id="orge0a1002"><span class="section-number-2">1</span> Control of the numerical precision</h2>
|
<h2 id="org3285991"><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
|
||||||
@ -378,7 +378,7 @@ Arithmetic (IEEE 754),
|
|||||||
sign bit) and <i>range</i> refers to the number of exponent bits.
|
sign bit) and <i>range</i> refers to the number of exponent bits.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<table id="org9a4a5da" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org6ff05e4" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -422,8 +422,8 @@ integer. The update functions return <code>QMCKL_SUCCESS</code> or
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org0904fa6" class="outline-2">
|
<div id="outline-container-orgc19fe89" class="outline-2">
|
||||||
<h2 id="org0904fa6"><span class="section-number-2">2</span> Precision</h2>
|
<h2 id="orgc19fe89"><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
|
||||||
@ -510,8 +510,8 @@ numerical precision in the context.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orge44fc9b" class="outline-2">
|
<div id="outline-container-org7017b9c" class="outline-2">
|
||||||
<h2 id="orge44fc9b"><span class="section-number-2">3</span> Range</h2>
|
<h2 id="org7017b9c"><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
|
||||||
@ -586,12 +586,12 @@ range in a given context.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-orgfcb1e6e" class="outline-2">
|
<div id="outline-container-org6543e1d" class="outline-2">
|
||||||
<h2 id="orgfcb1e6e"><span class="section-number-2">4</span> Helper functions</h2>
|
<h2 id="org6543e1d"><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">
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-org742e316" class="outline-3">
|
<div id="outline-container-orgce21fbe" class="outline-3">
|
||||||
<h3 id="org742e316"><span class="section-number-3">4.1</span> Epsilon</h3>
|
<h3 id="orgce21fbe"><span class="section-number-3">4.1</span> Epsilon</h3>
|
||||||
<div class="outline-text-3" id="text-4-1">
|
<div class="outline-text-3" id="text-4-1">
|
||||||
<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.
|
||||||
@ -610,8 +610,8 @@ We need to remove the sign bit from the precision.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-orgd661707" class="outline-3">
|
<div id="outline-container-org3603cb5" class="outline-3">
|
||||||
<h3 id="orgd661707"><span class="section-number-3">4.2</span> Testing the number of unchanged bits</h3>
|
<h3 id="org3603cb5"><span class="section-number-3">4.2</span> Testing the number of unchanged bits</h3>
|
||||||
<div class="outline-text-3" id="text-4-2">
|
<div class="outline-text-3" id="text-4-2">
|
||||||
<p>
|
<p>
|
||||||
To test that a given approximation keeps a given number of bits
|
To test that a given approximation keeps a given number of bits
|
||||||
@ -681,12 +681,12 @@ numbers differ.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org8c5c17e" class="outline-2">
|
<div id="outline-container-org1401528" class="outline-2">
|
||||||
<h2 id="org8c5c17e"><span class="section-number-2">5</span> Approximate functions</h2>
|
<h2 id="org1401528"><span class="section-number-2">5</span> Approximate functions</h2>
|
||||||
<div class="outline-text-2" id="text-5">
|
<div class="outline-text-2" id="text-5">
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-org449c72c" class="outline-3">
|
<div id="outline-container-orgb937c0d" class="outline-3">
|
||||||
<h3 id="org449c72c"><span class="section-number-3">5.1</span> Exponential</h3>
|
<h3 id="orgb937c0d"><span class="section-number-3">5.1</span> Exponential</h3>
|
||||||
<div class="outline-text-3" id="text-5-1">
|
<div class="outline-text-3" id="text-5-1">
|
||||||
<p>
|
<p>
|
||||||
Fast exponential function, adapted from Johan Rade's implementation
|
Fast exponential function, adapted from Johan Rade's implementation
|
||||||
@ -741,7 +741,7 @@ N. Schraudolph, "A Fast, Compact Approximation of the Exponential Function",
|
|||||||
</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: 2024-02-14 Wed 10:15</p>
|
<p class="date">Created: 2024-02-14 Wed 10:27</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>
|
||||||
<!-- 2024-02-14 Wed 10:15 -->
|
<!-- 2024-02-14 Wed 10:26 -->
|
||||||
<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>
|
||||||
@ -346,25 +346,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="#org615a49f">1. Context</a>
|
<li><a href="#orgb8cbe08">1. Context</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orga640e50">1.1. Data structure</a></li>
|
<li><a href="#org4d06de9">1.1. Data structure</a></li>
|
||||||
<li><a href="#org024ce93">1.2. Access functions</a>
|
<li><a href="#orga51a1eb">1.2. Access functions</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org79f80ec">1.2.1. Number of points</a></li>
|
<li><a href="#orge3885a5">1.2.1. Number of points</a></li>
|
||||||
<li><a href="#org04ddc02">1.2.2. Point coordinates</a></li>
|
<li><a href="#org1f978eb">1.2.2. Point coordinates</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org42fd5a7">1.3. Initialization functions</a></li>
|
<li><a href="#org5e036f0">1.3. Initialization functions</a></li>
|
||||||
<li><a href="#org9ff1097">1.4. Test</a></li>
|
<li><a href="#orgbf31020">1.4. Test</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org615a49f" class="outline-2">
|
<div id="outline-container-orgb8cbe08" class="outline-2">
|
||||||
<h2 id="org615a49f"><span class="section-number-2">1</span> Context</h2>
|
<h2 id="orgb8cbe08"><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:
|
||||||
@ -414,8 +414,8 @@ corresponds to the 3 × <code>num</code> matrix.
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orga640e50" class="outline-3">
|
<div id="outline-container-org4d06de9" class="outline-3">
|
||||||
<h3 id="orga640e50"><span class="section-number-3">1.1</span> Data structure</h3>
|
<h3 id="org4d06de9"><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> {
|
||||||
@ -451,8 +451,8 @@ corresponds to the 3 × <code>num</code> matrix.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org024ce93" class="outline-3">
|
<div id="outline-container-orga51a1eb" class="outline-3">
|
||||||
<h3 id="org024ce93"><span class="section-number-3">1.2</span> Access functions</h3>
|
<h3 id="orga51a1eb"><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
|
||||||
@ -463,8 +463,8 @@ contains the requested data. Otherwise, this variable is untouched.
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org79f80ec" class="outline-4">
|
<div id="outline-container-orge3885a5" class="outline-4">
|
||||||
<h4 id="org79f80ec"><span class="section-number-4">1.2.1</span> Number of points</h4>
|
<h4 id="orge3885a5"><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.
|
||||||
@ -486,8 +486,8 @@ Returns the number of points stored in the context.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org04ddc02" class="outline-4">
|
<div id="outline-container-org1f978eb" class="outline-4">
|
||||||
<h4 id="org04ddc02"><span class="section-number-4">1.2.2</span> Point coordinates</h4>
|
<h4 id="org1f978eb"><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).
|
||||||
@ -515,8 +515,8 @@ The pointer is assumed to point on a memory block of size
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div id="outline-container-org42fd5a7" class="outline-3">
|
<div id="outline-container-org5e036f0" class="outline-3">
|
||||||
<h3 id="org42fd5a7"><span class="section-number-3">1.3</span> Initialization functions</h3>
|
<h3 id="org5e036f0"><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
|
||||||
@ -655,8 +655,8 @@ Copy a sequence of <code>num</code> points \((x,y,z)\) into the context.
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div id="outline-container-org9ff1097" class="outline-3">
|
<div id="outline-container-orgbf31020" class="outline-3">
|
||||||
<h3 id="org9ff1097"><span class="section-number-3">1.4</span> Test</h3>
|
<h3 id="orgbf31020"><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> */
|
||||||
@ -715,7 +715,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: 2024-02-14 Wed 10:15</p>
|
<p class="date">Created: 2024-02-14 Wed 10:26</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>
|
||||||
<!-- 2024-02-14 Wed 10:15 -->
|
<!-- 2024-02-14 Wed 10:27 -->
|
||||||
<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>
|
||||||
@ -346,118 +346,118 @@ 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="#orgd4f7470">1. Headers</a></li>
|
<li><a href="#org6827d52">1. Headers</a></li>
|
||||||
<li><a href="#org454b342">2. Naïve Sherman-Morrison</a>
|
<li><a href="#org6bb24c9">2. Naïve Sherman-Morrison</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org8e0208c">2.1. <code>qmckl_sm_naive</code></a>
|
<li><a href="#org2ecd6b6">2.1. <code>qmckl_sm_naive</code></a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org8f97bd6">2.1.1. Introduction</a></li>
|
<li><a href="#org303218b">2.1.1. Introduction</a></li>
|
||||||
<li><a href="#org78e5489">2.1.2. API</a></li>
|
<li><a href="#org68e9766">2.1.2. API</a></li>
|
||||||
<li><a href="#org2011f76">2.1.3. Requirements</a></li>
|
<li><a href="#org002234a">2.1.3. Requirements</a></li>
|
||||||
<li><a href="#org322d8ec">2.1.4. Pedagogical kernel source (in Fortran)</a>
|
<li><a href="#org5d7f997">2.1.4. Pedagogical kernel source (in Fortran)</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orge4f8d50">2.1.4.1. C interface (not directly exposed)</a></li>
|
<li><a href="#org07497ff">2.1.4.1. C interface (not directly exposed)</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#orgf90e6a4">2.1.5. C headers (exposed in qmckl.h)</a></li>
|
<li><a href="#orgb0f2b7b">2.1.5. C headers (exposed in qmckl.h)</a></li>
|
||||||
<li><a href="#org91291c3">2.1.6. C sources</a></li>
|
<li><a href="#org2f8ce65">2.1.6. C sources</a></li>
|
||||||
<li><a href="#orgd99836f">2.1.7. Fortran interfaces (exposed in qmckl<sub>f.F90</sub>)</a></li>
|
<li><a href="#org2b0294f">2.1.7. Fortran interfaces (exposed in qmckl<sub>f.F90</sub>)</a></li>
|
||||||
<li><a href="#orgb0fbd63">2.1.8. Performance</a></li>
|
<li><a href="#org6660740">2.1.8. Performance</a></li>
|
||||||
<li><a href="#org48f0e0e">2.1.9. Tests</a></li>
|
<li><a href="#orgc3dadd2">2.1.9. Tests</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#orgb0bed09">3. Sherman-Morrison with Slagel Splitting (core)</a>
|
<li><a href="#org54a1636">3. Sherman-Morrison with Slagel Splitting (core)</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgbc56482">3.1. <code>qmckl_sm_splitting_core</code></a>
|
<li><a href="#org78f9abb">3.1. <code>qmckl_sm_splitting_core</code></a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org622cafb">3.1.1. Introduction</a></li>
|
<li><a href="#org9b7f7b8">3.1.1. Introduction</a></li>
|
||||||
<li><a href="#org09eb1cc">3.1.2. API</a></li>
|
<li><a href="#orgb1ce556">3.1.2. API</a></li>
|
||||||
<li><a href="#org5a58629">3.1.3. Requirements</a></li>
|
<li><a href="#orgab4ad18">3.1.3. Requirements</a></li>
|
||||||
<li><a href="#orgb8a8158">3.1.4. Pedagogical kernel source (in Fortran)</a>
|
<li><a href="#orged90f8c">3.1.4. Pedagogical kernel source (in Fortran)</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orged9f4b8">3.1.4.1. C interface to the pedagogical kernel (not directly exposed)</a></li>
|
<li><a href="#orgc4824cd">3.1.4.1. C interface to the pedagogical kernel (not directly exposed)</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org68b11d0">3.1.5. C headers (exposed in qmckl.h)</a></li>
|
<li><a href="#orgd7ee4f1">3.1.5. C headers (exposed in qmckl.h)</a></li>
|
||||||
<li><a href="#org4bd20e0">3.1.6. C sources</a></li>
|
<li><a href="#orgdfa08d0">3.1.6. C sources</a></li>
|
||||||
<li><a href="#orgb5c454c">3.1.7. Fortran interfaces (exposed in qmckl<sub>f.F90</sub>)</a></li>
|
<li><a href="#orgbe2f860">3.1.7. Fortran interfaces (exposed in qmckl<sub>f.F90</sub>)</a></li>
|
||||||
<li><a href="#org32cedab">3.1.8. Performance</a></li>
|
<li><a href="#org111a7a0">3.1.8. Performance</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org5d90c60">4. Woodbury 2x2</a>
|
<li><a href="#orgc0e0f5a">4. Woodbury 2x2</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgb364bed">4.1. <code>qmckl_woodbury_2x2</code></a>
|
<li><a href="#orgde03dba">4.1. <code>qmckl_woodbury_2x2</code></a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org8f32d55">4.1.1. Introduction</a></li>
|
<li><a href="#org1c4bbc9">4.1.1. Introduction</a></li>
|
||||||
<li><a href="#org6f2aec4">4.1.2. API</a></li>
|
<li><a href="#org5b61fef">4.1.2. API</a></li>
|
||||||
<li><a href="#orgea4e5f2">4.1.3. Requirements</a></li>
|
<li><a href="#orgd4a2e9a">4.1.3. Requirements</a></li>
|
||||||
<li><a href="#org5d479ae">4.1.4. Pedagogical kernel source (in Fortran)</a>
|
<li><a href="#org9da0a43">4.1.4. Pedagogical kernel source (in Fortran)</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org5d28564">4.1.4.1. C interface (not directly exposed)</a></li>
|
<li><a href="#org119fd62">4.1.4.1. C interface (not directly exposed)</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#orgc83f8df">4.1.5. C headers (exposed in qmckl.h)</a></li>
|
<li><a href="#org8d54d49">4.1.5. C headers (exposed in qmckl.h)</a></li>
|
||||||
<li><a href="#orga5398b6">4.1.6. C sources</a></li>
|
<li><a href="#orgff59c2e">4.1.6. C sources</a></li>
|
||||||
<li><a href="#org94913c0">4.1.7. Fortran interfaces (exposed in qmckl<sub>f.F90</sub>)</a></li>
|
<li><a href="#orge6efb5b">4.1.7. Fortran interfaces (exposed in qmckl<sub>f.F90</sub>)</a></li>
|
||||||
<li><a href="#org79aacdb">4.1.8. Performance</a></li>
|
<li><a href="#org7d45744">4.1.8. Performance</a></li>
|
||||||
<li><a href="#org483eb7b">4.1.9. Tests</a></li>
|
<li><a href="#org48d947d">4.1.9. Tests</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#orgb878879">5. Woodbury 3x3</a>
|
<li><a href="#org6e869f9">5. Woodbury 3x3</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org2a5e5f3">5.1. <code>qmckl_woodbury_3x3</code></a>
|
<li><a href="#orgf15f8ff">5.1. <code>qmckl_woodbury_3x3</code></a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgf96034c">5.1.1. Introduction</a></li>
|
<li><a href="#orgf88709c">5.1.1. Introduction</a></li>
|
||||||
<li><a href="#org18c17ca">5.1.2. API</a></li>
|
<li><a href="#orgc4dc735">5.1.2. API</a></li>
|
||||||
<li><a href="#orgb841a99">5.1.3. Requirements</a></li>
|
<li><a href="#org0d3d0cb">5.1.3. Requirements</a></li>
|
||||||
<li><a href="#org19ca2eb">5.1.4. Pedagogical kernel source (in Fortran)</a>
|
<li><a href="#orgccbe18b">5.1.4. Pedagogical kernel source (in Fortran)</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgb45a6d8">5.1.4.1. C interface (not directly exposed)</a></li>
|
<li><a href="#org88000b3">5.1.4.1. C interface (not directly exposed)</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org9ef0dc5">5.1.5. C headers (exposed in qmckl.h)</a></li>
|
<li><a href="#org7bd5061">5.1.5. C headers (exposed in qmckl.h)</a></li>
|
||||||
<li><a href="#orgc912744">5.1.6. C sources</a></li>
|
<li><a href="#orgcd4f05c">5.1.6. C sources</a></li>
|
||||||
<li><a href="#orgc80fcb3">5.1.7. Fortran interfaces (exposed in qmckl<sub>f.F90</sub>)</a></li>
|
<li><a href="#org5374cd3">5.1.7. Fortran interfaces (exposed in qmckl<sub>f.F90</sub>)</a></li>
|
||||||
<li><a href="#org0fbe2be">5.1.8. Performance</a></li>
|
<li><a href="#orgad0de50">5.1.8. Performance</a></li>
|
||||||
<li><a href="#orgb6a93cd">5.1.9. Tests</a></li>
|
<li><a href="#org8e66c0d">5.1.9. Tests</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#orge39c9f4">6. Sherman-Morrison with Slagel Splitting</a>
|
<li><a href="#org748c354">6. Sherman-Morrison with Slagel Splitting</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgcd34946">6.1. <code>qmckl_sm_splitting</code></a>
|
<li><a href="#orgf7de1c0">6.1. <code>qmckl_sm_splitting</code></a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org1455e07">6.1.1. Introduction</a></li>
|
<li><a href="#org21360bb">6.1.1. Introduction</a></li>
|
||||||
<li><a href="#org54fa703">6.1.2. API</a></li>
|
<li><a href="#org0fa6478">6.1.2. API</a></li>
|
||||||
<li><a href="#orga4e29b5">6.1.3. Requirements</a></li>
|
<li><a href="#org7a238fc">6.1.3. Requirements</a></li>
|
||||||
<li><a href="#orge1524d8">6.1.4. Pedagogical kernel source (in Fortran)</a>
|
<li><a href="#orgcaa2027">6.1.4. Pedagogical kernel source (in Fortran)</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org28fec03">6.1.4.1. C interface to the pedagogical kernel (not directly exposed)</a></li>
|
<li><a href="#orge779dfa">6.1.4.1. C interface to the pedagogical kernel (not directly exposed)</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#orgcb23074">6.1.5. C headers (exposed in qmckl.h)</a></li>
|
<li><a href="#org34f6f7c">6.1.5. C headers (exposed in qmckl.h)</a></li>
|
||||||
<li><a href="#org7fa9a09">6.1.6. C source</a></li>
|
<li><a href="#org36bab2b">6.1.6. C source</a></li>
|
||||||
<li><a href="#orga8f8323">6.1.7. Fortran interfaces (exposed in qmckl<sub>f.F90</sub>)</a></li>
|
<li><a href="#org16047dd">6.1.7. Fortran interfaces (exposed in qmckl<sub>f.F90</sub>)</a></li>
|
||||||
<li><a href="#org8d2e756">6.1.8. Performance…</a></li>
|
<li><a href="#org03d506b">6.1.8. Performance…</a></li>
|
||||||
<li><a href="#org49c1d23">6.1.9. Test</a></li>
|
<li><a href="#org2b4b288">6.1.9. Test</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#orgf7aa5b4">7. End of files</a></li>
|
<li><a href="#orgd556e94">7. End of files</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgd4f7470" class="outline-2">
|
<div id="outline-container-org6827d52" class="outline-2">
|
||||||
<h2 id="orgd4f7470"><span class="section-number-2">1</span> Headers</h2>
|
<h2 id="org6827d52"><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>
|
||||||
@ -479,17 +479,17 @@ This is the range that determines the how many high performance kernel instantce
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-org454b342" class="outline-2">
|
<div id="outline-container-org6bb24c9" class="outline-2">
|
||||||
<h2 id="org454b342"><span class="section-number-2">2</span> Naïve Sherman-Morrison</h2>
|
<h2 id="org6bb24c9"><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-org8e0208c" class="outline-3">
|
<div id="outline-container-org2ecd6b6" class="outline-3">
|
||||||
<h3 id="org8e0208c"><span class="section-number-3">2.1</span> <code>qmckl_sm_naive</code></h3>
|
<h3 id="org2ecd6b6"><span class="section-number-3">2.1</span> <code>qmckl_sm_naive</code></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-org8f97bd6" class="outline-4">
|
<div id="outline-container-org303218b" class="outline-4">
|
||||||
<h4 id="org8f97bd6"><span class="section-number-4">2.1.1</span> Introduction</h4>
|
<h4 id="org303218b"><span class="section-number-4">2.1.1</span> Introduction</h4>
|
||||||
<div class="outline-text-4" id="text-2-1-1">
|
<div class="outline-text-4" id="text-2-1-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
|
||||||
@ -539,10 +539,10 @@ from applying the updates to the original matrix.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org78e5489" class="outline-4">
|
<div id="outline-container-org68e9766" class="outline-4">
|
||||||
<h4 id="org78e5489"><span class="section-number-4">2.1.2</span> API</h4>
|
<h4 id="org68e9766"><span class="section-number-4">2.1.2</span> API</h4>
|
||||||
<div class="outline-text-4" id="text-2-1-2">
|
<div class="outline-text-4" id="text-2-1-2">
|
||||||
<table id="org56c78cb" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="orgf009273" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -630,8 +630,8 @@ from applying the updates to the original matrix.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org2011f76" class="outline-4">
|
<div id="outline-container-org002234a" class="outline-4">
|
||||||
<h4 id="org2011f76"><span class="section-number-4">2.1.3</span> Requirements</h4>
|
<h4 id="org002234a"><span class="section-number-4">2.1.3</span> Requirements</h4>
|
||||||
<div class="outline-text-4" id="text-2-1-3">
|
<div class="outline-text-4" id="text-2-1-3">
|
||||||
<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>
|
||||||
@ -647,8 +647,8 @@ from applying the updates to the original matrix.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org322d8ec" class="outline-4">
|
<div id="outline-container-org5d7f997" class="outline-4">
|
||||||
<h4 id="org322d8ec"><span class="section-number-4">2.1.4</span> Pedagogical kernel source (in Fortran)</h4>
|
<h4 id="org5d7f997"><span class="section-number-4">2.1.4</span> Pedagogical kernel source (in Fortran)</h4>
|
||||||
<div class="outline-text-4" id="text-2-1-4">
|
<div class="outline-text-4" id="text-2-1-4">
|
||||||
<p>
|
<p>
|
||||||
The following source code written in Fortran is inteded to illustrate how the kernel works. Even though the kernel is
|
The following source code written in Fortran is inteded to illustrate how the kernel works. Even though the kernel is
|
||||||
@ -742,8 +742,8 @@ not be used in real workloads.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orge4f8d50" class="outline-5">
|
<div id="outline-container-org07497ff" class="outline-5">
|
||||||
<h5 id="orge4f8d50"><span class="section-number-5">2.1.4.1</span> C interface (not directly exposed)</h5>
|
<h5 id="org07497ff"><span class="section-number-5">2.1.4.1</span> C interface (not directly exposed)</h5>
|
||||||
<div class="outline-text-5" id="text-2-1-4-1">
|
<div class="outline-text-5" id="text-2-1-4-1">
|
||||||
<p>
|
<p>
|
||||||
The following Fortran function <code>qmckl_sm_naive_doc</code> makes sure
|
The following Fortran function <code>qmckl_sm_naive_doc</code> makes sure
|
||||||
@ -755,8 +755,8 @@ for C users and in the module file 'qmckl<sub>f.F90</sub>' for Fortran users.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgf90e6a4" class="outline-4">
|
<div id="outline-container-orgb0f2b7b" class="outline-4">
|
||||||
<h4 id="orgf90e6a4"><span class="section-number-4">2.1.5</span> C headers (exposed in qmckl.h)</h4>
|
<h4 id="orgb0f2b7b"><span class="section-number-4">2.1.5</span> C headers (exposed in qmckl.h)</h4>
|
||||||
<div class="outline-text-4" id="text-2-1-5">
|
<div class="outline-text-4" id="text-2-1-5">
|
||||||
<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_sm_naive</span> (
|
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_sm_naive</span> (
|
||||||
@ -802,8 +802,8 @@ for C users and in the module file 'qmckl<sub>f.F90</sub>' for Fortran users.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org91291c3" class="outline-4">
|
<div id="outline-container-org2f8ce65" class="outline-4">
|
||||||
<h4 id="org91291c3"><span class="section-number-4">2.1.6</span> C sources</h4>
|
<h4 id="org2f8ce65"><span class="section-number-4">2.1.6</span> C sources</h4>
|
||||||
<div class="outline-text-4" id="text-2-1-6">
|
<div class="outline-text-4" id="text-2-1-6">
|
||||||
<p>
|
<p>
|
||||||
Common includes and macros used by all the Sherman-Morrison-Woodbury kernels.
|
Common includes and macros used by all the Sherman-Morrison-Woodbury kernels.
|
||||||
@ -905,7 +905,7 @@ multiple of <code>SIMD_LENGTH</code>.
|
|||||||
<code>qmckl_exit_code qmckl_sm_naive_{Dim}</code> is a C function-template that is used to genereate instances of C fucntions based on the range given above. The advantage of this method is that for each of these instances all the dimensions and loop-bounds are known at compile time, allowing the compiler to optimize more aggressively.
|
<code>qmckl_exit_code qmckl_sm_naive_{Dim}</code> is a C function-template that is used to genereate instances of C fucntions based on the range given above. The advantage of this method is that for each of these instances all the dimensions and loop-bounds are known at compile time, allowing the compiler to optimize more aggressively.
|
||||||
</p>
|
</p>
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c" id="orgf1b2e2b"><span style="color: #a020f0;">static</span> <span style="color: #a020f0;">inline</span> <span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #a0522d;">qmckl_sm_naive_</span>{Dim}(
|
<pre class="src src-c" id="orgcf029b8"><span style="color: #a020f0;">static</span> <span style="color: #a020f0;">inline</span> <span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #a0522d;">qmckl_sm_naive_</span>{Dim}(
|
||||||
<span style="color: #a020f0;">const</span> <span style="color: #228b22;">qmckl_context</span> <span style="color: #a0522d;">context</span>,
|
<span style="color: #a020f0;">const</span> <span style="color: #228b22;">qmckl_context</span> <span style="color: #a0522d;">context</span>,
|
||||||
<span style="color: #a020f0;">const</span> <span style="color: #228b22;">uint64_t</span> <span style="color: #a0522d;">N_updates</span>,
|
<span style="color: #a020f0;">const</span> <span style="color: #228b22;">uint64_t</span> <span style="color: #a0522d;">N_updates</span>,
|
||||||
<span style="color: #a020f0;">const</span> <span style="color: #228b22;">double</span>* <span style="color: #a0522d;">__restrict</span> Updates,
|
<span style="color: #a020f0;">const</span> <span style="color: #228b22;">double</span>* <span style="color: #a0522d;">__restrict</span> Updates,
|
||||||
@ -981,7 +981,7 @@ multiple of <code>SIMD_LENGTH</code>.
|
|||||||
This is the kernel generator written in Python. It uses the kernel generator range and templates defined above to generate the C kernel instances.
|
This is the kernel generator written in Python. It uses the kernel generator range and templates defined above to generate the C kernel instances.
|
||||||
</p>
|
</p>
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-python" id="orgb35c2ad"><span style="color: #a0522d;">text</span>=<span style="color: #8b2252;">"""</span>
|
<pre class="src src-python" id="orgac5658e"><span style="color: #a0522d;">text</span>=<span style="color: #8b2252;">"""</span>
|
||||||
<span style="color: #8b2252;">static inline qmckl_exit_code qmckl_sm_naive_{Dim}(</span>
|
<span style="color: #8b2252;">static inline qmckl_exit_code qmckl_sm_naive_{Dim}(</span>
|
||||||
<span style="color: #8b2252;"> const qmckl_context context,</span>
|
<span style="color: #8b2252;"> const qmckl_context context,</span>
|
||||||
<span style="color: #8b2252;"> const uint64_t N_updates,</span>
|
<span style="color: #8b2252;"> const uint64_t N_updates,</span>
|
||||||
@ -1065,7 +1065,7 @@ This is the kernel generator written in Python. It uses the kernel generator ran
|
|||||||
Python script that generated C switch cases that call individual kernel instances.
|
Python script that generated C switch cases that call individual kernel instances.
|
||||||
</p>
|
</p>
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-python" id="orga057d0e"><span style="color: #a0522d;">text</span>=<span style="color: #8b2252;">"""</span>
|
<pre class="src src-python" id="orgff055c2"><span style="color: #a0522d;">text</span>=<span style="color: #8b2252;">"""</span>
|
||||||
<span style="color: #8b2252;">case {Dim}: </span>
|
<span style="color: #8b2252;">case {Dim}: </span>
|
||||||
<span style="color: #8b2252;"> return qmckl_sm_naive_{Dim}(context,</span>
|
<span style="color: #8b2252;"> return qmckl_sm_naive_{Dim}(context,</span>
|
||||||
<span style="color: #8b2252;"> N_updates,</span>
|
<span style="color: #8b2252;"> N_updates,</span>
|
||||||
@ -2705,14 +2705,14 @@ Python script that generated C switch cases that call individual kernel instance
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgd99836f" class="outline-4">
|
<div id="outline-container-org2b0294f" class="outline-4">
|
||||||
<h4 id="orgd99836f"><span class="section-number-4">2.1.7</span> Fortran interfaces (exposed in qmckl<sub>f.F90</sub>)</h4>
|
<h4 id="org2b0294f"><span class="section-number-4">2.1.7</span> Fortran interfaces (exposed in qmckl<sub>f.F90</sub>)</h4>
|
||||||
<div class="outline-text-4" id="text-2-1-7">
|
<div class="outline-text-4" id="text-2-1-7">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgb0fbd63" class="outline-4">
|
<div id="outline-container-org6660740" class="outline-4">
|
||||||
<h4 id="orgb0fbd63"><span class="section-number-4">2.1.8</span> Performance</h4>
|
<h4 id="org6660740"><span class="section-number-4">2.1.8</span> Performance</h4>
|
||||||
<div class="outline-text-4" id="text-2-1-8">
|
<div class="outline-text-4" id="text-2-1-8">
|
||||||
<p>
|
<p>
|
||||||
This function performs best when there is only 1 rank-1 update in the update cycle. It is
|
This function performs best when there is only 1 rank-1 update in the update cycle. It is
|
||||||
@ -2721,8 +2721,8 @@ can never resolve a situation where applying the update causes singular behaviou
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-org48f0e0e" class="outline-4">
|
<div id="outline-container-orgc3dadd2" class="outline-4">
|
||||||
<h4 id="org48f0e0e"><span class="section-number-4">2.1.9</span> Tests</h4>
|
<h4 id="orgc3dadd2"><span class="section-number-4">2.1.9</span> Tests</h4>
|
||||||
<div class="outline-text-4" id="text-2-1-9">
|
<div class="outline-text-4" id="text-2-1-9">
|
||||||
<p>
|
<p>
|
||||||
The tests for the kernels are executed on datasets that are extracted from a run of
|
The tests for the kernels are executed on datasets that are extracted from a run of
|
||||||
@ -2790,17 +2790,17 @@ rc = QMCKL_SUCCESS;
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div id="outline-container-orgb0bed09" class="outline-2">
|
<div id="outline-container-org54a1636" class="outline-2">
|
||||||
<h2 id="orgb0bed09"><span class="section-number-2">3</span> Sherman-Morrison with Slagel Splitting (core)</h2>
|
<h2 id="org54a1636"><span class="section-number-2">3</span> Sherman-Morrison with Slagel Splitting (core)</h2>
|
||||||
<div class="outline-text-2" id="text-3">
|
<div class="outline-text-2" id="text-3">
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-orgbc56482" class="outline-3">
|
<div id="outline-container-org78f9abb" class="outline-3">
|
||||||
<h3 id="orgbc56482"><span class="section-number-3">3.1</span> <code>qmckl_sm_splitting_core</code></h3>
|
<h3 id="org78f9abb"><span class="section-number-3">3.1</span> <code>qmckl_sm_splitting_core</code></h3>
|
||||||
<div class="outline-text-3" id="text-3-1">
|
<div class="outline-text-3" id="text-3-1">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org622cafb" class="outline-4">
|
<div id="outline-container-org9b7f7b8" class="outline-4">
|
||||||
<h4 id="org622cafb"><span class="section-number-4">3.1.1</span> Introduction</h4>
|
<h4 id="org9b7f7b8"><span class="section-number-4">3.1.1</span> Introduction</h4>
|
||||||
<div class="outline-text-4" id="text-3-1-1">
|
<div class="outline-text-4" id="text-3-1-1">
|
||||||
<p>
|
<p>
|
||||||
<code>qmckl_sm_splitting_core</code> is the inner core part of 'Sherman-Morrison with update splitting' in the next section.
|
<code>qmckl_sm_splitting_core</code> is the inner core part of 'Sherman-Morrison with update splitting' in the next section.
|
||||||
@ -2828,10 +2828,10 @@ If the determinant is passed it will only be partially updated if there were any
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org09eb1cc" class="outline-4">
|
<div id="outline-container-orgb1ce556" class="outline-4">
|
||||||
<h4 id="org09eb1cc"><span class="section-number-4">3.1.2</span> API</h4>
|
<h4 id="orgb1ce556"><span class="section-number-4">3.1.2</span> API</h4>
|
||||||
<div class="outline-text-4" id="text-3-1-2">
|
<div class="outline-text-4" id="text-3-1-2">
|
||||||
<table id="orge1825df" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org2401642" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -2940,8 +2940,8 @@ If the determinant is passed it will only be partially updated if there were any
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org5a58629" class="outline-4">
|
<div id="outline-container-orgab4ad18" class="outline-4">
|
||||||
<h4 id="org5a58629"><span class="section-number-4">3.1.3</span> Requirements</h4>
|
<h4 id="orgab4ad18"><span class="section-number-4">3.1.3</span> Requirements</h4>
|
||||||
<div class="outline-text-4" id="text-3-1-3">
|
<div class="outline-text-4" id="text-3-1-3">
|
||||||
<ul class="org-ul">
|
<ul class="org-ul">
|
||||||
<li><code>LDS >= 2</code></li>
|
<li><code>LDS >= 2</code></li>
|
||||||
@ -2958,8 +2958,8 @@ If the determinant is passed it will only be partially updated if there were any
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgb8a8158" class="outline-4">
|
<div id="outline-container-orged90f8c" class="outline-4">
|
||||||
<h4 id="orgb8a8158"><span class="section-number-4">3.1.4</span> Pedagogical kernel source (in Fortran)</h4>
|
<h4 id="orged90f8c"><span class="section-number-4">3.1.4</span> Pedagogical kernel source (in Fortran)</h4>
|
||||||
<div class="outline-text-4" id="text-3-1-4">
|
<div class="outline-text-4" id="text-3-1-4">
|
||||||
<p>
|
<p>
|
||||||
The following source code written in Fortran is inteded to illustrate how the kernel works. Even though the kernel is
|
The following source code written in Fortran is inteded to illustrate how the kernel works. Even though the kernel is
|
||||||
@ -3075,8 +3075,8 @@ not be used in real workloads.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orged9f4b8" class="outline-5">
|
<div id="outline-container-orgc4824cd" class="outline-5">
|
||||||
<h5 id="orged9f4b8"><span class="section-number-5">3.1.4.1</span> C interface to the pedagogical kernel (not directly exposed)</h5>
|
<h5 id="orgc4824cd"><span class="section-number-5">3.1.4.1</span> C interface to the pedagogical kernel (not directly exposed)</h5>
|
||||||
<div class="outline-text-5" id="text-3-1-4-1">
|
<div class="outline-text-5" id="text-3-1-4-1">
|
||||||
<p>
|
<p>
|
||||||
The function <code>qmckl_sm_splitting_core_doc</code> makes sure that
|
The function <code>qmckl_sm_splitting_core_doc</code> makes sure that
|
||||||
@ -3089,8 +3089,8 @@ exposed in <code>qmckl.h</code> and <code>qmckl_f.F90</code>, but
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org68b11d0" class="outline-4">
|
<div id="outline-container-orgd7ee4f1" class="outline-4">
|
||||||
<h4 id="org68b11d0"><span class="section-number-4">3.1.5</span> C headers (exposed in qmckl.h)</h4>
|
<h4 id="orgd7ee4f1"><span class="section-number-4">3.1.5</span> C headers (exposed in qmckl.h)</h4>
|
||||||
<div class="outline-text-4" id="text-3-1-5">
|
<div class="outline-text-4" id="text-3-1-5">
|
||||||
<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_sm_splitting_core</span> (
|
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_sm_splitting_core</span> (
|
||||||
@ -3145,8 +3145,8 @@ exposed in <code>qmckl.h</code> and <code>qmckl_f.F90</code>, but
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org4bd20e0" class="outline-4">
|
<div id="outline-container-orgdfa08d0" class="outline-4">
|
||||||
<h4 id="org4bd20e0"><span class="section-number-4">3.1.6</span> C sources</h4>
|
<h4 id="orgdfa08d0"><span class="section-number-4">3.1.6</span> C sources</h4>
|
||||||
<div class="outline-text-4" id="text-3-1-6">
|
<div class="outline-text-4" id="text-3-1-6">
|
||||||
<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_sm_splitting_core_hpc</span>(
|
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_sm_splitting_core_hpc</span>(
|
||||||
@ -3235,7 +3235,7 @@ exposed in <code>qmckl.h</code> and <code>qmckl_f.F90</code>, but
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c" id="orgd694ac3"><span style="color: #a020f0;">static</span> <span style="color: #a020f0;">inline</span> <span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #a0522d;">qmckl_sm_splitting_core_</span>{Dim}(
|
<pre class="src src-c" id="orgaaf52a3"><span style="color: #a020f0;">static</span> <span style="color: #a020f0;">inline</span> <span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #a0522d;">qmckl_sm_splitting_core_</span>{Dim}(
|
||||||
<span style="color: #a020f0;">const</span> <span style="color: #228b22;">qmckl_context</span> <span style="color: #a0522d;">context</span>,
|
<span style="color: #a020f0;">const</span> <span style="color: #228b22;">qmckl_context</span> <span style="color: #a0522d;">context</span>,
|
||||||
<span style="color: #228b22;">uint64_t</span> <span style="color: #a0522d;">N_updates</span>,
|
<span style="color: #228b22;">uint64_t</span> <span style="color: #a0522d;">N_updates</span>,
|
||||||
<span style="color: #a020f0;">const</span> <span style="color: #228b22;">double</span>* <span style="color: #a0522d;">__restrict</span> Updates,
|
<span style="color: #a020f0;">const</span> <span style="color: #228b22;">double</span>* <span style="color: #a0522d;">__restrict</span> Updates,
|
||||||
@ -3319,7 +3319,7 @@ exposed in <code>qmckl.h</code> and <code>qmckl_f.F90</code>, but
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-python" id="org0b66cb4"><span style="color: #a0522d;">text</span>=<span style="color: #8b2252;">"""</span>
|
<pre class="src src-python" id="orga016c3d"><span style="color: #a0522d;">text</span>=<span style="color: #8b2252;">"""</span>
|
||||||
<span style="color: #8b2252;">static inline qmckl_exit_code qmckl_sm_splitting_core_{Dim}(</span>
|
<span style="color: #8b2252;">static inline qmckl_exit_code qmckl_sm_splitting_core_{Dim}(</span>
|
||||||
<span style="color: #8b2252;"> const qmckl_context context,</span>
|
<span style="color: #8b2252;"> const qmckl_context context,</span>
|
||||||
<span style="color: #8b2252;"> uint64_t N_updates,</span>
|
<span style="color: #8b2252;"> uint64_t N_updates,</span>
|
||||||
@ -3411,7 +3411,7 @@ exposed in <code>qmckl.h</code> and <code>qmckl_f.F90</code>, but
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-python" id="org374a2dd"><span style="color: #a0522d;">text</span>=<span style="color: #8b2252;">"""</span>
|
<pre class="src src-python" id="orgb830ca2"><span style="color: #a0522d;">text</span>=<span style="color: #8b2252;">"""</span>
|
||||||
<span style="color: #8b2252;">case {Dim}: {</span>
|
<span style="color: #8b2252;">case {Dim}: {</span>
|
||||||
<span style="color: #8b2252;"> return qmckl_sm_splitting_core_{Dim}(</span>
|
<span style="color: #8b2252;"> return qmckl_sm_splitting_core_{Dim}(</span>
|
||||||
<span style="color: #8b2252;"> context,</span>
|
<span style="color: #8b2252;"> context,</span>
|
||||||
@ -5379,14 +5379,14 @@ exposed in <code>qmckl.h</code> and <code>qmckl_f.F90</code>, but
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgb5c454c" class="outline-4">
|
<div id="outline-container-orgbe2f860" class="outline-4">
|
||||||
<h4 id="orgb5c454c"><span class="section-number-4">3.1.7</span> Fortran interfaces (exposed in qmckl<sub>f.F90</sub>)</h4>
|
<h4 id="orgbe2f860"><span class="section-number-4">3.1.7</span> Fortran interfaces (exposed in qmckl<sub>f.F90</sub>)</h4>
|
||||||
<div class="outline-text-4" id="text-3-1-7">
|
<div class="outline-text-4" id="text-3-1-7">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org32cedab" class="outline-4">
|
<div id="outline-container-org111a7a0" class="outline-4">
|
||||||
<h4 id="org32cedab"><span class="section-number-4">3.1.8</span> Performance</h4>
|
<h4 id="org111a7a0"><span class="section-number-4">3.1.8</span> Performance</h4>
|
||||||
<div class="outline-text-4" id="text-3-1-8">
|
<div class="outline-text-4" id="text-3-1-8">
|
||||||
<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
|
||||||
@ -5398,17 +5398,17 @@ with Sherman-Morrison and update splitting. Please look at the performance recco
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div id="outline-container-org5d90c60" class="outline-2">
|
<div id="outline-container-orgc0e0f5a" class="outline-2">
|
||||||
<h2 id="org5d90c60"><span class="section-number-2">4</span> Woodbury 2x2</h2>
|
<h2 id="orgc0e0f5a"><span class="section-number-2">4</span> Woodbury 2x2</h2>
|
||||||
<div class="outline-text-2" id="text-4">
|
<div class="outline-text-2" id="text-4">
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-orgb364bed" class="outline-3">
|
<div id="outline-container-orgde03dba" class="outline-3">
|
||||||
<h3 id="orgb364bed"><span class="section-number-3">4.1</span> <code>qmckl_woodbury_2x2</code></h3>
|
<h3 id="orgde03dba"><span class="section-number-3">4.1</span> <code>qmckl_woodbury_2x2</code></h3>
|
||||||
<div class="outline-text-3" id="text-4-1">
|
<div class="outline-text-3" id="text-4-1">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org8f32d55" class="outline-4">
|
<div id="outline-container-org1c4bbc9" class="outline-4">
|
||||||
<h4 id="org8f32d55"><span class="section-number-4">4.1.1</span> Introduction</h4>
|
<h4 id="org1c4bbc9"><span class="section-number-4">4.1.1</span> Introduction</h4>
|
||||||
<div class="outline-text-4" id="text-4-1-1">
|
<div class="outline-text-4" id="text-4-1-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
|
||||||
@ -5432,10 +5432,10 @@ from applying the updates to the original matrix.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org6f2aec4" class="outline-4">
|
<div id="outline-container-org5b61fef" class="outline-4">
|
||||||
<h4 id="org6f2aec4"><span class="section-number-4">4.1.2</span> API</h4>
|
<h4 id="org5b61fef"><span class="section-number-4">4.1.2</span> API</h4>
|
||||||
<div class="outline-text-4" id="text-4-1-2">
|
<div class="outline-text-4" id="text-4-1-2">
|
||||||
<table id="orgef07944" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="orgbe4e01a" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -5516,8 +5516,8 @@ from applying the updates to the original matrix.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgea4e5f2" class="outline-4">
|
<div id="outline-container-orgd4a2e9a" class="outline-4">
|
||||||
<h4 id="orgea4e5f2"><span class="section-number-4">4.1.3</span> Requirements</h4>
|
<h4 id="orgd4a2e9a"><span class="section-number-4">4.1.3</span> Requirements</h4>
|
||||||
<div class="outline-text-4" id="text-4-1-3">
|
<div class="outline-text-4" id="text-4-1-3">
|
||||||
<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>
|
||||||
@ -5531,8 +5531,8 @@ from applying the updates to the original matrix.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org5d479ae" class="outline-4">
|
<div id="outline-container-org9da0a43" class="outline-4">
|
||||||
<h4 id="org5d479ae"><span class="section-number-4">4.1.4</span> Pedagogical kernel source (in Fortran)</h4>
|
<h4 id="org9da0a43"><span class="section-number-4">4.1.4</span> Pedagogical kernel source (in Fortran)</h4>
|
||||||
<div class="outline-text-4" id="text-4-1-4">
|
<div class="outline-text-4" id="text-4-1-4">
|
||||||
<p>
|
<p>
|
||||||
The following source code written in Fortran is inteded to illustrate how the kernel works. Even though the kernel is
|
The following source code written in Fortran is inteded to illustrate how the kernel works. Even though the kernel is
|
||||||
@ -5668,8 +5668,8 @@ not be used in real workloads.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org5d28564" class="outline-5">
|
<div id="outline-container-org119fd62" class="outline-5">
|
||||||
<h5 id="org5d28564"><span class="section-number-5">4.1.4.1</span> C interface (not directly exposed)</h5>
|
<h5 id="org119fd62"><span class="section-number-5">4.1.4.1</span> C interface (not directly exposed)</h5>
|
||||||
<div class="outline-text-5" id="text-4-1-4-1">
|
<div class="outline-text-5" id="text-4-1-4-1">
|
||||||
<p>
|
<p>
|
||||||
The function <code>qmckl_sm_splitting_core_doc</code> makes sure that
|
The function <code>qmckl_sm_splitting_core_doc</code> makes sure that
|
||||||
@ -5682,8 +5682,8 @@ exposed in <code>qmckl.h</code> and <code>qmckl_f.F90</code>, but
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgc83f8df" class="outline-4">
|
<div id="outline-container-org8d54d49" class="outline-4">
|
||||||
<h4 id="orgc83f8df"><span class="section-number-4">4.1.5</span> C headers (exposed in qmckl.h)</h4>
|
<h4 id="org8d54d49"><span class="section-number-4">4.1.5</span> C headers (exposed in qmckl.h)</h4>
|
||||||
<div class="outline-text-4" id="text-4-1-5">
|
<div class="outline-text-4" id="text-4-1-5">
|
||||||
<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_2x2</span> (
|
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_woodbury_2x2</span> (
|
||||||
@ -5726,8 +5726,8 @@ exposed in <code>qmckl.h</code> and <code>qmckl_f.F90</code>, but
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orga5398b6" class="outline-4">
|
<div id="outline-container-orgff59c2e" class="outline-4">
|
||||||
<h4 id="orga5398b6"><span class="section-number-4">4.1.6</span> C sources</h4>
|
<h4 id="orgff59c2e"><span class="section-number-4">4.1.6</span> C sources</h4>
|
||||||
<div class="outline-text-4" id="text-4-1-6">
|
<div class="outline-text-4" id="text-4-1-6">
|
||||||
<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_2x2_hpc</span>(<span style="color: #a020f0;">const</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_woodbury_2x2_hpc</span>(<span style="color: #a020f0;">const</span> <span style="color: #228b22;">qmckl_context</span> <span style="color: #a0522d;">context</span>,
|
||||||
@ -5817,7 +5817,7 @@ exposed in <code>qmckl.h</code> and <code>qmckl_f.F90</code>, but
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c" id="orgf4aa530"><span style="color: #a020f0;">static</span> <span style="color: #a020f0;">inline</span> <span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #a0522d;">qmckl_woodbury_2x2_</span>{Dim}(
|
<pre class="src src-c" id="orge266c70"><span style="color: #a020f0;">static</span> <span style="color: #a020f0;">inline</span> <span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #a0522d;">qmckl_woodbury_2x2_</span>{Dim}(
|
||||||
<span style="color: #a020f0;">const</span> <span style="color: #228b22;">qmckl_context</span> <span style="color: #a0522d;">context</span>,
|
<span style="color: #a020f0;">const</span> <span style="color: #228b22;">qmckl_context</span> <span style="color: #a0522d;">context</span>,
|
||||||
<span style="color: #a020f0;">const</span> <span style="color: #228b22;">double</span>* <span style="color: #a0522d;">__restrict</span> Updates,
|
<span style="color: #a020f0;">const</span> <span style="color: #228b22;">double</span>* <span style="color: #a0522d;">__restrict</span> Updates,
|
||||||
<span style="color: #a020f0;">const</span> <span style="color: #228b22;">uint64_t</span>* <span style="color: #a0522d;">__restrict</span> Updates_index,
|
<span style="color: #a020f0;">const</span> <span style="color: #228b22;">uint64_t</span>* <span style="color: #a0522d;">__restrict</span> Updates_index,
|
||||||
@ -7767,14 +7767,14 @@ exposed in <code>qmckl.h</code> and <code>qmckl_f.F90</code>, but
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org94913c0" class="outline-4">
|
<div id="outline-container-orge6efb5b" class="outline-4">
|
||||||
<h4 id="org94913c0"><span class="section-number-4">4.1.7</span> Fortran interfaces (exposed in qmckl<sub>f.F90</sub>)</h4>
|
<h4 id="orge6efb5b"><span class="section-number-4">4.1.7</span> Fortran interfaces (exposed in qmckl<sub>f.F90</sub>)</h4>
|
||||||
<div class="outline-text-4" id="text-4-1-7">
|
<div class="outline-text-4" id="text-4-1-7">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org79aacdb" class="outline-4">
|
<div id="outline-container-org7d45744" class="outline-4">
|
||||||
<h4 id="org79aacdb"><span class="section-number-4">4.1.8</span> Performance</h4>
|
<h4 id="org7d45744"><span class="section-number-4">4.1.8</span> Performance</h4>
|
||||||
<div class="outline-text-4" id="text-4-1-8">
|
<div class="outline-text-4" id="text-4-1-8">
|
||||||
<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
|
||||||
@ -7783,8 +7783,8 @@ it is sure they will not result in a singular matrix.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org483eb7b" class="outline-4">
|
<div id="outline-container-org48d947d" class="outline-4">
|
||||||
<h4 id="org483eb7b"><span class="section-number-4">4.1.9</span> Tests</h4>
|
<h4 id="org48d947d"><span class="section-number-4">4.1.9</span> Tests</h4>
|
||||||
<div class="outline-text-4" id="text-4-1-9">
|
<div class="outline-text-4" id="text-4-1-9">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c"><span style="color: #0000ff;">assert</span>(Updates2 != <span style="color: #008b8b;">NULL</span>);
|
<pre class="src src-c"><span style="color: #0000ff;">assert</span>(Updates2 != <span style="color: #008b8b;">NULL</span>);
|
||||||
@ -7821,17 +7821,17 @@ rc = QMCKL_SUCCESS;
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div id="outline-container-orgb878879" class="outline-2">
|
<div id="outline-container-org6e869f9" class="outline-2">
|
||||||
<h2 id="orgb878879"><span class="section-number-2">5</span> Woodbury 3x3</h2>
|
<h2 id="org6e869f9"><span class="section-number-2">5</span> Woodbury 3x3</h2>
|
||||||
<div class="outline-text-2" id="text-5">
|
<div class="outline-text-2" id="text-5">
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-org2a5e5f3" class="outline-3">
|
<div id="outline-container-orgf15f8ff" class="outline-3">
|
||||||
<h3 id="org2a5e5f3"><span class="section-number-3">5.1</span> <code>qmckl_woodbury_3x3</code></h3>
|
<h3 id="orgf15f8ff"><span class="section-number-3">5.1</span> <code>qmckl_woodbury_3x3</code></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-orgf96034c" class="outline-4">
|
<div id="outline-container-orgf88709c" class="outline-4">
|
||||||
<h4 id="orgf96034c"><span class="section-number-4">5.1.1</span> Introduction</h4>
|
<h4 id="orgf88709c"><span class="section-number-4">5.1.1</span> Introduction</h4>
|
||||||
<div class="outline-text-4" id="text-5-1-1">
|
<div class="outline-text-4" id="text-5-1-1">
|
||||||
<p>
|
<p>
|
||||||
The Woodbury 3x3 kernel. It is used to apply two rank-1 updates at once. The formula used in
|
The Woodbury 3x3 kernel. It is used to apply two rank-1 updates at once. The formula used in
|
||||||
@ -7855,10 +7855,10 @@ from applying the updates to the original matrix.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org18c17ca" class="outline-4">
|
<div id="outline-container-orgc4dc735" class="outline-4">
|
||||||
<h4 id="org18c17ca"><span class="section-number-4">5.1.2</span> API</h4>
|
<h4 id="orgc4dc735"><span class="section-number-4">5.1.2</span> API</h4>
|
||||||
<div class="outline-text-4" id="text-5-1-2">
|
<div class="outline-text-4" id="text-5-1-2">
|
||||||
<table id="org493cc64" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="orgc242fbc" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -7939,8 +7939,8 @@ from applying the updates to the original matrix.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgb841a99" class="outline-4">
|
<div id="outline-container-org0d3d0cb" class="outline-4">
|
||||||
<h4 id="orgb841a99"><span class="section-number-4">5.1.3</span> Requirements</h4>
|
<h4 id="org0d3d0cb"><span class="section-number-4">5.1.3</span> Requirements</h4>
|
||||||
<div class="outline-text-4" id="text-5-1-3">
|
<div class="outline-text-4" id="text-5-1-3">
|
||||||
<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>
|
||||||
@ -7954,8 +7954,8 @@ from applying the updates to the original matrix.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org19ca2eb" class="outline-4">
|
<div id="outline-container-orgccbe18b" class="outline-4">
|
||||||
<h4 id="org19ca2eb"><span class="section-number-4">5.1.4</span> Pedagogical kernel source (in Fortran)</h4>
|
<h4 id="orgccbe18b"><span class="section-number-4">5.1.4</span> Pedagogical kernel source (in Fortran)</h4>
|
||||||
<div class="outline-text-4" id="text-5-1-4">
|
<div class="outline-text-4" id="text-5-1-4">
|
||||||
<p>
|
<p>
|
||||||
The following source code written in Fortran is inteded to illustrate how the kernel works. Even though the kernel is
|
The following source code written in Fortran is inteded to illustrate how the kernel works. Even though the kernel is
|
||||||
@ -8100,8 +8100,8 @@ not be used in real workloads.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgb45a6d8" class="outline-5">
|
<div id="outline-container-org88000b3" class="outline-5">
|
||||||
<h5 id="orgb45a6d8"><span class="section-number-5">5.1.4.1</span> C interface (not directly exposed)</h5>
|
<h5 id="org88000b3"><span class="section-number-5">5.1.4.1</span> C interface (not directly exposed)</h5>
|
||||||
<div class="outline-text-5" id="text-5-1-4-1">
|
<div class="outline-text-5" id="text-5-1-4-1">
|
||||||
<p>
|
<p>
|
||||||
The function <code>qmckl_sm_splitting_core_doc</code> makes sure that
|
The function <code>qmckl_sm_splitting_core_doc</code> makes sure that
|
||||||
@ -8114,8 +8114,8 @@ exposed in <code>qmckl.h</code> and <code>qmckl_f.F90</code>, but
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org9ef0dc5" class="outline-4">
|
<div id="outline-container-org7bd5061" class="outline-4">
|
||||||
<h4 id="org9ef0dc5"><span class="section-number-4">5.1.5</span> C headers (exposed in qmckl.h)</h4>
|
<h4 id="org7bd5061"><span class="section-number-4">5.1.5</span> C headers (exposed in qmckl.h)</h4>
|
||||||
<div class="outline-text-4" id="text-5-1-5">
|
<div class="outline-text-4" id="text-5-1-5">
|
||||||
<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_3x3</span> (
|
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_woodbury_3x3</span> (
|
||||||
@ -8158,8 +8158,8 @@ exposed in <code>qmckl.h</code> and <code>qmckl_f.F90</code>, but
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgc912744" class="outline-4">
|
<div id="outline-container-orgcd4f05c" class="outline-4">
|
||||||
<h4 id="orgc912744"><span class="section-number-4">5.1.6</span> C sources</h4>
|
<h4 id="orgcd4f05c"><span class="section-number-4">5.1.6</span> C sources</h4>
|
||||||
<div class="outline-text-4" id="text-5-1-6">
|
<div class="outline-text-4" id="text-5-1-6">
|
||||||
<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_3x3_hpc</span>(<span style="color: #a020f0;">const</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_woodbury_3x3_hpc</span>(<span style="color: #a020f0;">const</span> <span style="color: #228b22;">qmckl_context</span> <span style="color: #a0522d;">context</span>,
|
||||||
@ -8269,7 +8269,7 @@ exposed in <code>qmckl.h</code> and <code>qmckl_f.F90</code>, but
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c" id="org2a0357f"><span style="color: #a020f0;">static</span> <span style="color: #a020f0;">inline</span> <span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #a0522d;">qmckl_woodbury_3x3_</span>{Dim}(
|
<pre class="src src-c" id="org47e5684"><span style="color: #a020f0;">static</span> <span style="color: #a020f0;">inline</span> <span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #a0522d;">qmckl_woodbury_3x3_</span>{Dim}(
|
||||||
<span style="color: #a020f0;">const</span> <span style="color: #228b22;">qmckl_context</span> <span style="color: #a0522d;">context</span>,
|
<span style="color: #a020f0;">const</span> <span style="color: #228b22;">qmckl_context</span> <span style="color: #a0522d;">context</span>,
|
||||||
<span style="color: #a020f0;">const</span> <span style="color: #228b22;">double</span>* <span style="color: #a0522d;">__restrict</span> Updates,
|
<span style="color: #a020f0;">const</span> <span style="color: #228b22;">double</span>* <span style="color: #a0522d;">__restrict</span> Updates,
|
||||||
<span style="color: #a020f0;">const</span> <span style="color: #228b22;">uint64_t</span>* <span style="color: #a0522d;">__restrict</span> Updates_index,
|
<span style="color: #a020f0;">const</span> <span style="color: #228b22;">uint64_t</span>* <span style="color: #a0522d;">__restrict</span> Updates_index,
|
||||||
@ -10639,14 +10639,14 @@ exposed in <code>qmckl.h</code> and <code>qmckl_f.F90</code>, but
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgc80fcb3" class="outline-4">
|
<div id="outline-container-org5374cd3" class="outline-4">
|
||||||
<h4 id="orgc80fcb3"><span class="section-number-4">5.1.7</span> Fortran interfaces (exposed in qmckl<sub>f.F90</sub>)</h4>
|
<h4 id="org5374cd3"><span class="section-number-4">5.1.7</span> Fortran interfaces (exposed in qmckl<sub>f.F90</sub>)</h4>
|
||||||
<div class="outline-text-4" id="text-5-1-7">
|
<div class="outline-text-4" id="text-5-1-7">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org0fbe2be" class="outline-4">
|
<div id="outline-container-orgad0de50" class="outline-4">
|
||||||
<h4 id="org0fbe2be"><span class="section-number-4">5.1.8</span> Performance</h4>
|
<h4 id="orgad0de50"><span class="section-number-4">5.1.8</span> Performance</h4>
|
||||||
<div class="outline-text-4" id="text-5-1-8">
|
<div class="outline-text-4" id="text-5-1-8">
|
||||||
<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
|
||||||
@ -10655,8 +10655,8 @@ it is sure they will not result in a singular matrix.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgb6a93cd" class="outline-4">
|
<div id="outline-container-org8e66c0d" class="outline-4">
|
||||||
<h4 id="orgb6a93cd"><span class="section-number-4">5.1.9</span> Tests</h4>
|
<h4 id="org8e66c0d"><span class="section-number-4">5.1.9</span> Tests</h4>
|
||||||
<div class="outline-text-4" id="text-5-1-9">
|
<div class="outline-text-4" id="text-5-1-9">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c"><span style="color: #0000ff;">assert</span>(Updates3 != <span style="color: #008b8b;">NULL</span>);
|
<pre class="src src-c"><span style="color: #0000ff;">assert</span>(Updates3 != <span style="color: #008b8b;">NULL</span>);
|
||||||
@ -10693,17 +10693,17 @@ rc = QMCKL_SUCCESS;
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div id="outline-container-orge39c9f4" class="outline-2">
|
<div id="outline-container-org748c354" class="outline-2">
|
||||||
<h2 id="orge39c9f4"><span class="section-number-2">6</span> Sherman-Morrison with Slagel Splitting</h2>
|
<h2 id="org748c354"><span class="section-number-2">6</span> Sherman-Morrison with Slagel Splitting</h2>
|
||||||
<div class="outline-text-2" id="text-6">
|
<div class="outline-text-2" id="text-6">
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-orgcd34946" class="outline-3">
|
<div id="outline-container-orgf7de1c0" class="outline-3">
|
||||||
<h3 id="orgcd34946"><span class="section-number-3">6.1</span> <code>qmckl_sm_splitting</code></h3>
|
<h3 id="orgf7de1c0"><span class="section-number-3">6.1</span> <code>qmckl_sm_splitting</code></h3>
|
||||||
<div class="outline-text-3" id="text-6-1">
|
<div class="outline-text-3" id="text-6-1">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org1455e07" class="outline-4">
|
<div id="outline-container-org21360bb" class="outline-4">
|
||||||
<h4 id="org1455e07"><span class="section-number-4">6.1.1</span> Introduction</h4>
|
<h4 id="org21360bb"><span class="section-number-4">6.1.1</span> Introduction</h4>
|
||||||
<div class="outline-text-4" id="text-6-1-1">
|
<div class="outline-text-4" id="text-6-1-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
|
||||||
@ -10727,10 +10727,10 @@ from applying the updates to the original matrix.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org54fa703" class="outline-4">
|
<div id="outline-container-org0fa6478" class="outline-4">
|
||||||
<h4 id="org54fa703"><span class="section-number-4">6.1.2</span> API</h4>
|
<h4 id="org0fa6478"><span class="section-number-4">6.1.2</span> API</h4>
|
||||||
<div class="outline-text-4" id="text-6-1-2">
|
<div class="outline-text-4" id="text-6-1-2">
|
||||||
<table id="org28d551f" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org2c59c0c" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -10818,8 +10818,8 @@ from applying the updates to the original matrix.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orga4e29b5" class="outline-4">
|
<div id="outline-container-org7a238fc" class="outline-4">
|
||||||
<h4 id="orga4e29b5"><span class="section-number-4">6.1.3</span> Requirements</h4>
|
<h4 id="org7a238fc"><span class="section-number-4">6.1.3</span> Requirements</h4>
|
||||||
<div class="outline-text-4" id="text-6-1-3">
|
<div class="outline-text-4" id="text-6-1-3">
|
||||||
<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>
|
||||||
@ -10834,8 +10834,8 @@ from applying the updates to the original matrix.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orge1524d8" class="outline-4">
|
<div id="outline-container-orgcaa2027" class="outline-4">
|
||||||
<h4 id="orge1524d8"><span class="section-number-4">6.1.4</span> Pedagogical kernel source (in Fortran)</h4>
|
<h4 id="orgcaa2027"><span class="section-number-4">6.1.4</span> Pedagogical kernel source (in Fortran)</h4>
|
||||||
<div class="outline-text-4" id="text-6-1-4">
|
<div class="outline-text-4" id="text-6-1-4">
|
||||||
<p>
|
<p>
|
||||||
The following source code written in Fortran is inteded to illustrate how the kernel works. Even though the kernel is
|
The following source code written in Fortran is inteded to illustrate how the kernel works. Even though the kernel is
|
||||||
@ -10914,8 +10914,8 @@ not be used in real workloads.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org28fec03" class="outline-5">
|
<div id="outline-container-orge779dfa" class="outline-5">
|
||||||
<h5 id="org28fec03"><span class="section-number-5">6.1.4.1</span> C interface to the pedagogical kernel (not directly exposed)</h5>
|
<h5 id="orge779dfa"><span class="section-number-5">6.1.4.1</span> C interface to the pedagogical kernel (not directly exposed)</h5>
|
||||||
<div class="outline-text-5" id="text-6-1-4-1">
|
<div class="outline-text-5" id="text-6-1-4-1">
|
||||||
<p>
|
<p>
|
||||||
The following Fortran function <code>qmckl_sm_splitting_core_doc</code> makes sure
|
The following Fortran function <code>qmckl_sm_splitting_core_doc</code> makes sure
|
||||||
@ -10928,8 +10928,8 @@ for C users and in the module file 'qmckl<sub>f.F90</sub>' for Fortran users.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgcb23074" class="outline-4">
|
<div id="outline-container-org34f6f7c" class="outline-4">
|
||||||
<h4 id="orgcb23074"><span class="section-number-4">6.1.5</span> C headers (exposed in qmckl.h)</h4>
|
<h4 id="org34f6f7c"><span class="section-number-4">6.1.5</span> C headers (exposed in qmckl.h)</h4>
|
||||||
<div class="outline-text-4" id="text-6-1-5">
|
<div class="outline-text-4" id="text-6-1-5">
|
||||||
<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_sm_splitting</span> (
|
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_sm_splitting</span> (
|
||||||
@ -10975,11 +10975,11 @@ for C users and in the module file 'qmckl<sub>f.F90</sub>' for Fortran users.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org7fa9a09" class="outline-4">
|
<div id="outline-container-org36bab2b" class="outline-4">
|
||||||
<h4 id="org7fa9a09"><span class="section-number-4">6.1.6</span> C source</h4>
|
<h4 id="org36bab2b"><span class="section-number-4">6.1.6</span> C source</h4>
|
||||||
<div class="outline-text-4" id="text-6-1-6">
|
<div class="outline-text-4" id="text-6-1-6">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-python" id="org2cde215"><span style="color: #a0522d;">text</span>=<span style="color: #8b2252;">"""</span>
|
<pre class="src src-python" id="orge6b61d6"><span style="color: #a0522d;">text</span>=<span style="color: #8b2252;">"""</span>
|
||||||
<span style="color: #8b2252;">case {Dim}: {</span>
|
<span style="color: #8b2252;">case {Dim}: {</span>
|
||||||
<span style="color: #8b2252;"> rc = qmckl_sm_splitting_core_{Dim}(</span>
|
<span style="color: #8b2252;"> rc = qmckl_sm_splitting_core_{Dim}(</span>
|
||||||
<span style="color: #8b2252;"> context,</span>
|
<span style="color: #8b2252;"> context,</span>
|
||||||
@ -11382,14 +11382,14 @@ for C users and in the module file 'qmckl<sub>f.F90</sub>' for Fortran users.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orga8f8323" class="outline-4">
|
<div id="outline-container-org16047dd" class="outline-4">
|
||||||
<h4 id="orga8f8323"><span class="section-number-4">6.1.7</span> Fortran interfaces (exposed in qmckl<sub>f.F90</sub>)</h4>
|
<h4 id="org16047dd"><span class="section-number-4">6.1.7</span> Fortran interfaces (exposed in qmckl<sub>f.F90</sub>)</h4>
|
||||||
<div class="outline-text-4" id="text-6-1-7">
|
<div class="outline-text-4" id="text-6-1-7">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org8d2e756" class="outline-4">
|
<div id="outline-container-org03d506b" class="outline-4">
|
||||||
<h4 id="org8d2e756"><span class="section-number-4">6.1.8</span> Performance…</h4>
|
<h4 id="org03d506b"><span class="section-number-4">6.1.8</span> Performance…</h4>
|
||||||
<div class="outline-text-4" id="text-6-1-8">
|
<div class="outline-text-4" id="text-6-1-8">
|
||||||
<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.
|
||||||
@ -11397,8 +11397,8 @@ This kernel performs best when there are 2 or more rank-1 update cycles and fail
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org49c1d23" class="outline-4">
|
<div id="outline-container-org2b4b288" class="outline-4">
|
||||||
<h4 id="org49c1d23"><span class="section-number-4">6.1.9</span> Test</h4>
|
<h4 id="org2b4b288"><span class="section-number-4">6.1.9</span> Test</h4>
|
||||||
<div class="outline-text-4" id="text-6-1-9">
|
<div class="outline-text-4" id="text-6-1-9">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c"><span style="color: #0000ff;">assert</span>(Updates3 != <span style="color: #008b8b;">NULL</span>);
|
<pre class="src src-c"><span style="color: #0000ff;">assert</span>(Updates3 != <span style="color: #008b8b;">NULL</span>);
|
||||||
@ -11436,8 +11436,8 @@ rc = QMCKL_SUCCESS;
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div id="outline-container-orgf7aa5b4" class="outline-2">
|
<div id="outline-container-orgd556e94" class="outline-2">
|
||||||
<h2 id="orgf7aa5b4"><span class="section-number-2">7</span> End of files</h2>
|
<h2 id="orgd556e94"><span class="section-number-2">7</span> End of files</h2>
|
||||||
<div class="outline-text-2" id="text-7">
|
<div class="outline-text-2" id="text-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_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);
|
||||||
@ -11451,7 +11451,7 @@ rc = QMCKL_SUCCESS;
|
|||||||
</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: 2024-02-14 Wed 10:15</p>
|
<p class="date">Created: 2024-02-14 Wed 10:27</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>
|
||||||
<!-- 2024-02-14 Wed 10:15 -->
|
<!-- 2024-02-14 Wed 10:27 -->
|
||||||
<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>
|
||||||
@ -246,27 +246,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="#org8ed052a">1. CHBrClF</a>
|
<li><a href="#org21399a7">1. CHBrClF</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgdc6d13b">1.1. XYZ coordinates</a></li>
|
<li><a href="#org9b1b6a2">1.1. XYZ coordinates</a></li>
|
||||||
<li><a href="#orgec83c1f">1.2. Atomic basis set</a></li>
|
<li><a href="#orgf3ed929">1.2. Atomic basis set</a></li>
|
||||||
<li><a href="#org67f5b32">1.3. Molecular orbitals</a></li>
|
<li><a href="#orgf5ce433">1.3. Molecular orbitals</a></li>
|
||||||
<li><a href="#org7772a81">1.4. Electron coordinates</a></li>
|
<li><a href="#org49bd19d">1.4. Electron coordinates</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#orgb9ecbb3">2. N2</a>
|
<li><a href="#org61f9d82">2. N2</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgdcc7dbb">2.1. XYZ coordinates</a></li>
|
<li><a href="#org529a9c0">2.1. XYZ coordinates</a></li>
|
||||||
<li><a href="#orgd039de7">2.2. Electron coordinates</a></li>
|
<li><a href="#org5cfe8b1">2.2. Electron coordinates</a></li>
|
||||||
<li><a href="#orga5b4c66">2.3. Jastrow related data</a></li>
|
<li><a href="#org759b972">2.3. Jastrow related data</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org8ed052a" class="outline-2">
|
<div id="outline-container-org21399a7" class="outline-2">
|
||||||
<h2 id="org8ed052a"><span class="section-number-2">1</span> CHBrClF</h2>
|
<h2 id="org21399a7"><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,
|
||||||
@ -350,8 +350,8 @@ and with a high maximum angular momentum.
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div id="outline-container-orgdc6d13b" class="outline-3">
|
<div id="outline-container-org9b1b6a2" class="outline-3">
|
||||||
<h3 id="orgdc6d13b"><span class="section-number-3">1.1</span> XYZ coordinates</h3>
|
<h3 id="org9b1b6a2"><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
|
||||||
@ -381,8 +381,8 @@ Nuclear coordinates are stored in atomic units in transposed format.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgec83c1f" class="outline-3">
|
<div id="outline-container-orgf3ed929" class="outline-3">
|
||||||
<h3 id="orgec83c1f"><span class="section-number-3">1.2</span> Atomic basis set</h3>
|
<h3 id="orgf3ed929"><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
|
||||||
@ -1301,8 +1301,8 @@ F 1
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org67f5b32" class="outline-3">
|
<div id="outline-container-orgf5ce433" class="outline-3">
|
||||||
<h3 id="org67f5b32"><span class="section-number-3">1.3</span> Molecular orbitals</h3>
|
<h3 id="orgf5ce433"><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)
|
||||||
@ -60226,8 +60226,8 @@ F 1
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org7772a81" class="outline-3">
|
<div id="outline-container-org49bd19d" class="outline-3">
|
||||||
<h3 id="org7772a81"><span class="section-number-3">1.4</span> Electron coordinates</h3>
|
<h3 id="org49bd19d"><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.
|
||||||
@ -60386,8 +60386,8 @@ Electron coordinates are stored in atomic units in normal format.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgb9ecbb3" class="outline-2">
|
<div id="outline-container-org61f9d82" class="outline-2">
|
||||||
<h2 id="orgb9ecbb3"><span class="section-number-2">2</span> N2</h2>
|
<h2 id="org61f9d82"><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
|
||||||
@ -60428,8 +60428,8 @@ treated by pseudopotentials thus excluded from the actual calculation.
|
|||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgdcc7dbb" class="outline-3">
|
<div id="outline-container-org529a9c0" class="outline-3">
|
||||||
<h3 id="orgdcc7dbb"><span class="section-number-3">2.1</span> XYZ coordinates</h3>
|
<h3 id="org529a9c0"><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
|
||||||
@ -60456,8 +60456,8 @@ Nuclear coordinates are stored in atomic units in transposed format.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgd039de7" class="outline-3">
|
<div id="outline-container-org5cfe8b1" class="outline-3">
|
||||||
<h3 id="orgd039de7"><span class="section-number-3">2.2</span> Electron coordinates</h3>
|
<h3 id="org5cfe8b1"><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.
|
||||||
@ -60486,8 +60486,8 @@ Electron coordinates are stored in atomic units in normal format.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orga5b4c66" class="outline-3">
|
<div id="outline-container-org759b972" class="outline-3">
|
||||||
<h3 id="orga5b4c66"><span class="section-number-3">2.3</span> Jastrow related data</h3>
|
<h3 id="org759b972"><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
|
||||||
@ -60586,7 +60586,7 @@ Ramon Panades Baruetta.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="postamble" class="status">
|
<div id="postamble" class="status">
|
||||||
<p class="date">Created: 2024-02-14 Wed 10:15</p>
|
<p class="date">Created: 2024-02-14 Wed 10:27</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>
|
||||||
<!-- 2024-02-14 Wed 10:15 -->
|
<!-- 2024-02-14 Wed 10:27 -->
|
||||||
<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>
|
||||||
@ -324,53 +324,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="#orgcfe968d">1. Local functions</a>
|
<li><a href="#orgf2b5882">1. Local functions</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgef20cca">1.1. Open file</a></li>
|
<li><a href="#org20788b6">1.1. Open file</a></li>
|
||||||
<li><a href="#orge99e952">1.2. Electron</a></li>
|
<li><a href="#org3bb1e9b">1.2. Electron</a></li>
|
||||||
<li><a href="#org7966259">1.3. Nucleus</a>
|
<li><a href="#org03ef42a">1.3. Nucleus</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org9f67e0d">1.3.1. Number of nuclei</a></li>
|
<li><a href="#org1056d6d">1.3.1. Number of nuclei</a></li>
|
||||||
<li><a href="#orgc2f4958">1.3.2. Nuclear charges</a></li>
|
<li><a href="#org8d1a436">1.3.2. Nuclear charges</a></li>
|
||||||
<li><a href="#orge44fd8d">1.3.3. Nuclear coordinates</a></li>
|
<li><a href="#org79c5706">1.3.3. Nuclear coordinates</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org5bee1be">1.4. Basis set and AOs</a>
|
<li><a href="#orge8f1c59">1.4. Basis set and AOs</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org8a97c66">1.4.1. Basis set type</a></li>
|
<li><a href="#org17b2975">1.4.1. Basis set type</a></li>
|
||||||
<li><a href="#orgcaa26a1">1.4.2. Number of shells</a></li>
|
<li><a href="#org9e272c9">1.4.2. Number of shells</a></li>
|
||||||
<li><a href="#org55720c3">1.4.3. Number of primitives</a></li>
|
<li><a href="#orgf5b69a4">1.4.3. Number of primitives</a></li>
|
||||||
<li><a href="#org1ada2f6">1.4.4. Number of atomic orbitals</a></li>
|
<li><a href="#org90e2e38">1.4.4. Number of atomic orbitals</a></li>
|
||||||
<li><a href="#org4d8ce83">1.4.5. Nucleus<sub>index</sub> array</a></li>
|
<li><a href="#org7337306">1.4.5. Nucleus<sub>index</sub> array</a></li>
|
||||||
<li><a href="#org99ed45f">1.4.6. Number of shells per nucleus</a></li>
|
<li><a href="#org2b47fa4">1.4.6. Number of shells per nucleus</a></li>
|
||||||
<li><a href="#orgce33d3f">1.4.7. Angular momentum</a></li>
|
<li><a href="#orgc0acdd2">1.4.7. Angular momentum</a></li>
|
||||||
<li><a href="#orge0fa1d5">1.4.8. Number of primitives per shell</a></li>
|
<li><a href="#org3faa670">1.4.8. Number of primitives per shell</a></li>
|
||||||
<li><a href="#org2f65870">1.4.9. Indices of the primitives</a></li>
|
<li><a href="#org67fd3d8">1.4.9. Indices of the primitives</a></li>
|
||||||
<li><a href="#orga7b7170">1.4.10. Normalization of the shells</a></li>
|
<li><a href="#orgefc3256">1.4.10. Normalization of the shells</a></li>
|
||||||
<li><a href="#orgee967d6">1.4.11. Exponents</a></li>
|
<li><a href="#orgb181881">1.4.11. Exponents</a></li>
|
||||||
<li><a href="#org9921df7">1.4.12. Coefficients</a></li>
|
<li><a href="#orgbb51bef">1.4.12. Coefficients</a></li>
|
||||||
<li><a href="#org00b5558">1.4.13. Normalization of the primitivies</a></li>
|
<li><a href="#org7f6574f">1.4.13. Normalization of the primitivies</a></li>
|
||||||
<li><a href="#org512d0de">1.4.14. AO Normalization</a></li>
|
<li><a href="#org6f8227f">1.4.14. AO Normalization</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#orge9b1520">1.5. Molecular orbitals</a>
|
<li><a href="#orgaa81f08">1.5. Molecular orbitals</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org94942c2">1.5.1. Number of MOs</a></li>
|
<li><a href="#org07b74bc">1.5.1. Number of MOs</a></li>
|
||||||
<li><a href="#org1557639">1.5.2. MO coefficients</a></li>
|
<li><a href="#org864f7c2">1.5.2. MO coefficients</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#orgb68c362">1.6. <span class="todo TODO">TODO</span> ECP</a></li>
|
<li><a href="#org8d9fa93">1.6. <span class="todo TODO">TODO</span> ECP</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#orge6a810f">2. Read everything</a></li>
|
<li><a href="#orgf842d6e">2. Read everything</a></li>
|
||||||
<li><a href="#orga9f01de">3. Test</a>
|
<li><a href="#org432ef61">3. Test</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<li>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgcdf915c">3.0.1. Electrons</a></li>
|
<li><a href="#org60b0c77">3.0.1. Electrons</a></li>
|
||||||
<li><a href="#org1e0f3e0">3.0.2. Nuclei</a></li>
|
<li><a href="#org9b5b3ca">3.0.2. Nuclei</a></li>
|
||||||
<li><a href="#orgf0b53ee">3.0.3. Atomic basis</a></li>
|
<li><a href="#org58fc557">3.0.3. Atomic basis</a></li>
|
||||||
<li><a href="#orgc4e5da5">3.0.4. MO Basis</a></li>
|
<li><a href="#org7af0667">3.0.4. MO Basis</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
@ -379,8 +379,8 @@ for the JavaScript code in this tag.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgcfe968d" class="outline-2">
|
<div id="outline-container-orgf2b5882" class="outline-2">
|
||||||
<h2 id="orgcfe968d"><span class="section-number-2">1</span> Local functions</h2>
|
<h2 id="orgf2b5882"><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
|
||||||
@ -403,8 +403,8 @@ In the functions defined in this section, we use as local variables
|
|||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgef20cca" class="outline-3">
|
<div id="outline-container-org20788b6" class="outline-3">
|
||||||
<h3 id="orgef20cca"><span class="section-number-3">1.1</span> Open file</h3>
|
<h3 id="org20788b6"><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
|
||||||
@ -442,8 +442,8 @@ groups of data by passing the <code>trexio_t</code> handle.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orge99e952" class="outline-3">
|
<div id="outline-container-org3bb1e9b" class="outline-3">
|
||||||
<h3 id="orge99e952"><span class="section-number-3">1.2</span> Electron</h3>
|
<h3 id="org3bb1e9b"><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.
|
||||||
@ -494,8 +494,8 @@ We read the number of up-spin and down-spin electrons.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org7966259" class="outline-3">
|
<div id="outline-container-org03ef42a" class="outline-3">
|
||||||
<h3 id="org7966259"><span class="section-number-3">1.3</span> Nucleus</h3>
|
<h3 id="org03ef42a"><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.
|
||||||
@ -515,8 +515,8 @@ In this section we read the number of nuclei, the molecular geometry and nuclear
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org9f67e0d" class="outline-4">
|
<div id="outline-container-org1056d6d" class="outline-4">
|
||||||
<h4 id="org9f67e0d"><span class="section-number-4">1.3.1</span> Number of nuclei</h4>
|
<h4 id="org1056d6d"><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;
|
||||||
@ -539,8 +539,8 @@ rc = qmckl_set_nucleus_num(context, nucleus_num);
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgc2f4958" class="outline-4">
|
<div id="outline-container-org8d1a436" class="outline-4">
|
||||||
<h4 id="orgc2f4958"><span class="section-number-4">1.3.2</span> Nuclear charges</h4>
|
<h4 id="org8d1a436"><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">{
|
||||||
@ -580,8 +580,8 @@ rc = qmckl_set_nucleus_num(context, nucleus_num);
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orge44fd8d" class="outline-4">
|
<div id="outline-container-org79c5706" class="outline-4">
|
||||||
<h4 id="orge44fd8d"><span class="section-number-4">1.3.3</span> Nuclear coordinates</h4>
|
<h4 id="org79c5706"><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
|
||||||
@ -636,8 +636,8 @@ in the TREXIO file (<code>'N'</code>), so it will be automatically transposed in
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org5bee1be" class="outline-3">
|
<div id="outline-container-orge8f1c59" class="outline-3">
|
||||||
<h3 id="org5bee1be"><span class="section-number-3">1.4</span> Basis set and AOs</h3>
|
<h3 id="orge8f1c59"><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.
|
||||||
@ -663,8 +663,8 @@ In this section we read the atomic basis set and atomic orbitals.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org8a97c66" class="outline-4">
|
<div id="outline-container-org17b2975" class="outline-4">
|
||||||
<h4 id="org8a97c66"><span class="section-number-4">1.4.1</span> Basis set type</h4>
|
<h4 id="org17b2975"><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
|
||||||
@ -695,8 +695,8 @@ In this section we read the atomic basis set and atomic orbitals.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgcaa26a1" class="outline-4">
|
<div id="outline-container-org9e272c9" class="outline-4">
|
||||||
<h4 id="orgcaa26a1"><span class="section-number-4">1.4.2</span> Number of shells</h4>
|
<h4 id="org9e272c9"><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;
|
||||||
@ -720,8 +720,8 @@ rc = qmckl_set_ao_basis_shell_num(context, shell_num);
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org55720c3" class="outline-4">
|
<div id="outline-container-orgf5b69a4" class="outline-4">
|
||||||
<h4 id="org55720c3"><span class="section-number-4">1.4.3</span> Number of primitives</h4>
|
<h4 id="orgf5b69a4"><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;
|
||||||
@ -745,8 +745,8 @@ rc = qmckl_set_ao_basis_prim_num(context, prim_num);
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org1ada2f6" class="outline-4">
|
<div id="outline-container-org90e2e38" class="outline-4">
|
||||||
<h4 id="org1ada2f6"><span class="section-number-4">1.4.4</span> Number of atomic orbitals</h4>
|
<h4 id="org90e2e38"><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> = 0;
|
<pre class="src src-c"><span style="color: #228b22;">int64_t</span> <span style="color: #a0522d;">ao_num</span> = 0;
|
||||||
@ -770,8 +770,8 @@ rc = qmckl_set_ao_basis_ao_num(context, ao_num);
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org4d8ce83" class="outline-4">
|
<div id="outline-container-org7337306" class="outline-4">
|
||||||
<h4 id="org4d8ce83"><span class="section-number-4">1.4.5</span> Nucleus<sub>index</sub> array</h4>
|
<h4 id="org7337306"><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">{
|
||||||
@ -851,8 +851,8 @@ rc = qmckl_set_ao_basis_ao_num(context, ao_num);
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org99ed45f" class="outline-4">
|
<div id="outline-container-org2b47fa4" class="outline-4">
|
||||||
<h4 id="org99ed45f"><span class="section-number-4">1.4.6</span> Number of shells per nucleus</h4>
|
<h4 id="org2b47fa4"><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">{
|
||||||
@ -937,8 +937,8 @@ rc = qmckl_set_ao_basis_ao_num(context, ao_num);
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgce33d3f" class="outline-4">
|
<div id="outline-container-orgc0acdd2" class="outline-4">
|
||||||
<h4 id="orgce33d3f"><span class="section-number-4">1.4.7</span> Angular momentum</h4>
|
<h4 id="orgc0acdd2"><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">{
|
||||||
@ -983,8 +983,8 @@ rc = qmckl_set_ao_basis_ao_num(context, ao_num);
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orge0fa1d5" class="outline-4">
|
<div id="outline-container-org3faa670" class="outline-4">
|
||||||
<h4 id="orge0fa1d5"><span class="section-number-4">1.4.8</span> Number of primitives per shell</h4>
|
<h4 id="org3faa670"><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">{
|
||||||
@ -1070,8 +1070,8 @@ rc = qmckl_set_ao_basis_ao_num(context, ao_num);
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org2f65870" class="outline-4">
|
<div id="outline-container-org67fd3d8" class="outline-4">
|
||||||
<h4 id="org2f65870"><span class="section-number-4">1.4.9</span> Indices of the primitives</h4>
|
<h4 id="org67fd3d8"><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">{
|
||||||
@ -1151,8 +1151,8 @@ rc = qmckl_set_ao_basis_ao_num(context, ao_num);
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orga7b7170" class="outline-4">
|
<div id="outline-container-orgefc3256" class="outline-4">
|
||||||
<h4 id="orga7b7170"><span class="section-number-4">1.4.10</span> Normalization of the shells</h4>
|
<h4 id="orgefc3256"><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">{
|
||||||
@ -1197,8 +1197,8 @@ rc = qmckl_set_ao_basis_ao_num(context, ao_num);
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgee967d6" class="outline-4">
|
<div id="outline-container-orgb181881" class="outline-4">
|
||||||
<h4 id="orgee967d6"><span class="section-number-4">1.4.11</span> Exponents</h4>
|
<h4 id="orgb181881"><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">{
|
||||||
@ -1243,8 +1243,8 @@ rc = qmckl_set_ao_basis_ao_num(context, ao_num);
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org9921df7" class="outline-4">
|
<div id="outline-container-orgbb51bef" class="outline-4">
|
||||||
<h4 id="org9921df7"><span class="section-number-4">1.4.12</span> Coefficients</h4>
|
<h4 id="orgbb51bef"><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">{
|
||||||
@ -1289,8 +1289,8 @@ rc = qmckl_set_ao_basis_ao_num(context, ao_num);
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org00b5558" class="outline-4">
|
<div id="outline-container-org7f6574f" class="outline-4">
|
||||||
<h4 id="org00b5558"><span class="section-number-4">1.4.13</span> Normalization of the primitivies</h4>
|
<h4 id="org7f6574f"><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">{
|
||||||
@ -1335,8 +1335,8 @@ rc = qmckl_set_ao_basis_ao_num(context, ao_num);
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org512d0de" class="outline-4">
|
<div id="outline-container-org6f8227f" class="outline-4">
|
||||||
<h4 id="org512d0de"><span class="section-number-4">1.4.14</span> AO Normalization</h4>
|
<h4 id="org6f8227f"><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">{
|
||||||
@ -1391,8 +1391,8 @@ rc = qmckl_set_ao_basis_ao_num(context, ao_num);
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-orge9b1520" class="outline-3">
|
<div id="outline-container-orgaa81f08" class="outline-3">
|
||||||
<h3 id="orge9b1520"><span class="section-number-3">1.5</span> Molecular orbitals</h3>
|
<h3 id="orgaa81f08"><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.
|
||||||
@ -1418,8 +1418,8 @@ In this section we read the MO coefficients.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org94942c2" class="outline-4">
|
<div id="outline-container-org07b74bc" class="outline-4">
|
||||||
<h4 id="org94942c2"><span class="section-number-4">1.5.1</span> Number of MOs</h4>
|
<h4 id="org07b74bc"><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;
|
||||||
@ -1442,8 +1442,8 @@ rc = qmckl_set_mo_basis_mo_num(context, mo_num);
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org1557639" class="outline-4">
|
<div id="outline-container-org864f7c2" class="outline-4">
|
||||||
<h4 id="org1557639"><span class="section-number-4">1.5.2</span> MO coefficients</h4>
|
<h4 id="org864f7c2"><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">{
|
||||||
@ -1492,12 +1492,12 @@ rc = qmckl_set_mo_basis_mo_num(context, mo_num);
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgb68c362" class="outline-3">
|
<div id="outline-container-org8d9fa93" class="outline-3">
|
||||||
<h3 id="orgb68c362"><span class="section-number-3">1.6</span> <span class="todo TODO">TODO</span> ECP</h3>
|
<h3 id="org8d9fa93"><span class="section-number-3">1.6</span> <span class="todo TODO">TODO</span> ECP</h3>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-orge6a810f" class="outline-2">
|
<div id="outline-container-orgf842d6e" class="outline-2">
|
||||||
<h2 id="orge6a810f"><span class="section-number-2">2</span> Read everything</h2>
|
<h2 id="orgf842d6e"><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>
|
||||||
@ -1572,8 +1572,8 @@ rc = qmckl_set_mo_basis_mo_num(context, mo_num);
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orga9f01de" class="outline-2">
|
<div id="outline-container-org432ef61" class="outline-2">
|
||||||
<h2 id="orga9f01de"><span class="section-number-2">3</span> Test</h2>
|
<h2 id="org432ef61"><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
|
||||||
@ -1597,8 +1597,8 @@ rc = qmckl_trexio_read(context, filename, 255);
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgcdf915c" class="outline-4">
|
<div id="outline-container-org60b0c77" class="outline-4">
|
||||||
<h4 id="orgcdf915c"><span class="section-number-4">3.0.1</span> Electrons</h4>
|
<h4 id="org60b0c77"><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>);
|
||||||
@ -1616,8 +1616,8 @@ rc = qmckl_get_electron_down_num(context, &dn_num);
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org1e0f3e0" class="outline-4">
|
<div id="outline-container-org9b5b3ca" class="outline-4">
|
||||||
<h4 id="org1e0f3e0"><span class="section-number-4">3.0.2</span> Nuclei</h4>
|
<h4 id="org9b5b3ca"><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>);
|
||||||
@ -1657,8 +1657,8 @@ coord = <span style="color: #008b8b;">NULL</span>;
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgf0b53ee" class="outline-4">
|
<div id="outline-container-org58fc557" class="outline-4">
|
||||||
<h4 id="orgf0b53ee"><span class="section-number-4">3.0.3</span> Atomic basis</h4>
|
<h4 id="org58fc557"><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>);
|
||||||
@ -1766,8 +1766,8 @@ prim_factor = <span style="color: #008b8b;">NULL</span>;
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgc4e5da5" class="outline-4">
|
<div id="outline-container-org7af0667" class="outline-4">
|
||||||
<h4 id="orgc4e5da5"><span class="section-number-4">3.0.4</span> MO Basis</h4>
|
<h4 id="org7af0667"><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>);
|
||||||
@ -1798,7 +1798,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: 2024-02-14 Wed 10:15</p>
|
<p class="date">Created: 2024-02-14 Wed 10:27</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>
|
||||||
<!-- 2024-02-14 Wed 10:15 -->
|
<!-- 2024-02-14 Wed 10:27 -->
|
||||||
<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>
|
||||||
@ -324,22 +324,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="#orgc0e0a74">1. Verificarlo probes</a>
|
<li><a href="#org037025d">1. Verificarlo probes</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org7f65a51">1.1. Automatically initialize the <code>vfc_probe</code> object if <code>VFC_CI</code> is defined</a></li>
|
<li><a href="#org2bd8911">1.1. Automatically initialize the <code>vfc_probe</code> object if <code>VFC_CI</code> is defined</a></li>
|
||||||
<li><a href="#org6c89a11">1.2. Standard probe, without check</a></li>
|
<li><a href="#org8b70d05">1.2. Standard probe, without check</a></li>
|
||||||
<li><a href="#orgc93cf47">1.3. Probe with absolute check</a></li>
|
<li><a href="#org78421d1">1.3. Probe with absolute check</a></li>
|
||||||
<li><a href="#org50c6b29">1.4. Probe with relative check</a></li>
|
<li><a href="#org9191f71">1.4. Probe with relative check</a></li>
|
||||||
<li><a href="#orgc386030">1.5. Automatically delete and dump the vfc<sub>probe</sub> object if <code>VFC_CI</code> is defined</a></li>
|
<li><a href="#org3262a0f">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="#org94d3f4a">2. Fortran wrappers</a></li>
|
<li><a href="#orgb2d00db">2. Fortran wrappers</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgc0e0a74" class="outline-2">
|
<div id="outline-container-org037025d" class="outline-2">
|
||||||
<h2 id="orgc0e0a74"><span class="section-number-2">1</span> Verificarlo probes</h2>
|
<h2 id="org037025d"><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
|
||||||
@ -390,8 +390,8 @@ To learn more about Verificarlo CI :
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div id="outline-container-org7f65a51" class="outline-3">
|
<div id="outline-container-org2bd8911" class="outline-3">
|
||||||
<h3 id="org7f65a51"><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="org2bd8911"><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: #228b22;">void</span> <span style="color: #0000ff;">qmckl_init_probes</span>();
|
<pre class="src src-c"><span style="color: #228b22;">void</span> <span style="color: #0000ff;">qmckl_init_probes</span>();
|
||||||
@ -409,8 +409,8 @@ To learn more about Verificarlo CI :
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org6c89a11" class="outline-3">
|
<div id="outline-container-org8b70d05" class="outline-3">
|
||||||
<h3 id="org6c89a11"><span class="section-number-3">1.2</span> Standard probe, without check</h3>
|
<h3 id="org8b70d05"><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>
|
||||||
@ -445,8 +445,8 @@ if <code>VFC_CI</code> is undefined, return <code>false</code> (no error)
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgc93cf47" class="outline-3">
|
<div id="outline-container-org78421d1" class="outline-3">
|
||||||
<h3 id="orgc93cf47"><span class="section-number-3">1.3</span> Probe with absolute check</h3>
|
<h3 id="org78421d1"><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>
|
||||||
@ -486,8 +486,8 @@ and accuracy
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org50c6b29" class="outline-3">
|
<div id="outline-container-org9191f71" class="outline-3">
|
||||||
<h3 id="org50c6b29"><span class="section-number-3">1.4</span> Probe with relative check</h3>
|
<h3 id="org9191f71"><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>
|
||||||
@ -527,8 +527,8 @@ and accuracy
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgc386030" class="outline-3">
|
<div id="outline-container-org3262a0f" class="outline-3">
|
||||||
<h3 id="orgc386030"><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="org3262a0f"><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: #228b22;">void</span> <span style="color: #0000ff;">qmckl_dump_probes</span>();
|
<pre class="src src-c"><span style="color: #228b22;">void</span> <span style="color: #0000ff;">qmckl_dump_probes</span>();
|
||||||
@ -547,8 +547,8 @@ and accuracy
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org94d3f4a" class="outline-2">
|
<div id="outline-container-orgb2d00db" class="outline-2">
|
||||||
<h2 id="org94d3f4a"><span class="section-number-2">2</span> Fortran wrappers</h2>
|
<h2 id="orgb2d00db"><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>(
|
||||||
@ -672,7 +672,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: 2024-02-14 Wed 10:15</p>
|
<p class="date">Created: 2024-02-14 Wed 10:27</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