mirror of
https://github.com/TREX-CoE/qmckl.git
synced 2024-08-24 22:21:46 +02:00
Deploying to gh-pages from @ TREX-CoE/qmckl@5118359099 🚀
This commit is contained in:
parent
cf99a23f83
commit
a6dfe1edf1
@ -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>
|
||||||
<!-- 2023-09-26 Tue 14:26 -->
|
<!-- 2023-09-26 Tue 15:44 -->
|
||||||
<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: 2023-09-26 Tue 14:26</p>
|
<p class="date">Created: 2023-09-26 Tue 15:44</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>
|
||||||
<!-- 2023-09-26 Tue 14:26 -->
|
<!-- 2023-09-26 Tue 15:44 -->
|
||||||
<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="#org9f44e7d">1. Installing QMCkl</a>
|
<li><a href="#orgdf51dd4">1. Installing QMCkl</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org96d7bf6">1.1. Installing from the released tarball (for end users)</a></li>
|
<li><a href="#org555f3e3">1.1. Installing from the released tarball (for end users)</a></li>
|
||||||
<li><a href="#org8e3de81">1.2. Installing from the source repository (for developers)</a></li>
|
<li><a href="#org3367cdd">1.2. Installing from the source repository (for developers)</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org3e8bc57">2. Using QMCkl</a></li>
|
<li><a href="#org1a61b54">2. Using QMCkl</a></li>
|
||||||
<li><a href="#orgc3258c3">3. Developing in QMCkl</a>
|
<li><a href="#org0fbb72e">3. Developing in QMCkl</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org8dc4712">3.1. Literate programming</a></li>
|
<li><a href="#org743c0c2">3.1. Literate programming</a></li>
|
||||||
<li><a href="#org7195c9e">3.2. Source code editing</a></li>
|
<li><a href="#org236778e">3.2. Source code editing</a></li>
|
||||||
<li><a href="#org28d0f49">3.3. Choice of the programming language</a></li>
|
<li><a href="#orgdabe929">3.3. Choice of the programming language</a></li>
|
||||||
<li><a href="#org492285e">3.4. Coding rules</a></li>
|
<li><a href="#org5b22d38">3.4. Coding rules</a></li>
|
||||||
<li><a href="#org24e6ea1">3.5. Design of the library</a></li>
|
<li><a href="#org66c146e">3.5. Design of the library</a></li>
|
||||||
<li><a href="#org006e55a">3.6. Naming conventions</a></li>
|
<li><a href="#org86b82ee">3.6. Naming conventions</a></li>
|
||||||
<li><a href="#org9cd159f">3.7. Application programming interface</a></li>
|
<li><a href="#org2f2e8e3">3.7. Application programming interface</a></li>
|
||||||
<li><a href="#org7379470">3.8. Global state</a></li>
|
<li><a href="#org58f1410">3.8. Global state</a></li>
|
||||||
<li><a href="#org4dc62e2">3.9. Headers</a></li>
|
<li><a href="#orgd8bdd60">3.9. Headers</a></li>
|
||||||
<li><a href="#org06f4b94">3.10. Low-level functions</a></li>
|
<li><a href="#orgaeaa658">3.10. Low-level functions</a></li>
|
||||||
<li><a href="#orgbb89651">3.11. High-level functions</a></li>
|
<li><a href="#org1bc33a3">3.11. High-level functions</a></li>
|
||||||
<li><a href="#org53ca48c">3.12. Numerical precision</a></li>
|
<li><a href="#org0d29978">3.12. Numerical precision</a></li>
|
||||||
<li><a href="#org2fc1fbb">3.13. Algorithms</a></li>
|
<li><a href="#org25f9396">3.13. Algorithms</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org9f44e7d" class="outline-2">
|
<div id="outline-container-orgdf51dd4" class="outline-2">
|
||||||
<h2 id="org9f44e7d"><span class="section-number-2">1</span> Installing QMCkl</h2>
|
<h2 id="orgdf51dd4"><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-org96d7bf6" class="outline-3">
|
<div id="outline-container-org555f3e3" class="outline-3">
|
||||||
<h3 id="org96d7bf6"><span class="section-number-3">1.1</span> Installing from the released tarball (for end users)</h3>
|
<h3 id="org555f3e3"><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-org8e3de81" class="outline-3">
|
<div id="outline-container-org3367cdd" class="outline-3">
|
||||||
<h3 id="org8e3de81"><span class="section-number-3">1.2</span> Installing from the source repository (for developers)</h3>
|
<h3 id="org3367cdd"><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-org3e8bc57" class="outline-2">
|
<div id="outline-container-org1a61b54" class="outline-2">
|
||||||
<h2 id="org3e8bc57"><span class="section-number-2">2</span> Using QMCkl</h2>
|
<h2 id="org1a61b54"><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-orgc3258c3" class="outline-2">
|
<div id="outline-container-org0fbb72e" class="outline-2">
|
||||||
<h2 id="orgc3258c3"><span class="section-number-2">3</span> Developing in QMCkl</h2>
|
<h2 id="org0fbb72e"><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-org8dc4712" class="outline-3">
|
<div id="outline-container-org743c0c2" class="outline-3">
|
||||||
<h3 id="org8dc4712"><span class="section-number-3">3.1</span> Literate programming</h3>
|
<h3 id="org743c0c2"><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-org7195c9e" class="outline-3">
|
<div id="outline-container-org236778e" class="outline-3">
|
||||||
<h3 id="org7195c9e"><span class="section-number-3">3.2</span> Source code editing</h3>
|
<h3 id="org236778e"><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-org28d0f49" class="outline-3">
|
<div id="outline-container-orgdabe929" class="outline-3">
|
||||||
<h3 id="org28d0f49"><span class="section-number-3">3.3</span> Choice of the programming language</h3>
|
<h3 id="orgdabe929"><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-org492285e" class="outline-3">
|
<div id="outline-container-org5b22d38" class="outline-3">
|
||||||
<h3 id="org492285e"><span class="section-number-3">3.4</span> Coding rules</h3>
|
<h3 id="org5b22d38"><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-org24e6ea1" class="outline-3">
|
<div id="outline-container-org66c146e" class="outline-3">
|
||||||
<h3 id="org24e6ea1"><span class="section-number-3">3.5</span> Design of the library</h3>
|
<h3 id="org66c146e"><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-org006e55a" class="outline-3">
|
<div id="outline-container-org86b82ee" class="outline-3">
|
||||||
<h3 id="org006e55a"><span class="section-number-3">3.6</span> Naming conventions</h3>
|
<h3 id="org86b82ee"><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-org9cd159f" class="outline-3">
|
<div id="outline-container-org2f2e8e3" class="outline-3">
|
||||||
<h3 id="org9cd159f"><span class="section-number-3">3.7</span> Application programming interface</h3>
|
<h3 id="org2f2e8e3"><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-org7379470" class="outline-3">
|
<div id="outline-container-org58f1410" class="outline-3">
|
||||||
<h3 id="org7379470"><span class="section-number-3">3.8</span> Global state</h3>
|
<h3 id="org58f1410"><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="orga5d4cd9">=context=</a> contains the global
|
<code>qmckl_context_create</code> function. The <a id="org06a3114">=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-org4dc62e2" class="outline-3">
|
<div id="outline-container-orgd8bdd60" class="outline-3">
|
||||||
<h3 id="org4dc62e2"><span class="section-number-3">3.9</span> Headers</h3>
|
<h3 id="orgd8bdd60"><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-org06f4b94" class="outline-3">
|
<div id="outline-container-orgaeaa658" class="outline-3">
|
||||||
<h3 id="org06f4b94"><span class="section-number-3">3.10</span> Low-level functions</h3>
|
<h3 id="orgaeaa658"><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="#orga5d4cd9"><code>context</code></a>. They are not allowed to allocate/deallocate memory, and
|
<a href="#org06a3114"><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-orgbb89651" class="outline-3">
|
<div id="outline-container-org1bc33a3" class="outline-3">
|
||||||
<h3 id="orgbb89651"><span class="section-number-3">3.11</span> High-level functions</h3>
|
<h3 id="org1bc33a3"><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-org53ca48c" class="outline-3">
|
<div id="outline-container-org0d29978" class="outline-3">
|
||||||
<h3 id="org53ca48c"><span class="section-number-3">3.12</span> Numerical precision</h3>
|
<h3 id="org0d29978"><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="#orga5d4cd9"><code>context</code></a> variable.
|
specified in the <a href="#org06a3114"><code>context</code></a> variable.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
@ -909,8 +909,8 @@ following points :
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org2fc1fbb" class="outline-3">
|
<div id="outline-container-org25f9396" class="outline-3">
|
||||||
<h3 id="org2fc1fbb"><span class="section-number-3">3.13</span> Algorithms</h3>
|
<h3 id="org25f9396"><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: 2023-09-26 Tue 14:26</p>
|
<p class="date">Created: 2023-09-26 Tue 15:44</p>
|
||||||
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
212
qmckl_ao.html
212
qmckl_ao.html
@ -3,7 +3,7 @@
|
|||||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||||
<head>
|
<head>
|
||||||
<!-- 2023-09-26 Tue 14:26 -->
|
<!-- 2023-09-26 Tue 15:44 -->
|
||||||
<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,61 +346,61 @@ for the JavaScript code in this tag.
|
|||||||
<h2>Table of Contents</h2>
|
<h2>Table of Contents</h2>
|
||||||
<div id="text-table-of-contents">
|
<div id="text-table-of-contents">
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org0dfff6d">1. Introduction</a></li>
|
<li><a href="#org40c7dff">1. Introduction</a></li>
|
||||||
<li><a href="#orga3a5c3c">2. Context</a>
|
<li><a href="#org84ffbba">2. Context</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org7666329">2.1. Constant data</a>
|
<li><a href="#org55ce81d">2.1. Constant data</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orge19efaf">2.1.1. Initialization functions</a>
|
<li><a href="#orgdb30e81">2.1.1. Initialization functions</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgbb6d5ed">2.1.1.1. C interface</a></li>
|
<li><a href="#orge3c8c4b">2.1.1.1. C interface</a></li>
|
||||||
<li><a href="#orgcb107bc">2.1.1.2. Fortran interface</a></li>
|
<li><a href="#org8f53dce">2.1.1.2. Fortran interface</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org6e7f965">2.1.2. Access functions</a>
|
<li><a href="#orga75d9ea">2.1.2. Access functions</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org850aaba">2.1.2.1. C interface</a></li>
|
<li><a href="#org2ee72c8">2.1.2.1. C interface</a></li>
|
||||||
<li><a href="#orga40d6c9">2.1.2.2. Fortran interface</a></li>
|
<li><a href="#orge82139b">2.1.2.2. Fortran interface</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org581b7c7">2.2. Computed data</a>
|
<li><a href="#org079cb37">2.2. Computed data</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orge08da2f">2.2.1. After initialization</a></li>
|
<li><a href="#orgec6f8ca">2.2.1. After initialization</a></li>
|
||||||
<li><a href="#orgbf1c17b">2.2.2. <span class="todo TODO">TODO</span> HPC-specific data structures</a></li>
|
<li><a href="#orgf86209a">2.2.2. <span class="todo TODO">TODO</span> HPC-specific data structures</a></li>
|
||||||
<li><a href="#orge91aec4">2.2.3. Access functions</a></li>
|
<li><a href="#orgc968ebf">2.2.3. Access functions</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#orgdfeebc1">3. Radial part</a>
|
<li><a href="#orgd4d7d24">3. Radial part</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orge6190bd">3.1. General functions for Gaussian basis functions</a></li>
|
<li><a href="#orgfcc5e7f">3.1. General functions for Gaussian basis functions</a></li>
|
||||||
<li><a href="#org02467a8">3.2. Computation of primitives</a></li>
|
<li><a href="#org62c08fc">3.2. Computation of primitives</a></li>
|
||||||
<li><a href="#orgcc8e93d">3.3. Computation of shells</a></li>
|
<li><a href="#org6c59437">3.3. Computation of shells</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org4d2b17f">4. Polynomial part</a>
|
<li><a href="#org2aef843">4. Polynomial part</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org97a0854">4.1. General functions for Powers of \(x-X_i\)</a></li>
|
<li><a href="#org8eb6e85">4.1. General functions for Powers of \(x-X_i\)</a></li>
|
||||||
<li><a href="#org81eccac">4.2. General functions for Value, Gradient and Laplacian of a polynomial</a></li>
|
<li><a href="#orgd67b8e5">4.2. General functions for Value, Gradient and Laplacian of a polynomial</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org1962014">5. Combining radial and polynomial parts</a>
|
<li><a href="#orgbfc15bc">5. Combining radial and polynomial parts</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org33ed115">5.1. Values only</a>
|
<li><a href="#org2bffdcb">5.1. Values only</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgac93d0f">5.1.1. Unoptimized version</a></li>
|
<li><a href="#org3742fde">5.1.1. Unoptimized version</a></li>
|
||||||
<li><a href="#orgf038556">5.1.2. HPC version</a></li>
|
<li><a href="#org3e59d15">5.1.2. HPC version</a></li>
|
||||||
<li><a href="#org22dcaf5">5.1.3. Interfaces</a></li>
|
<li><a href="#org11a75da">5.1.3. Interfaces</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org3df333e">5.2. Value, gradients, Laplacian</a>
|
<li><a href="#org0848470">5.2. Value, gradients, Laplacian</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org131fa1b">5.2.1. Reference version</a></li>
|
<li><a href="#orgb961f6f">5.2.1. Reference version</a></li>
|
||||||
<li><a href="#org25fda13">5.2.2. HPC version</a></li>
|
<li><a href="#orgb6e0f66">5.2.2. HPC version</a></li>
|
||||||
<li><a href="#org7103ae1">5.2.3. Interfaces</a></li>
|
<li><a href="#orgfc858d1">5.2.3. Interfaces</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
@ -409,8 +409,8 @@ for the JavaScript code in this tag.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org0dfff6d" class="outline-2">
|
<div id="outline-container-org40c7dff" class="outline-2">
|
||||||
<h2 id="org0dfff6d"><span class="section-number-2">1</span> Introduction</h2>
|
<h2 id="org40c7dff"><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
|
||||||
@ -463,19 +463,19 @@ gradients and Laplacian of the atomic basis functions.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orga3a5c3c" class="outline-2">
|
<div id="outline-container-org84ffbba" class="outline-2">
|
||||||
<h2 id="orga3a5c3c"><span class="section-number-2">2</span> Context</h2>
|
<h2 id="org84ffbba"><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-org7666329" class="outline-3">
|
<div id="outline-container-org55ce81d" class="outline-3">
|
||||||
<h3 id="org7666329"><span class="section-number-3">2.1</span> Constant data</h3>
|
<h3 id="org55ce81d"><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="orgce594ca" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="orgcdb6335" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -709,7 +709,7 @@ calling the functions:
|
|||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-C" id="org9197165"><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="org2af73bc"><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>,
|
||||||
@ -746,7 +746,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="orgfdcd79d"><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="org3520898"><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>);
|
||||||
|
|
||||||
@ -784,17 +784,17 @@ For array variables, use the rule:
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orge19efaf" class="outline-4">
|
<div id="outline-container-orgdb30e81" class="outline-4">
|
||||||
<h4 id="orge19efaf"><span class="section-number-4">2.1.1</span> Initialization functions</h4>
|
<h4 id="orgdb30e81"><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="#orga3a5c3c">2</a>.
|
equal of larger than the value given in the table of section <a href="#org84ffbba">2</a>.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgbb6d5ed" class="outline-5">
|
<div id="outline-container-orge3c8c4b" class="outline-5">
|
||||||
<h5 id="orgbb6d5ed"><span class="section-number-5">2.1.1.1</span> C interface</h5>
|
<h5 id="orge3c8c4b"><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
|
||||||
@ -918,8 +918,8 @@ called.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgcb107bc" class="outline-5">
|
<div id="outline-container-org8f53dce" class="outline-5">
|
||||||
<h5 id="orgcb107bc"><span class="section-number-5">2.1.1.2</span> Fortran interface</h5>
|
<h5 id="org8f53dce"><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>
|
||||||
@ -1102,17 +1102,17 @@ called.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org6e7f965" class="outline-4">
|
<div id="outline-container-orga75d9ea" class="outline-4">
|
||||||
<h4 id="org6e7f965"><span class="section-number-4">2.1.2</span> Access functions</h4>
|
<h4 id="orga75d9ea"><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="#orga3a5c3c">2</a>.
|
equal of larger than the value given in the table of section <a href="#org84ffbba">2</a>.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org850aaba" class="outline-5">
|
<div id="outline-container-org2ee72c8" class="outline-5">
|
||||||
<h5 id="org850aaba"><span class="section-number-5">2.1.2.1</span> C interface</h5>
|
<h5 id="org2ee72c8"><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>
|
||||||
@ -1234,8 +1234,8 @@ function returns <code>true</code>.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orga40d6c9" class="outline-5">
|
<div id="outline-container-orge82139b" class="outline-5">
|
||||||
<h5 id="orga40d6c9"><span class="section-number-5">2.1.2.2</span> Fortran interface</h5>
|
<h5 id="orge82139b"><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>
|
||||||
@ -1419,8 +1419,8 @@ function returns <code>true</code>.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org581b7c7" class="outline-3">
|
<div id="outline-container-org079cb37" class="outline-3">
|
||||||
<h3 id="org581b7c7"><span class="section-number-3">2.2</span> Computed data</h3>
|
<h3 id="org079cb37"><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:
|
||||||
@ -1495,8 +1495,8 @@ The following data is computed as described in the next sections:
|
|||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orge08da2f" class="outline-4">
|
<div id="outline-container-orgec6f8ca" class="outline-4">
|
||||||
<h4 id="orge08da2f"><span class="section-number-4">2.2.1</span> After initialization</h4>
|
<h4 id="orgec6f8ca"><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
|
||||||
@ -1510,8 +1510,8 @@ the context.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgbf1c17b" class="outline-4">
|
<div id="outline-container-orgf86209a" class="outline-4">
|
||||||
<h4 id="orgbf1c17b"><span class="section-number-4">2.2.2</span> <span class="todo TODO">TODO</span> HPC-specific data structures</h4>
|
<h4 id="orgf86209a"><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:
|
||||||
@ -1541,8 +1541,8 @@ which is a matrix-vector product.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orge91aec4" class="outline-4">
|
<div id="outline-container-orgc968ebf" class="outline-4">
|
||||||
<h4 id="orge91aec4"><span class="section-number-4">2.2.3</span> Access functions</h4>
|
<h4 id="orgc968ebf"><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>
|
||||||
@ -1555,7 +1555,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="#org02467a8">3.2</a>.
|
See section <a href="#org62c08fc">3.2</a>.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
@ -1568,7 +1568,7 @@ See section <a href="#org02467a8">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="#orgcc8e93d">3.3</a>.
|
evaluated at the current coordinates. See section <a href="#org6c59437">3.3</a>.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
@ -1582,7 +1582,7 @@ evaluated at the current coordinates. See section <a href="#orgcc8e93d">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="#org1962014">5</a>.
|
See section <a href="#orgbfc15bc">5</a>.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
@ -1607,7 +1607,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="#org1962014">5</a>.
|
the current coordinates. See section <a href="#orgbfc15bc">5</a>.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
@ -1626,12 +1626,12 @@ Uses the given array to compute the value.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgdfeebc1" class="outline-2">
|
<div id="outline-container-orgd4d7d24" class="outline-2">
|
||||||
<h2 id="orgdfeebc1"><span class="section-number-2">3</span> Radial part</h2>
|
<h2 id="orgd4d7d24"><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-orge6190bd" class="outline-3">
|
<div id="outline-container-orgfcc5e7f" class="outline-3">
|
||||||
<h3 id="orge6190bd"><span class="section-number-3">3.1</span> General functions for Gaussian basis functions</h3>
|
<h3 id="orgfcc5e7f"><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
|
||||||
@ -1805,10 +1805,10 @@ Requirements:
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org02467a8" class="outline-3">
|
<div id="outline-container-org62c08fc" class="outline-3">
|
||||||
<h3 id="org02467a8"><span class="section-number-3">3.2</span> Computation of primitives</h3>
|
<h3 id="org62c08fc"><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="org9547713" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org414df7d" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -1968,10 +1968,10 @@ Requirements:
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgcc8e93d" class="outline-3">
|
<div id="outline-container-org6c59437" class="outline-3">
|
||||||
<h3 id="orgcc8e93d"><span class="section-number-3">3.3</span> Computation of shells</h3>
|
<h3 id="org6c59437"><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="org93d5cc6" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="orga898c5c" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -2227,8 +2227,8 @@ Requirements:
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org4d2b17f" class="outline-2">
|
<div id="outline-container-org2aef843" class="outline-2">
|
||||||
<h2 id="org4d2b17f"><span class="section-number-2">4</span> Polynomial part</h2>
|
<h2 id="org2aef843"><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
|
||||||
@ -2248,8 +2248,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-org97a0854" class="outline-3">
|
<div id="outline-container-org8eb6e85" class="outline-3">
|
||||||
<h3 id="org97a0854"><span class="section-number-3">4.1</span> General functions for Powers of \(x-X_i\)</h3>
|
<h3 id="org8eb6e85"><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>
|
||||||
@ -2261,7 +2261,7 @@ the \(n\) points:
|
|||||||
\[ P_{ik} = X_i^k \]
|
\[ P_{ik} = X_i^k \]
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<table id="orgd3e9cf1" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="orge97b039" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -2404,8 +2404,8 @@ Requirements:
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org81eccac" class="outline-3">
|
<div id="outline-container-orgd67b8e5" class="outline-3">
|
||||||
<h3 id="org81eccac"><span class="section-number-3">4.2</span> General functions for Value, Gradient and Laplacian of a polynomial</h3>
|
<h3 id="orgd67b8e5"><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\)
|
||||||
@ -2450,7 +2450,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="orgeeeba08" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org0cd3190" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -3245,18 +3245,18 @@ For example, with a=0, b=2 and c=1 the string is "yyz"</li>
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org1962014" class="outline-2">
|
<div id="outline-container-orgbfc15bc" class="outline-2">
|
||||||
<h2 id="org1962014"><span class="section-number-2">5</span> Combining radial and polynomial parts</h2>
|
<h2 id="orgbfc15bc"><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-org33ed115" class="outline-3">
|
<div id="outline-container-org2bffdcb" class="outline-3">
|
||||||
<h3 id="org33ed115"><span class="section-number-3">5.1</span> Values only</h3>
|
<h3 id="org2bffdcb"><span class="section-number-3">5.1</span> Values only</h3>
|
||||||
<div class="outline-text-3" id="text-5-1">
|
<div class="outline-text-3" id="text-5-1">
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-orgac93d0f" class="outline-4">
|
<div id="outline-container-org3742fde" class="outline-4">
|
||||||
<h4 id="orgac93d0f"><span class="section-number-4">5.1.1</span> Unoptimized version</h4>
|
<h4 id="org3742fde"><span class="section-number-4">5.1.1</span> Unoptimized version</h4>
|
||||||
<div class="outline-text-4" id="text-5-1-1">
|
<div class="outline-text-4" id="text-5-1-1">
|
||||||
<table id="org497753a" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org8e0b189" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -3496,10 +3496,10 @@ For example, with a=0, b=2 and c=1 the string is "yyz"</li>
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgf038556" class="outline-4">
|
<div id="outline-container-org3e59d15" class="outline-4">
|
||||||
<h4 id="orgf038556"><span class="section-number-4">5.1.2</span> HPC version</h4>
|
<h4 id="org3e59d15"><span class="section-number-4">5.1.2</span> HPC version</h4>
|
||||||
<div class="outline-text-4" id="text-5-1-2">
|
<div class="outline-text-4" id="text-5-1-2">
|
||||||
<table id="org912c7de" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org7920205" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -3657,8 +3657,8 @@ For example, with a=0, b=2 and c=1 the string is "yyz"</li>
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org22dcaf5" class="outline-4">
|
<div id="outline-container-org11a75da" class="outline-4">
|
||||||
<h4 id="org22dcaf5"><span class="section-number-4">5.1.3</span> Interfaces</h4>
|
<h4 id="org11a75da"><span class="section-number-4">5.1.3</span> Interfaces</h4>
|
||||||
<div class="outline-text-4" id="text-5-1-3">
|
<div class="outline-text-4" id="text-5-1-3">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_compute_ao_value_doc</span> (
|
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_compute_ao_value_doc</span> (
|
||||||
@ -3707,14 +3707,14 @@ For example, with a=0, b=2 and c=1 the string is "yyz"</li>
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org3df333e" class="outline-3">
|
<div id="outline-container-org0848470" class="outline-3">
|
||||||
<h3 id="org3df333e"><span class="section-number-3">5.2</span> Value, gradients, Laplacian</h3>
|
<h3 id="org0848470"><span class="section-number-3">5.2</span> Value, gradients, Laplacian</h3>
|
||||||
<div class="outline-text-3" id="text-5-2">
|
<div class="outline-text-3" id="text-5-2">
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-org131fa1b" class="outline-4">
|
<div id="outline-container-orgb961f6f" class="outline-4">
|
||||||
<h4 id="org131fa1b"><span class="section-number-4">5.2.1</span> Reference version</h4>
|
<h4 id="orgb961f6f"><span class="section-number-4">5.2.1</span> Reference version</h4>
|
||||||
<div class="outline-text-4" id="text-5-2-1">
|
<div class="outline-text-4" id="text-5-2-1">
|
||||||
<table id="org8fdefef" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org9a988be" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -3982,10 +3982,10 @@ For example, with a=0, b=2 and c=1 the string is "yyz"</li>
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org25fda13" class="outline-4">
|
<div id="outline-container-orgb6e0f66" class="outline-4">
|
||||||
<h4 id="org25fda13"><span class="section-number-4">5.2.2</span> HPC version</h4>
|
<h4 id="orgb6e0f66"><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="org1c26605" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="orgb194cc0" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -4144,8 +4144,8 @@ For example, with a=0, b=2 and c=1 the string is "yyz"</li>
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div id="outline-container-org7103ae1" class="outline-4">
|
<div id="outline-container-orgfc858d1" class="outline-4">
|
||||||
<h4 id="org7103ae1"><span class="section-number-4">5.2.3</span> Interfaces</h4>
|
<h4 id="orgfc858d1"><span class="section-number-4">5.2.3</span> Interfaces</h4>
|
||||||
<div class="outline-text-4" id="text-5-2-3">
|
<div class="outline-text-4" id="text-5-2-3">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_compute_ao_vgl_doc</span> (
|
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_compute_ao_vgl_doc</span> (
|
||||||
@ -4197,7 +4197,7 @@ For example, with a=0, b=2 and c=1 the string is "yyz"</li>
|
|||||||
</div>
|
</div>
|
||||||
<div id="postamble" class="status">
|
<div id="postamble" class="status">
|
||||||
<p class="author">Author: TREX CoE</p>
|
<p class="author">Author: TREX CoE</p>
|
||||||
<p class="date">Created: 2023-09-26 Tue 14:26</p>
|
<p class="date">Created: 2023-09-26 Tue 15:44</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>
|
||||||
<!-- 2023-09-26 Tue 14:26 -->
|
<!-- 2023-09-26 Tue 15:44 -->
|
||||||
<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="#orgd991931">-</a></li>
|
<li><a href="#orgc522eb2">-</a></li>
|
||||||
<li><a href="#org3615949">1. Data types</a>
|
<li><a href="#org11d11b4">1. Data types</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org68fb737">1.1. Vector</a></li>
|
<li><a href="#org10cef6e">1.1. Vector</a></li>
|
||||||
<li><a href="#org75bb019">1.2. Matrix</a></li>
|
<li><a href="#org415d0b1">1.2. Matrix</a></li>
|
||||||
<li><a href="#org8ec65e6">1.3. Tensor</a></li>
|
<li><a href="#orga3862df">1.3. Tensor</a></li>
|
||||||
<li><a href="#orgdae24ca">1.4. Reshaping</a>
|
<li><a href="#org1522f56">1.4. Reshaping</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org990ba53">1.4.1. Vector -> Matrix</a></li>
|
<li><a href="#orgf6065b6">1.4.1. Vector -> Matrix</a></li>
|
||||||
<li><a href="#org8f6b905">1.4.2. Vector -> Tensor</a></li>
|
<li><a href="#orga0d998f">1.4.2. Vector -> Tensor</a></li>
|
||||||
<li><a href="#org0bb7560">1.4.3. Matrix -> Vector</a></li>
|
<li><a href="#org4c73f15">1.4.3. Matrix -> Vector</a></li>
|
||||||
<li><a href="#org53cc5c1">1.4.4. Matrix -> Tensor</a></li>
|
<li><a href="#org6dfddbc">1.4.4. Matrix -> Tensor</a></li>
|
||||||
<li><a href="#org7d140d2">1.4.5. Tensor -> Vector</a></li>
|
<li><a href="#org5250bd3">1.4.5. Tensor -> Vector</a></li>
|
||||||
<li><a href="#orge75dae3">1.4.6. Tensor -> Matrix</a></li>
|
<li><a href="#orgb3a7263">1.4.6. Tensor -> Matrix</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org2b8e754">1.5. Access macros</a></li>
|
<li><a href="#org22db316">1.5. Access macros</a></li>
|
||||||
<li><a href="#org3cdc6e0">1.6. Set all elements</a>
|
<li><a href="#org1288301">1.6. Set all elements</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgd33d869">1.6.1. Vector</a></li>
|
<li><a href="#orge5864e2">1.6.1. Vector</a></li>
|
||||||
<li><a href="#orgad4c788">1.6.2. Matrix</a></li>
|
<li><a href="#orgd65ad44">1.6.2. Matrix</a></li>
|
||||||
<li><a href="#org58b9014">1.6.3. Tensor</a></li>
|
<li><a href="#orge6b27bb">1.6.3. Tensor</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#orgc79d10e">1.7. Copy to/from to <code>double*</code></a></li>
|
<li><a href="#org75d9ae8">1.7. Copy to/from to <code>double*</code></a></li>
|
||||||
<li><a href="#orgb900576">1.8. Allocate and copy to <code>double*</code></a></li>
|
<li><a href="#orgc5843be">1.8. Allocate and copy to <code>double*</code></a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#orgb18892a">2. Matrix operations</a>
|
<li><a href="#org0320ea3">2. Matrix operations</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgcb0cd02">2.1. <code>qmckl_dgemm</code></a></li>
|
<li><a href="#org9a98319">2.1. <code>qmckl_dgemm</code></a></li>
|
||||||
<li><a href="#org2fdd00d">2.2. <code>qmckl_dgemm_safe</code></a></li>
|
<li><a href="#org48aae12">2.2. <code>qmckl_dgemm_safe</code></a></li>
|
||||||
<li><a href="#org1eaafc8">2.3. <code>qmckl_matmul</code></a></li>
|
<li><a href="#org261788f">2.3. <code>qmckl_matmul</code></a></li>
|
||||||
<li><a href="#org238f0cb">2.4. <code>qmckl_adjugate</code></a></li>
|
<li><a href="#org4b8bea1">2.4. <code>qmckl_adjugate</code></a></li>
|
||||||
<li><a href="#org24cf638">2.5. <code>qmckl_adjugate_safe</code></a>
|
<li><a href="#org2e4bd82">2.5. <code>qmckl_adjugate_safe</code></a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgbde8636">2.5.1. C interface</a></li>
|
<li><a href="#org3d2b2e6">2.5.1. C interface</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#orgd0cce4e">2.6. <code>qmckl_transpose</code></a></li>
|
<li><a href="#org659aa48">2.6. <code>qmckl_transpose</code></a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#orgedb186b">3. Utilities</a></li>
|
<li><a href="#orgef0d35b">3. Utilities</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgd991931" class="outline-2">
|
<div id="outline-container-orgc522eb2" class="outline-2">
|
||||||
<h2 id="orgd991931">-</h2>
|
<h2 id="orgc522eb2">-</h2>
|
||||||
<div class="outline-text-2" id="text-orgd991931">
|
<div class="outline-text-2" id="text-orgc522eb2">
|
||||||
<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-org3615949" class="outline-2">
|
<div id="outline-container-org11d11b4" class="outline-2">
|
||||||
<h2 id="org3615949"><span class="section-number-2">1</span> Data types</h2>
|
<h2 id="org11d11b4"><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-org68fb737" class="outline-3">
|
<div id="outline-container-org10cef6e" class="outline-3">
|
||||||
<h3 id="org68fb737"><span class="section-number-3">1.1</span> Vector</h3>
|
<h3 id="org10cef6e"><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-org75bb019" class="outline-3">
|
<div id="outline-container-org415d0b1" class="outline-3">
|
||||||
<h3 id="org75bb019"><span class="section-number-3">1.2</span> Matrix</h3>
|
<h3 id="org415d0b1"><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-org8ec65e6" class="outline-3">
|
<div id="outline-container-orga3862df" class="outline-3">
|
||||||
<h3 id="org8ec65e6"><span class="section-number-3">1.3</span> Tensor</h3>
|
<h3 id="orga3862df"><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-orgdae24ca" class="outline-3">
|
<div id="outline-container-org1522f56" class="outline-3">
|
||||||
<h3 id="orgdae24ca"><span class="section-number-3">1.4</span> Reshaping</h3>
|
<h3 id="org1522f56"><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-org990ba53" class="outline-4">
|
<div id="outline-container-orgf6065b6" class="outline-4">
|
||||||
<h4 id="org990ba53"><span class="section-number-4">1.4.1</span> Vector -> Matrix</h4>
|
<h4 id="orgf6065b6"><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-org8f6b905" class="outline-4">
|
<div id="outline-container-orga0d998f" class="outline-4">
|
||||||
<h4 id="org8f6b905"><span class="section-number-4">1.4.2</span> Vector -> Tensor</h4>
|
<h4 id="orga0d998f"><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-org0bb7560" class="outline-4">
|
<div id="outline-container-org4c73f15" class="outline-4">
|
||||||
<h4 id="org0bb7560"><span class="section-number-4">1.4.3</span> Matrix -> Vector</h4>
|
<h4 id="org4c73f15"><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-org53cc5c1" class="outline-4">
|
<div id="outline-container-org6dfddbc" class="outline-4">
|
||||||
<h4 id="org53cc5c1"><span class="section-number-4">1.4.4</span> Matrix -> Tensor</h4>
|
<h4 id="org6dfddbc"><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-org7d140d2" class="outline-4">
|
<div id="outline-container-org5250bd3" class="outline-4">
|
||||||
<h4 id="org7d140d2"><span class="section-number-4">1.4.5</span> Tensor -> Vector</h4>
|
<h4 id="org5250bd3"><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-orge75dae3" class="outline-4">
|
<div id="outline-container-orgb3a7263" class="outline-4">
|
||||||
<h4 id="orge75dae3"><span class="section-number-4">1.4.6</span> Tensor -> Matrix</h4>
|
<h4 id="orgb3a7263"><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-org2b8e754" class="outline-3">
|
<div id="outline-container-org22db316" class="outline-3">
|
||||||
<h3 id="org2b8e754"><span class="section-number-3">1.5</span> Access macros</h3>
|
<h3 id="org22db316"><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-org3cdc6e0" class="outline-3">
|
<div id="outline-container-org1288301" class="outline-3">
|
||||||
<h3 id="org3cdc6e0"><span class="section-number-3">1.6</span> Set all elements</h3>
|
<h3 id="org1288301"><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-orgd33d869" class="outline-4">
|
<div id="outline-container-orge5864e2" class="outline-4">
|
||||||
<h4 id="orgd33d869"><span class="section-number-4">1.6.1</span> Vector</h4>
|
<h4 id="orge5864e2"><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-orgad4c788" class="outline-4">
|
<div id="outline-container-orgd65ad44" class="outline-4">
|
||||||
<h4 id="orgad4c788"><span class="section-number-4">1.6.2</span> Matrix</h4>
|
<h4 id="orgd65ad44"><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-org58b9014" class="outline-4">
|
<div id="outline-container-orge6b27bb" class="outline-4">
|
||||||
<h4 id="org58b9014"><span class="section-number-4">1.6.3</span> Tensor</h4>
|
<h4 id="orge6b27bb"><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-orgc79d10e" class="outline-3">
|
<div id="outline-container-org75d9ae8" class="outline-3">
|
||||||
<h3 id="orgc79d10e"><span class="section-number-3">1.7</span> Copy to/from to <code>double*</code></h3>
|
<h3 id="org75d9ae8"><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-orgb900576" class="outline-3">
|
<div id="outline-container-orgc5843be" class="outline-3">
|
||||||
<h3 id="orgb900576"><span class="section-number-3">1.8</span> Allocate and copy to <code>double*</code></h3>
|
<h3 id="orgc5843be"><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-orgb18892a" class="outline-2">
|
<div id="outline-container-org0320ea3" class="outline-2">
|
||||||
<h2 id="orgb18892a"><span class="section-number-2">2</span> Matrix operations</h2>
|
<h2 id="org0320ea3"><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-orgcb0cd02" class="outline-3">
|
<div id="outline-container-org9a98319" class="outline-3">
|
||||||
<h3 id="orgcb0cd02"><span class="section-number-3">2.1</span> <code>qmckl_dgemm</code></h3>
|
<h3 id="org9a98319"><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="org121d4d4" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="orgffc7f33" 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-org2fdd00d" class="outline-3">
|
<div id="outline-container-org48aae12" class="outline-3">
|
||||||
<h3 id="org2fdd00d"><span class="section-number-3">2.2</span> <code>qmckl_dgemm_safe</code></h3>
|
<h3 id="org48aae12"><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="org1d4a533" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org2b31ee1" 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-org1eaafc8" class="outline-3">
|
<div id="outline-container-org261788f" class="outline-3">
|
||||||
<h3 id="org1eaafc8"><span class="section-number-3">2.3</span> <code>qmckl_matmul</code></h3>
|
<h3 id="org261788f"><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="orgebdf670" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org384692a" 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-org238f0cb" class="outline-3">
|
<div id="outline-container-org4b8bea1" class="outline-3">
|
||||||
<h3 id="org238f0cb"><span class="section-number-3">2.4</span> <code>qmckl_adjugate</code></h3>
|
<h3 id="org4b8bea1"><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="org12e369d" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org8ca56c8" 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-org24cf638" class="outline-3">
|
<div id="outline-container-org2e4bd82" class="outline-3">
|
||||||
<h3 id="org24cf638"><span class="section-number-3">2.5</span> <code>qmckl_adjugate_safe</code></h3>
|
<h3 id="org2e4bd82"><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="org9764813" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="orgf337ecc" 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-orgbde8636" class="outline-4">
|
<div id="outline-container-org3d2b2e6" class="outline-4">
|
||||||
<h4 id="orgbde8636"><span class="section-number-4">2.5.1</span> C interface</h4>
|
<h4 id="org3d2b2e6"><span class="section-number-4">2.5.1</span> C interface</h4>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgd0cce4e" class="outline-3">
|
<div id="outline-container-org659aa48" class="outline-3">
|
||||||
<h3 id="orgd0cce4e"><span class="section-number-3">2.6</span> <code>qmckl_transpose</code></h3>
|
<h3 id="org659aa48"><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-orgedb186b" class="outline-2">
|
<div id="outline-container-orgef0d35b" class="outline-2">
|
||||||
<h2 id="orgedb186b"><span class="section-number-2">3</span> Utilities</h2>
|
<h2 id="orgef0d35b"><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: 2023-09-26 Tue 14:26</p>
|
<p class="date">Created: 2023-09-26 Tue 15:44</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>
|
||||||
<!-- 2023-09-26 Tue 14:26 -->
|
<!-- 2023-09-26 Tue 15:44 -->
|
||||||
<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="#org1dfb7a7">1. Context handling</a>
|
<li><a href="#org920578d">1. Context handling</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgb2a3c85">1.1. Data structure</a></li>
|
<li><a href="#orga608d2c">1.1. Data structure</a></li>
|
||||||
<li><a href="#orgc9f515d">1.2. Creation</a></li>
|
<li><a href="#orgc62e11e">1.2. Creation</a></li>
|
||||||
<li><a href="#org70abcf9">1.3. Locking</a></li>
|
<li><a href="#org9ca8e04">1.3. Locking</a></li>
|
||||||
<li><a href="#orgb0b9a1c">1.4. <span class="todo TODO">TODO</span> Copy</a></li>
|
<li><a href="#orga41fa40">1.4. <span class="todo TODO">TODO</span> Copy</a></li>
|
||||||
<li><a href="#org2ac909d">1.5. Destroy</a></li>
|
<li><a href="#org1186ba0">1.5. Destroy</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org1dfb7a7" class="outline-2">
|
<div id="outline-container-org920578d" class="outline-2">
|
||||||
<h2 id="org1dfb7a7"><span class="section-number-2">1</span> Context handling</h2>
|
<h2 id="org920578d"><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="org2863d9b"><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="org3283547"><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-orgb2a3c85" class="outline-3">
|
<div id="outline-container-orga608d2c" class="outline-3">
|
||||||
<h3 id="orgb2a3c85"><span class="section-number-3">1.1</span> Data structure</h3>
|
<h3 id="orga608d2c"><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="#orgc9f515d"><code>qmckl_context_create</code></a> <a href="#org2ac909d"><code>qmckl_context_destroy</code></a> and <a href="#orgb0b9a1c"><code>qmckl_context_copy</code></a>
|
<a href="#orgc62e11e"><code>qmckl_context_create</code></a> <a href="#org1186ba0"><code>qmckl_context_destroy</code></a> and <a href="#orga41fa40"><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-orgc9f515d" class="outline-3">
|
<div id="outline-container-orgc62e11e" class="outline-3">
|
||||||
<h3 id="orgc9f515d"><span class="section-number-3">1.2</span> Creation</h3>
|
<h3 id="orgc62e11e"><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-org70abcf9" class="outline-3">
|
<div id="outline-container-org9ca8e04" class="outline-3">
|
||||||
<h3 id="org70abcf9"><span class="section-number-3">1.3</span> Locking</h3>
|
<h3 id="org9ca8e04"><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-orgb0b9a1c" class="outline-3">
|
<div id="outline-container-orga41fa40" class="outline-3">
|
||||||
<h3 id="orgb0b9a1c"><span class="section-number-3">1.4</span> <span class="todo TODO">TODO</span> Copy</h3>
|
<h3 id="orga41fa40"><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-org2ac909d" class="outline-3">
|
<div id="outline-container-org1186ba0" class="outline-3">
|
||||||
<h3 id="org2ac909d"><span class="section-number-3">1.5</span> Destroy</h3>
|
<h3 id="org1186ba0"><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: 2023-09-26 Tue 14:26</p>
|
<p class="date">Created: 2023-09-26 Tue 15:44</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>
|
||||||
<!-- 2023-09-26 Tue 14:26 -->
|
<!-- 2023-09-26 Tue 15:44 -->
|
||||||
<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="#org1d14806">1. Context</a>
|
<li><a href="#org82cc7f7">1. Context</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgf348163">1.1. Data structure</a></li>
|
<li><a href="#orgdf45e7b">1.1. Data structure</a></li>
|
||||||
<li><a href="#org50ae708">1.2. Access functions</a></li>
|
<li><a href="#org62d2c35">1.2. Access functions</a></li>
|
||||||
<li><a href="#org8c32f56">1.3. Initialization functions</a></li>
|
<li><a href="#orgbfdf370">1.3. Initialization functions</a></li>
|
||||||
<li><a href="#org50c9f66">1.4. Fortran Interfaces</a></li>
|
<li><a href="#org10cb725">1.4. Fortran Interfaces</a></li>
|
||||||
<li><a href="#org2da6c25">1.5. Test</a></li>
|
<li><a href="#org9aeb005">1.5. Test</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org037568e">2. Computation</a>
|
<li><a href="#org0a878e0">2. Computation</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org63e1598">2.1. Determinant matrix</a>
|
<li><a href="#org1540f2f">2.1. Determinant matrix</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orga427080">2.1.1. Get</a></li>
|
<li><a href="#org7036cd4">2.1.1. Get</a></li>
|
||||||
<li><a href="#orgc31d903">2.1.2. Provide</a></li>
|
<li><a href="#org77a22b3">2.1.2. Provide</a></li>
|
||||||
<li><a href="#org0fb19d1">2.1.3. Compute alpha</a></li>
|
<li><a href="#orgfc069c4">2.1.3. Compute alpha</a></li>
|
||||||
<li><a href="#org200392d">2.1.4. Compute beta</a></li>
|
<li><a href="#org60e53a9">2.1.4. Compute beta</a></li>
|
||||||
<li><a href="#orgf1c0564">2.1.5. Test</a></li>
|
<li><a href="#org555ba9b">2.1.5. Test</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#orgbb3f031">2.2. Inverse of Determinant matrix</a>
|
<li><a href="#orgd4a176b">2.2. Inverse of Determinant matrix</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org36cb6c9">2.2.1. Get</a></li>
|
<li><a href="#org0c89d2f">2.2.1. Get</a></li>
|
||||||
<li><a href="#orga5cd0cc">2.2.2. Provide</a></li>
|
<li><a href="#org2ba8dab">2.2.2. Provide</a></li>
|
||||||
<li><a href="#org116e884">2.2.3. Compute alpha</a></li>
|
<li><a href="#orgb446239">2.2.3. Compute alpha</a></li>
|
||||||
<li><a href="#org6d508ce">2.2.4. Compute beta</a></li>
|
<li><a href="#org329e80d">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-org1d14806" class="outline-2">
|
<div id="outline-container-org82cc7f7" class="outline-2">
|
||||||
<h2 id="org1d14806"><span class="section-number-2">1</span> Context</h2>
|
<h2 id="org82cc7f7"><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-orgf348163" class="outline-3">
|
<div id="outline-container-orgdf45e7b" class="outline-3">
|
||||||
<h3 id="orgf348163"><span class="section-number-3">1.1</span> Data structure</h3>
|
<h3 id="orgdf45e7b"><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-org50ae708" class="outline-3">
|
<div id="outline-container-org62d2c35" class="outline-3">
|
||||||
<h3 id="org50ae708"><span class="section-number-3">1.2</span> Access functions</h3>
|
<h3 id="org62d2c35"><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-org8c32f56" class="outline-3">
|
<div id="outline-container-orgbfdf370" class="outline-3">
|
||||||
<h3 id="org8c32f56"><span class="section-number-3">1.3</span> Initialization functions</h3>
|
<h3 id="orgbfdf370"><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-org50c9f66" class="outline-3">
|
<div id="outline-container-org10cb725" class="outline-3">
|
||||||
<h3 id="org50c9f66"><span class="section-number-3">1.4</span> Fortran Interfaces</h3>
|
<h3 id="org10cb725"><span class="section-number-3">1.4</span> Fortran Interfaces</h3>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-org2da6c25" class="outline-3">
|
<div id="outline-container-org9aeb005" class="outline-3">
|
||||||
<h3 id="org2da6c25"><span class="section-number-3">1.5</span> Test</h3>
|
<h3 id="org9aeb005"><span class="section-number-3">1.5</span> Test</h3>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-org037568e" class="outline-2">
|
<div id="outline-container-org0a878e0" class="outline-2">
|
||||||
<h2 id="org037568e"><span class="section-number-2">2</span> Computation</h2>
|
<h2 id="org0a878e0"><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-org63e1598" class="outline-3">
|
<div id="outline-container-org1540f2f" class="outline-3">
|
||||||
<h3 id="org63e1598"><span class="section-number-3">2.1</span> Determinant matrix</h3>
|
<h3 id="org1540f2f"><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-orga427080" class="outline-4">
|
<div id="outline-container-org7036cd4" class="outline-4">
|
||||||
<h4 id="orga427080"><span class="section-number-4">2.1.1</span> Get</h4>
|
<h4 id="org7036cd4"><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-orgc31d903" class="outline-4">
|
<div id="outline-container-org77a22b3" class="outline-4">
|
||||||
<h4 id="orgc31d903"><span class="section-number-4">2.1.2</span> Provide</h4>
|
<h4 id="org77a22b3"><span class="section-number-4">2.1.2</span> Provide</h4>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org0fb19d1" class="outline-4">
|
<div id="outline-container-orgfc069c4" class="outline-4">
|
||||||
<h4 id="org0fb19d1"><span class="section-number-4">2.1.3</span> Compute alpha</h4>
|
<h4 id="orgfc069c4"><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="org787f262" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org8c2ed0e" 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-org200392d" class="outline-4">
|
<div id="outline-container-org60e53a9" class="outline-4">
|
||||||
<h4 id="org200392d"><span class="section-number-4">2.1.4</span> Compute beta</h4>
|
<h4 id="org60e53a9"><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="orgecd9d31" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="orgb8486f7" 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-orgf1c0564" class="outline-4">
|
<div id="outline-container-org555ba9b" class="outline-4">
|
||||||
<h4 id="orgf1c0564"><span class="section-number-4">2.1.5</span> Test</h4>
|
<h4 id="org555ba9b"><span class="section-number-4">2.1.5</span> Test</h4>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgbb3f031" class="outline-3">
|
<div id="outline-container-orgd4a176b" class="outline-3">
|
||||||
<h3 id="orgbb3f031"><span class="section-number-3">2.2</span> Inverse of Determinant matrix</h3>
|
<h3 id="orgd4a176b"><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-org36cb6c9" class="outline-4">
|
<div id="outline-container-org0c89d2f" class="outline-4">
|
||||||
<h4 id="org36cb6c9"><span class="section-number-4">2.2.1</span> Get</h4>
|
<h4 id="org0c89d2f"><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-orga5cd0cc" class="outline-4">
|
<div id="outline-container-org2ba8dab" class="outline-4">
|
||||||
<h4 id="orga5cd0cc"><span class="section-number-4">2.2.2</span> Provide</h4>
|
<h4 id="org2ba8dab"><span class="section-number-4">2.2.2</span> Provide</h4>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org116e884" class="outline-4">
|
<div id="outline-container-orgb446239" class="outline-4">
|
||||||
<h4 id="org116e884"><span class="section-number-4">2.2.3</span> Compute alpha</h4>
|
<h4 id="orgb446239"><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="org1c7c571" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="orgb46c449" 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-org6d508ce" class="outline-4">
|
<div id="outline-container-org329e80d" class="outline-4">
|
||||||
<h4 id="org6d508ce"><span class="section-number-4">2.2.4</span> Compute beta</h4>
|
<h4 id="org329e80d"><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="org1783aaa" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="orga8840c6" 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: 2023-09-26 Tue 14:26</p>
|
<p class="date">Created: 2023-09-26 Tue 15:44</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>
|
||||||
<!-- 2023-09-26 Tue 14:27 -->
|
<!-- 2023-09-26 Tue 15:44 -->
|
||||||
<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="#orgddcbcda">1. Squared distance</a>
|
<li><a href="#org8883d4e">1. Squared distance</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgd35d491">1.1. <code>qmckl_distance_sq</code></a>
|
<li><a href="#org54a2c1d">1.1. <code>qmckl_distance_sq</code></a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org49ee10f">1.1.1. Performance</a></li>
|
<li><a href="#org556e2fe">1.1.1. Performance</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org1b049d9">2. Distance</a>
|
<li><a href="#orgdf70d9a">2. Distance</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org3942687">2.1. <code>qmckl_distance</code></a>
|
<li><a href="#org1c5a6a7">2.1. <code>qmckl_distance</code></a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org67f20d5">2.1.1. Requirements</a></li>
|
<li><a href="#orgb9ddabb">2.1.1. Requirements</a></li>
|
||||||
<li><a href="#orgf234642">2.1.2. C header</a></li>
|
<li><a href="#org1a17064">2.1.2. C header</a></li>
|
||||||
<li><a href="#org73b9e59">2.1.3. Source</a></li>
|
<li><a href="#org4a28338">2.1.3. Source</a></li>
|
||||||
<li><a href="#orgece140e">2.1.4. Performance</a></li>
|
<li><a href="#orgcdd82e1">2.1.4. Performance</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#orgb94c73a">3. Rescaled Distance</a>
|
<li><a href="#org89b487e">3. Rescaled Distance</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org137c629">3.1. <code>qmckl_distance_rescaled</code></a>
|
<li><a href="#orgde3a118">3.1. <code>qmckl_distance_rescaled</code></a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org8009cb2">3.1.1. Requirements</a></li>
|
<li><a href="#org3cc7fd5">3.1.1. Requirements</a></li>
|
||||||
<li><a href="#orgfd27867">3.1.2. C header</a></li>
|
<li><a href="#org6217d61">3.1.2. C header</a></li>
|
||||||
<li><a href="#org84e666c">3.1.3. Source</a></li>
|
<li><a href="#org45d97fd">3.1.3. Source</a></li>
|
||||||
<li><a href="#orgaa82ac1">3.1.4. Performance</a></li>
|
<li><a href="#org985cc0d">3.1.4. Performance</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org2f89a31">4. Rescaled Distance Derivatives</a>
|
<li><a href="#org462e3ea">4. Rescaled Distance Derivatives</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org71959a6">4.1. <code>qmckl_distance_rescaled_gl</code></a></li>
|
<li><a href="#orgc4710ac">4.1. <code>qmckl_distance_rescaled_gl</code></a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgddcbcda" class="outline-2">
|
<div id="outline-container-org8883d4e" class="outline-2">
|
||||||
<h2 id="orgddcbcda"><span class="section-number-2">1</span> Squared distance</h2>
|
<h2 id="org8883d4e"><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-orgd35d491" class="outline-3">
|
<div id="outline-container-org54a2c1d" class="outline-3">
|
||||||
<h3 id="orgd35d491"><span class="section-number-3">1.1</span> <code>qmckl_distance_sq</code></h3>
|
<h3 id="org54a2c1d"><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="orgeecbcd8" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="orgea0abac" 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-org49ee10f" class="outline-4">
|
<div id="outline-container-org556e2fe" class="outline-4">
|
||||||
<h4 id="org49ee10f"><span class="section-number-4">1.1.1</span> Performance</h4>
|
<h4 id="org556e2fe"><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-org1b049d9" class="outline-2">
|
<div id="outline-container-orgdf70d9a" class="outline-2">
|
||||||
<h2 id="org1b049d9"><span class="section-number-2">2</span> Distance</h2>
|
<h2 id="orgdf70d9a"><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-org3942687" class="outline-3">
|
<div id="outline-container-org1c5a6a7" class="outline-3">
|
||||||
<h3 id="org3942687"><span class="section-number-3">2.1</span> <code>qmckl_distance</code></h3>
|
<h3 id="org1c5a6a7"><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="org8621e0b" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org3cf59f9" 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-org67f20d5" class="outline-4">
|
<div id="outline-container-orgb9ddabb" class="outline-4">
|
||||||
<h4 id="org67f20d5"><span class="section-number-4">2.1.1</span> Requirements</h4>
|
<h4 id="orgb9ddabb"><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-orgf234642" class="outline-4">
|
<div id="outline-container-org1a17064" class="outline-4">
|
||||||
<h4 id="orgf234642"><span class="section-number-4">2.1.2</span> C header</h4>
|
<h4 id="org1a17064"><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-org73b9e59" class="outline-4">
|
<div id="outline-container-org4a28338" class="outline-4">
|
||||||
<h4 id="org73b9e59"><span class="section-number-4">2.1.3</span> Source</h4>
|
<h4 id="org4a28338"><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-orgece140e" class="outline-4">
|
<div id="outline-container-orgcdd82e1" class="outline-4">
|
||||||
<h4 id="orgece140e"><span class="section-number-4">2.1.4</span> Performance</h4>
|
<h4 id="orgcdd82e1"><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-orgb94c73a" class="outline-2">
|
<div id="outline-container-org89b487e" class="outline-2">
|
||||||
<h2 id="orgb94c73a"><span class="section-number-2">3</span> Rescaled Distance</h2>
|
<h2 id="org89b487e"><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-org137c629" class="outline-3">
|
<div id="outline-container-orgde3a118" class="outline-3">
|
||||||
<h3 id="org137c629"><span class="section-number-3">3.1</span> <code>qmckl_distance_rescaled</code></h3>
|
<h3 id="orgde3a118"><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="org885b9f5" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org9a683b7" 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-org8009cb2" class="outline-4">
|
<div id="outline-container-org3cc7fd5" class="outline-4">
|
||||||
<h4 id="org8009cb2"><span class="section-number-4">3.1.1</span> Requirements</h4>
|
<h4 id="org3cc7fd5"><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-orgfd27867" class="outline-4">
|
<div id="outline-container-org6217d61" class="outline-4">
|
||||||
<h4 id="orgfd27867"><span class="section-number-4">3.1.2</span> C header</h4>
|
<h4 id="org6217d61"><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-org84e666c" class="outline-4">
|
<div id="outline-container-org45d97fd" class="outline-4">
|
||||||
<h4 id="org84e666c"><span class="section-number-4">3.1.3</span> Source</h4>
|
<h4 id="org45d97fd"><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-orgaa82ac1" class="outline-4">
|
<div id="outline-container-org985cc0d" class="outline-4">
|
||||||
<h4 id="orgaa82ac1"><span class="section-number-4">3.1.4</span> Performance</h4>
|
<h4 id="org985cc0d"><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-org2f89a31" class="outline-2">
|
<div id="outline-container-org462e3ea" class="outline-2">
|
||||||
<h2 id="org2f89a31"><span class="section-number-2">4</span> Rescaled Distance Derivatives</h2>
|
<h2 id="org462e3ea"><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-org71959a6" class="outline-3">
|
<div id="outline-container-orgc4710ac" class="outline-3">
|
||||||
<h3 id="org71959a6"><span class="section-number-3">4.1</span> <code>qmckl_distance_rescaled_gl</code></h3>
|
<h3 id="orgc4710ac"><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="orgaf443ad" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org3cce572" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -1751,7 +1751,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: 2023-09-26 Tue 14:27</p>
|
<p class="date">Created: 2023-09-26 Tue 15:44</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>
|
||||||
<!-- 2023-09-26 Tue 14:26 -->
|
<!-- 2023-09-26 Tue 15:44 -->
|
||||||
<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="#orgc1f3454">1. Context</a>
|
<li><a href="#orgd24e85b">1. Context</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org07e3298">1.1. Data structure</a></li>
|
<li><a href="#org4cfffb5">1.1. Data structure</a></li>
|
||||||
<li><a href="#org0bca7c3">1.2. Initialization functions</a></li>
|
<li><a href="#org06e6402">1.2. Initialization functions</a></li>
|
||||||
<li><a href="#org6a06f01">1.3. Access functions</a>
|
<li><a href="#orga504d14">1.3. Access functions</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org1e65172">1.3.1. Number of electrons</a></li>
|
<li><a href="#orgfc97934">1.3.1. Number of electrons</a></li>
|
||||||
<li><a href="#orgf75a083">1.3.2. Number of walkers</a></li>
|
<li><a href="#org2c6f39b">1.3.2. Number of walkers</a></li>
|
||||||
<li><a href="#org91d2c54">1.3.3. Electron coordinates</a></li>
|
<li><a href="#org1be4f25">1.3.3. Electron coordinates</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#orgb2649e0">1.4. Test</a></li>
|
<li><a href="#org9e6c233">1.4. Test</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org472d286">2. Computation</a>
|
<li><a href="#org7a5c053">2. Computation</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org78f2324">2.1. Electron-electron distances</a>
|
<li><a href="#org8dfcdc6">2.1. Electron-electron distances</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgb8fcf07">2.1.1. Get</a></li>
|
<li><a href="#org014ff71">2.1.1. Get</a></li>
|
||||||
<li><a href="#org58b1976">2.1.2. Compute</a></li>
|
<li><a href="#org9dbff0d">2.1.2. Compute</a></li>
|
||||||
<li><a href="#org7b8c804">2.1.3. Test</a></li>
|
<li><a href="#org8abbc36">2.1.3. Test</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#orgf078ac2">2.2. Electron-electron potential</a>
|
<li><a href="#org99c8979">2.2. Electron-electron potential</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org6ca20da">2.2.1. Get</a></li>
|
<li><a href="#orgd35d4db">2.2.1. Get</a></li>
|
||||||
<li><a href="#orge650ad8">2.2.2. Compute</a></li>
|
<li><a href="#org9ea9ecc">2.2.2. Compute</a></li>
|
||||||
<li><a href="#orgbe22155">2.2.3. Test</a></li>
|
<li><a href="#orgad2ba10">2.2.3. Test</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org7ce497b">2.3. Electron-nucleus distances</a>
|
<li><a href="#org7e8b141">2.3. Electron-nucleus distances</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org1c5ab6f">2.3.1. Get</a></li>
|
<li><a href="#org36bf060">2.3.1. Get</a></li>
|
||||||
<li><a href="#org238aceb">2.3.2. Compute</a></li>
|
<li><a href="#orgeb7971a">2.3.2. Compute</a></li>
|
||||||
<li><a href="#org19f54e6">2.3.3. Test</a></li>
|
<li><a href="#orgaeae885">2.3.3. Test</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org8bf4098">2.4. Electron-nucleus potential</a>
|
<li><a href="#org4b01ecd">2.4. Electron-nucleus potential</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orga98af87">2.4.1. Get</a></li>
|
<li><a href="#orgeeac3e2">2.4.1. Get</a></li>
|
||||||
<li><a href="#org92cdeee">2.4.2. Compute</a></li>
|
<li><a href="#org305ce36">2.4.2. Compute</a></li>
|
||||||
<li><a href="#org5e0f972">2.4.3. Test</a></li>
|
<li><a href="#org9db79a4">2.4.3. Test</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#orgb3f1cd8">2.5. Generate initial coordinates</a></li>
|
<li><a href="#orga2e46fa">2.5. Generate initial coordinates</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgc1f3454" class="outline-2">
|
<div id="outline-container-orgd24e85b" class="outline-2">
|
||||||
<h2 id="orgc1f3454"><span class="section-number-2">1</span> Context</h2>
|
<h2 id="orgd24e85b"><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-org07e3298" class="outline-3">
|
<div id="outline-container-org4cfffb5" class="outline-3">
|
||||||
<h3 id="org07e3298"><span class="section-number-3">1.1</span> Data structure</h3>
|
<h3 id="org4cfffb5"><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-org0bca7c3" class="outline-3">
|
<div id="outline-container-org06e6402" class="outline-3">
|
||||||
<h3 id="org0bca7c3"><span class="section-number-3">1.2</span> Initialization functions</h3>
|
<h3 id="org06e6402"><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-org6a06f01" class="outline-3">
|
<div id="outline-container-orga504d14" class="outline-3">
|
||||||
<h3 id="org6a06f01"><span class="section-number-3">1.3</span> Access functions</h3>
|
<h3 id="orga504d14"><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-org1e65172" class="outline-4">
|
<div id="outline-container-orgfc97934" class="outline-4">
|
||||||
<h4 id="org1e65172"><span class="section-number-4">1.3.1</span> Number of electrons</h4>
|
<h4 id="orgfc97934"><span class="section-number-4">1.3.1</span> Number of electrons</h4>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgf75a083" class="outline-4">
|
<div id="outline-container-org2c6f39b" class="outline-4">
|
||||||
<h4 id="orgf75a083"><span class="section-number-4">1.3.2</span> Number of walkers</h4>
|
<h4 id="org2c6f39b"><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-org91d2c54" class="outline-4">
|
<div id="outline-container-org1be4f25" class="outline-4">
|
||||||
<h4 id="org91d2c54"><span class="section-number-4">1.3.3</span> Electron coordinates</h4>
|
<h4 id="org1be4f25"><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-orgb2649e0" class="outline-3">
|
<div id="outline-container-org9e6c233" class="outline-3">
|
||||||
<h3 id="orgb2649e0"><span class="section-number-3">1.4</span> Test</h3>
|
<h3 id="org9e6c233"><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-org472d286" class="outline-2">
|
<div id="outline-container-org7a5c053" class="outline-2">
|
||||||
<h2 id="org472d286"><span class="section-number-2">2</span> Computation</h2>
|
<h2 id="org7a5c053"><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-org78f2324" class="outline-3">
|
<div id="outline-container-org8dfcdc6" class="outline-3">
|
||||||
<h3 id="org78f2324"><span class="section-number-3">2.1</span> Electron-electron distances</h3>
|
<h3 id="org8dfcdc6"><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-orgb8fcf07" class="outline-4">
|
<div id="outline-container-org014ff71" class="outline-4">
|
||||||
<h4 id="orgb8fcf07"><span class="section-number-4">2.1.1</span> Get</h4>
|
<h4 id="org014ff71"><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-org58b1976" class="outline-4">
|
<div id="outline-container-org9dbff0d" class="outline-4">
|
||||||
<h4 id="org58b1976"><span class="section-number-4">2.1.2</span> Compute</h4>
|
<h4 id="org9dbff0d"><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="orgf1a47a2" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="orgab2cd2a" 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-org7b8c804" class="outline-4">
|
<div id="outline-container-org8abbc36" class="outline-4">
|
||||||
<h4 id="org7b8c804"><span class="section-number-4">2.1.3</span> Test</h4>
|
<h4 id="org8abbc36"><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-orgf078ac2" class="outline-3">
|
<div id="outline-container-org99c8979" class="outline-3">
|
||||||
<h3 id="orgf078ac2"><span class="section-number-3">2.2</span> Electron-electron potential</h3>
|
<h3 id="org99c8979"><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-org6ca20da" class="outline-4">
|
<div id="outline-container-orgd35d4db" class="outline-4">
|
||||||
<h4 id="org6ca20da"><span class="section-number-4">2.2.1</span> Get</h4>
|
<h4 id="orgd35d4db"><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-orge650ad8" class="outline-4">
|
<div id="outline-container-org9ea9ecc" class="outline-4">
|
||||||
<h4 id="orge650ad8"><span class="section-number-4">2.2.2</span> Compute</h4>
|
<h4 id="org9ea9ecc"><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="orga52a8a4" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="orgb32d8bf" 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-orgbe22155" class="outline-4">
|
<div id="outline-container-orgad2ba10" class="outline-4">
|
||||||
<h4 id="orgbe22155"><span class="section-number-4">2.2.3</span> Test</h4>
|
<h4 id="orgad2ba10"><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-org7ce497b" class="outline-3">
|
<div id="outline-container-org7e8b141" class="outline-3">
|
||||||
<h3 id="org7ce497b"><span class="section-number-3">2.3</span> Electron-nucleus distances</h3>
|
<h3 id="org7e8b141"><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-org1c5ab6f" class="outline-4">
|
<div id="outline-container-org36bf060" class="outline-4">
|
||||||
<h4 id="org1c5ab6f"><span class="section-number-4">2.3.1</span> Get</h4>
|
<h4 id="org36bf060"><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-org238aceb" class="outline-4">
|
<div id="outline-container-orgeb7971a" class="outline-4">
|
||||||
<h4 id="org238aceb"><span class="section-number-4">2.3.2</span> Compute</h4>
|
<h4 id="orgeb7971a"><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="org8d060df" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="orgdeb3f72" 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-org19f54e6" class="outline-4">
|
<div id="outline-container-orgaeae885" class="outline-4">
|
||||||
<h4 id="org19f54e6"><span class="section-number-4">2.3.3</span> Test</h4>
|
<h4 id="orgaeae885"><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-org8bf4098" class="outline-3">
|
<div id="outline-container-org4b01ecd" class="outline-3">
|
||||||
<h3 id="org8bf4098"><span class="section-number-3">2.4</span> Electron-nucleus potential</h3>
|
<h3 id="org4b01ecd"><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-orga98af87" class="outline-4">
|
<div id="outline-container-orgeeac3e2" class="outline-4">
|
||||||
<h4 id="orga98af87"><span class="section-number-4">2.4.1</span> Get</h4>
|
<h4 id="orgeeac3e2"><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-org92cdeee" class="outline-4">
|
<div id="outline-container-org305ce36" class="outline-4">
|
||||||
<h4 id="org92cdeee"><span class="section-number-4">2.4.2</span> Compute</h4>
|
<h4 id="org305ce36"><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="orgc9387d3" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org3a28edc" 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-org5e0f972" class="outline-4">
|
<div id="outline-container-org9db79a4" class="outline-4">
|
||||||
<h4 id="org5e0f972"><span class="section-number-4">2.4.3</span> Test</h4>
|
<h4 id="org9db79a4"><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-orgb3f1cd8" class="outline-3">
|
<div id="outline-container-orga2e46fa" class="outline-3">
|
||||||
<h3 id="orgb3f1cd8"><span class="section-number-3">2.5</span> Generate initial coordinates</h3>
|
<h3 id="orga2e46fa"><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: 2023-09-26 Tue 14:26</p>
|
<p class="date">Created: 2023-09-26 Tue 15:44</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>
|
||||||
<!-- 2023-09-26 Tue 14:27 -->
|
<!-- 2023-09-26 Tue 15:44 -->
|
||||||
<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="#org61f130f">-</a></li>
|
<li><a href="#org1fae1b8">-</a></li>
|
||||||
<li><a href="#orgd31a54c">1. Decoding errors</a></li>
|
<li><a href="#org49609c9">1. Decoding errors</a></li>
|
||||||
<li><a href="#orge738632">2. Data structure in context</a></li>
|
<li><a href="#org4075155">2. Data structure in context</a></li>
|
||||||
<li><a href="#org07da6a8">3. Updating errors in the context</a></li>
|
<li><a href="#orgf45365b">3. Updating errors in the context</a></li>
|
||||||
<li><a href="#org24dc9b3">4. Get the error</a></li>
|
<li><a href="#org0c3dd32">4. Get the error</a></li>
|
||||||
<li><a href="#org7ba8122">5. Failing</a></li>
|
<li><a href="#orga22bc6a">5. Failing</a></li>
|
||||||
<li><a href="#orgd3c2196">6. Last error</a>
|
<li><a href="#org14a938f">6. Last error</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgf01ee03">6.1. Fortran inteface</a></li>
|
<li><a href="#orgf73b888">6.1. Fortran inteface</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#orga8bf153">7. Helper functions for debugging</a>
|
<li><a href="#org1dc02ae">7. Helper functions for debugging</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org9b05089">7.1. Fortran inteface</a></li>
|
<li><a href="#org8629147">7.1. Fortran inteface</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org61f130f" class="outline-2">
|
<div id="outline-container-org1fae1b8" class="outline-2">
|
||||||
<h2 id="org61f130f">-</h2>
|
<h2 id="org1fae1b8">-</h2>
|
||||||
<div class="outline-text-2" id="text-org61f130f">
|
<div class="outline-text-2" id="text-org1fae1b8">
|
||||||
<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="org2aa8024"><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="orgbe9684a"><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="org7684e5f" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org038eeb0" 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-orgd31a54c" class="outline-2">
|
<div id="outline-container-org49609c9" class="outline-2">
|
||||||
<h2 id="orgd31a54c"><span class="section-number-2">1</span> Decoding errors</h2>
|
<h2 id="org49609c9"><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-orge738632" class="outline-2">
|
<div id="outline-container-org4075155" class="outline-2">
|
||||||
<h2 id="orge738632"><span class="section-number-2">2</span> Data structure in context</h2>
|
<h2 id="org4075155"><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-org07da6a8" class="outline-2">
|
<div id="outline-container-orgf45365b" class="outline-2">
|
||||||
<h2 id="org07da6a8"><span class="section-number-2">3</span> Updating errors in the context</h2>
|
<h2 id="orgf45365b"><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-org24dc9b3" class="outline-2">
|
<div id="outline-container-org0c3dd32" class="outline-2">
|
||||||
<h2 id="org24dc9b3"><span class="section-number-2">4</span> Get the error</h2>
|
<h2 id="org0c3dd32"><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-org7ba8122" class="outline-2">
|
<div id="outline-container-orga22bc6a" class="outline-2">
|
||||||
<h2 id="org7ba8122"><span class="section-number-2">5</span> Failing</h2>
|
<h2 id="orga22bc6a"><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-orgd3c2196" class="outline-2">
|
<div id="outline-container-org14a938f" class="outline-2">
|
||||||
<h2 id="orgd3c2196"><span class="section-number-2">6</span> Last error</h2>
|
<h2 id="org14a938f"><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-orgf01ee03" class="outline-3">
|
<div id="outline-container-orgf73b888" class="outline-3">
|
||||||
<h3 id="orgf01ee03"><span class="section-number-3">6.1</span> Fortran inteface</h3>
|
<h3 id="orgf73b888"><span class="section-number-3">6.1</span> Fortran inteface</h3>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orga8bf153" class="outline-2">
|
<div id="outline-container-org1dc02ae" class="outline-2">
|
||||||
<h2 id="orga8bf153"><span class="section-number-2">7</span> Helper functions for debugging</h2>
|
<h2 id="org1dc02ae"><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-org9b05089" class="outline-3">
|
<div id="outline-container-org8629147" class="outline-3">
|
||||||
<h3 id="org9b05089"><span class="section-number-3">7.1</span> Fortran inteface</h3>
|
<h3 id="org8629147"><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: 2023-09-26 Tue 14:27</p>
|
<p class="date">Created: 2023-09-26 Tue 15:44</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>
|
||||||
<!-- 2023-09-26 Tue 14:26 -->
|
<!-- 2023-09-26 Tue 15:44 -->
|
||||||
<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="#orgf032286">1. Overlap matrix in the MO basis</a>
|
<li><a href="#orgcdd0342">1. Overlap matrix in the MO basis</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org7aeb47a">1.1. Python</a></li>
|
<li><a href="#org879b4aa">1.1. Python</a></li>
|
||||||
<li><a href="#org733d5e6">1.2. C</a></li>
|
<li><a href="#orgf35656c">1.2. C</a></li>
|
||||||
<li><a href="#org49b1b58">1.3. Fortran</a></li>
|
<li><a href="#org1d5c2e8">1.3. Fortran</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org03bce95">2. Fortran</a>
|
<li><a href="#orge9cf026">2. Fortran</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgbaa7127">2.1. Checking errors</a></li>
|
<li><a href="#org58a39a3">2.1. Checking errors</a></li>
|
||||||
<li><a href="#org4f090ec">2.2. Computing an atomic orbital on a grid</a></li>
|
<li><a href="#org3892b3e">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-orgf032286" class="outline-2">
|
<div id="outline-container-orgcdd0342" class="outline-2">
|
||||||
<h2 id="orgf032286"><span class="section-number-2">1</span> Overlap matrix in the MO basis</h2>
|
<h2 id="orgcdd0342"><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-org7aeb47a" class="outline-3">
|
<div id="outline-container-org879b4aa" class="outline-3">
|
||||||
<h3 id="org7aeb47a"><span class="section-number-3">1.1</span> Python</h3>
|
<h3 id="org879b4aa"><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-org733d5e6" class="outline-3">
|
<div id="outline-container-orgf35656c" class="outline-3">
|
||||||
<h3 id="org733d5e6"><span class="section-number-3">1.2</span> C</h3>
|
<h3 id="orgf35656c"><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.
|
||||||
@ -865,8 +865,8 @@ rc = qmckl_get_mo_basis_mo_value(context, mo_value, point_num*mo_num);
|
|||||||
gettimeofday(&timecheck, <span style="color: #008b8b;">NULL</span>);
|
gettimeofday(&timecheck, <span style="color: #008b8b;">NULL</span>);
|
||||||
after = (<span style="color: #228b22;">long</span>)timecheck.tv_sec * 1000 + (<span style="color: #228b22;">long</span>)timecheck.tv_usec / 1000;
|
after = (<span style="color: #228b22;">long</span>)timecheck.tv_sec * 1000 + (<span style="color: #228b22;">long</span>)timecheck.tv_usec / 1000;
|
||||||
|
|
||||||
printf(<span style="color: #8b2252;">"Number of MOs: %ld\n"</span>, mo_num);
|
printf(<span style="color: #8b2252;">"Number of MOs: %ld\n"</span>, (<span style="color: #228b22;">long</span>) mo_num);
|
||||||
printf(<span style="color: #8b2252;">"Number of grid points: %ld\n"</span>, point_num);
|
printf(<span style="color: #8b2252;">"Number of grid points: %ld\n"</span>, (<span style="color: #228b22;">long</span>) point_num);
|
||||||
printf(<span style="color: #8b2252;">"Execution time : %f seconds\n"</span>, (after - before)*1.e-3);
|
printf(<span style="color: #8b2252;">"Execution time : %f seconds\n"</span>, (after - before)*1.e-3);
|
||||||
|
|
||||||
</pre>
|
</pre>
|
||||||
@ -922,8 +922,8 @@ and finally we compute the overlap between all the MOs as
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div id="outline-container-org49b1b58" class="outline-3">
|
<div id="outline-container-org1d5c2e8" class="outline-3">
|
||||||
<h3 id="org49b1b58"><span class="section-number-3">1.3</span> Fortran</h3>
|
<h3 id="org1d5c2e8"><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-org03bce95" class="outline-2">
|
<div id="outline-container-orge9cf026" class="outline-2">
|
||||||
<h2 id="org03bce95"><span class="section-number-2">2</span> Fortran</h2>
|
<h2 id="orge9cf026"><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-orgbaa7127" class="outline-3">
|
<div id="outline-container-org58a39a3" class="outline-3">
|
||||||
<h3 id="orgbaa7127"><span class="section-number-3">2.1</span> Checking errors</h3>
|
<h3 id="org58a39a3"><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="orga8b7908"><span style="color: #a020f0;">subroutine</span> <span style="color: #0000ff;">qmckl_check_error</span>(rc, message)
|
<pre class="src src-f90" id="org5bc3481"><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-org4f090ec" class="outline-3">
|
<div id="outline-container-org3892b3e" class="outline-3">
|
||||||
<h3 id="org4f090ec"><span class="section-number-3">2.2</span> Computing an atomic orbital on a grid</h3>
|
<h3 id="org3892b3e"><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: 2023-09-26 Tue 14:26</p>
|
<p class="date">Created: 2023-09-26 Tue 15:44</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>
|
||||||
<!-- 2023-09-26 Tue 14:26 -->
|
<!-- 2023-09-26 Tue 15:44 -->
|
||||||
<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="#org633c4f7">1. Context</a>
|
<li><a href="#orgd2fce05">1. Context</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org9fa93a3">1.1. Data structure</a></li>
|
<li><a href="#org3d65fdc">1.1. Data structure</a></li>
|
||||||
<li><a href="#org21ef082">1.2. Access functions</a></li>
|
<li><a href="#org88da1c9">1.2. Access functions</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org61d29dd">2. Computation</a>
|
<li><a href="#orgcdfd98e">2. Computation</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org88445e6">2.1. Kinetic energy</a>
|
<li><a href="#orgc385ccf">2.1. Kinetic energy</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org7ee142c">2.1.1. Get</a></li>
|
<li><a href="#org43bfe8b">2.1.1. Get</a></li>
|
||||||
<li><a href="#org128fdd2">2.1.2. Provide</a></li>
|
<li><a href="#org2431b55">2.1.2. Provide</a></li>
|
||||||
<li><a href="#org3e0569c">2.1.3. Compute kinetic enregy</a></li>
|
<li><a href="#org64887aa">2.1.3. Compute kinetic enregy</a></li>
|
||||||
<li><a href="#orgad21262">2.1.4. Test</a></li>
|
<li><a href="#org780aea2">2.1.4. Test</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#orgcb15b10">2.2. Potential energy</a>
|
<li><a href="#orgb908bd9">2.2. Potential energy</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgfe4c7f9">2.2.1. Get</a></li>
|
<li><a href="#org2a5682e">2.2.1. Get</a></li>
|
||||||
<li><a href="#org05d4953">2.2.2. Provide</a></li>
|
<li><a href="#orgbfc5811">2.2.2. Provide</a></li>
|
||||||
<li><a href="#org14af088">2.2.3. Compute potential enregy</a></li>
|
<li><a href="#orgf916218">2.2.3. Compute potential enregy</a></li>
|
||||||
<li><a href="#org9e9fb7e">2.2.4. Test</a></li>
|
<li><a href="#orga1e369e">2.2.4. Test</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#orgb806b09">2.3. Local energy</a>
|
<li><a href="#orgb59f7c1">2.3. Local energy</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org0e94603">2.3.1. Get</a></li>
|
<li><a href="#org1083a13">2.3.1. Get</a></li>
|
||||||
<li><a href="#org57116c2">2.3.2. Provide</a></li>
|
<li><a href="#org9b3860f">2.3.2. Provide</a></li>
|
||||||
<li><a href="#orgcfac279">2.3.3. Compute local enregy</a></li>
|
<li><a href="#orgd5ea625">2.3.3. Compute local enregy</a></li>
|
||||||
<li><a href="#orgdc69a74">2.3.4. Test</a></li>
|
<li><a href="#org12d04b0">2.3.4. Test</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org5774b24">2.4. Drift vector</a>
|
<li><a href="#org87fcd75">2.4. Drift vector</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org8fd2afa">2.4.1. Get</a></li>
|
<li><a href="#org0c6b33d">2.4.1. Get</a></li>
|
||||||
<li><a href="#org404850a">2.4.2. Provide</a></li>
|
<li><a href="#org1fd8f61">2.4.2. Provide</a></li>
|
||||||
<li><a href="#orga18fbe9">2.4.3. Compute drift vector</a></li>
|
<li><a href="#orgec070f8">2.4.3. Compute drift vector</a></li>
|
||||||
<li><a href="#orgd1b9503">2.4.4. Test</a></li>
|
<li><a href="#org5714cba">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-org633c4f7" class="outline-2">
|
<div id="outline-container-orgd2fce05" class="outline-2">
|
||||||
<h2 id="org633c4f7"><span class="section-number-2">1</span> Context</h2>
|
<h2 id="orgd2fce05"><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-org9fa93a3" class="outline-3">
|
<div id="outline-container-org3d65fdc" class="outline-3">
|
||||||
<h3 id="org9fa93a3"><span class="section-number-3">1.1</span> Data structure</h3>
|
<h3 id="org3d65fdc"><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-org21ef082" class="outline-3">
|
<div id="outline-container-org88da1c9" class="outline-3">
|
||||||
<h3 id="org21ef082"><span class="section-number-3">1.2</span> Access functions</h3>
|
<h3 id="org88da1c9"><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-org61d29dd" class="outline-2">
|
<div id="outline-container-orgcdfd98e" class="outline-2">
|
||||||
<h2 id="org61d29dd"><span class="section-number-2">2</span> Computation</h2>
|
<h2 id="orgcdfd98e"><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-org88445e6" class="outline-3">
|
<div id="outline-container-orgc385ccf" class="outline-3">
|
||||||
<h3 id="org88445e6"><span class="section-number-3">2.1</span> Kinetic energy</h3>
|
<h3 id="orgc385ccf"><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-org7ee142c" class="outline-4">
|
<div id="outline-container-org43bfe8b" class="outline-4">
|
||||||
<h4 id="org7ee142c"><span class="section-number-4">2.1.1</span> Get</h4>
|
<h4 id="org43bfe8b"><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-org128fdd2" class="outline-4">
|
<div id="outline-container-org2431b55" class="outline-4">
|
||||||
<h4 id="org128fdd2"><span class="section-number-4">2.1.2</span> Provide</h4>
|
<h4 id="org2431b55"><span class="section-number-4">2.1.2</span> Provide</h4>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org3e0569c" class="outline-4">
|
<div id="outline-container-org64887aa" class="outline-4">
|
||||||
<h4 id="org3e0569c"><span class="section-number-4">2.1.3</span> Compute kinetic enregy</h4>
|
<h4 id="org64887aa"><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="org948e410" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org837c62b" 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-orgad21262" class="outline-4">
|
<div id="outline-container-org780aea2" class="outline-4">
|
||||||
<h4 id="orgad21262"><span class="section-number-4">2.1.4</span> Test</h4>
|
<h4 id="org780aea2"><span class="section-number-4">2.1.4</span> Test</h4>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-orgcb15b10" class="outline-3">
|
<div id="outline-container-orgb908bd9" class="outline-3">
|
||||||
<h3 id="orgcb15b10"><span class="section-number-3">2.2</span> Potential energy</h3>
|
<h3 id="orgb908bd9"><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-orgfe4c7f9" class="outline-4">
|
<div id="outline-container-org2a5682e" class="outline-4">
|
||||||
<h4 id="orgfe4c7f9"><span class="section-number-4">2.2.1</span> Get</h4>
|
<h4 id="org2a5682e"><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-org05d4953" class="outline-4">
|
<div id="outline-container-orgbfc5811" class="outline-4">
|
||||||
<h4 id="org05d4953"><span class="section-number-4">2.2.2</span> Provide</h4>
|
<h4 id="orgbfc5811"><span class="section-number-4">2.2.2</span> Provide</h4>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org14af088" class="outline-4">
|
<div id="outline-container-orgf916218" class="outline-4">
|
||||||
<h4 id="org14af088"><span class="section-number-4">2.2.3</span> Compute potential enregy</h4>
|
<h4 id="orgf916218"><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="org560f8b0" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org01a57b8" 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-org9e9fb7e" class="outline-4">
|
<div id="outline-container-orga1e369e" class="outline-4">
|
||||||
<h4 id="org9e9fb7e"><span class="section-number-4">2.2.4</span> Test</h4>
|
<h4 id="orga1e369e"><span class="section-number-4">2.2.4</span> Test</h4>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-orgb806b09" class="outline-3">
|
<div id="outline-container-orgb59f7c1" class="outline-3">
|
||||||
<h3 id="orgb806b09"><span class="section-number-3">2.3</span> Local energy</h3>
|
<h3 id="orgb59f7c1"><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-org0e94603" class="outline-4">
|
<div id="outline-container-org1083a13" class="outline-4">
|
||||||
<h4 id="org0e94603"><span class="section-number-4">2.3.1</span> Get</h4>
|
<h4 id="org1083a13"><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-org57116c2" class="outline-4">
|
<div id="outline-container-org9b3860f" class="outline-4">
|
||||||
<h4 id="org57116c2"><span class="section-number-4">2.3.2</span> Provide</h4>
|
<h4 id="org9b3860f"><span class="section-number-4">2.3.2</span> Provide</h4>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgcfac279" class="outline-4">
|
<div id="outline-container-orgd5ea625" class="outline-4">
|
||||||
<h4 id="orgcfac279"><span class="section-number-4">2.3.3</span> Compute local enregy</h4>
|
<h4 id="orgd5ea625"><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="orga1ba1cd" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org52655de" 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-orgdc69a74" class="outline-4">
|
<div id="outline-container-org12d04b0" class="outline-4">
|
||||||
<h4 id="orgdc69a74"><span class="section-number-4">2.3.4</span> Test</h4>
|
<h4 id="org12d04b0"><span class="section-number-4">2.3.4</span> Test</h4>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-org5774b24" class="outline-3">
|
<div id="outline-container-org87fcd75" class="outline-3">
|
||||||
<h3 id="org5774b24"><span class="section-number-3">2.4</span> Drift vector</h3>
|
<h3 id="org87fcd75"><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-org8fd2afa" class="outline-4">
|
<div id="outline-container-org0c6b33d" class="outline-4">
|
||||||
<h4 id="org8fd2afa"><span class="section-number-4">2.4.1</span> Get</h4>
|
<h4 id="org0c6b33d"><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-org404850a" class="outline-4">
|
<div id="outline-container-org1fd8f61" class="outline-4">
|
||||||
<h4 id="org404850a"><span class="section-number-4">2.4.2</span> Provide</h4>
|
<h4 id="org1fd8f61"><span class="section-number-4">2.4.2</span> Provide</h4>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orga18fbe9" class="outline-4">
|
<div id="outline-container-orgec070f8" class="outline-4">
|
||||||
<h4 id="orga18fbe9"><span class="section-number-4">2.4.3</span> Compute drift vector</h4>
|
<h4 id="orgec070f8"><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="orgf865cdf" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org7387a99" 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-orgd1b9503" class="outline-4">
|
<div id="outline-container-org5714cba" class="outline-4">
|
||||||
<h4 id="orgd1b9503"><span class="section-number-4">2.4.4</span> Test</h4>
|
<h4 id="org5714cba"><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: 2023-09-26 Tue 14:26</p>
|
<p class="date">Created: 2023-09-26 Tue 15:44</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>
|
||||||
<!-- 2023-09-26 Tue 14:26 -->
|
<!-- 2023-09-26 Tue 15:44 -->
|
||||||
<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="#orgc787cdb">1. Memory data structure for the context</a></li>
|
<li><a href="#orgb4e8b33">1. Memory data structure for the context</a></li>
|
||||||
<li><a href="#org66e4bc4">2. Passing info to allocation routines</a></li>
|
<li><a href="#org289bb16">2. Passing info to allocation routines</a></li>
|
||||||
<li><a href="#org3108469">3. Allocation/deallocation functions</a></li>
|
<li><a href="#orgbae44b0">3. Allocation/deallocation functions</a></li>
|
||||||
<li><a href="#orgc2c2be0">4. Get the size of a memory block</a></li>
|
<li><a href="#orgeabf9bb">4. Get the size of a memory block</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgc787cdb" class="outline-2">
|
<div id="outline-container-orgb4e8b33" class="outline-2">
|
||||||
<h2 id="orgc787cdb"><span class="section-number-2">1</span> Memory data structure for the context</h2>
|
<h2 id="orgb4e8b33"><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-org66e4bc4" class="outline-2">
|
<div id="outline-container-org289bb16" class="outline-2">
|
||||||
<h2 id="org66e4bc4"><span class="section-number-2">2</span> Passing info to allocation routines</h2>
|
<h2 id="org289bb16"><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-org3108469" class="outline-2">
|
<div id="outline-container-orgbae44b0" class="outline-2">
|
||||||
<h2 id="org3108469"><span class="section-number-2">3</span> Allocation/deallocation functions</h2>
|
<h2 id="orgbae44b0"><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-orgc2c2be0" class="outline-2">
|
<div id="outline-container-orgeabf9bb" class="outline-2">
|
||||||
<h2 id="orgc2c2be0"><span class="section-number-2">4</span> Get the size of a memory block</h2>
|
<h2 id="orgeabf9bb"><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: 2023-09-26 Tue 14:26</p>
|
<p class="date">Created: 2023-09-26 Tue 15:44</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>
|
||||||
|
186
qmckl_mo.html
186
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>
|
||||||
<!-- 2023-09-26 Tue 14:26 -->
|
<!-- 2023-09-26 Tue 15:44 -->
|
||||||
<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,68 +346,68 @@ 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="#org254a2ae">1. Context</a>
|
<li><a href="#orgd55e6f8">1. Context</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org3ba1176">1.1. Data structure</a></li>
|
<li><a href="#org8ca5079">1.1. Data structure</a></li>
|
||||||
<li><a href="#org7a081d9">1.2. Initialization functions</a></li>
|
<li><a href="#orgd80f71a">1.2. Initialization functions</a></li>
|
||||||
<li><a href="#org0988504">1.3. Cusp adjsutment functions</a></li>
|
<li><a href="#org1c0f391">1.3. Cusp adjsutment functions</a></li>
|
||||||
<li><a href="#orgaa72dda">1.4. Access functions</a>
|
<li><a href="#org1e691eb">1.4. Access functions</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org6356bb5">1.4.1. Fortran interfaces</a></li>
|
<li><a href="#org2b0fcd0">1.4.1. Fortran interfaces</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org7a14b98">1.5. Update</a>
|
<li><a href="#org6ed1ec1">1.5. Update</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org24c1063">1.5.1. Fortran interface</a></li>
|
<li><a href="#org79aca68">1.5.1. Fortran interface</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#orgbda2c0e">2. Computation</a>
|
<li><a href="#orgb67ada3">2. Computation</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgc02a44a">2.1. Parameters of the cusp-correction functions</a></li>
|
<li><a href="#org8308c34">2.1. Parameters of the cusp-correction functions</a></li>
|
||||||
<li><a href="#org2b74286">2.2. Computation of MOs: values only</a>
|
<li><a href="#org79af642">2.2. Computation of MOs: values only</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org49582d6">2.2.1. Get</a></li>
|
<li><a href="#org7897382">2.2.1. Get</a></li>
|
||||||
<li><a href="#orgff5c03e">2.2.2. Provide</a></li>
|
<li><a href="#orge8cab05">2.2.2. Provide</a></li>
|
||||||
<li><a href="#orgfc4274b">2.2.3. Compute</a></li>
|
<li><a href="#org269882f">2.2.3. Compute</a></li>
|
||||||
<li><a href="#org1adde13">2.2.4. HPC version</a></li>
|
<li><a href="#org0973d06">2.2.4. HPC version</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org64b8aa9">2.3. Computation of MOs: values, gradient, Laplacian</a>
|
<li><a href="#org12b8f94">2.3. Computation of MOs: values, gradient, Laplacian</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org0ec13d2">2.3.1. Get</a></li>
|
<li><a href="#org2458934">2.3.1. Get</a></li>
|
||||||
<li><a href="#org54488b5">2.3.2. Provide</a></li>
|
<li><a href="#org59847e7">2.3.2. Provide</a></li>
|
||||||
<li><a href="#org4df825e">2.3.3. Compute</a></li>
|
<li><a href="#org2459536">2.3.3. Compute</a></li>
|
||||||
<li><a href="#orgbdeb07a">2.3.4. HPC version</a></li>
|
<li><a href="#orge884a4f">2.3.4. HPC version</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#orga46aa0c">2.4. Computation of cusp-corrected MOs: values only</a>
|
<li><a href="#org503e6c0">2.4. Computation of cusp-corrected MOs: values only</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org4f6abb6">2.4.1. Compute</a></li>
|
<li><a href="#orgc2bfea7">2.4.1. Compute</a></li>
|
||||||
<li><a href="#orgb7cf0b4">2.4.2. HPC version</a></li>
|
<li><a href="#orgfafb888">2.4.2. HPC version</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org6d7481a">2.5. Computation of cusp-corrected MOs: values, gradient, Laplacian</a>
|
<li><a href="#org27d4ce7">2.5. Computation of cusp-corrected MOs: values, gradient, Laplacian</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org1920f0b">2.5.1. Compute</a></li>
|
<li><a href="#org38f8563">2.5.1. Compute</a></li>
|
||||||
<li><a href="#org68bc06e">2.5.2. HPC version</a></li>
|
<li><a href="#orgc32dae9">2.5.2. HPC version</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#orga72a4a0">2.6. Rescaling of MO coefficients</a>
|
<li><a href="#org6e77f4c">2.6. Rescaling of MO coefficients</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org5f283a7">2.6.1. Fortran interface</a></li>
|
<li><a href="#orgc6d0883">2.6.1. Fortran interface</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org0a14eb7">2.7. Test</a></li>
|
<li><a href="#org268c91a">2.7. Test</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org254a2ae" class="outline-2">
|
<div id="outline-container-orgd55e6f8" class="outline-2">
|
||||||
<h2 id="org254a2ae"><span class="section-number-2">1</span> Context</h2>
|
<h2 id="orgd55e6f8"><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:
|
||||||
@ -486,8 +486,8 @@ Computed data:
|
|||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org3ba1176" class="outline-3">
|
<div id="outline-container-org8ca5079" class="outline-3">
|
||||||
<h3 id="org3ba1176"><span class="section-number-3">1.1</span> Data structure</h3>
|
<h3 id="org8ca5079"><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> {
|
||||||
@ -544,8 +544,8 @@ this mechanism.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org7a081d9" class="outline-3">
|
<div id="outline-container-orgd80f71a" class="outline-3">
|
||||||
<h3 id="org7a081d9"><span class="section-number-3">1.2</span> Initialization functions</h3>
|
<h3 id="orgd80f71a"><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
|
||||||
@ -566,8 +566,8 @@ computed to accelerate the calculations.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org0988504" class="outline-3">
|
<div id="outline-container-org1c0f391" class="outline-3">
|
||||||
<h3 id="org0988504"><span class="section-number-3">1.3</span> Cusp adjsutment functions</h3>
|
<h3 id="org1c0f391"><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
|
||||||
@ -582,8 +582,8 @@ of the non-\(s\) AOs at the center.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgaa72dda" class="outline-3">
|
<div id="outline-container-org1e691eb" class="outline-3">
|
||||||
<h3 id="orgaa72dda"><span class="section-number-3">1.4</span> Access functions</h3>
|
<h3 id="org1e691eb"><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
|
||||||
@ -596,13 +596,13 @@ function returns <code>true</code>.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org6356bb5" class="outline-4">
|
<div id="outline-container-org2b0fcd0" class="outline-4">
|
||||||
<h4 id="org6356bb5"><span class="section-number-4">1.4.1</span> Fortran interfaces</h4>
|
<h4 id="org2b0fcd0"><span class="section-number-4">1.4.1</span> Fortran interfaces</h4>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org7a14b98" class="outline-3">
|
<div id="outline-container-org6ed1ec1" class="outline-3">
|
||||||
<h3 id="org7a14b98"><span class="section-number-3">1.5</span> Update</h3>
|
<h3 id="org6ed1ec1"><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
|
||||||
@ -629,25 +629,25 @@ calculation. If the integer is non-zero, the MO will be kept.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org24c1063" class="outline-4">
|
<div id="outline-container-org79aca68" class="outline-4">
|
||||||
<h4 id="org24c1063"><span class="section-number-4">1.5.1</span> Fortran interface</h4>
|
<h4 id="org79aca68"><span class="section-number-4">1.5.1</span> Fortran interface</h4>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgbda2c0e" class="outline-2">
|
<div id="outline-container-orgb67ada3" class="outline-2">
|
||||||
<h2 id="orgbda2c0e"><span class="section-number-2">2</span> Computation</h2>
|
<h2 id="orgb67ada3"><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-orgc02a44a" class="outline-3">
|
<div id="outline-container-org8308c34" class="outline-3">
|
||||||
<h3 id="orgc02a44a"><span class="section-number-3">2.1</span> Parameters of the cusp-correction functions</h3>
|
<h3 id="org8308c34"><span class="section-number-3">2.1</span> Parameters of the cusp-correction functions</h3>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-org2b74286" class="outline-3">
|
<div id="outline-container-org79af642" class="outline-3">
|
||||||
<h3 id="org2b74286"><span class="section-number-3">2.2</span> Computation of MOs: values only</h3>
|
<h3 id="org79af642"><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-org49582d6" class="outline-4">
|
<div id="outline-container-org7897382" class="outline-4">
|
||||||
<h4 id="org49582d6"><span class="section-number-4">2.2.1</span> Get</h4>
|
<h4 id="org7897382"><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>
|
||||||
@ -671,8 +671,8 @@ Uses the given array to compute the values.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgff5c03e" class="outline-4">
|
<div id="outline-container-orge8cab05" class="outline-4">
|
||||||
<h4 id="orgff5c03e"><span class="section-number-4">2.2.2</span> Provide</h4>
|
<h4 id="orge8cab05"><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>);
|
||||||
@ -757,10 +757,10 @@ Uses the given array to compute the values.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgfc4274b" class="outline-4">
|
<div id="outline-container-org269882f" class="outline-4">
|
||||||
<h4 id="orgfc4274b"><span class="section-number-4">2.2.3</span> Compute</h4>
|
<h4 id="org269882f"><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="org3301753" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org3ed3620" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -915,8 +915,8 @@ matrix multiplication instead of a dgemm, as exposed in
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org1adde13" class="outline-4">
|
<div id="outline-container-org0973d06" class="outline-4">
|
||||||
<h4 id="org1adde13"><span class="section-number-4">2.2.4</span> HPC version</h4>
|
<h4 id="org0973d06"><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
|
||||||
@ -1009,12 +1009,12 @@ matrix multiplication instead of a dgemm, as exposed in
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org64b8aa9" class="outline-3">
|
<div id="outline-container-org12b8f94" class="outline-3">
|
||||||
<h3 id="org64b8aa9"><span class="section-number-3">2.3</span> Computation of MOs: values, gradient, Laplacian</h3>
|
<h3 id="org12b8f94"><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-org0ec13d2" class="outline-4">
|
<div id="outline-container-org2458934" class="outline-4">
|
||||||
<h4 id="org0ec13d2"><span class="section-number-4">2.3.1</span> Get</h4>
|
<h4 id="org2458934"><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>
|
||||||
@ -1038,8 +1038,8 @@ Uses the given array to compute the VGL.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org54488b5" class="outline-4">
|
<div id="outline-container-org59847e7" class="outline-4">
|
||||||
<h4 id="org54488b5"><span class="section-number-4">2.3.2</span> Provide</h4>
|
<h4 id="org59847e7"><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>);
|
||||||
@ -1123,10 +1123,10 @@ Uses the given array to compute the VGL.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org4df825e" class="outline-4">
|
<div id="outline-container-org2459536" class="outline-4">
|
||||||
<h4 id="org4df825e"><span class="section-number-4">2.3.3</span> Compute</h4>
|
<h4 id="org2459536"><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="org2689074" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org4dcb89b" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -1299,8 +1299,8 @@ matrix multiplication instead of a dgemm, as exposed in
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgbdeb07a" class="outline-4">
|
<div id="outline-container-orge884a4f" class="outline-4">
|
||||||
<h4 id="orgbdeb07a"><span class="section-number-4">2.3.4</span> HPC version</h4>
|
<h4 id="orge884a4f"><span class="section-number-4">2.3.4</span> HPC version</h4>
|
||||||
<div class="outline-text-4" id="text-2-3-4">
|
<div class="outline-text-4" id="text-2-3-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
|
||||||
@ -1446,14 +1446,14 @@ matrix multiplication instead of a dgemm, as exposed in
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orga46aa0c" class="outline-3">
|
<div id="outline-container-org503e6c0" class="outline-3">
|
||||||
<h3 id="orga46aa0c"><span class="section-number-3">2.4</span> Computation of cusp-corrected MOs: values only</h3>
|
<h3 id="org503e6c0"><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-org4f6abb6" class="outline-4">
|
<div id="outline-container-orgc2bfea7" class="outline-4">
|
||||||
<h4 id="org4f6abb6"><span class="section-number-4">2.4.1</span> Compute</h4>
|
<h4 id="orgc2bfea7"><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="org097867b" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org277222f" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -1692,8 +1692,8 @@ matrix multiplication instead of a dgemm, as exposed in
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgb7cf0b4" class="outline-4">
|
<div id="outline-container-orgfafb888" class="outline-4">
|
||||||
<h4 id="orgb7cf0b4"><span class="section-number-4">2.4.2</span> HPC version</h4>
|
<h4 id="orgfafb888"><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
|
||||||
@ -1818,14 +1818,14 @@ matrix multiplication instead of a dgemm, as exposed in
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org6d7481a" class="outline-3">
|
<div id="outline-container-org27d4ce7" class="outline-3">
|
||||||
<h3 id="org6d7481a"><span class="section-number-3">2.5</span> Computation of cusp-corrected MOs: values, gradient, Laplacian</h3>
|
<h3 id="org27d4ce7"><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-org1920f0b" class="outline-4">
|
<div id="outline-container-org38f8563" class="outline-4">
|
||||||
<h4 id="org1920f0b"><span class="section-number-4">2.5.1</span> Compute</h4>
|
<h4 id="org38f8563"><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="org8c81286" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org44eea5f" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -2121,8 +2121,8 @@ matrix multiplication instead of a dgemm, as exposed in
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org68bc06e" class="outline-4">
|
<div id="outline-container-orgc32dae9" class="outline-4">
|
||||||
<h4 id="org68bc06e"><span class="section-number-4">2.5.2</span> HPC version</h4>
|
<h4 id="orgc32dae9"><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
|
||||||
@ -2323,8 +2323,8 @@ matrix multiplication instead of a dgemm, as exposed in
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orga72a4a0" class="outline-3">
|
<div id="outline-container-org6e77f4c" class="outline-3">
|
||||||
<h3 id="orga72a4a0"><span class="section-number-3">2.6</span> Rescaling of MO coefficients</h3>
|
<h3 id="org6e77f4c"><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
|
||||||
@ -2341,19 +2341,19 @@ correct range.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org5f283a7" class="outline-4">
|
<div id="outline-container-orgc6d0883" class="outline-4">
|
||||||
<h4 id="org5f283a7"><span class="section-number-4">2.6.1</span> Fortran interface</h4>
|
<h4 id="orgc6d0883"><span class="section-number-4">2.6.1</span> Fortran interface</h4>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org0a14eb7" class="outline-3">
|
<div id="outline-container-org268c91a" class="outline-3">
|
||||||
<h3 id="org0a14eb7"><span class="section-number-3">2.7</span> Test</h3>
|
<h3 id="org268c91a"><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: 2023-09-26 Tue 14:26</p>
|
<p class="date">Created: 2023-09-26 Tue 15:44</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>
|
||||||
<!-- 2023-09-26 Tue 14:26 -->
|
<!-- 2023-09-26 Tue 15:44 -->
|
||||||
<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="#orgcc13f05">1. Context</a>
|
<li><a href="#org6e441dc">1. Context</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org1fb9350">1.1. Data structure</a></li>
|
<li><a href="#org5b9750f">1.1. Data structure</a></li>
|
||||||
<li><a href="#org851ab98">1.2. Access functions</a></li>
|
<li><a href="#org24bdc72">1.2. Access functions</a></li>
|
||||||
<li><a href="#orgb618bfc">1.3. Initialization functions</a></li>
|
<li><a href="#org0eb7229">1.3. Initialization functions</a></li>
|
||||||
<li><a href="#orge3d0b36">1.4. Test</a></li>
|
<li><a href="#orgf1a306b">1.4. Test</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org607fc5c">2. Computation</a>
|
<li><a href="#org3bec3dc">2. Computation</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org8179cdb">2.1. Nucleus-nucleus distances</a>
|
<li><a href="#org2de5bd8">2.1. Nucleus-nucleus distances</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org6899e06">2.1.1. Get</a></li>
|
<li><a href="#org1cbb1fe">2.1.1. Get</a></li>
|
||||||
<li><a href="#org13a8da0">2.1.2. Compute</a></li>
|
<li><a href="#orge7c32b3">2.1.2. Compute</a></li>
|
||||||
<li><a href="#org3963105">2.1.3. Test</a></li>
|
<li><a href="#orga47a7bb">2.1.3. Test</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#orgfe0aba2">2.2. Nuclear repulsion energy</a>
|
<li><a href="#orgc63cec4">2.2. Nuclear repulsion energy</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org23dfd4d">2.2.1. Get</a></li>
|
<li><a href="#org8b5a6bb">2.2.1. Get</a></li>
|
||||||
<li><a href="#orgdb11c36">2.2.2. Compute</a></li>
|
<li><a href="#orgb9ae90c">2.2.2. Compute</a></li>
|
||||||
<li><a href="#org2c62807">2.2.3. Test</a></li>
|
<li><a href="#orga4b9e5a">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-orgcc13f05" class="outline-2">
|
<div id="outline-container-org6e441dc" class="outline-2">
|
||||||
<h2 id="orgcc13f05"><span class="section-number-2">1</span> Context</h2>
|
<h2 id="org6e441dc"><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-org1fb9350" class="outline-3">
|
<div id="outline-container-org5b9750f" class="outline-3">
|
||||||
<h3 id="org1fb9350"><span class="section-number-3">1.1</span> Data structure</h3>
|
<h3 id="org5b9750f"><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-org851ab98" class="outline-3">
|
<div id="outline-container-org24bdc72" class="outline-3">
|
||||||
<h3 id="org851ab98"><span class="section-number-3">1.2</span> Access functions</h3>
|
<h3 id="org24bdc72"><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-orgb618bfc" class="outline-3">
|
<div id="outline-container-org0eb7229" class="outline-3">
|
||||||
<h3 id="orgb618bfc"><span class="section-number-3">1.3</span> Initialization functions</h3>
|
<h3 id="org0eb7229"><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-orge3d0b36" class="outline-3">
|
<div id="outline-container-orgf1a306b" class="outline-3">
|
||||||
<h3 id="orge3d0b36"><span class="section-number-3">1.4</span> Test</h3>
|
<h3 id="orgf1a306b"><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-org607fc5c" class="outline-2">
|
<div id="outline-container-org3bec3dc" class="outline-2">
|
||||||
<h2 id="org607fc5c"><span class="section-number-2">2</span> Computation</h2>
|
<h2 id="org3bec3dc"><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-org8179cdb" class="outline-3">
|
<div id="outline-container-org2de5bd8" class="outline-3">
|
||||||
<h3 id="org8179cdb"><span class="section-number-3">2.1</span> Nucleus-nucleus distances</h3>
|
<h3 id="org2de5bd8"><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-org6899e06" class="outline-4">
|
<div id="outline-container-org1cbb1fe" class="outline-4">
|
||||||
<h4 id="org6899e06"><span class="section-number-4">2.1.1</span> Get</h4>
|
<h4 id="org1cbb1fe"><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-org13a8da0" class="outline-4">
|
<div id="outline-container-orge7c32b3" class="outline-4">
|
||||||
<h4 id="org13a8da0"><span class="section-number-4">2.1.2</span> Compute</h4>
|
<h4 id="orge7c32b3"><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="orgee681d1" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="orgb42f027" 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-org3963105" class="outline-4">
|
<div id="outline-container-orga47a7bb" class="outline-4">
|
||||||
<h4 id="org3963105"><span class="section-number-4">2.1.3</span> Test</h4>
|
<h4 id="orga47a7bb"><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-orgfe0aba2" class="outline-3">
|
<div id="outline-container-orgc63cec4" class="outline-3">
|
||||||
<h3 id="orgfe0aba2"><span class="section-number-3">2.2</span> Nuclear repulsion energy</h3>
|
<h3 id="orgc63cec4"><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-org23dfd4d" class="outline-4">
|
<div id="outline-container-org8b5a6bb" class="outline-4">
|
||||||
<h4 id="org23dfd4d"><span class="section-number-4">2.2.1</span> Get</h4>
|
<h4 id="org8b5a6bb"><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-orgdb11c36" class="outline-4">
|
<div id="outline-container-orgb9ae90c" class="outline-4">
|
||||||
<h4 id="orgdb11c36"><span class="section-number-4">2.2.2</span> Compute</h4>
|
<h4 id="orgb9ae90c"><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="orge56d7cc" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org54bd2e5" 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-org2c62807" class="outline-4">
|
<div id="outline-container-orga4b9e5a" class="outline-4">
|
||||||
<h4 id="org2c62807"><span class="section-number-4">2.2.3</span> Test</h4>
|
<h4 id="orga4b9e5a"><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: 2023-09-26 Tue 14:26</p>
|
<p class="date">Created: 2023-09-26 Tue 15:44</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>
|
||||||
<!-- 2023-09-26 Tue 14:26 -->
|
<!-- 2023-09-26 Tue 15:44 -->
|
||||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<title>Numerical precision</title>
|
<title>Numerical precision</title>
|
||||||
@ -346,16 +346,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="#org97ca76a">1. Control of the numerical precision</a></li>
|
<li><a href="#org45682c5">1. Control of the numerical precision</a></li>
|
||||||
<li><a href="#org7aded9c">2. Precision</a></li>
|
<li><a href="#orgce4b6c9">2. Precision</a></li>
|
||||||
<li><a href="#org98a338d">3. Range</a></li>
|
<li><a href="#org6e2d962">3. Range</a></li>
|
||||||
<li><a href="#org45c1682">4. Helper functions</a></li>
|
<li><a href="#orgcfcf99f">4. Helper functions</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org97ca76a" class="outline-2">
|
<div id="outline-container-org45682c5" class="outline-2">
|
||||||
<h2 id="org97ca76a"><span class="section-number-2">1</span> Control of the numerical precision</h2>
|
<h2 id="org45682c5"><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
|
||||||
@ -366,7 +366,7 @@ Arithmetic (IEEE 754),
|
|||||||
refers to the number of exponent bits.
|
refers to the number of exponent bits.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<table id="org40e4ee7" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org6dda3c6" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -410,8 +410,8 @@ integer. The update functions return <code>QMCKL_SUCCESS</code> or
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org7aded9c" class="outline-2">
|
<div id="outline-container-orgce4b6c9" class="outline-2">
|
||||||
<h2 id="org7aded9c"><span class="section-number-2">2</span> Precision</h2>
|
<h2 id="orgce4b6c9"><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
|
||||||
@ -498,8 +498,8 @@ numerical precision in the context.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org98a338d" class="outline-2">
|
<div id="outline-container-org6e2d962" class="outline-2">
|
||||||
<h2 id="org98a338d"><span class="section-number-2">3</span> Range</h2>
|
<h2 id="org6e2d962"><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
|
||||||
@ -574,8 +574,8 @@ range in a given context.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-org45c1682" class="outline-2">
|
<div id="outline-container-orgcfcf99f" class="outline-2">
|
||||||
<h2 id="org45c1682"><span class="section-number-2">4</span> Helper functions</h2>
|
<h2 id="orgcfcf99f"><span class="section-number-2">4</span> Helper functions</h2>
|
||||||
<div class="outline-text-2" id="text-4">
|
<div class="outline-text-2" id="text-4">
|
||||||
<p>
|
<p>
|
||||||
<code>qmckl_get_numprec_epsilon</code> returns \(\epsilon = 2^{1-n}\) where <code>n</code> is the precision.
|
<code>qmckl_get_numprec_epsilon</code> returns \(\epsilon = 2^{1-n}\) where <code>n</code> is the precision.
|
||||||
@ -594,7 +594,7 @@ We need to remove the sign bit from the precision.
|
|||||||
</div>
|
</div>
|
||||||
<div id="postamble" class="status">
|
<div id="postamble" class="status">
|
||||||
<p class="author">Author: TREX CoE</p>
|
<p class="author">Author: TREX CoE</p>
|
||||||
<p class="date">Created: 2023-09-26 Tue 14:26</p>
|
<p class="date">Created: 2023-09-26 Tue 15:44</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>
|
||||||
<!-- 2023-09-26 Tue 14:26 -->
|
<!-- 2023-09-26 Tue 15:44 -->
|
||||||
<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="#orgcaad361">1. Context</a>
|
<li><a href="#orge6d3e73">1. Context</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org3422fd7">1.1. Data structure</a></li>
|
<li><a href="#orga5cdbd1">1.1. Data structure</a></li>
|
||||||
<li><a href="#orgf043e39">1.2. Access functions</a>
|
<li><a href="#orga3065e3">1.2. Access functions</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org3b94620">1.2.1. Number of points</a></li>
|
<li><a href="#org0d32294">1.2.1. Number of points</a></li>
|
||||||
<li><a href="#org6f0f206">1.2.2. Point coordinates</a></li>
|
<li><a href="#org068aeb5">1.2.2. Point coordinates</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#orgacd2c30">1.3. Initialization functions</a></li>
|
<li><a href="#orgb64fc00">1.3. Initialization functions</a></li>
|
||||||
<li><a href="#orgaece11b">1.4. Test</a></li>
|
<li><a href="#org1790499">1.4. Test</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgcaad361" class="outline-2">
|
<div id="outline-container-orge6d3e73" class="outline-2">
|
||||||
<h2 id="orgcaad361"><span class="section-number-2">1</span> Context</h2>
|
<h2 id="orge6d3e73"><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-org3422fd7" class="outline-3">
|
<div id="outline-container-orga5cdbd1" class="outline-3">
|
||||||
<h3 id="org3422fd7"><span class="section-number-3">1.1</span> Data structure</h3>
|
<h3 id="orga5cdbd1"><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-orgf043e39" class="outline-3">
|
<div id="outline-container-orga3065e3" class="outline-3">
|
||||||
<h3 id="orgf043e39"><span class="section-number-3">1.2</span> Access functions</h3>
|
<h3 id="orga3065e3"><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-org3b94620" class="outline-4">
|
<div id="outline-container-org0d32294" class="outline-4">
|
||||||
<h4 id="org3b94620"><span class="section-number-4">1.2.1</span> Number of points</h4>
|
<h4 id="org0d32294"><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-org6f0f206" class="outline-4">
|
<div id="outline-container-org068aeb5" class="outline-4">
|
||||||
<h4 id="org6f0f206"><span class="section-number-4">1.2.2</span> Point coordinates</h4>
|
<h4 id="org068aeb5"><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-orgacd2c30" class="outline-3">
|
<div id="outline-container-orgb64fc00" class="outline-3">
|
||||||
<h3 id="orgacd2c30"><span class="section-number-3">1.3</span> Initialization functions</h3>
|
<h3 id="orgb64fc00"><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-orgaece11b" class="outline-3">
|
<div id="outline-container-org1790499" class="outline-3">
|
||||||
<h3 id="orgaece11b"><span class="section-number-3">1.4</span> Test</h3>
|
<h3 id="org1790499"><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: 2023-09-26 Tue 14:26</p>
|
<p class="date">Created: 2023-09-26 Tue 15:44</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>
|
||||||
<!-- 2023-09-26 Tue 14:27 -->
|
<!-- 2023-09-26 Tue 15:44 -->
|
||||||
<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="#org4168d13">1. Headers</a></li>
|
<li><a href="#orge6a3610">1. Headers</a></li>
|
||||||
<li><a href="#orgcaf770c">2. Naïve Sherman-Morrison</a>
|
<li><a href="#orga07db2a">2. Naïve Sherman-Morrison</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org5f362b4">2.1. <code>qmckl_sm_naive</code></a>
|
<li><a href="#org4644d9b">2.1. <code>qmckl_sm_naive</code></a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org8193322">2.1.1. Introduction</a></li>
|
<li><a href="#org00e1777">2.1.1. Introduction</a></li>
|
||||||
<li><a href="#orga140f08">2.1.2. API</a></li>
|
<li><a href="#orgc7f5049">2.1.2. API</a></li>
|
||||||
<li><a href="#orgcf46320">2.1.3. Requirements</a></li>
|
<li><a href="#org5f007ff">2.1.3. Requirements</a></li>
|
||||||
<li><a href="#orgb0fa9bb">2.1.4. Pedagogical kernel source (in Fortran)</a>
|
<li><a href="#orgf929acb">2.1.4. Pedagogical kernel source (in Fortran)</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org46c8492">2.1.4.1. C interface (not directly exposed)</a></li>
|
<li><a href="#org517f2bc">2.1.4.1. C interface (not directly exposed)</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org1839e19">2.1.5. C headers (exposed in qmckl.h)</a></li>
|
<li><a href="#org43f8fa2">2.1.5. C headers (exposed in qmckl.h)</a></li>
|
||||||
<li><a href="#org38af1aa">2.1.6. C sources</a></li>
|
<li><a href="#org8a3c97c">2.1.6. C sources</a></li>
|
||||||
<li><a href="#orgb23453c">2.1.7. Fortran interfaces (exposed in qmckl<sub>f.F90</sub>)</a></li>
|
<li><a href="#org0db14ca">2.1.7. Fortran interfaces (exposed in qmckl<sub>f.F90</sub>)</a></li>
|
||||||
<li><a href="#orgf5b8456">2.1.8. Performance</a></li>
|
<li><a href="#org15c51a7">2.1.8. Performance</a></li>
|
||||||
<li><a href="#org6d751f0">2.1.9. Tests</a></li>
|
<li><a href="#org5105b7c">2.1.9. Tests</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#orgab302c5">3. Sherman-Morrison with Slagel Splitting (core)</a>
|
<li><a href="#orgb138209">3. Sherman-Morrison with Slagel Splitting (core)</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org7b77681">3.1. <code>qmckl_sm_splitting_core</code></a>
|
<li><a href="#orgc910225">3.1. <code>qmckl_sm_splitting_core</code></a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orga4e5485">3.1.1. Introduction</a></li>
|
<li><a href="#org33e4637">3.1.1. Introduction</a></li>
|
||||||
<li><a href="#org1ac526e">3.1.2. API</a></li>
|
<li><a href="#orgd5fc27a">3.1.2. API</a></li>
|
||||||
<li><a href="#orgfe3f5ff">3.1.3. Requirements</a></li>
|
<li><a href="#org258bb2b">3.1.3. Requirements</a></li>
|
||||||
<li><a href="#org136cd0c">3.1.4. Pedagogical kernel source (in Fortran)</a>
|
<li><a href="#orgc3937b2">3.1.4. Pedagogical kernel source (in Fortran)</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org8b21429">3.1.4.1. C interface to the pedagogical kernel (not directly exposed)</a></li>
|
<li><a href="#org952b60b">3.1.4.1. C interface to the pedagogical kernel (not directly exposed)</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org3555638">3.1.5. C headers (exposed in qmckl.h)</a></li>
|
<li><a href="#org3b5a8d3">3.1.5. C headers (exposed in qmckl.h)</a></li>
|
||||||
<li><a href="#orgea81148">3.1.6. C sources</a></li>
|
<li><a href="#orge1c4b22">3.1.6. C sources</a></li>
|
||||||
<li><a href="#orgeb0342c">3.1.7. Fortran interfaces (exposed in qmckl<sub>f.F90</sub>)</a></li>
|
<li><a href="#orgfc83e61">3.1.7. Fortran interfaces (exposed in qmckl<sub>f.F90</sub>)</a></li>
|
||||||
<li><a href="#orgf710b66">3.1.8. Performance</a></li>
|
<li><a href="#org99d89e8">3.1.8. Performance</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org2de51ee">4. Woodbury 2x2</a>
|
<li><a href="#org438e01a">4. Woodbury 2x2</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org978658f">4.1. <code>qmckl_woodbury_2x2</code></a>
|
<li><a href="#orgaacff34">4.1. <code>qmckl_woodbury_2x2</code></a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgb5ed51b">4.1.1. Introduction</a></li>
|
<li><a href="#org7ea3144">4.1.1. Introduction</a></li>
|
||||||
<li><a href="#orgd7fa45a">4.1.2. API</a></li>
|
<li><a href="#org143ce28">4.1.2. API</a></li>
|
||||||
<li><a href="#org76cc95b">4.1.3. Requirements</a></li>
|
<li><a href="#orged61876">4.1.3. Requirements</a></li>
|
||||||
<li><a href="#org507f667">4.1.4. Pedagogical kernel source (in Fortran)</a>
|
<li><a href="#org262a35b">4.1.4. Pedagogical kernel source (in Fortran)</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org10a23e7">4.1.4.1. C interface (not directly exposed)</a></li>
|
<li><a href="#org567be8e">4.1.4.1. C interface (not directly exposed)</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org6cbd52c">4.1.5. C headers (exposed in qmckl.h)</a></li>
|
<li><a href="#orgce323ea">4.1.5. C headers (exposed in qmckl.h)</a></li>
|
||||||
<li><a href="#orgf5cc555">4.1.6. C sources</a></li>
|
<li><a href="#orgd72bbdd">4.1.6. C sources</a></li>
|
||||||
<li><a href="#org13602c5">4.1.7. Fortran interfaces (exposed in qmckl<sub>f.F90</sub>)</a></li>
|
<li><a href="#org7f1bfd7">4.1.7. Fortran interfaces (exposed in qmckl<sub>f.F90</sub>)</a></li>
|
||||||
<li><a href="#org5e84990">4.1.8. Performance</a></li>
|
<li><a href="#org959e515">4.1.8. Performance</a></li>
|
||||||
<li><a href="#org9c20b49">4.1.9. Tests</a></li>
|
<li><a href="#org80601ae">4.1.9. Tests</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org71eb9d5">5. Woodbury 3x3</a>
|
<li><a href="#org0beb623">5. Woodbury 3x3</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgb4d575e">5.1. <code>qmckl_woodbury_3x3</code></a>
|
<li><a href="#orga6844af">5.1. <code>qmckl_woodbury_3x3</code></a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgaf7102e">5.1.1. Introduction</a></li>
|
<li><a href="#org935c83b">5.1.1. Introduction</a></li>
|
||||||
<li><a href="#org8f7e732">5.1.2. API</a></li>
|
<li><a href="#orgf2b7a39">5.1.2. API</a></li>
|
||||||
<li><a href="#org2e4c88b">5.1.3. Requirements</a></li>
|
<li><a href="#org814ee17">5.1.3. Requirements</a></li>
|
||||||
<li><a href="#org7fa75f8">5.1.4. Pedagogical kernel source (in Fortran)</a>
|
<li><a href="#org0926b46">5.1.4. Pedagogical kernel source (in Fortran)</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgdb3c115">5.1.4.1. C interface (not directly exposed)</a></li>
|
<li><a href="#org948ad60">5.1.4.1. C interface (not directly exposed)</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org0c25ec9">5.1.5. C headers (exposed in qmckl.h)</a></li>
|
<li><a href="#org449f8dc">5.1.5. C headers (exposed in qmckl.h)</a></li>
|
||||||
<li><a href="#org401917a">5.1.6. C sources</a></li>
|
<li><a href="#org483d149">5.1.6. C sources</a></li>
|
||||||
<li><a href="#orga316f93">5.1.7. Fortran interfaces (exposed in qmckl<sub>f.F90</sub>)</a></li>
|
<li><a href="#org247982e">5.1.7. Fortran interfaces (exposed in qmckl<sub>f.F90</sub>)</a></li>
|
||||||
<li><a href="#orgc1ff1c2">5.1.8. Performance</a></li>
|
<li><a href="#orgc6d126f">5.1.8. Performance</a></li>
|
||||||
<li><a href="#org070aefe">5.1.9. Tests</a></li>
|
<li><a href="#org34a7dfe">5.1.9. Tests</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org6004ddf">6. Sherman-Morrison with Slagel Splitting</a>
|
<li><a href="#orge6ec0ea">6. Sherman-Morrison with Slagel Splitting</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org103f935">6.1. <code>qmckl_sm_splitting</code></a>
|
<li><a href="#org91a8b1e">6.1. <code>qmckl_sm_splitting</code></a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org084d8ca">6.1.1. Introduction</a></li>
|
<li><a href="#org6ff5077">6.1.1. Introduction</a></li>
|
||||||
<li><a href="#org60e58cd">6.1.2. API</a></li>
|
<li><a href="#org0d7501d">6.1.2. API</a></li>
|
||||||
<li><a href="#org9a044bc">6.1.3. Requirements</a></li>
|
<li><a href="#orga7fd7aa">6.1.3. Requirements</a></li>
|
||||||
<li><a href="#org17e1626">6.1.4. Pedagogical kernel source (in Fortran)</a>
|
<li><a href="#orgbc3c2ae">6.1.4. Pedagogical kernel source (in Fortran)</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orga01e396">6.1.4.1. C interface to the pedagogical kernel (not directly exposed)</a></li>
|
<li><a href="#org8c37e4d">6.1.4.1. C interface to the pedagogical kernel (not directly exposed)</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#orgb540c86">6.1.5. C headers (exposed in qmckl.h)</a></li>
|
<li><a href="#orgc7b8d0f">6.1.5. C headers (exposed in qmckl.h)</a></li>
|
||||||
<li><a href="#org38c4b1a">6.1.6. C source</a></li>
|
<li><a href="#org500ae3a">6.1.6. C source</a></li>
|
||||||
<li><a href="#org7913754">6.1.7. Fortran interfaces (exposed in qmckl<sub>f.F90</sub>)</a></li>
|
<li><a href="#org0625a1b">6.1.7. Fortran interfaces (exposed in qmckl<sub>f.F90</sub>)</a></li>
|
||||||
<li><a href="#orga52d2ff">6.1.8. Performance…</a></li>
|
<li><a href="#orga071f75">6.1.8. Performance…</a></li>
|
||||||
<li><a href="#org9d0abf6">6.1.9. Test</a></li>
|
<li><a href="#org3156024">6.1.9. Test</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org1555551">7. End of files</a></li>
|
<li><a href="#orgd8a1671">7. End of files</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org4168d13" class="outline-2">
|
<div id="outline-container-orge6a3610" class="outline-2">
|
||||||
<h2 id="org4168d13"><span class="section-number-2">1</span> Headers</h2>
|
<h2 id="orge6a3610"><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-orgcaf770c" class="outline-2">
|
<div id="outline-container-orga07db2a" class="outline-2">
|
||||||
<h2 id="orgcaf770c"><span class="section-number-2">2</span> Naïve Sherman-Morrison</h2>
|
<h2 id="orga07db2a"><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-org5f362b4" class="outline-3">
|
<div id="outline-container-org4644d9b" class="outline-3">
|
||||||
<h3 id="org5f362b4"><span class="section-number-3">2.1</span> <code>qmckl_sm_naive</code></h3>
|
<h3 id="org4644d9b"><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-org8193322" class="outline-4">
|
<div id="outline-container-org00e1777" class="outline-4">
|
||||||
<h4 id="org8193322"><span class="section-number-4">2.1.1</span> Introduction</h4>
|
<h4 id="org00e1777"><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-orga140f08" class="outline-4">
|
<div id="outline-container-orgc7f5049" class="outline-4">
|
||||||
<h4 id="orga140f08"><span class="section-number-4">2.1.2</span> API</h4>
|
<h4 id="orgc7f5049"><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="orge144bab" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="orgb19bcfd" 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-orgcf46320" class="outline-4">
|
<div id="outline-container-org5f007ff" class="outline-4">
|
||||||
<h4 id="orgcf46320"><span class="section-number-4">2.1.3</span> Requirements</h4>
|
<h4 id="org5f007ff"><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-orgb0fa9bb" class="outline-4">
|
<div id="outline-container-orgf929acb" class="outline-4">
|
||||||
<h4 id="orgb0fa9bb"><span class="section-number-4">2.1.4</span> Pedagogical kernel source (in Fortran)</h4>
|
<h4 id="orgf929acb"><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-org46c8492" class="outline-5">
|
<div id="outline-container-org517f2bc" class="outline-5">
|
||||||
<h5 id="org46c8492"><span class="section-number-5">2.1.4.1</span> C interface (not directly exposed)</h5>
|
<h5 id="org517f2bc"><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-org1839e19" class="outline-4">
|
<div id="outline-container-org43f8fa2" class="outline-4">
|
||||||
<h4 id="org1839e19"><span class="section-number-4">2.1.5</span> C headers (exposed in qmckl.h)</h4>
|
<h4 id="org43f8fa2"><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-org38af1aa" class="outline-4">
|
<div id="outline-container-org8a3c97c" class="outline-4">
|
||||||
<h4 id="org38af1aa"><span class="section-number-4">2.1.6</span> C sources</h4>
|
<h4 id="org8a3c97c"><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="org4316ce0"><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="org7818e47"><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="org3ac4578"><span style="color: #a0522d;">text</span>=<span style="color: #8b2252;">"""</span>
|
<pre class="src src-python" id="org87b69d7"><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="orga06ca8e"><span style="color: #a0522d;">text</span>=<span style="color: #8b2252;">"""</span>
|
<pre class="src src-python" id="orgd1ce9cb"><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-orgb23453c" class="outline-4">
|
<div id="outline-container-org0db14ca" class="outline-4">
|
||||||
<h4 id="orgb23453c"><span class="section-number-4">2.1.7</span> Fortran interfaces (exposed in qmckl<sub>f.F90</sub>)</h4>
|
<h4 id="org0db14ca"><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-orgf5b8456" class="outline-4">
|
<div id="outline-container-org15c51a7" class="outline-4">
|
||||||
<h4 id="orgf5b8456"><span class="section-number-4">2.1.8</span> Performance</h4>
|
<h4 id="org15c51a7"><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-org6d751f0" class="outline-4">
|
<div id="outline-container-org5105b7c" class="outline-4">
|
||||||
<h4 id="org6d751f0"><span class="section-number-4">2.1.9</span> Tests</h4>
|
<h4 id="org5105b7c"><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-orgab302c5" class="outline-2">
|
<div id="outline-container-orgb138209" class="outline-2">
|
||||||
<h2 id="orgab302c5"><span class="section-number-2">3</span> Sherman-Morrison with Slagel Splitting (core)</h2>
|
<h2 id="orgb138209"><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-org7b77681" class="outline-3">
|
<div id="outline-container-orgc910225" class="outline-3">
|
||||||
<h3 id="org7b77681"><span class="section-number-3">3.1</span> <code>qmckl_sm_splitting_core</code></h3>
|
<h3 id="orgc910225"><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-orga4e5485" class="outline-4">
|
<div id="outline-container-org33e4637" class="outline-4">
|
||||||
<h4 id="orga4e5485"><span class="section-number-4">3.1.1</span> Introduction</h4>
|
<h4 id="org33e4637"><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-org1ac526e" class="outline-4">
|
<div id="outline-container-orgd5fc27a" class="outline-4">
|
||||||
<h4 id="org1ac526e"><span class="section-number-4">3.1.2</span> API</h4>
|
<h4 id="orgd5fc27a"><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="orgae197b1" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="orge4a1c42" 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-orgfe3f5ff" class="outline-4">
|
<div id="outline-container-org258bb2b" class="outline-4">
|
||||||
<h4 id="orgfe3f5ff"><span class="section-number-4">3.1.3</span> Requirements</h4>
|
<h4 id="org258bb2b"><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-org136cd0c" class="outline-4">
|
<div id="outline-container-orgc3937b2" class="outline-4">
|
||||||
<h4 id="org136cd0c"><span class="section-number-4">3.1.4</span> Pedagogical kernel source (in Fortran)</h4>
|
<h4 id="orgc3937b2"><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-org8b21429" class="outline-5">
|
<div id="outline-container-org952b60b" class="outline-5">
|
||||||
<h5 id="org8b21429"><span class="section-number-5">3.1.4.1</span> C interface to the pedagogical kernel (not directly exposed)</h5>
|
<h5 id="org952b60b"><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-org3555638" class="outline-4">
|
<div id="outline-container-org3b5a8d3" class="outline-4">
|
||||||
<h4 id="org3555638"><span class="section-number-4">3.1.5</span> C headers (exposed in qmckl.h)</h4>
|
<h4 id="org3b5a8d3"><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-orgea81148" class="outline-4">
|
<div id="outline-container-orge1c4b22" class="outline-4">
|
||||||
<h4 id="orgea81148"><span class="section-number-4">3.1.6</span> C sources</h4>
|
<h4 id="orge1c4b22"><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="org765db11"><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="org15aa4e4"><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="org1a08c23"><span style="color: #a0522d;">text</span>=<span style="color: #8b2252;">"""</span>
|
<pre class="src src-python" id="org19404c2"><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="org29880b0"><span style="color: #a0522d;">text</span>=<span style="color: #8b2252;">"""</span>
|
<pre class="src src-python" id="orgfabd24f"><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-orgeb0342c" class="outline-4">
|
<div id="outline-container-orgfc83e61" class="outline-4">
|
||||||
<h4 id="orgeb0342c"><span class="section-number-4">3.1.7</span> Fortran interfaces (exposed in qmckl<sub>f.F90</sub>)</h4>
|
<h4 id="orgfc83e61"><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-orgf710b66" class="outline-4">
|
<div id="outline-container-org99d89e8" class="outline-4">
|
||||||
<h4 id="orgf710b66"><span class="section-number-4">3.1.8</span> Performance</h4>
|
<h4 id="org99d89e8"><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-org2de51ee" class="outline-2">
|
<div id="outline-container-org438e01a" class="outline-2">
|
||||||
<h2 id="org2de51ee"><span class="section-number-2">4</span> Woodbury 2x2</h2>
|
<h2 id="org438e01a"><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-org978658f" class="outline-3">
|
<div id="outline-container-orgaacff34" class="outline-3">
|
||||||
<h3 id="org978658f"><span class="section-number-3">4.1</span> <code>qmckl_woodbury_2x2</code></h3>
|
<h3 id="orgaacff34"><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-orgb5ed51b" class="outline-4">
|
<div id="outline-container-org7ea3144" class="outline-4">
|
||||||
<h4 id="orgb5ed51b"><span class="section-number-4">4.1.1</span> Introduction</h4>
|
<h4 id="org7ea3144"><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-orgd7fa45a" class="outline-4">
|
<div id="outline-container-org143ce28" class="outline-4">
|
||||||
<h4 id="orgd7fa45a"><span class="section-number-4">4.1.2</span> API</h4>
|
<h4 id="org143ce28"><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="org58f09e5" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="orgaa020e2" 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-org76cc95b" class="outline-4">
|
<div id="outline-container-orged61876" class="outline-4">
|
||||||
<h4 id="org76cc95b"><span class="section-number-4">4.1.3</span> Requirements</h4>
|
<h4 id="orged61876"><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-org507f667" class="outline-4">
|
<div id="outline-container-org262a35b" class="outline-4">
|
||||||
<h4 id="org507f667"><span class="section-number-4">4.1.4</span> Pedagogical kernel source (in Fortran)</h4>
|
<h4 id="org262a35b"><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-org10a23e7" class="outline-5">
|
<div id="outline-container-org567be8e" class="outline-5">
|
||||||
<h5 id="org10a23e7"><span class="section-number-5">4.1.4.1</span> C interface (not directly exposed)</h5>
|
<h5 id="org567be8e"><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-org6cbd52c" class="outline-4">
|
<div id="outline-container-orgce323ea" class="outline-4">
|
||||||
<h4 id="org6cbd52c"><span class="section-number-4">4.1.5</span> C headers (exposed in qmckl.h)</h4>
|
<h4 id="orgce323ea"><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-orgf5cc555" class="outline-4">
|
<div id="outline-container-orgd72bbdd" class="outline-4">
|
||||||
<h4 id="orgf5cc555"><span class="section-number-4">4.1.6</span> C sources</h4>
|
<h4 id="orgd72bbdd"><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="org931551c"><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="orgfd1feed"><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-org13602c5" class="outline-4">
|
<div id="outline-container-org7f1bfd7" class="outline-4">
|
||||||
<h4 id="org13602c5"><span class="section-number-4">4.1.7</span> Fortran interfaces (exposed in qmckl<sub>f.F90</sub>)</h4>
|
<h4 id="org7f1bfd7"><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-org5e84990" class="outline-4">
|
<div id="outline-container-org959e515" class="outline-4">
|
||||||
<h4 id="org5e84990"><span class="section-number-4">4.1.8</span> Performance</h4>
|
<h4 id="org959e515"><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-org9c20b49" class="outline-4">
|
<div id="outline-container-org80601ae" class="outline-4">
|
||||||
<h4 id="org9c20b49"><span class="section-number-4">4.1.9</span> Tests</h4>
|
<h4 id="org80601ae"><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-org71eb9d5" class="outline-2">
|
<div id="outline-container-org0beb623" class="outline-2">
|
||||||
<h2 id="org71eb9d5"><span class="section-number-2">5</span> Woodbury 3x3</h2>
|
<h2 id="org0beb623"><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-orgb4d575e" class="outline-3">
|
<div id="outline-container-orga6844af" class="outline-3">
|
||||||
<h3 id="orgb4d575e"><span class="section-number-3">5.1</span> <code>qmckl_woodbury_3x3</code></h3>
|
<h3 id="orga6844af"><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-orgaf7102e" class="outline-4">
|
<div id="outline-container-org935c83b" class="outline-4">
|
||||||
<h4 id="orgaf7102e"><span class="section-number-4">5.1.1</span> Introduction</h4>
|
<h4 id="org935c83b"><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-org8f7e732" class="outline-4">
|
<div id="outline-container-orgf2b7a39" class="outline-4">
|
||||||
<h4 id="org8f7e732"><span class="section-number-4">5.1.2</span> API</h4>
|
<h4 id="orgf2b7a39"><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="orgf072f89" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org9437f93" 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-org2e4c88b" class="outline-4">
|
<div id="outline-container-org814ee17" class="outline-4">
|
||||||
<h4 id="org2e4c88b"><span class="section-number-4">5.1.3</span> Requirements</h4>
|
<h4 id="org814ee17"><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-org7fa75f8" class="outline-4">
|
<div id="outline-container-org0926b46" class="outline-4">
|
||||||
<h4 id="org7fa75f8"><span class="section-number-4">5.1.4</span> Pedagogical kernel source (in Fortran)</h4>
|
<h4 id="org0926b46"><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-orgdb3c115" class="outline-5">
|
<div id="outline-container-org948ad60" class="outline-5">
|
||||||
<h5 id="orgdb3c115"><span class="section-number-5">5.1.4.1</span> C interface (not directly exposed)</h5>
|
<h5 id="org948ad60"><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-org0c25ec9" class="outline-4">
|
<div id="outline-container-org449f8dc" class="outline-4">
|
||||||
<h4 id="org0c25ec9"><span class="section-number-4">5.1.5</span> C headers (exposed in qmckl.h)</h4>
|
<h4 id="org449f8dc"><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-org401917a" class="outline-4">
|
<div id="outline-container-org483d149" class="outline-4">
|
||||||
<h4 id="org401917a"><span class="section-number-4">5.1.6</span> C sources</h4>
|
<h4 id="org483d149"><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="org9f743cd"><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="org981937b"><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-orga316f93" class="outline-4">
|
<div id="outline-container-org247982e" class="outline-4">
|
||||||
<h4 id="orga316f93"><span class="section-number-4">5.1.7</span> Fortran interfaces (exposed in qmckl<sub>f.F90</sub>)</h4>
|
<h4 id="org247982e"><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-orgc1ff1c2" class="outline-4">
|
<div id="outline-container-orgc6d126f" class="outline-4">
|
||||||
<h4 id="orgc1ff1c2"><span class="section-number-4">5.1.8</span> Performance</h4>
|
<h4 id="orgc6d126f"><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-org070aefe" class="outline-4">
|
<div id="outline-container-org34a7dfe" class="outline-4">
|
||||||
<h4 id="org070aefe"><span class="section-number-4">5.1.9</span> Tests</h4>
|
<h4 id="org34a7dfe"><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-org6004ddf" class="outline-2">
|
<div id="outline-container-orge6ec0ea" class="outline-2">
|
||||||
<h2 id="org6004ddf"><span class="section-number-2">6</span> Sherman-Morrison with Slagel Splitting</h2>
|
<h2 id="orge6ec0ea"><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-org103f935" class="outline-3">
|
<div id="outline-container-org91a8b1e" class="outline-3">
|
||||||
<h3 id="org103f935"><span class="section-number-3">6.1</span> <code>qmckl_sm_splitting</code></h3>
|
<h3 id="org91a8b1e"><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-org084d8ca" class="outline-4">
|
<div id="outline-container-org6ff5077" class="outline-4">
|
||||||
<h4 id="org084d8ca"><span class="section-number-4">6.1.1</span> Introduction</h4>
|
<h4 id="org6ff5077"><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-org60e58cd" class="outline-4">
|
<div id="outline-container-org0d7501d" class="outline-4">
|
||||||
<h4 id="org60e58cd"><span class="section-number-4">6.1.2</span> API</h4>
|
<h4 id="org0d7501d"><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="org980926b" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
<table id="org6a0a17f" 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-org9a044bc" class="outline-4">
|
<div id="outline-container-orga7fd7aa" class="outline-4">
|
||||||
<h4 id="org9a044bc"><span class="section-number-4">6.1.3</span> Requirements</h4>
|
<h4 id="orga7fd7aa"><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-org17e1626" class="outline-4">
|
<div id="outline-container-orgbc3c2ae" class="outline-4">
|
||||||
<h4 id="org17e1626"><span class="section-number-4">6.1.4</span> Pedagogical kernel source (in Fortran)</h4>
|
<h4 id="orgbc3c2ae"><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-orga01e396" class="outline-5">
|
<div id="outline-container-org8c37e4d" class="outline-5">
|
||||||
<h5 id="orga01e396"><span class="section-number-5">6.1.4.1</span> C interface to the pedagogical kernel (not directly exposed)</h5>
|
<h5 id="org8c37e4d"><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-orgb540c86" class="outline-4">
|
<div id="outline-container-orgc7b8d0f" class="outline-4">
|
||||||
<h4 id="orgb540c86"><span class="section-number-4">6.1.5</span> C headers (exposed in qmckl.h)</h4>
|
<h4 id="orgc7b8d0f"><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-org38c4b1a" class="outline-4">
|
<div id="outline-container-org500ae3a" class="outline-4">
|
||||||
<h4 id="org38c4b1a"><span class="section-number-4">6.1.6</span> C source</h4>
|
<h4 id="org500ae3a"><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="org0280573"><span style="color: #a0522d;">text</span>=<span style="color: #8b2252;">"""</span>
|
<pre class="src src-python" id="orged56481"><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-org7913754" class="outline-4">
|
<div id="outline-container-org0625a1b" class="outline-4">
|
||||||
<h4 id="org7913754"><span class="section-number-4">6.1.7</span> Fortran interfaces (exposed in qmckl<sub>f.F90</sub>)</h4>
|
<h4 id="org0625a1b"><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-orga52d2ff" class="outline-4">
|
<div id="outline-container-orga071f75" class="outline-4">
|
||||||
<h4 id="orga52d2ff"><span class="section-number-4">6.1.8</span> Performance…</h4>
|
<h4 id="orga071f75"><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-org9d0abf6" class="outline-4">
|
<div id="outline-container-org3156024" class="outline-4">
|
||||||
<h4 id="org9d0abf6"><span class="section-number-4">6.1.9</span> Test</h4>
|
<h4 id="org3156024"><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-org1555551" class="outline-2">
|
<div id="outline-container-orgd8a1671" class="outline-2">
|
||||||
<h2 id="org1555551"><span class="section-number-2">7</span> End of files</h2>
|
<h2 id="orgd8a1671"><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: 2023-09-26 Tue 14:27</p>
|
<p class="date">Created: 2023-09-26 Tue 15:44</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>
|
||||||
<!-- 2023-09-26 Tue 14:27 -->
|
<!-- 2023-09-26 Tue 15:44 -->
|
||||||
<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="#org3f2d804">1. CHBrClF</a>
|
<li><a href="#orga9ac64b">1. CHBrClF</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org3b5c2db">1.1. XYZ coordinates</a></li>
|
<li><a href="#org13fd901">1.1. XYZ coordinates</a></li>
|
||||||
<li><a href="#orgaf6f312">1.2. Atomic basis set</a></li>
|
<li><a href="#orgfce8f3f">1.2. Atomic basis set</a></li>
|
||||||
<li><a href="#org50182e7">1.3. Molecular orbitals</a></li>
|
<li><a href="#orgd90a917">1.3. Molecular orbitals</a></li>
|
||||||
<li><a href="#org2eaf961">1.4. Electron coordinates</a></li>
|
<li><a href="#org7dcf5d8">1.4. Electron coordinates</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#orgfd741d9">2. N2</a>
|
<li><a href="#orgaf8056b">2. N2</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org623876e">2.1. XYZ coordinates</a></li>
|
<li><a href="#org48c8e97">2.1. XYZ coordinates</a></li>
|
||||||
<li><a href="#org4aeeda7">2.2. Electron coordinates</a></li>
|
<li><a href="#org3dfcf0f">2.2. Electron coordinates</a></li>
|
||||||
<li><a href="#orgfdfd59f">2.3. Jastrow related data</a></li>
|
<li><a href="#orgace6c14">2.3. Jastrow related data</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org3f2d804" class="outline-2">
|
<div id="outline-container-orga9ac64b" class="outline-2">
|
||||||
<h2 id="org3f2d804"><span class="section-number-2">1</span> CHBrClF</h2>
|
<h2 id="orga9ac64b"><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-org3b5c2db" class="outline-3">
|
<div id="outline-container-org13fd901" class="outline-3">
|
||||||
<h3 id="org3b5c2db"><span class="section-number-3">1.1</span> XYZ coordinates</h3>
|
<h3 id="org13fd901"><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-orgaf6f312" class="outline-3">
|
<div id="outline-container-orgfce8f3f" class="outline-3">
|
||||||
<h3 id="orgaf6f312"><span class="section-number-3">1.2</span> Atomic basis set</h3>
|
<h3 id="orgfce8f3f"><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-org50182e7" class="outline-3">
|
<div id="outline-container-orgd90a917" class="outline-3">
|
||||||
<h3 id="org50182e7"><span class="section-number-3">1.3</span> Molecular orbitals</h3>
|
<h3 id="orgd90a917"><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-org2eaf961" class="outline-3">
|
<div id="outline-container-org7dcf5d8" class="outline-3">
|
||||||
<h3 id="org2eaf961"><span class="section-number-3">1.4</span> Electron coordinates</h3>
|
<h3 id="org7dcf5d8"><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-orgfd741d9" class="outline-2">
|
<div id="outline-container-orgaf8056b" class="outline-2">
|
||||||
<h2 id="orgfd741d9"><span class="section-number-2">2</span> N2</h2>
|
<h2 id="orgaf8056b"><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-org623876e" class="outline-3">
|
<div id="outline-container-org48c8e97" class="outline-3">
|
||||||
<h3 id="org623876e"><span class="section-number-3">2.1</span> XYZ coordinates</h3>
|
<h3 id="org48c8e97"><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-org4aeeda7" class="outline-3">
|
<div id="outline-container-org3dfcf0f" class="outline-3">
|
||||||
<h3 id="org4aeeda7"><span class="section-number-3">2.2</span> Electron coordinates</h3>
|
<h3 id="org3dfcf0f"><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-orgfdfd59f" class="outline-3">
|
<div id="outline-container-orgace6c14" class="outline-3">
|
||||||
<h3 id="orgfdfd59f"><span class="section-number-3">2.3</span> Jastrow related data</h3>
|
<h3 id="orgace6c14"><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: 2023-09-26 Tue 14:27</p>
|
<p class="date">Created: 2023-09-26 Tue 15:44</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>
|
||||||
<!-- 2023-09-26 Tue 14:26 -->
|
<!-- 2023-09-26 Tue 15:44 -->
|
||||||
<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="#org75b8b65">1. Local functions</a>
|
<li><a href="#org4e3e74a">1. Local functions</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgde85dff">1.1. Open file</a></li>
|
<li><a href="#orgcd256de">1.1. Open file</a></li>
|
||||||
<li><a href="#org8e484c6">1.2. Electron</a></li>
|
<li><a href="#org3b9730e">1.2. Electron</a></li>
|
||||||
<li><a href="#orgcb775ba">1.3. Nucleus</a>
|
<li><a href="#org7decf3c">1.3. Nucleus</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgbbda3b9">1.3.1. Number of nuclei</a></li>
|
<li><a href="#org08a3687">1.3.1. Number of nuclei</a></li>
|
||||||
<li><a href="#orgb3d1ad1">1.3.2. Nuclear charges</a></li>
|
<li><a href="#org80a8918">1.3.2. Nuclear charges</a></li>
|
||||||
<li><a href="#orgb4da948">1.3.3. Nuclear coordinates</a></li>
|
<li><a href="#org01a90fe">1.3.3. Nuclear coordinates</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org0ece827">1.4. Basis set and AOs</a>
|
<li><a href="#org6363a32">1.4. Basis set and AOs</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgc2bf1b6">1.4.1. Basis set type</a></li>
|
<li><a href="#org72d2b7b">1.4.1. Basis set type</a></li>
|
||||||
<li><a href="#orgc6b76e6">1.4.2. Number of shells</a></li>
|
<li><a href="#orgd158d8a">1.4.2. Number of shells</a></li>
|
||||||
<li><a href="#orgeac0155">1.4.3. Number of primitives</a></li>
|
<li><a href="#org0ce76f5">1.4.3. Number of primitives</a></li>
|
||||||
<li><a href="#org2625f55">1.4.4. Number of atomic orbitals</a></li>
|
<li><a href="#org4281e03">1.4.4. Number of atomic orbitals</a></li>
|
||||||
<li><a href="#orgbc5b81a">1.4.5. Nucleus<sub>index</sub> array</a></li>
|
<li><a href="#orga08abef">1.4.5. Nucleus<sub>index</sub> array</a></li>
|
||||||
<li><a href="#org7532a4a">1.4.6. Number of shells per nucleus</a></li>
|
<li><a href="#orgb8d67ee">1.4.6. Number of shells per nucleus</a></li>
|
||||||
<li><a href="#orge240f5e">1.4.7. Angular momentum</a></li>
|
<li><a href="#orgd8c2e8f">1.4.7. Angular momentum</a></li>
|
||||||
<li><a href="#org4716188">1.4.8. Number of primitives per shell</a></li>
|
<li><a href="#orgeff55bd">1.4.8. Number of primitives per shell</a></li>
|
||||||
<li><a href="#org2e9bef5">1.4.9. Indices of the primitives</a></li>
|
<li><a href="#orgea1a0e5">1.4.9. Indices of the primitives</a></li>
|
||||||
<li><a href="#orgb1763da">1.4.10. Normalization of the shells</a></li>
|
<li><a href="#orgbc8ca2d">1.4.10. Normalization of the shells</a></li>
|
||||||
<li><a href="#org4a33d24">1.4.11. Exponents</a></li>
|
<li><a href="#org61b2916">1.4.11. Exponents</a></li>
|
||||||
<li><a href="#orga5cdc5a">1.4.12. Coefficients</a></li>
|
<li><a href="#org10547f4">1.4.12. Coefficients</a></li>
|
||||||
<li><a href="#org40b7bd5">1.4.13. Normalization of the primitivies</a></li>
|
<li><a href="#orgb0e0fcf">1.4.13. Normalization of the primitivies</a></li>
|
||||||
<li><a href="#orgea5b090">1.4.14. AO Normalization</a></li>
|
<li><a href="#org10f7745">1.4.14. AO Normalization</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org8cdcec3">1.5. Molecular orbitals</a>
|
<li><a href="#org25c93a7">1.5. Molecular orbitals</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#org4d17a0f">1.5.1. Number of MOs</a></li>
|
<li><a href="#org996c9ee">1.5.1. Number of MOs</a></li>
|
||||||
<li><a href="#org6cd8004">1.5.2. MO coefficients</a></li>
|
<li><a href="#org6e4ee35">1.5.2. MO coefficients</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#org30ac4dc">1.6. <span class="todo TODO">TODO</span> ECP</a></li>
|
<li><a href="#org6468177">1.6. <span class="todo TODO">TODO</span> ECP</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#orgdff5f81">2. Read everything</a></li>
|
<li><a href="#org76279e1">2. Read everything</a></li>
|
||||||
<li><a href="#org39714b7">3. Test</a>
|
<li><a href="#org1c831fe">3. Test</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<li>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgc72ddf3">3.0.1. Electrons</a></li>
|
<li><a href="#orgd93efda">3.0.1. Electrons</a></li>
|
||||||
<li><a href="#org3f08748">3.0.2. Nuclei</a></li>
|
<li><a href="#orga7d2aea">3.0.2. Nuclei</a></li>
|
||||||
<li><a href="#org8a2cca5">3.0.3. Atomic basis</a></li>
|
<li><a href="#orgc030a49">3.0.3. Atomic basis</a></li>
|
||||||
<li><a href="#orgc2c971c">3.0.4. MO Basis</a></li>
|
<li><a href="#org671a1fb">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-org75b8b65" class="outline-2">
|
<div id="outline-container-org4e3e74a" class="outline-2">
|
||||||
<h2 id="org75b8b65"><span class="section-number-2">1</span> Local functions</h2>
|
<h2 id="org4e3e74a"><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-orgde85dff" class="outline-3">
|
<div id="outline-container-orgcd256de" class="outline-3">
|
||||||
<h3 id="orgde85dff"><span class="section-number-3">1.1</span> Open file</h3>
|
<h3 id="orgcd256de"><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-org8e484c6" class="outline-3">
|
<div id="outline-container-org3b9730e" class="outline-3">
|
||||||
<h3 id="org8e484c6"><span class="section-number-3">1.2</span> Electron</h3>
|
<h3 id="org3b9730e"><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-orgcb775ba" class="outline-3">
|
<div id="outline-container-org7decf3c" class="outline-3">
|
||||||
<h3 id="orgcb775ba"><span class="section-number-3">1.3</span> Nucleus</h3>
|
<h3 id="org7decf3c"><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-orgbbda3b9" class="outline-4">
|
<div id="outline-container-org08a3687" class="outline-4">
|
||||||
<h4 id="orgbbda3b9"><span class="section-number-4">1.3.1</span> Number of nuclei</h4>
|
<h4 id="org08a3687"><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-orgb3d1ad1" class="outline-4">
|
<div id="outline-container-org80a8918" class="outline-4">
|
||||||
<h4 id="orgb3d1ad1"><span class="section-number-4">1.3.2</span> Nuclear charges</h4>
|
<h4 id="org80a8918"><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-orgb4da948" class="outline-4">
|
<div id="outline-container-org01a90fe" class="outline-4">
|
||||||
<h4 id="orgb4da948"><span class="section-number-4">1.3.3</span> Nuclear coordinates</h4>
|
<h4 id="org01a90fe"><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-org0ece827" class="outline-3">
|
<div id="outline-container-org6363a32" class="outline-3">
|
||||||
<h3 id="org0ece827"><span class="section-number-3">1.4</span> Basis set and AOs</h3>
|
<h3 id="org6363a32"><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-orgc2bf1b6" class="outline-4">
|
<div id="outline-container-org72d2b7b" class="outline-4">
|
||||||
<h4 id="orgc2bf1b6"><span class="section-number-4">1.4.1</span> Basis set type</h4>
|
<h4 id="org72d2b7b"><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-orgc6b76e6" class="outline-4">
|
<div id="outline-container-orgd158d8a" class="outline-4">
|
||||||
<h4 id="orgc6b76e6"><span class="section-number-4">1.4.2</span> Number of shells</h4>
|
<h4 id="orgd158d8a"><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-orgeac0155" class="outline-4">
|
<div id="outline-container-org0ce76f5" class="outline-4">
|
||||||
<h4 id="orgeac0155"><span class="section-number-4">1.4.3</span> Number of primitives</h4>
|
<h4 id="org0ce76f5"><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-org2625f55" class="outline-4">
|
<div id="outline-container-org4281e03" class="outline-4">
|
||||||
<h4 id="org2625f55"><span class="section-number-4">1.4.4</span> Number of atomic orbitals</h4>
|
<h4 id="org4281e03"><span class="section-number-4">1.4.4</span> Number of atomic orbitals</h4>
|
||||||
<div class="outline-text-4" id="text-1-4-4">
|
<div class="outline-text-4" id="text-1-4-4">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c"><span style="color: #228b22;">int64_t</span> <span style="color: #a0522d;">ao_num</span> = 0LL;
|
<pre class="src src-c"><span style="color: #228b22;">int64_t</span> <span style="color: #a0522d;">ao_num</span> = 0LL;
|
||||||
@ -770,8 +770,8 @@ rc = qmckl_set_ao_basis_ao_num(context, ao_num);
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgbc5b81a" class="outline-4">
|
<div id="outline-container-orga08abef" class="outline-4">
|
||||||
<h4 id="orgbc5b81a"><span class="section-number-4">1.4.5</span> Nucleus<sub>index</sub> array</h4>
|
<h4 id="orga08abef"><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-org7532a4a" class="outline-4">
|
<div id="outline-container-orgb8d67ee" class="outline-4">
|
||||||
<h4 id="org7532a4a"><span class="section-number-4">1.4.6</span> Number of shells per nucleus</h4>
|
<h4 id="orgb8d67ee"><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-orge240f5e" class="outline-4">
|
<div id="outline-container-orgd8c2e8f" class="outline-4">
|
||||||
<h4 id="orge240f5e"><span class="section-number-4">1.4.7</span> Angular momentum</h4>
|
<h4 id="orgd8c2e8f"><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-org4716188" class="outline-4">
|
<div id="outline-container-orgeff55bd" class="outline-4">
|
||||||
<h4 id="org4716188"><span class="section-number-4">1.4.8</span> Number of primitives per shell</h4>
|
<h4 id="orgeff55bd"><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">{
|
||||||
@ -1068,8 +1068,8 @@ rc = qmckl_set_ao_basis_ao_num(context, ao_num);
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org2e9bef5" class="outline-4">
|
<div id="outline-container-orgea1a0e5" class="outline-4">
|
||||||
<h4 id="org2e9bef5"><span class="section-number-4">1.4.9</span> Indices of the primitives</h4>
|
<h4 id="orgea1a0e5"><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">{
|
||||||
@ -1149,8 +1149,8 @@ rc = qmckl_set_ao_basis_ao_num(context, ao_num);
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgb1763da" class="outline-4">
|
<div id="outline-container-orgbc8ca2d" class="outline-4">
|
||||||
<h4 id="orgb1763da"><span class="section-number-4">1.4.10</span> Normalization of the shells</h4>
|
<h4 id="orgbc8ca2d"><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">{
|
||||||
@ -1195,8 +1195,8 @@ rc = qmckl_set_ao_basis_ao_num(context, ao_num);
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org4a33d24" class="outline-4">
|
<div id="outline-container-org61b2916" class="outline-4">
|
||||||
<h4 id="org4a33d24"><span class="section-number-4">1.4.11</span> Exponents</h4>
|
<h4 id="org61b2916"><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">{
|
||||||
@ -1241,8 +1241,8 @@ rc = qmckl_set_ao_basis_ao_num(context, ao_num);
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orga5cdc5a" class="outline-4">
|
<div id="outline-container-org10547f4" class="outline-4">
|
||||||
<h4 id="orga5cdc5a"><span class="section-number-4">1.4.12</span> Coefficients</h4>
|
<h4 id="org10547f4"><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">{
|
||||||
@ -1287,8 +1287,8 @@ rc = qmckl_set_ao_basis_ao_num(context, ao_num);
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org40b7bd5" class="outline-4">
|
<div id="outline-container-orgb0e0fcf" class="outline-4">
|
||||||
<h4 id="org40b7bd5"><span class="section-number-4">1.4.13</span> Normalization of the primitivies</h4>
|
<h4 id="orgb0e0fcf"><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">{
|
||||||
@ -1333,8 +1333,8 @@ rc = qmckl_set_ao_basis_ao_num(context, ao_num);
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgea5b090" class="outline-4">
|
<div id="outline-container-org10f7745" class="outline-4">
|
||||||
<h4 id="orgea5b090"><span class="section-number-4">1.4.14</span> AO Normalization</h4>
|
<h4 id="org10f7745"><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">{
|
||||||
@ -1389,8 +1389,8 @@ rc = qmckl_set_ao_basis_ao_num(context, ao_num);
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-org8cdcec3" class="outline-3">
|
<div id="outline-container-org25c93a7" class="outline-3">
|
||||||
<h3 id="org8cdcec3"><span class="section-number-3">1.5</span> Molecular orbitals</h3>
|
<h3 id="org25c93a7"><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.
|
||||||
@ -1416,8 +1416,8 @@ In this section we read the MO coefficients.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org4d17a0f" class="outline-4">
|
<div id="outline-container-org996c9ee" class="outline-4">
|
||||||
<h4 id="org4d17a0f"><span class="section-number-4">1.5.1</span> Number of MOs</h4>
|
<h4 id="org996c9ee"><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;
|
||||||
@ -1440,8 +1440,8 @@ rc = qmckl_set_mo_basis_mo_num(context, mo_num);
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org6cd8004" class="outline-4">
|
<div id="outline-container-org6e4ee35" class="outline-4">
|
||||||
<h4 id="org6cd8004"><span class="section-number-4">1.5.2</span> MO coefficients</h4>
|
<h4 id="org6e4ee35"><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">{
|
||||||
@ -1490,12 +1490,12 @@ rc = qmckl_set_mo_basis_mo_num(context, mo_num);
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org30ac4dc" class="outline-3">
|
<div id="outline-container-org6468177" class="outline-3">
|
||||||
<h3 id="org30ac4dc"><span class="section-number-3">1.6</span> <span class="todo TODO">TODO</span> ECP</h3>
|
<h3 id="org6468177"><span class="section-number-3">1.6</span> <span class="todo TODO">TODO</span> ECP</h3>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-orgdff5f81" class="outline-2">
|
<div id="outline-container-org76279e1" class="outline-2">
|
||||||
<h2 id="orgdff5f81"><span class="section-number-2">2</span> Read everything</h2>
|
<h2 id="org76279e1"><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>
|
||||||
@ -1570,8 +1570,8 @@ rc = qmckl_set_mo_basis_mo_num(context, mo_num);
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org39714b7" class="outline-2">
|
<div id="outline-container-org1c831fe" class="outline-2">
|
||||||
<h2 id="org39714b7"><span class="section-number-2">3</span> Test</h2>
|
<h2 id="org1c831fe"><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
|
||||||
@ -1595,8 +1595,8 @@ rc = qmckl_trexio_read(context, filename, 255);
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgc72ddf3" class="outline-4">
|
<div id="outline-container-orgd93efda" class="outline-4">
|
||||||
<h4 id="orgc72ddf3"><span class="section-number-4">3.0.1</span> Electrons</h4>
|
<h4 id="orgd93efda"><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>);
|
||||||
@ -1614,8 +1614,8 @@ rc = qmckl_get_electron_down_num(context, &dn_num);
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org3f08748" class="outline-4">
|
<div id="outline-container-orga7d2aea" class="outline-4">
|
||||||
<h4 id="org3f08748"><span class="section-number-4">3.0.2</span> Nuclei</h4>
|
<h4 id="orga7d2aea"><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>);
|
||||||
@ -1655,8 +1655,8 @@ coord = <span style="color: #008b8b;">NULL</span>;
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org8a2cca5" class="outline-4">
|
<div id="outline-container-orgc030a49" class="outline-4">
|
||||||
<h4 id="org8a2cca5"><span class="section-number-4">3.0.3</span> Atomic basis</h4>
|
<h4 id="orgc030a49"><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>);
|
||||||
@ -1764,8 +1764,8 @@ prim_factor = <span style="color: #008b8b;">NULL</span>;
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgc2c971c" class="outline-4">
|
<div id="outline-container-org671a1fb" class="outline-4">
|
||||||
<h4 id="orgc2c971c"><span class="section-number-4">3.0.4</span> MO Basis</h4>
|
<h4 id="org671a1fb"><span class="section-number-4">3.0.4</span> MO Basis</h4>
|
||||||
<div class="outline-text-4" id="text-3-0-4">
|
<div class="outline-text-4" id="text-3-0-4">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-c">printf(<span style="color: #8b2252;">"MOs\n"</span>);
|
<pre class="src src-c">printf(<span style="color: #8b2252;">"MOs\n"</span>);
|
||||||
@ -1796,7 +1796,7 @@ charge = <span style="color: #008b8b;">NULL</span>;
|
|||||||
</div>
|
</div>
|
||||||
<div id="postamble" class="status">
|
<div id="postamble" class="status">
|
||||||
<p class="author">Author: TREX CoE</p>
|
<p class="author">Author: TREX CoE</p>
|
||||||
<p class="date">Created: 2023-09-26 Tue 14:26</p>
|
<p class="date">Created: 2023-09-26 Tue 15:44</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>
|
||||||
<!-- 2023-09-26 Tue 14:26 -->
|
<!-- 2023-09-26 Tue 15:44 -->
|
||||||
<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="#org31a72d4">1. Verificarlo probes</a>
|
<li><a href="#org29b5faf">1. Verificarlo probes</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#orgc9786fb">1.1. Automatically initialize the <code>vfc_probe</code> object if <code>VFC_CI</code> is defined</a></li>
|
<li><a href="#orgea7963a">1.1. Automatically initialize the <code>vfc_probe</code> object if <code>VFC_CI</code> is defined</a></li>
|
||||||
<li><a href="#org14eeff7">1.2. Standard probe, without check</a></li>
|
<li><a href="#org32a24c9">1.2. Standard probe, without check</a></li>
|
||||||
<li><a href="#org088be7b">1.3. Probe with absolute check</a></li>
|
<li><a href="#org01bfc80">1.3. Probe with absolute check</a></li>
|
||||||
<li><a href="#orgd8178ce">1.4. Probe with relative check</a></li>
|
<li><a href="#orga6bf77a">1.4. Probe with relative check</a></li>
|
||||||
<li><a href="#org2416ce3">1.5. Automatically delete and dump the vfc<sub>probe</sub> object if <code>VFC_CI</code> is defined</a></li>
|
<li><a href="#orgaa6dd8f">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="#org8924a0b">2. Fortran wrappers</a></li>
|
<li><a href="#orgd960286">2. Fortran wrappers</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org31a72d4" class="outline-2">
|
<div id="outline-container-org29b5faf" class="outline-2">
|
||||||
<h2 id="org31a72d4"><span class="section-number-2">1</span> Verificarlo probes</h2>
|
<h2 id="org29b5faf"><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-orgc9786fb" class="outline-3">
|
<div id="outline-container-orgea7963a" class="outline-3">
|
||||||
<h3 id="orgc9786fb"><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="orgea7963a"><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-org14eeff7" class="outline-3">
|
<div id="outline-container-org32a24c9" class="outline-3">
|
||||||
<h3 id="org14eeff7"><span class="section-number-3">1.2</span> Standard probe, without check</h3>
|
<h3 id="org32a24c9"><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-org088be7b" class="outline-3">
|
<div id="outline-container-org01bfc80" class="outline-3">
|
||||||
<h3 id="org088be7b"><span class="section-number-3">1.3</span> Probe with absolute check</h3>
|
<h3 id="org01bfc80"><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-orgd8178ce" class="outline-3">
|
<div id="outline-container-orga6bf77a" class="outline-3">
|
||||||
<h3 id="orgd8178ce"><span class="section-number-3">1.4</span> Probe with relative check</h3>
|
<h3 id="orga6bf77a"><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-org2416ce3" class="outline-3">
|
<div id="outline-container-orgaa6dd8f" class="outline-3">
|
||||||
<h3 id="org2416ce3"><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="orgaa6dd8f"><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-org8924a0b" class="outline-2">
|
<div id="outline-container-orgd960286" class="outline-2">
|
||||||
<h2 id="org8924a0b"><span class="section-number-2">2</span> Fortran wrappers</h2>
|
<h2 id="orgd960286"><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: 2023-09-26 Tue 14:26</p>
|
<p class="date">Created: 2023-09-26 Tue 15:44</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