mirror of
https://github.com/TREX-CoE/qmckl.git
synced 2024-11-03 20:54:09 +01:00
Deploying to gh-pages from @ TREX-CoE/qmckl@363e368ad6 🚀
This commit is contained in:
parent
6c4f6d2ec7
commit
cbd6bb6669
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2022-01-06 Thu 18:05 -->
|
||||
<!-- 2022-01-06 Thu 18:07 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>QMCkl source code documentation</title>
|
||||
@ -361,7 +361,7 @@ and bug reports should be submitted at
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: TREX CoE</p>
|
||||
<p class="date">Created: 2022-01-06 Thu 18:05</p>
|
||||
<p class="date">Created: 2022-01-06 Thu 18:07</p>
|
||||
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||
</div>
|
||||
</body>
|
||||
|
102
qmckl.html
102
qmckl.html
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2022-01-06 Thu 18:05 -->
|
||||
<!-- 2022-01-06 Thu 18:07 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>Introduction</title>
|
||||
@ -333,30 +333,30 @@ for the JavaScript code in this tag.
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents">
|
||||
<ul>
|
||||
<li><a href="#org04b6e18">1. Using QMCkl</a></li>
|
||||
<li><a href="#org9f1638f">2. Developing in QMCkl</a>
|
||||
<li><a href="#org6d50c3f">1. Using QMCkl</a></li>
|
||||
<li><a href="#orgb94a942">2. Developing in QMCkl</a>
|
||||
<ul>
|
||||
<li><a href="#org4b5b392">2.1. Literate programming</a></li>
|
||||
<li><a href="#org8e6f2bd">2.2. Source code editing</a></li>
|
||||
<li><a href="#org0e04d41">2.3. Choice of the programming language</a></li>
|
||||
<li><a href="#org9465aed">2.4. Coding rules</a></li>
|
||||
<li><a href="#org611343f">2.5. Design of the library</a></li>
|
||||
<li><a href="#org265cce2">2.6. Naming conventions</a></li>
|
||||
<li><a href="#org658ed52">2.7. Application programming interface</a></li>
|
||||
<li><a href="#org6cd8bbf">2.8. Global state</a></li>
|
||||
<li><a href="#org4751152">2.9. Headers</a></li>
|
||||
<li><a href="#org1f4ced7">2.10. Low-level functions</a></li>
|
||||
<li><a href="#orgf8e5f4b">2.11. High-level functions</a></li>
|
||||
<li><a href="#org066acca">2.12. Numerical precision</a></li>
|
||||
<li><a href="#org8dc27c8">2.13. Algorithms</a></li>
|
||||
<li><a href="#org0185091">2.1. Literate programming</a></li>
|
||||
<li><a href="#org71ca365">2.2. Source code editing</a></li>
|
||||
<li><a href="#orga02594f">2.3. Choice of the programming language</a></li>
|
||||
<li><a href="#org335558f">2.4. Coding rules</a></li>
|
||||
<li><a href="#orgf891b21">2.5. Design of the library</a></li>
|
||||
<li><a href="#org23d3e39">2.6. Naming conventions</a></li>
|
||||
<li><a href="#orgb43169d">2.7. Application programming interface</a></li>
|
||||
<li><a href="#org8797b10">2.8. Global state</a></li>
|
||||
<li><a href="#orgb499674">2.9. Headers</a></li>
|
||||
<li><a href="#orgd3d4ae7">2.10. Low-level functions</a></li>
|
||||
<li><a href="#org9cdf4c2">2.11. High-level functions</a></li>
|
||||
<li><a href="#org8582d1f">2.12. Numerical precision</a></li>
|
||||
<li><a href="#org256f744">2.13. Algorithms</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org04b6e18" class="outline-2">
|
||||
<h2 id="org04b6e18"><span class="section-number-2">1</span> Using QMCkl</h2>
|
||||
<div id="outline-container-org6d50c3f" class="outline-2">
|
||||
<h2 id="org6d50c3f"><span class="section-number-2">1</span> Using QMCkl</h2>
|
||||
<div class="outline-text-2" id="text-1">
|
||||
<p>
|
||||
The <code>qmckl.h</code> header file installed in the <code>${prefix}/include</code> directory
|
||||
@ -385,12 +385,12 @@ Both files are located in the <code>include/</code> directory.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org9f1638f" class="outline-2">
|
||||
<h2 id="org9f1638f"><span class="section-number-2">2</span> Developing in QMCkl</h2>
|
||||
<div id="outline-container-orgb94a942" class="outline-2">
|
||||
<h2 id="orgb94a942"><span class="section-number-2">2</span> Developing in QMCkl</h2>
|
||||
<div class="outline-text-2" id="text-2">
|
||||
</div>
|
||||
<div id="outline-container-org4b5b392" class="outline-3">
|
||||
<h3 id="org4b5b392"><span class="section-number-3">2.1</span> Literate programming</h3>
|
||||
<div id="outline-container-org0185091" class="outline-3">
|
||||
<h3 id="org0185091"><span class="section-number-3">2.1</span> Literate programming</h3>
|
||||
<div class="outline-text-3" id="text-2-1">
|
||||
<p>
|
||||
In a traditional source code, most of the lines of source files of a program
|
||||
@ -435,8 +435,8 @@ interactively, in the same spirit as Jupyter notebooks.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org8e6f2bd" class="outline-3">
|
||||
<h3 id="org8e6f2bd"><span class="section-number-3">2.2</span> Source code editing</h3>
|
||||
<div id="outline-container-org71ca365" class="outline-3">
|
||||
<h3 id="org71ca365"><span class="section-number-3">2.2</span> Source code editing</h3>
|
||||
<div class="outline-text-3" id="text-2-2">
|
||||
<p>
|
||||
For a tutorial on literate programming with org-mode, follow <a href="http://www.howardism.org/Technical/Emacs/literate-programming-tutorial.html">this link</a>.
|
||||
@ -467,8 +467,8 @@ org-mode.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org0e04d41" class="outline-3">
|
||||
<h3 id="org0e04d41"><span class="section-number-3">2.3</span> Choice of the programming language</h3>
|
||||
<div id="outline-container-orga02594f" class="outline-3">
|
||||
<h3 id="orga02594f"><span class="section-number-3">2.3</span> Choice of the programming language</h3>
|
||||
<div class="outline-text-3" id="text-2-3">
|
||||
<p>
|
||||
Most of the codes of the <a href="https://trex-coe.eu">TREX CoE</a> are written in Fortran with some scripts in
|
||||
@ -516,8 +516,8 @@ For more guidelines on using Fortran to generate a C interface, see
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org9465aed" class="outline-3">
|
||||
<h3 id="org9465aed"><span class="section-number-3">2.4</span> Coding rules</h3>
|
||||
<div id="outline-container-org335558f" class="outline-3">
|
||||
<h3 id="org335558f"><span class="section-number-3">2.4</span> Coding rules</h3>
|
||||
<div class="outline-text-3" id="text-2-4">
|
||||
<p>
|
||||
The authors should follow the recommendations of the C99
|
||||
@ -535,8 +535,8 @@ Compliance can be checked with <code>cppcheck</code> as:
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org611343f" class="outline-3">
|
||||
<h3 id="org611343f"><span class="section-number-3">2.5</span> Design of the library</h3>
|
||||
<div id="outline-container-orgf891b21" class="outline-3">
|
||||
<h3 id="orgf891b21"><span class="section-number-3">2.5</span> Design of the library</h3>
|
||||
<div class="outline-text-3" id="text-2-5">
|
||||
<p>
|
||||
The proposed API should allow the library to: deal with memory transfers
|
||||
@ -547,8 +547,8 @@ functions (see below).
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org265cce2" class="outline-3">
|
||||
<h3 id="org265cce2"><span class="section-number-3">2.6</span> Naming conventions</h3>
|
||||
<div id="outline-container-org23d3e39" class="outline-3">
|
||||
<h3 id="org23d3e39"><span class="section-number-3">2.6</span> Naming conventions</h3>
|
||||
<div class="outline-text-3" id="text-2-6">
|
||||
<p>
|
||||
To avoid namespace collisions, we use <code>qmckl_</code> as a prefix for all exported
|
||||
@ -573,8 +573,8 @@ form is allowed.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org658ed52" class="outline-3">
|
||||
<h3 id="org658ed52"><span class="section-number-3">2.7</span> Application programming interface</h3>
|
||||
<div id="outline-container-orgb43169d" class="outline-3">
|
||||
<h3 id="orgb43169d"><span class="section-number-3">2.7</span> Application programming interface</h3>
|
||||
<div class="outline-text-3" id="text-2-7">
|
||||
<p>
|
||||
In the C language, the number of bits used by the integer types can change
|
||||
@ -606,15 +606,15 @@ bindings in other languages in other repositories.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org6cd8bbf" class="outline-3">
|
||||
<h3 id="org6cd8bbf"><span class="section-number-3">2.8</span> Global state</h3>
|
||||
<div id="outline-container-org8797b10" class="outline-3">
|
||||
<h3 id="org8797b10"><span class="section-number-3">2.8</span> Global state</h3>
|
||||
<div class="outline-text-3" id="text-2-8">
|
||||
<p>
|
||||
Global variables should be avoided in the library, because it is
|
||||
possible that one single program needs to use multiple instances
|
||||
of the library. To solve this problem we propose to use a pointer
|
||||
to a <a href="./qmckl_context.html"><code>context</code></a> variable, built by the library with the
|
||||
<code>qmckl_context_create</code> function. The <a id="orgcd213cd">=context=</a> contains the global
|
||||
<code>qmckl_context_create</code> function. The <a id="org568c381">=context=</a> contains the global
|
||||
state of the library, and is used as the first argument of many
|
||||
QMCkl functions.
|
||||
</p>
|
||||
@ -628,8 +628,8 @@ the state is done by setters and getters, prefixed by
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org4751152" class="outline-3">
|
||||
<h3 id="org4751152"><span class="section-number-3">2.9</span> Headers</h3>
|
||||
<div id="outline-container-orgb499674" class="outline-3">
|
||||
<h3 id="orgb499674"><span class="section-number-3">2.9</span> Headers</h3>
|
||||
<div class="outline-text-3" id="text-2-9">
|
||||
<p>
|
||||
A single <code>qmckl.h</code> header to be distributed by the library
|
||||
@ -717,8 +717,8 @@ and the types definitions should be written in the <code>*fh_type.f90</code> fil
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org1f4ced7" class="outline-3">
|
||||
<h3 id="org1f4ced7"><span class="section-number-3">2.10</span> Low-level functions</h3>
|
||||
<div id="outline-container-orgd3d4ae7" class="outline-3">
|
||||
<h3 id="orgd3d4ae7"><span class="section-number-3">2.10</span> Low-level functions</h3>
|
||||
<div class="outline-text-3" id="text-2-10">
|
||||
<p>
|
||||
Low-level functions are very simple functions which are leaves of
|
||||
@ -727,14 +727,14 @@ the function call tree (they don't call any other QMCkl function).
|
||||
|
||||
<p>
|
||||
These functions are <i>pure</i>, and unaware of the QMCkl
|
||||
<a href="#orgcd213cd"><code>context</code></a>. They are not allowed to allocate/deallocate memory, and
|
||||
<a href="#org568c381"><code>context</code></a>. They are not allowed to allocate/deallocate memory, and
|
||||
if they need temporary memory it should be provided in input.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgf8e5f4b" class="outline-3">
|
||||
<h3 id="orgf8e5f4b"><span class="section-number-3">2.11</span> High-level functions</h3>
|
||||
<div id="outline-container-org9cdf4c2" class="outline-3">
|
||||
<h3 id="org9cdf4c2"><span class="section-number-3">2.11</span> High-level functions</h3>
|
||||
<div class="outline-text-3" id="text-2-11">
|
||||
<p>
|
||||
High-level functions are at the top of the function call tree.
|
||||
@ -747,20 +747,20 @@ temporary storage, to simplify the use of accelerators.
|
||||
<p>
|
||||
The high-level functions should be pure, unless the introduction
|
||||
of non-purity is justified. All the side effects should be made in
|
||||
the <a href="#orgcd213cd"><code>context</code></a> variable.
|
||||
the <a href="#org568c381"><code>context</code></a> variable.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org066acca" class="outline-3">
|
||||
<h3 id="org066acca"><span class="section-number-3">2.12</span> Numerical precision</h3>
|
||||
<div id="outline-container-org8582d1f" class="outline-3">
|
||||
<h3 id="org8582d1f"><span class="section-number-3">2.12</span> Numerical precision</h3>
|
||||
<div class="outline-text-3" id="text-2-12">
|
||||
<p>
|
||||
The number of bits of precision required for a function should be
|
||||
given as an input of low-level computational functions. This input
|
||||
will be used to define the values of the different thresholds that
|
||||
might be used to avoid computing unnecessary noise. High-level
|
||||
functions will use the precision specified in the <a href="#orgcd213cd"><code>context</code></a>
|
||||
functions will use the precision specified in the <a href="#org568c381"><code>context</code></a>
|
||||
variable.
|
||||
</p>
|
||||
|
||||
@ -830,8 +830,8 @@ following points :
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org8dc27c8" class="outline-3">
|
||||
<h3 id="org8dc27c8"><span class="section-number-3">2.13</span> Algorithms</h3>
|
||||
<div id="outline-container-org256f744" class="outline-3">
|
||||
<h3 id="org256f744"><span class="section-number-3">2.13</span> Algorithms</h3>
|
||||
<div class="outline-text-3" id="text-2-13">
|
||||
<p>
|
||||
Reducing the scaling of an algorithm usually implies also reducing
|
||||
@ -847,7 +847,7 @@ implemented adapted to different problem sizes.
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: TREX CoE</p>
|
||||
<p class="date">Created: 2022-01-06 Thu 18:05</p>
|
||||
<p class="date">Created: 2022-01-06 Thu 18:07</p>
|
||||
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||
</div>
|
||||
</body>
|
||||
|
150
qmckl_ao.html
150
qmckl_ao.html
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2022-01-06 Thu 18:05 -->
|
||||
<!-- 2022-01-06 Thu 18:07 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>Atomic Orbitals</title>
|
||||
@ -333,53 +333,53 @@ for the JavaScript code in this tag.
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents">
|
||||
<ul>
|
||||
<li><a href="#org9e71383">1. Introduction</a></li>
|
||||
<li><a href="#org845f169">2. Context</a>
|
||||
<li><a href="#org4513c56">1. Introduction</a></li>
|
||||
<li><a href="#org94d1346">2. Context</a>
|
||||
<ul>
|
||||
<li><a href="#org7d403fe">2.1. Constant data</a>
|
||||
<li><a href="#org706ef2c">2.1. Constant data</a>
|
||||
<ul>
|
||||
<li><a href="#org63642a1">2.1.1. Initialization functions</a>
|
||||
<li><a href="#org38bcfac">2.1.1. Initialization functions</a>
|
||||
<ul>
|
||||
<li><a href="#org70e3711">2.1.1.1. C interface</a></li>
|
||||
<li><a href="#org655a566">2.1.1.2. Fortran interface</a></li>
|
||||
<li><a href="#org6a597d2">2.1.1.1. C interface</a></li>
|
||||
<li><a href="#orgc7dba89">2.1.1.2. Fortran interface</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgd9d6659">2.1.2. Access functions</a>
|
||||
<li><a href="#org79d1b5e">2.1.2. Access functions</a>
|
||||
<ul>
|
||||
<li><a href="#org37ef082">2.1.2.1. C interface</a></li>
|
||||
<li><a href="#org6f7c63a">2.1.2.2. Fortran interface</a></li>
|
||||
<li><a href="#org4cd3cc2">2.1.2.1. C interface</a></li>
|
||||
<li><a href="#org232c089">2.1.2.2. Fortran interface</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org32f1584">2.2. Computed data</a>
|
||||
<li><a href="#orgb2cfbce">2.2. Computed data</a>
|
||||
<ul>
|
||||
<li><a href="#org223f45a">2.2.1. After initialization</a></li>
|
||||
<li><a href="#orgf12ba7c">2.2.2. Access functions</a></li>
|
||||
<li><a href="#org99446f2">2.2.1. After initialization</a></li>
|
||||
<li><a href="#org0f03de6">2.2.2. Access functions</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orga83189f">3. Radial part</a>
|
||||
<li><a href="#org119457f">3. Radial part</a>
|
||||
<ul>
|
||||
<li><a href="#org365e0d9">3.1. General functions for Gaussian basis functions</a></li>
|
||||
<li><a href="#orgc57f697">3.2. Computation of primitives</a></li>
|
||||
<li><a href="#org468d738">3.3. Computation of shells</a></li>
|
||||
<li><a href="#org2be9327">3.1. General functions for Gaussian basis functions</a></li>
|
||||
<li><a href="#orga5af56b">3.2. Computation of primitives</a></li>
|
||||
<li><a href="#org9ff5928">3.3. Computation of shells</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org02ce0df">4. Polynomial part</a>
|
||||
<li><a href="#org46b34a4">4. Polynomial part</a>
|
||||
<ul>
|
||||
<li><a href="#orgfb0439a">4.1. General functions for Powers of \(x-X_i\)</a></li>
|
||||
<li><a href="#orgd601cd8">4.2. General functions for Value, Gradient and Laplacian of a polynomial</a></li>
|
||||
<li><a href="#org33d74a6">4.1. General functions for Powers of \(x-X_i\)</a></li>
|
||||
<li><a href="#orge1a9a41">4.2. General functions for Value, Gradient and Laplacian of a polynomial</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org7b264dc">5. Combining radial and polynomial parts</a></li>
|
||||
<li><a href="#org47a41b4">5. Combining radial and polynomial parts</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org9e71383" class="outline-2">
|
||||
<h2 id="org9e71383"><span class="section-number-2">1</span> Introduction</h2>
|
||||
<div id="outline-container-org4513c56" class="outline-2">
|
||||
<h2 id="org4513c56"><span class="section-number-2">1</span> Introduction</h2>
|
||||
<div class="outline-text-2" id="text-1">
|
||||
<p>
|
||||
The atomic basis set is defined as a list of shells. Each shell \(s\) is
|
||||
@ -432,19 +432,19 @@ gradients and Laplacian of the atomic basis functions.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org845f169" class="outline-2">
|
||||
<h2 id="org845f169"><span class="section-number-2">2</span> Context</h2>
|
||||
<div id="outline-container-org94d1346" class="outline-2">
|
||||
<h2 id="org94d1346"><span class="section-number-2">2</span> Context</h2>
|
||||
<div class="outline-text-2" id="text-2">
|
||||
</div>
|
||||
<div id="outline-container-org7d403fe" class="outline-3">
|
||||
<h3 id="org7d403fe"><span class="section-number-3">2.1</span> Constant data</h3>
|
||||
<div id="outline-container-org706ef2c" class="outline-3">
|
||||
<h3 id="org706ef2c"><span class="section-number-3">2.1</span> Constant data</h3>
|
||||
<div class="outline-text-3" id="text-2-1">
|
||||
<p>
|
||||
The following arrays are stored in the context, and need to be set
|
||||
when initializing the library:
|
||||
</p>
|
||||
|
||||
<table id="orge5ef45b" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org9abd146" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -618,7 +618,7 @@ calling the functions:
|
||||
</p>
|
||||
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-C" id="org9790d84"><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="org4dd4194"><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: #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>,
|
||||
@ -655,7 +655,7 @@ For array variables, use the rule:
|
||||
</p>
|
||||
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-C" id="orga160b5e"><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="org47d3c91"><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> <span style="color: #228b22;">int64_t</span> <span style="color: #a0522d;">size_max</span>);
|
||||
|
||||
@ -693,17 +693,17 @@ For array variables, use the rule:
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org63642a1" class="outline-4">
|
||||
<h4 id="org63642a1"><span class="section-number-4">2.1.1</span> Initialization functions</h4>
|
||||
<div id="outline-container-org38bcfac" class="outline-4">
|
||||
<h4 id="org38bcfac"><span class="section-number-4">2.1.1</span> Initialization functions</h4>
|
||||
<div class="outline-text-4" id="text-2-1-1">
|
||||
<p>
|
||||
<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="#org845f169">2</a>.
|
||||
equal of larger than the value given in the table of section <a href="#org94d1346">2</a>.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org70e3711" class="outline-5">
|
||||
<h5 id="org70e3711"><span class="section-number-5">2.1.1.1</span> C interface</h5>
|
||||
<div id="outline-container-org6a597d2" class="outline-5">
|
||||
<h5 id="org6a597d2"><span class="section-number-5">2.1.1.1</span> C interface</h5>
|
||||
<div class="outline-text-5" id="text-2-1-1-1">
|
||||
<p>
|
||||
To set the basis set, all the following functions need to be
|
||||
@ -827,8 +827,8 @@ called.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org655a566" class="outline-5">
|
||||
<h5 id="org655a566"><span class="section-number-5">2.1.1.2</span> Fortran interface</h5>
|
||||
<div id="outline-container-orgc7dba89" class="outline-5">
|
||||
<h5 id="orgc7dba89"><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="org-src-container">
|
||||
<pre class="src src-f90"><span style="color: #a020f0;">interface</span>
|
||||
@ -1011,17 +1011,17 @@ called.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgd9d6659" class="outline-4">
|
||||
<h4 id="orgd9d6659"><span class="section-number-4">2.1.2</span> Access functions</h4>
|
||||
<div id="outline-container-org79d1b5e" class="outline-4">
|
||||
<h4 id="org79d1b5e"><span class="section-number-4">2.1.2</span> Access functions</h4>
|
||||
<div class="outline-text-4" id="text-2-1-2">
|
||||
<p>
|
||||
<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="#org845f169">2</a>.
|
||||
equal of larger than the value given in the table of section <a href="#org94d1346">2</a>.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org37ef082" class="outline-5">
|
||||
<h5 id="org37ef082"><span class="section-number-5">2.1.2.1</span> C interface</h5>
|
||||
<div id="outline-container-org4cd3cc2" class="outline-5">
|
||||
<h5 id="org4cd3cc2"><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="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span>
|
||||
@ -1143,8 +1143,8 @@ function returns <code>true</code>.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org6f7c63a" class="outline-5">
|
||||
<h5 id="org6f7c63a"><span class="section-number-5">2.1.2.2</span> Fortran interface</h5>
|
||||
<div id="outline-container-org232c089" class="outline-5">
|
||||
<h5 id="org232c089"><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="org-src-container">
|
||||
<pre class="src src-f90"><span style="color: #a020f0;">interface</span>
|
||||
@ -1328,8 +1328,8 @@ function returns <code>true</code>.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org32f1584" class="outline-3">
|
||||
<h3 id="org32f1584"><span class="section-number-3">2.2</span> Computed data</h3>
|
||||
<div id="outline-container-orgb2cfbce" class="outline-3">
|
||||
<h3 id="orgb2cfbce"><span class="section-number-3">2.2</span> Computed data</h3>
|
||||
<div class="outline-text-3" id="text-2-2">
|
||||
<p>
|
||||
The following data is computed as described in the next sections:
|
||||
@ -1393,8 +1393,8 @@ The following data is computed as described in the next sections:
|
||||
</div>
|
||||
|
||||
|
||||
<div id="outline-container-org223f45a" class="outline-4">
|
||||
<h4 id="org223f45a"><span class="section-number-4">2.2.1</span> After initialization</h4>
|
||||
<div id="outline-container-org99446f2" class="outline-4">
|
||||
<h4 id="org99446f2"><span class="section-number-4">2.2.1</span> After initialization</h4>
|
||||
<div class="outline-text-4" id="text-2-2-1">
|
||||
<p>
|
||||
When the basis set is completely entered, extra data structures may be
|
||||
@ -1408,8 +1408,8 @@ the context.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgf12ba7c" class="outline-4">
|
||||
<h4 id="orgf12ba7c"><span class="section-number-4">2.2.2</span> Access functions</h4>
|
||||
<div id="outline-container-org0f03de6" class="outline-4">
|
||||
<h4 id="org0f03de6"><span class="section-number-4">2.2.2</span> Access functions</h4>
|
||||
<div class="outline-text-4" id="text-2-2-2">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span>
|
||||
@ -1422,7 +1422,7 @@ the context.
|
||||
<p>
|
||||
Returns the array of values, gradients an Laplacian of primitive
|
||||
basis functions evaluated at the current coordinates.
|
||||
See section <a href="#orgc57f697">3.2</a>.
|
||||
See section <a href="#orga5af56b">3.2</a>.
|
||||
</p>
|
||||
|
||||
<div class="org-src-container">
|
||||
@ -1435,7 +1435,7 @@ See section <a href="#orgc57f697">3.2</a>.
|
||||
|
||||
<p>
|
||||
Returns the array of values, gradients an Laplacian of contracted shells
|
||||
evaluated at the current coordinates. See section <a href="#org468d738">3.3</a>.
|
||||
evaluated at the current coordinates. See section <a href="#org9ff5928">3.3</a>.
|
||||
</p>
|
||||
|
||||
<div class="org-src-container">
|
||||
@ -1449,19 +1449,19 @@ evaluated at the current coordinates. See section <a href="#org468d738">3.3</a>.
|
||||
<p>
|
||||
Returns the array of values, gradients an Laplacian of the atomic orbitals
|
||||
evaluated at the current coordinates.
|
||||
See section <a href="#org7b264dc">5</a>.
|
||||
See section <a href="#org47a41b4">5</a>.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orga83189f" class="outline-2">
|
||||
<h2 id="orga83189f"><span class="section-number-2">3</span> Radial part</h2>
|
||||
<div id="outline-container-org119457f" class="outline-2">
|
||||
<h2 id="org119457f"><span class="section-number-2">3</span> Radial part</h2>
|
||||
<div class="outline-text-2" id="text-3">
|
||||
</div>
|
||||
<div id="outline-container-org365e0d9" class="outline-3">
|
||||
<h3 id="org365e0d9"><span class="section-number-3">3.1</span> General functions for Gaussian basis functions</h3>
|
||||
<div id="outline-container-org2be9327" class="outline-3">
|
||||
<h3 id="org2be9327"><span class="section-number-3">3.1</span> General functions for Gaussian basis functions</h3>
|
||||
<div class="outline-text-3" id="text-3-1">
|
||||
<p>
|
||||
<code>qmckl_ao_gaussian_vgl</code> computes the values, gradients and
|
||||
@ -1632,10 +1632,10 @@ Requirements:
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgc57f697" class="outline-3">
|
||||
<h3 id="orgc57f697"><span class="section-number-3">3.2</span> Computation of primitives</h3>
|
||||
<div id="outline-container-orga5af56b" class="outline-3">
|
||||
<h3 id="orga5af56b"><span class="section-number-3">3.2</span> Computation of primitives</h3>
|
||||
<div class="outline-text-3" id="text-3-2">
|
||||
<table id="org2c79ef4" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org2504aef" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -1794,10 +1794,10 @@ Requirements:
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org468d738" class="outline-3">
|
||||
<h3 id="org468d738"><span class="section-number-3">3.3</span> Computation of shells</h3>
|
||||
<div id="outline-container-org9ff5928" class="outline-3">
|
||||
<h3 id="org9ff5928"><span class="section-number-3">3.3</span> Computation of shells</h3>
|
||||
<div class="outline-text-3" id="text-3-3">
|
||||
<table id="org3d4fc44" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org50c0f3b" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -2036,8 +2036,8 @@ Requirements:
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org02ce0df" class="outline-2">
|
||||
<h2 id="org02ce0df"><span class="section-number-2">4</span> Polynomial part</h2>
|
||||
<div id="outline-container-org46b34a4" class="outline-2">
|
||||
<h2 id="org46b34a4"><span class="section-number-2">4</span> Polynomial part</h2>
|
||||
<div class="outline-text-2" id="text-4">
|
||||
<p>
|
||||
Going from the atomic basis set to AOs implies a systematic
|
||||
@ -2057,8 +2057,8 @@ f & : & f_{xxx}, f_{xxy}, f_{xxz}, f_{xyy}, f_{xyz}, f_{xzz}, f_{yyy}, f_{yyz},
|
||||
\end{eqnarray}
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgfb0439a" class="outline-3">
|
||||
<h3 id="orgfb0439a"><span class="section-number-3">4.1</span> General functions for Powers of \(x-X_i\)</h3>
|
||||
<div id="outline-container-org33d74a6" class="outline-3">
|
||||
<h3 id="org33d74a6"><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">
|
||||
<p>
|
||||
The <code>qmckl_ao_power</code> function computes all the powers of the <code>n</code>
|
||||
@ -2070,7 +2070,7 @@ the \(n\) points:
|
||||
\[ P_{ik} = X_i^k \]
|
||||
</p>
|
||||
|
||||
<table id="orgd5c2ad4" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org226871f" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -2208,8 +2208,8 @@ Requirements:
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgd601cd8" class="outline-3">
|
||||
<h3 id="orgd601cd8"><span class="section-number-3">4.2</span> General functions for Value, Gradient and Laplacian of a polynomial</h3>
|
||||
<div id="outline-container-orge1a9a41" class="outline-3">
|
||||
<h3 id="orge1a9a41"><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">
|
||||
<p>
|
||||
A polynomial is centered on a nucleus \(\mathbf{R}_i\)
|
||||
@ -2254,7 +2254,7 @@ Laplacians at a given point in space, of all polynomials with an
|
||||
angular momentum up to <code>lmax</code>.
|
||||
</p>
|
||||
|
||||
<table id="org597dda5" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orgb3c2e00" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -2514,10 +2514,10 @@ For example, with a=0, b=2 and c=1 the string is "yyz"</li>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org7b264dc" class="outline-2">
|
||||
<h2 id="org7b264dc"><span class="section-number-2">5</span> Combining radial and polynomial parts</h2>
|
||||
<div id="outline-container-org47a41b4" class="outline-2">
|
||||
<h2 id="org47a41b4"><span class="section-number-2">5</span> Combining radial and polynomial parts</h2>
|
||||
<div class="outline-text-2" id="text-5">
|
||||
<table id="org7a12fc9" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org026af4d" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -2795,7 +2795,7 @@ For example, with a=0, b=2 and c=1 the string is "yyz"</li>
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: TREX CoE</p>
|
||||
<p class="date">Created: 2022-01-06 Thu 18:05</p>
|
||||
<p class="date">Created: 2022-01-06 Thu 18:07</p>
|
||||
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||
</div>
|
||||
</body>
|
||||
|
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2022-01-06 Thu 18:05 -->
|
||||
<!-- 2022-01-06 Thu 18:08 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>BLAS functions</title>
|
||||
@ -333,22 +333,22 @@ for the JavaScript code in this tag.
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents">
|
||||
<ul>
|
||||
<li><a href="#orga6ec933">1. Matrix operations</a>
|
||||
<li><a href="#org1164515">1. Matrix operations</a>
|
||||
<ul>
|
||||
<li><a href="#orgc574087">1.1. <code>qmckl_dgemm</code></a></li>
|
||||
<li><a href="#org6196b4b">1.2. <code>qmckl_adjugate</code></a></li>
|
||||
<li><a href="#org49528a5">1.1. <code>qmckl_dgemm</code></a></li>
|
||||
<li><a href="#org64f2c07">1.2. <code>qmckl_adjugate</code></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orga6ec933" class="outline-2">
|
||||
<h2 id="orga6ec933"><span class="section-number-2">1</span> Matrix operations</h2>
|
||||
<div id="outline-container-org1164515" class="outline-2">
|
||||
<h2 id="org1164515"><span class="section-number-2">1</span> Matrix operations</h2>
|
||||
<div class="outline-text-2" id="text-1">
|
||||
</div>
|
||||
<div id="outline-container-orgc574087" class="outline-3">
|
||||
<h3 id="orgc574087"><span class="section-number-3">1.1</span> <code>qmckl_dgemm</code></h3>
|
||||
<div id="outline-container-org49528a5" class="outline-3">
|
||||
<h3 id="org49528a5"><span class="section-number-3">1.1</span> <code>qmckl_dgemm</code></h3>
|
||||
<div class="outline-text-3" id="text-1-1">
|
||||
<p>
|
||||
Matrix multiplication:
|
||||
@ -360,7 +360,7 @@ Matrix multiplication:
|
||||
\]
|
||||
</p>
|
||||
|
||||
<table id="org68b8fe1" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orgf97a874" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -580,8 +580,8 @@ Requirements:
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org6196b4b" class="outline-3">
|
||||
<h3 id="org6196b4b"><span class="section-number-3">1.2</span> <code>qmckl_adjugate</code></h3>
|
||||
<div id="outline-container-org64f2c07" class="outline-3">
|
||||
<h3 id="org64f2c07"><span class="section-number-3">1.2</span> <code>qmckl_adjugate</code></h3>
|
||||
<div class="outline-text-3" id="text-1-2">
|
||||
<p>
|
||||
Given a matrix \(\mathbf{A}\), the adjugate matrix
|
||||
@ -599,7 +599,7 @@ of \(\mathbf{A}\).
|
||||
See also: <a href="https://en.wikipedia.org/wiki/Adjugate_matrix">https://en.wikipedia.org/wiki/Adjugate_matrix</a>
|
||||
</p>
|
||||
|
||||
<table id="orgd82ba41" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orgbfe8e07" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -855,7 +855,7 @@ determinant with the inverse:
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: TREX CoE</p>
|
||||
<p class="date">Created: 2022-01-06 Thu 18:05</p>
|
||||
<p class="date">Created: 2022-01-06 Thu 18:08</p>
|
||||
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||
</div>
|
||||
</body>
|
||||
|
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2022-01-06 Thu 18:05 -->
|
||||
<!-- 2022-01-06 Thu 18:07 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>Context</title>
|
||||
@ -311,21 +311,21 @@ for the JavaScript code in this tag.
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents">
|
||||
<ul>
|
||||
<li><a href="#org262cfd2">1. Context handling</a>
|
||||
<li><a href="#orgc5c4511">1. Context handling</a>
|
||||
<ul>
|
||||
<li><a href="#orgd4c964e">1.1. Data structure</a></li>
|
||||
<li><a href="#org6ad2496">1.2. Creation</a></li>
|
||||
<li><a href="#orgddd8811">1.3. Locking</a></li>
|
||||
<li><a href="#org8b4c20e">1.4. <span class="todo TODO">TODO</span> Copy</a></li>
|
||||
<li><a href="#orgda2a8e4">1.5. Destroy</a></li>
|
||||
<li><a href="#org505147a">1.1. Data structure</a></li>
|
||||
<li><a href="#org1d683a5">1.2. Creation</a></li>
|
||||
<li><a href="#org6c44aea">1.3. Locking</a></li>
|
||||
<li><a href="#orgdb3a685">1.4. <span class="todo TODO">TODO</span> Copy</a></li>
|
||||
<li><a href="#orgacde0f9">1.5. Destroy</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org262cfd2" class="outline-2">
|
||||
<h2 id="org262cfd2"><span class="section-number-2">1</span> Context handling</h2>
|
||||
<div id="outline-container-orgc5c4511" class="outline-2">
|
||||
<h2 id="orgc5c4511"><span class="section-number-2">1</span> Context handling</h2>
|
||||
<div class="outline-text-2" id="text-1">
|
||||
<p>
|
||||
The context variable is a handle for the state of the library,
|
||||
@ -338,7 +338,7 @@ A value of <code>QMCKL_NULL_CONTEXT</code> for the context is equivalent to a
|
||||
</p>
|
||||
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c" id="orgec1f486"><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="org8a9a4c2"><span style="color: #a020f0;">typedef</span> <span style="color: #228b22;">int64_t</span> <span style="color: #228b22;">qmckl_context</span> ;
|
||||
<span style="color: #483d8b;">#define</span> <span style="color: #a0522d;">QMCKL_NULL_CONTEXT</span> (qmckl_context) 0
|
||||
</pre>
|
||||
</div>
|
||||
@ -356,8 +356,8 @@ and <code>ctx</code> is a <code>qmckl_context_struct*</code> pointer.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgd4c964e" class="outline-3">
|
||||
<h3 id="orgd4c964e"><span class="section-number-3">1.1</span> Data structure</h3>
|
||||
<div id="outline-container-org505147a" class="outline-3">
|
||||
<h3 id="org505147a"><span class="section-number-3">1.1</span> Data structure</h3>
|
||||
<div class="outline-text-3" id="text-1-1">
|
||||
<p>
|
||||
The context keeps a ``date'' that allows to check which data needs
|
||||
@ -367,7 +367,7 @@ coordinates are updated.
|
||||
|
||||
<p>
|
||||
When a new element is added to the context, the functions
|
||||
<a href="#org6ad2496">qmckl<sub>context</sub><sub>create</sub></a>, <a href="#orgda2a8e4">qmckl<sub>context</sub><sub>destroy</sub></a> and <a href="#org8b4c20e">qmckl<sub>context</sub><sub>copy</sub></a>
|
||||
<a href="#org1d683a5">qmckl<sub>context</sub><sub>create</sub></a>, <a href="#orgacde0f9">qmckl<sub>context</sub><sub>destroy</sub></a> and <a href="#orgdb3a685">qmckl<sub>context</sub><sub>copy</sub></a>
|
||||
should be updated inorder to make deep copies.
|
||||
</p>
|
||||
|
||||
@ -416,8 +416,8 @@ if the context is valid, <code>QMCKL_NULL_CONTEXT</code> otherwise.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org6ad2496" class="outline-3">
|
||||
<h3 id="org6ad2496"><span class="section-number-3">1.2</span> Creation</h3>
|
||||
<div id="outline-container-org1d683a5" class="outline-3">
|
||||
<h3 id="org1d683a5"><span class="section-number-3">1.2</span> Creation</h3>
|
||||
<div class="outline-text-3" id="text-1-2">
|
||||
<p>
|
||||
To create a new context, <code>qmckl_context_create()</code> should be used.
|
||||
@ -508,8 +508,8 @@ To create a new context, <code>qmckl_context_create()</code> should be used.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-orgddd8811" class="outline-3">
|
||||
<h3 id="orgddd8811"><span class="section-number-3">1.3</span> Locking</h3>
|
||||
<div id="outline-container-org6c44aea" class="outline-3">
|
||||
<h3 id="org6c44aea"><span class="section-number-3">1.3</span> Locking</h3>
|
||||
<div class="outline-text-3" id="text-1-3">
|
||||
<p>
|
||||
For thread safety, the context may be locked/unlocked. The lock is
|
||||
@ -554,8 +554,8 @@ number of times the thread has locked it is saved in the
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org8b4c20e" class="outline-3">
|
||||
<h3 id="org8b4c20e"><span class="section-number-3">1.4</span> <span class="todo TODO">TODO</span> Copy</h3>
|
||||
<div id="outline-container-orgdb3a685" class="outline-3">
|
||||
<h3 id="orgdb3a685"><span class="section-number-3">1.4</span> <span class="todo TODO">TODO</span> Copy</h3>
|
||||
<div class="outline-text-3" id="text-1-4">
|
||||
<p>
|
||||
<code>qmckl_context_copy</code> makes a deep copy of a context. It returns
|
||||
@ -603,8 +603,8 @@ number of times the thread has locked it is saved in the
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-orgda2a8e4" class="outline-3">
|
||||
<h3 id="orgda2a8e4"><span class="section-number-3">1.5</span> Destroy</h3>
|
||||
<div id="outline-container-orgacde0f9" class="outline-3">
|
||||
<h3 id="orgacde0f9"><span class="section-number-3">1.5</span> Destroy</h3>
|
||||
<div class="outline-text-3" id="text-1-5">
|
||||
<p>
|
||||
The context is destroyed with <code>qmckl_context_destroy</code>, leaving the ancestors untouched.
|
||||
@ -658,7 +658,7 @@ It frees the context, and returns the previous context.
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: TREX CoE</p>
|
||||
<p class="date">Created: 2022-01-06 Thu 18:05</p>
|
||||
<p class="date">Created: 2022-01-06 Thu 18:07</p>
|
||||
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||
</div>
|
||||
</body>
|
||||
|
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2022-01-06 Thu 18:05 -->
|
||||
<!-- 2022-01-06 Thu 18:07 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>Slater Determinant</title>
|
||||
@ -311,32 +311,32 @@ for the JavaScript code in this tag.
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents">
|
||||
<ul>
|
||||
<li><a href="#org7bd6c57">1. Context</a>
|
||||
<li><a href="#org9af8e22">1. Context</a>
|
||||
<ul>
|
||||
<li><a href="#org9b7eefd">1.1. Data structure</a></li>
|
||||
<li><a href="#orge48e587">1.2. Access functions</a></li>
|
||||
<li><a href="#org4ae7e19">1.3. Initialization functions</a></li>
|
||||
<li><a href="#orgc88fd90">1.4. Fortran Interfaces</a></li>
|
||||
<li><a href="#org90b309c">1.5. Test</a></li>
|
||||
<li><a href="#org6340a76">1.1. Data structure</a></li>
|
||||
<li><a href="#org746805e">1.2. Access functions</a></li>
|
||||
<li><a href="#org8b3dd01">1.3. Initialization functions</a></li>
|
||||
<li><a href="#org3b9d05a">1.4. Fortran Interfaces</a></li>
|
||||
<li><a href="#org9ff7c9c">1.5. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org11909dc">2. Computation</a>
|
||||
<li><a href="#orgd40725e">2. Computation</a>
|
||||
<ul>
|
||||
<li><a href="#orgacade98">2.1. Determinant matrix</a>
|
||||
<li><a href="#orgf75c424">2.1. Determinant matrix</a>
|
||||
<ul>
|
||||
<li><a href="#org9b10168">2.1.1. Get</a></li>
|
||||
<li><a href="#org048a4a8">2.1.2. Provide</a></li>
|
||||
<li><a href="#org6e50e4b">2.1.3. Compute alpha</a></li>
|
||||
<li><a href="#org34a6c82">2.1.4. Compute beta</a></li>
|
||||
<li><a href="#org52a1ae1">2.1.5. Test</a></li>
|
||||
<li><a href="#org64f7185">2.1.1. Get</a></li>
|
||||
<li><a href="#orga8c2fa7">2.1.2. Provide</a></li>
|
||||
<li><a href="#orgb1c2799">2.1.3. Compute alpha</a></li>
|
||||
<li><a href="#orga3c5dc0">2.1.4. Compute beta</a></li>
|
||||
<li><a href="#org7c3c91e">2.1.5. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org1ab77ba">2.2. Inverse of Determinant matrix</a>
|
||||
<li><a href="#orgebb01dd">2.2. Inverse of Determinant matrix</a>
|
||||
<ul>
|
||||
<li><a href="#org59bd599">2.2.1. Get</a></li>
|
||||
<li><a href="#orgd9a3cac">2.2.2. Provide</a></li>
|
||||
<li><a href="#orgb58056f">2.2.3. Compute alpha</a></li>
|
||||
<li><a href="#org0041038">2.2.4. Compute beta</a></li>
|
||||
<li><a href="#org7922f82">2.2.1. Get</a></li>
|
||||
<li><a href="#org47d2e23">2.2.2. Provide</a></li>
|
||||
<li><a href="#org03b6aa3">2.2.3. Compute alpha</a></li>
|
||||
<li><a href="#org962c60c">2.2.4. Compute beta</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@ -345,8 +345,8 @@ for the JavaScript code in this tag.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org7bd6c57" class="outline-2">
|
||||
<h2 id="org7bd6c57"><span class="section-number-2">1</span> Context</h2>
|
||||
<div id="outline-container-org9af8e22" class="outline-2">
|
||||
<h2 id="org9af8e22"><span class="section-number-2">1</span> Context</h2>
|
||||
<div class="outline-text-2" id="text-1">
|
||||
<p>
|
||||
The following arrays are stored in the context:
|
||||
@ -528,8 +528,8 @@ Computed data:
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org9b7eefd" class="outline-3">
|
||||
<h3 id="org9b7eefd"><span class="section-number-3">1.1</span> Data structure</h3>
|
||||
<div id="outline-container-org6340a76" class="outline-3">
|
||||
<h3 id="org6340a76"><span class="section-number-3">1.1</span> Data structure</h3>
|
||||
<div class="outline-text-3" id="text-1-1">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #a020f0;">typedef</span> <span style="color: #a020f0;">struct</span> <span style="color: #228b22;">qmckl_determinant_struct</span> {
|
||||
@ -598,8 +598,8 @@ this mechanism.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orge48e587" class="outline-3">
|
||||
<h3 id="orge48e587"><span class="section-number-3">1.2</span> Access functions</h3>
|
||||
<div id="outline-container-org746805e" class="outline-3">
|
||||
<h3 id="org746805e"><span class="section-number-3">1.2</span> Access functions</h3>
|
||||
<div class="outline-text-3" id="text-1-2">
|
||||
<p>
|
||||
When all the data for the slater determinants have been provided, the following
|
||||
@ -613,8 +613,8 @@ function returns <code>true</code>.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org4ae7e19" class="outline-3">
|
||||
<h3 id="org4ae7e19"><span class="section-number-3">1.3</span> Initialization functions</h3>
|
||||
<div id="outline-container-org8b3dd01" class="outline-3">
|
||||
<h3 id="org8b3dd01"><span class="section-number-3">1.3</span> Initialization functions</h3>
|
||||
<div class="outline-text-3" id="text-1-3">
|
||||
<p>
|
||||
To set the basis set, all the following functions need to be
|
||||
@ -638,24 +638,24 @@ computed to accelerate the calculations.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgc88fd90" class="outline-3">
|
||||
<h3 id="orgc88fd90"><span class="section-number-3">1.4</span> Fortran Interfaces</h3>
|
||||
<div id="outline-container-org3b9d05a" class="outline-3">
|
||||
<h3 id="org3b9d05a"><span class="section-number-3">1.4</span> Fortran Interfaces</h3>
|
||||
</div>
|
||||
<div id="outline-container-org90b309c" class="outline-3">
|
||||
<h3 id="org90b309c"><span class="section-number-3">1.5</span> Test</h3>
|
||||
<div id="outline-container-org9ff7c9c" class="outline-3">
|
||||
<h3 id="org9ff7c9c"><span class="section-number-3">1.5</span> Test</h3>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-org11909dc" class="outline-2">
|
||||
<h2 id="org11909dc"><span class="section-number-2">2</span> Computation</h2>
|
||||
<div id="outline-container-orgd40725e" class="outline-2">
|
||||
<h2 id="orgd40725e"><span class="section-number-2">2</span> Computation</h2>
|
||||
<div class="outline-text-2" id="text-2">
|
||||
</div>
|
||||
<div id="outline-container-orgacade98" class="outline-3">
|
||||
<h3 id="orgacade98"><span class="section-number-3">2.1</span> Determinant matrix</h3>
|
||||
<div id="outline-container-orgf75c424" class="outline-3">
|
||||
<h3 id="orgf75c424"><span class="section-number-3">2.1</span> Determinant matrix</h3>
|
||||
<div class="outline-text-3" id="text-2-1">
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org9b10168" class="outline-4">
|
||||
<h4 id="org9b10168"><span class="section-number-4">2.1.1</span> Get</h4>
|
||||
<div id="outline-container-org64f7185" class="outline-4">
|
||||
<h4 id="org64f7185"><span class="section-number-4">2.1.1</span> Get</h4>
|
||||
<div class="outline-text-4" id="text-2-1-1">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_get_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>);
|
||||
@ -665,14 +665,14 @@ computed to accelerate the calculations.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org048a4a8" class="outline-4">
|
||||
<h4 id="org048a4a8"><span class="section-number-4">2.1.2</span> Provide</h4>
|
||||
<div id="outline-container-orga8c2fa7" class="outline-4">
|
||||
<h4 id="orga8c2fa7"><span class="section-number-4">2.1.2</span> Provide</h4>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org6e50e4b" class="outline-4">
|
||||
<h4 id="org6e50e4b"><span class="section-number-4">2.1.3</span> Compute alpha</h4>
|
||||
<div id="outline-container-orgb1c2799" class="outline-4">
|
||||
<h4 id="orgb1c2799"><span class="section-number-4">2.1.3</span> Compute alpha</h4>
|
||||
<div class="outline-text-4" id="text-2-1-3">
|
||||
<table id="org8591569" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orga46d4f3" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -846,10 +846,10 @@ computed to accelerate the calculations.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org34a6c82" class="outline-4">
|
||||
<h4 id="org34a6c82"><span class="section-number-4">2.1.4</span> Compute beta</h4>
|
||||
<div id="outline-container-orga3c5dc0" class="outline-4">
|
||||
<h4 id="orga3c5dc0"><span class="section-number-4">2.1.4</span> Compute beta</h4>
|
||||
<div class="outline-text-4" id="text-2-1-4">
|
||||
<table id="org46d7383" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org8ad3135" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -1023,18 +1023,18 @@ computed to accelerate the calculations.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org52a1ae1" class="outline-4">
|
||||
<h4 id="org52a1ae1"><span class="section-number-4">2.1.5</span> Test</h4>
|
||||
<div id="outline-container-org7c3c91e" class="outline-4">
|
||||
<h4 id="org7c3c91e"><span class="section-number-4">2.1.5</span> Test</h4>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org1ab77ba" class="outline-3">
|
||||
<h3 id="org1ab77ba"><span class="section-number-3">2.2</span> Inverse of Determinant matrix</h3>
|
||||
<div id="outline-container-orgebb01dd" class="outline-3">
|
||||
<h3 id="orgebb01dd"><span class="section-number-3">2.2</span> Inverse of Determinant matrix</h3>
|
||||
<div class="outline-text-3" id="text-2-2">
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org59bd599" class="outline-4">
|
||||
<h4 id="org59bd599"><span class="section-number-4">2.2.1</span> Get</h4>
|
||||
<div id="outline-container-org7922f82" class="outline-4">
|
||||
<h4 id="org7922f82"><span class="section-number-4">2.2.1</span> Get</h4>
|
||||
<div class="outline-text-4" id="text-2-2-1">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_get_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>);
|
||||
@ -1048,14 +1048,14 @@ computed to accelerate the calculations.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgd9a3cac" class="outline-4">
|
||||
<h4 id="orgd9a3cac"><span class="section-number-4">2.2.2</span> Provide</h4>
|
||||
<div id="outline-container-org47d2e23" class="outline-4">
|
||||
<h4 id="org47d2e23"><span class="section-number-4">2.2.2</span> Provide</h4>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgb58056f" class="outline-4">
|
||||
<h4 id="orgb58056f"><span class="section-number-4">2.2.3</span> Compute alpha</h4>
|
||||
<div id="outline-container-org03b6aa3" class="outline-4">
|
||||
<h4 id="org03b6aa3"><span class="section-number-4">2.2.3</span> Compute alpha</h4>
|
||||
<div class="outline-text-4" id="text-2-2-3">
|
||||
<table id="orgf8f39d8" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org7ad6f6c" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -1217,10 +1217,10 @@ computed to accelerate the calculations.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org0041038" class="outline-4">
|
||||
<h4 id="org0041038"><span class="section-number-4">2.2.4</span> Compute beta</h4>
|
||||
<div id="outline-container-org962c60c" class="outline-4">
|
||||
<h4 id="org962c60c"><span class="section-number-4">2.2.4</span> Compute beta</h4>
|
||||
<div class="outline-text-4" id="text-2-2-4">
|
||||
<table id="org8a44950" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org1c3aa78" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -1387,7 +1387,7 @@ computed to accelerate the calculations.
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: TREX CoE</p>
|
||||
<p class="date">Created: 2022-01-06 Thu 18:05</p>
|
||||
<p class="date">Created: 2022-01-06 Thu 18:07</p>
|
||||
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||
</div>
|
||||
</body>
|
||||
|
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2022-01-06 Thu 18:05 -->
|
||||
<!-- 2022-01-06 Thu 18:07 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>Inter-particle distances</title>
|
||||
@ -333,54 +333,54 @@ for the JavaScript code in this tag.
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents">
|
||||
<ul>
|
||||
<li><a href="#org05a192b">1. Squared distance</a>
|
||||
<li><a href="#orgd5d25bf">1. Squared distance</a>
|
||||
<ul>
|
||||
<li><a href="#org0a37ec3">1.1. <code>qmckl_distance_sq</code></a>
|
||||
<li><a href="#org1be44b6">1.1. <code>qmckl_distance_sq</code></a>
|
||||
<ul>
|
||||
<li><a href="#orgc198b60">1.1.1. Performance</a></li>
|
||||
<li><a href="#orgffabdcd">1.1.1. Performance</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org4812fe6">2. Distance</a>
|
||||
<li><a href="#org463dcf9">2. Distance</a>
|
||||
<ul>
|
||||
<li><a href="#org2effed1">2.1. <code>qmckl_distance</code></a>
|
||||
<li><a href="#orgff9cd1e">2.1. <code>qmckl_distance</code></a>
|
||||
<ul>
|
||||
<li><a href="#org7e6be2e">2.1.1. Requirements</a></li>
|
||||
<li><a href="#orga426203">2.1.2. C header</a></li>
|
||||
<li><a href="#org3c4623b">2.1.3. Source</a></li>
|
||||
<li><a href="#org31b8330">2.1.4. Performance</a></li>
|
||||
<li><a href="#orgce3a216">2.1.1. Requirements</a></li>
|
||||
<li><a href="#org08b2d95">2.1.2. C header</a></li>
|
||||
<li><a href="#org0d19c90">2.1.3. Source</a></li>
|
||||
<li><a href="#org5149755">2.1.4. Performance</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgef4f134">3. Rescaled Distance</a>
|
||||
<li><a href="#org443f935">3. Rescaled Distance</a>
|
||||
<ul>
|
||||
<li><a href="#org3b916f1">3.1. <code>qmckl_distance_rescaled</code></a>
|
||||
<li><a href="#org109a840">3.1. <code>qmckl_distance_rescaled</code></a>
|
||||
<ul>
|
||||
<li><a href="#org8901d78">3.1.1. Requirements</a></li>
|
||||
<li><a href="#org407f074">3.1.2. C header</a></li>
|
||||
<li><a href="#orgca68da0">3.1.3. Source</a></li>
|
||||
<li><a href="#org2a636e7">3.1.4. Performance</a></li>
|
||||
<li><a href="#orgfbdc4a3">3.1.1. Requirements</a></li>
|
||||
<li><a href="#org2f80854">3.1.2. C header</a></li>
|
||||
<li><a href="#org9faef12">3.1.3. Source</a></li>
|
||||
<li><a href="#org6d5f2bb">3.1.4. Performance</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org3318151">4. Rescaled Distance Derivatives</a>
|
||||
<li><a href="#orgae46ba9">4. Rescaled Distance Derivatives</a>
|
||||
<ul>
|
||||
<li><a href="#org0a0fa76">4.1. <code>qmckl_distance_rescaled_deriv_e</code></a></li>
|
||||
<li><a href="#org3a8a480">4.1. <code>qmckl_distance_rescaled_deriv_e</code></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org05a192b" class="outline-2">
|
||||
<h2 id="org05a192b"><span class="section-number-2">1</span> Squared distance</h2>
|
||||
<div id="outline-container-orgd5d25bf" class="outline-2">
|
||||
<h2 id="orgd5d25bf"><span class="section-number-2">1</span> Squared distance</h2>
|
||||
<div class="outline-text-2" id="text-1">
|
||||
</div>
|
||||
<div id="outline-container-org0a37ec3" class="outline-3">
|
||||
<h3 id="org0a37ec3"><span class="section-number-3">1.1</span> <code>qmckl_distance_sq</code></h3>
|
||||
<div id="outline-container-org1be44b6" class="outline-3">
|
||||
<h3 id="org1be44b6"><span class="section-number-3">1.1</span> <code>qmckl_distance_sq</code></h3>
|
||||
<div class="outline-text-3" id="text-1-1">
|
||||
<p>
|
||||
<code>qmckl_distance_sq</code> computes the matrix of the squared distances
|
||||
@ -393,7 +393,7 @@ between all pairs of points in two sets, one point within each set:
|
||||
\]
|
||||
</p>
|
||||
|
||||
<table id="org2d60cbe" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org5eb2965" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -659,8 +659,8 @@ Requirements:
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgc198b60" class="outline-4">
|
||||
<h4 id="orgc198b60"><span class="section-number-4">1.1.1</span> Performance</h4>
|
||||
<div id="outline-container-orgffabdcd" class="outline-4">
|
||||
<h4 id="orgffabdcd"><span class="section-number-4">1.1.1</span> Performance</h4>
|
||||
<div class="outline-text-4" id="text-1-1-1">
|
||||
<p>
|
||||
This function is more efficient when <code>A</code> and <code>B</code> are
|
||||
@ -670,12 +670,12 @@ transposed.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-org4812fe6" class="outline-2">
|
||||
<h2 id="org4812fe6"><span class="section-number-2">2</span> Distance</h2>
|
||||
<div id="outline-container-org463dcf9" class="outline-2">
|
||||
<h2 id="org463dcf9"><span class="section-number-2">2</span> Distance</h2>
|
||||
<div class="outline-text-2" id="text-2">
|
||||
</div>
|
||||
<div id="outline-container-org2effed1" class="outline-3">
|
||||
<h3 id="org2effed1"><span class="section-number-3">2.1</span> <code>qmckl_distance</code></h3>
|
||||
<div id="outline-container-orgff9cd1e" class="outline-3">
|
||||
<h3 id="orgff9cd1e"><span class="section-number-3">2.1</span> <code>qmckl_distance</code></h3>
|
||||
<div class="outline-text-3" id="text-2-1">
|
||||
<p>
|
||||
<code>qmckl_distance</code> computes the matrix of the distances between all
|
||||
@ -693,7 +693,7 @@ If the input array is normal (<code>'N'</code>), the xyz coordinates are in
|
||||
the leading dimension: <code>[n][3]</code> in C and <code>(3,n)</code> in Fortran.
|
||||
</p>
|
||||
|
||||
<table id="org48cdea0" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org5ca8374" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -794,8 +794,8 @@ the leading dimension: <code>[n][3]</code> in C and <code>(3,n)</code> in Fortra
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org7e6be2e" class="outline-4">
|
||||
<h4 id="org7e6be2e"><span class="section-number-4">2.1.1</span> Requirements</h4>
|
||||
<div id="outline-container-orgce3a216" class="outline-4">
|
||||
<h4 id="orgce3a216"><span class="section-number-4">2.1.1</span> Requirements</h4>
|
||||
<div class="outline-text-4" id="text-2-1-1">
|
||||
<ul class="org-ul">
|
||||
<li><code>context</code> is not <code>QMCKL_NULL_CONTEXT</code></li>
|
||||
@ -813,8 +813,8 @@ the leading dimension: <code>[n][3]</code> in C and <code>(3,n)</code> in Fortra
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orga426203" class="outline-4">
|
||||
<h4 id="orga426203"><span class="section-number-4">2.1.2</span> C header</h4>
|
||||
<div id="outline-container-org08b2d95" class="outline-4">
|
||||
<h4 id="org08b2d95"><span class="section-number-4">2.1.2</span> C header</h4>
|
||||
<div class="outline-text-4" id="text-2-1-2">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_distance</span> (
|
||||
@ -834,8 +834,8 @@ the leading dimension: <code>[n][3]</code> in C and <code>(3,n)</code> in Fortra
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org3c4623b" class="outline-4">
|
||||
<h4 id="org3c4623b"><span class="section-number-4">2.1.3</span> Source</h4>
|
||||
<div id="outline-container-org0d19c90" class="outline-4">
|
||||
<h4 id="org0d19c90"><span class="section-number-4">2.1.3</span> Source</h4>
|
||||
<div class="outline-text-4" id="text-2-1-3">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-f90"><span style="color: #228b22;">integer</span><span style="color: #a0522d;"> function qmckl_distance_f(context, transa, transb, m, n, </span><span style="color: #a020f0;">&</span>
|
||||
@ -1002,8 +1002,8 @@ the leading dimension: <code>[n][3]</code> in C and <code>(3,n)</code> in Fortra
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org31b8330" class="outline-4">
|
||||
<h4 id="org31b8330"><span class="section-number-4">2.1.4</span> Performance</h4>
|
||||
<div id="outline-container-org5149755" class="outline-4">
|
||||
<h4 id="org5149755"><span class="section-number-4">2.1.4</span> Performance</h4>
|
||||
<div class="outline-text-4" id="text-2-1-4">
|
||||
<p>
|
||||
This function is more efficient when <code>A</code> and <code>B</code> are transposed.
|
||||
@ -1013,12 +1013,12 @@ This function is more efficient when <code>A</code> and <code>B</code> are trans
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgef4f134" class="outline-2">
|
||||
<h2 id="orgef4f134"><span class="section-number-2">3</span> Rescaled Distance</h2>
|
||||
<div id="outline-container-org443f935" class="outline-2">
|
||||
<h2 id="org443f935"><span class="section-number-2">3</span> Rescaled Distance</h2>
|
||||
<div class="outline-text-2" id="text-3">
|
||||
</div>
|
||||
<div id="outline-container-org3b916f1" class="outline-3">
|
||||
<h3 id="org3b916f1"><span class="section-number-3">3.1</span> <code>qmckl_distance_rescaled</code></h3>
|
||||
<div id="outline-container-org109a840" class="outline-3">
|
||||
<h3 id="org109a840"><span class="section-number-3">3.1</span> <code>qmckl_distance_rescaled</code></h3>
|
||||
<div class="outline-text-3" id="text-3-1">
|
||||
<p>
|
||||
<code>qmckl_distance_rescaled</code> computes the matrix of the rescaled distances between all
|
||||
@ -1036,7 +1036,7 @@ If the input array is normal (<code>'N'</code>), the xyz coordinates are in
|
||||
the leading dimension: <code>[n][3]</code> in C and <code>(3,n)</code> in Fortran.
|
||||
</p>
|
||||
|
||||
<table id="org742a8fc" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org73470b1" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -1144,8 +1144,8 @@ the leading dimension: <code>[n][3]</code> in C and <code>(3,n)</code> in Fortra
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org8901d78" class="outline-4">
|
||||
<h4 id="org8901d78"><span class="section-number-4">3.1.1</span> Requirements</h4>
|
||||
<div id="outline-container-orgfbdc4a3" class="outline-4">
|
||||
<h4 id="orgfbdc4a3"><span class="section-number-4">3.1.1</span> Requirements</h4>
|
||||
<div class="outline-text-4" id="text-3-1-1">
|
||||
<ul class="org-ul">
|
||||
<li><code>context</code> is not <code>QMCKL_NULL_CONTEXT</code></li>
|
||||
@ -1163,8 +1163,8 @@ the leading dimension: <code>[n][3]</code> in C and <code>(3,n)</code> in Fortra
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org407f074" class="outline-4">
|
||||
<h4 id="org407f074"><span class="section-number-4">3.1.2</span> C header</h4>
|
||||
<div id="outline-container-org2f80854" class="outline-4">
|
||||
<h4 id="org2f80854"><span class="section-number-4">3.1.2</span> C header</h4>
|
||||
<div class="outline-text-4" id="text-3-1-2">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_distance_rescaled</span> (
|
||||
@ -1185,8 +1185,8 @@ the leading dimension: <code>[n][3]</code> in C and <code>(3,n)</code> in Fortra
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgca68da0" class="outline-4">
|
||||
<h4 id="orgca68da0"><span class="section-number-4">3.1.3</span> Source</h4>
|
||||
<div id="outline-container-org9faef12" class="outline-4">
|
||||
<h4 id="org9faef12"><span class="section-number-4">3.1.3</span> Source</h4>
|
||||
<div class="outline-text-4" id="text-3-1-3">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-f90"><span style="color: #228b22;">integer</span><span style="color: #a0522d;"> function qmckl_distance_rescaled_f(context, transa, transb, m, n, </span><span style="color: #a020f0;">&</span>
|
||||
@ -1356,8 +1356,8 @@ the leading dimension: <code>[n][3]</code> in C and <code>(3,n)</code> in Fortra
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org2a636e7" class="outline-4">
|
||||
<h4 id="org2a636e7"><span class="section-number-4">3.1.4</span> Performance</h4>
|
||||
<div id="outline-container-org6d5f2bb" class="outline-4">
|
||||
<h4 id="org6d5f2bb"><span class="section-number-4">3.1.4</span> Performance</h4>
|
||||
<div class="outline-text-4" id="text-3-1-4">
|
||||
<p>
|
||||
This function is more efficient when <code>A</code> and <code>B</code> are transposed.
|
||||
@ -1366,12 +1366,12 @@ This function is more efficient when <code>A</code> and <code>B</code> are trans
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-org3318151" class="outline-2">
|
||||
<h2 id="org3318151"><span class="section-number-2">4</span> Rescaled Distance Derivatives</h2>
|
||||
<div id="outline-container-orgae46ba9" class="outline-2">
|
||||
<h2 id="orgae46ba9"><span class="section-number-2">4</span> Rescaled Distance Derivatives</h2>
|
||||
<div class="outline-text-2" id="text-4">
|
||||
</div>
|
||||
<div id="outline-container-org0a0fa76" class="outline-3">
|
||||
<h3 id="org0a0fa76"><span class="section-number-3">4.1</span> <code>qmckl_distance_rescaled_deriv_e</code></h3>
|
||||
<div id="outline-container-org3a8a480" class="outline-3">
|
||||
<h3 id="org3a8a480"><span class="section-number-3">4.1</span> <code>qmckl_distance_rescaled_deriv_e</code></h3>
|
||||
<div class="outline-text-3" id="text-4-1">
|
||||
<p>
|
||||
<code>qmckl_distance_rescaled_deriv_e</code> computes the matrix of the gradient and laplacian of the
|
||||
@ -1438,7 +1438,7 @@ If the input array is normal (<code>'N'</code>), the xyz coordinates are in
|
||||
the leading dimension: <code>[n][3]</code> in C and <code>(3,n)</code> in Fortran.
|
||||
</p>
|
||||
|
||||
<table id="org52b473f" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org4aa2772" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -1776,7 +1776,7 @@ This function is more efficient when <code>A</code> and <code>B</code> are trans
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: TREX CoE</p>
|
||||
<p class="date">Created: 2022-01-06 Thu 18:05</p>
|
||||
<p class="date">Created: 2022-01-06 Thu 18:07</p>
|
||||
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||
</div>
|
||||
</body>
|
||||
|
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2022-01-06 Thu 18:06 -->
|
||||
<!-- 2022-01-06 Thu 18:08 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>Electrons</title>
|
||||
@ -333,77 +333,77 @@ for the JavaScript code in this tag.
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents">
|
||||
<ul>
|
||||
<li><a href="#orgc2b2586">1. Context</a>
|
||||
<li><a href="#org6c3571d">1. Context</a>
|
||||
<ul>
|
||||
<li><a href="#orgea1a904">1.1. Data structure</a></li>
|
||||
<li><a href="#org240e3b6">1.2. Access functions</a>
|
||||
<li><a href="#org3302770">1.1. Data structure</a></li>
|
||||
<li><a href="#org8809252">1.2. Access functions</a>
|
||||
<ul>
|
||||
<li><a href="#org3959a48">1.2.1. Number of electrons</a></li>
|
||||
<li><a href="#org5d709c1">1.2.2. Number of walkers</a></li>
|
||||
<li><a href="#org1da3371">1.2.3. Scaling factors Kappa</a></li>
|
||||
<li><a href="#org97a535f">1.2.4. Electron coordinates</a></li>
|
||||
<li><a href="#org354c367">1.2.1. Number of electrons</a></li>
|
||||
<li><a href="#orgc290187">1.2.2. Number of walkers</a></li>
|
||||
<li><a href="#orge9432ac">1.2.3. Scaling factors Kappa</a></li>
|
||||
<li><a href="#org9287bc4">1.2.4. Electron coordinates</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgbc456e4">1.3. Initialization functions</a></li>
|
||||
<li><a href="#orgb249cbb">1.4. Test</a></li>
|
||||
<li><a href="#org660a4ff">1.3. Initialization functions</a></li>
|
||||
<li><a href="#org6a480e0">1.4. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org3727797">2. Computation</a>
|
||||
<li><a href="#org5664590">2. Computation</a>
|
||||
<ul>
|
||||
<li><a href="#orga0cc40f">2.1. Electron-electron distances</a>
|
||||
<li><a href="#orgdd880d4">2.1. Electron-electron distances</a>
|
||||
<ul>
|
||||
<li><a href="#org6b6bd25">2.1.1. Get</a></li>
|
||||
<li><a href="#org64821ef">2.1.2. Compute</a></li>
|
||||
<li><a href="#orgc166a18">2.1.3. Test</a></li>
|
||||
<li><a href="#orgcda0182">2.1.1. Get</a></li>
|
||||
<li><a href="#org4e92920">2.1.2. Compute</a></li>
|
||||
<li><a href="#org00550d1">2.1.3. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgd9f9bb7">2.2. Electron-electron rescaled distances</a>
|
||||
<li><a href="#orgf633f9e">2.2. Electron-electron rescaled distances</a>
|
||||
<ul>
|
||||
<li><a href="#org33df5f1">2.2.1. Get</a></li>
|
||||
<li><a href="#orge9d71ad">2.2.2. Compute</a></li>
|
||||
<li><a href="#orgc1fed6d">2.2.3. Test</a></li>
|
||||
<li><a href="#orgd41de19">2.2.1. Get</a></li>
|
||||
<li><a href="#org39de759">2.2.2. Compute</a></li>
|
||||
<li><a href="#org93468d7">2.2.3. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgd050f0a">2.3. Electron-electron rescaled distance gradients and laplacian with respect to electron coords</a>
|
||||
<li><a href="#org75902cf">2.3. Electron-electron rescaled distance gradients and laplacian with respect to electron coords</a>
|
||||
<ul>
|
||||
<li><a href="#org8dc1f3e">2.3.1. Get</a></li>
|
||||
<li><a href="#org5a43e5b">2.3.2. Compute</a></li>
|
||||
<li><a href="#org8cc7b0b">2.3.3. Test</a></li>
|
||||
<li><a href="#orgb4cf20f">2.3.1. Get</a></li>
|
||||
<li><a href="#org93e31e4">2.3.2. Compute</a></li>
|
||||
<li><a href="#org277c3cf">2.3.3. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org7ac91aa">2.4. Electron-electron potential</a>
|
||||
<li><a href="#org1f139fc">2.4. Electron-electron potential</a>
|
||||
<ul>
|
||||
<li><a href="#org596ac4a">2.4.1. Get</a></li>
|
||||
<li><a href="#org884dfc7">2.4.2. Compute</a></li>
|
||||
<li><a href="#org0ea000d">2.4.3. Test</a></li>
|
||||
<li><a href="#orge815368">2.4.1. Get</a></li>
|
||||
<li><a href="#org6ae40a9">2.4.2. Compute</a></li>
|
||||
<li><a href="#orgdd975d0">2.4.3. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgc5461d6">2.5. Electron-nucleus distances</a>
|
||||
<li><a href="#orgb480ebf">2.5. Electron-nucleus distances</a>
|
||||
<ul>
|
||||
<li><a href="#org287da5a">2.5.1. Get</a></li>
|
||||
<li><a href="#orgce62086">2.5.2. Compute</a></li>
|
||||
<li><a href="#orgd45e396">2.5.3. Test</a></li>
|
||||
<li><a href="#org50f0f2d">2.5.1. Get</a></li>
|
||||
<li><a href="#org9618ab7">2.5.2. Compute</a></li>
|
||||
<li><a href="#org44304af">2.5.3. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org79ba1d1">2.6. Electron-nucleus rescaled distances</a>
|
||||
<li><a href="#org7be01da">2.6. Electron-nucleus rescaled distances</a>
|
||||
<ul>
|
||||
<li><a href="#org6ae1a92">2.6.1. Get</a></li>
|
||||
<li><a href="#org44c7aef">2.6.2. Compute</a></li>
|
||||
<li><a href="#org07d7851">2.6.3. Test</a></li>
|
||||
<li><a href="#org7330989">2.6.1. Get</a></li>
|
||||
<li><a href="#orgaf3ecf2">2.6.2. Compute</a></li>
|
||||
<li><a href="#org8f5e0ef">2.6.3. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org1de68dd">2.7. Electron-nucleus rescaled distance gradients and laplacian with respect to electron coords</a>
|
||||
<li><a href="#orga2d1ea3">2.7. Electron-nucleus rescaled distance gradients and laplacian with respect to electron coords</a>
|
||||
<ul>
|
||||
<li><a href="#orgb9342b0">2.7.1. Get</a></li>
|
||||
<li><a href="#org02a319f">2.7.2. Compute</a></li>
|
||||
<li><a href="#org3255578">2.7.3. Test</a></li>
|
||||
<li><a href="#orgeb79d0d">2.7.1. Get</a></li>
|
||||
<li><a href="#org8d4f865">2.7.2. Compute</a></li>
|
||||
<li><a href="#orgc78fe14">2.7.3. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org9b1b50e">2.8. Electron-nucleus potential</a>
|
||||
<li><a href="#org8d843c9">2.8. Electron-nucleus potential</a>
|
||||
<ul>
|
||||
<li><a href="#org8fa6cab">2.8.1. Get</a></li>
|
||||
<li><a href="#org41e226d">2.8.2. Compute</a></li>
|
||||
<li><a href="#org8a7ff44">2.8.3. Test</a></li>
|
||||
<li><a href="#org8bd65d2">2.8.1. Get</a></li>
|
||||
<li><a href="#orgc09bc42">2.8.2. Compute</a></li>
|
||||
<li><a href="#org6254618">2.8.3. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@ -412,8 +412,8 @@ for the JavaScript code in this tag.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgc2b2586" class="outline-2">
|
||||
<h2 id="orgc2b2586"><span class="section-number-2">1</span> Context</h2>
|
||||
<div id="outline-container-org6c3571d" class="outline-2">
|
||||
<h2 id="org6c3571d"><span class="section-number-2">1</span> Context</h2>
|
||||
<div class="outline-text-2" id="text-1">
|
||||
<p>
|
||||
The following data stored in the context:
|
||||
@ -626,8 +626,8 @@ Computed data:
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgea1a904" class="outline-3">
|
||||
<h3 id="orgea1a904"><span class="section-number-3">1.1</span> Data structure</h3>
|
||||
<div id="outline-container-org3302770" class="outline-3">
|
||||
<h3 id="org3302770"><span class="section-number-3">1.1</span> Data structure</h3>
|
||||
<div class="outline-text-3" id="text-1-1">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #a020f0;">typedef</span> <span style="color: #a020f0;">struct</span> <span style="color: #228b22;">qmckl_electron_struct</span> {
|
||||
@ -706,8 +706,8 @@ this mechanism.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org240e3b6" class="outline-3">
|
||||
<h3 id="org240e3b6"><span class="section-number-3">1.2</span> Access functions</h3>
|
||||
<div id="outline-container-org8809252" class="outline-3">
|
||||
<h3 id="org8809252"><span class="section-number-3">1.2</span> Access functions</h3>
|
||||
<div class="outline-text-3" id="text-1-2">
|
||||
<p>
|
||||
Access functions return <code>QMCKL_SUCCESS</code> when the data has been
|
||||
@ -719,12 +719,12 @@ contains the requested data. Otherwise, this variable is untouched.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org3959a48" class="outline-4">
|
||||
<h4 id="org3959a48"><span class="section-number-4">1.2.1</span> Number of electrons</h4>
|
||||
<div id="outline-container-org354c367" class="outline-4">
|
||||
<h4 id="org354c367"><span class="section-number-4">1.2.1</span> Number of electrons</h4>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org5d709c1" class="outline-4">
|
||||
<h4 id="org5d709c1"><span class="section-number-4">1.2.2</span> Number of walkers</h4>
|
||||
<div id="outline-container-orgc290187" class="outline-4">
|
||||
<h4 id="orgc290187"><span class="section-number-4">1.2.2</span> Number of walkers</h4>
|
||||
<div class="outline-text-4" id="text-1-2-2">
|
||||
<p>
|
||||
A walker is a set of electron coordinates that are arguments of
|
||||
@ -733,12 +733,12 @@ the wave function. <code>walk_num</code> is the number of walkers.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org1da3371" class="outline-4">
|
||||
<h4 id="org1da3371"><span class="section-number-4">1.2.3</span> Scaling factors Kappa</h4>
|
||||
<div id="outline-container-orge9432ac" class="outline-4">
|
||||
<h4 id="orge9432ac"><span class="section-number-4">1.2.3</span> Scaling factors Kappa</h4>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org97a535f" class="outline-4">
|
||||
<h4 id="org97a535f"><span class="section-number-4">1.2.4</span> Electron coordinates</h4>
|
||||
<div id="outline-container-org9287bc4" class="outline-4">
|
||||
<h4 id="org9287bc4"><span class="section-number-4">1.2.4</span> Electron coordinates</h4>
|
||||
<div class="outline-text-4" id="text-1-2-4">
|
||||
<p>
|
||||
Returns the current electron coordinates. The pointer is assumed
|
||||
@ -782,8 +782,8 @@ The order of the indices is:
|
||||
</div>
|
||||
|
||||
|
||||
<div id="outline-container-orgbc456e4" class="outline-3">
|
||||
<h3 id="orgbc456e4"><span class="section-number-3">1.3</span> Initialization functions</h3>
|
||||
<div id="outline-container-org660a4ff" class="outline-3">
|
||||
<h3 id="org660a4ff"><span class="section-number-3">1.3</span> Initialization functions</h3>
|
||||
<div class="outline-text-3" id="text-1-3">
|
||||
<p>
|
||||
To set the data relative to the electrons in the context, the
|
||||
@ -870,8 +870,8 @@ in the context.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgb249cbb" class="outline-3">
|
||||
<h3 id="orgb249cbb"><span class="section-number-3">1.4</span> Test</h3>
|
||||
<div id="outline-container-org6a480e0" class="outline-3">
|
||||
<h3 id="org6a480e0"><span class="section-number-3">1.4</span> Test</h3>
|
||||
<div class="outline-text-3" id="text-1-4">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c">/* <span style="color: #b22222;">Reference input data </span>*/
|
||||
@ -977,8 +977,8 @@ rc = qmckl_get_electron_coord (context, <span style="color: #8b2252;">'N'</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org3727797" class="outline-2">
|
||||
<h2 id="org3727797"><span class="section-number-2">2</span> Computation</h2>
|
||||
<div id="outline-container-org5664590" class="outline-2">
|
||||
<h2 id="org5664590"><span class="section-number-2">2</span> Computation</h2>
|
||||
<div class="outline-text-2" id="text-2">
|
||||
<p>
|
||||
The computed data is stored in the context so that it can be reused
|
||||
@ -991,12 +991,12 @@ current date is stored.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orga0cc40f" class="outline-3">
|
||||
<h3 id="orga0cc40f"><span class="section-number-3">2.1</span> Electron-electron distances</h3>
|
||||
<div id="outline-container-orgdd880d4" class="outline-3">
|
||||
<h3 id="orgdd880d4"><span class="section-number-3">2.1</span> Electron-electron distances</h3>
|
||||
<div class="outline-text-3" id="text-2-1">
|
||||
</div>
|
||||
<div id="outline-container-org6b6bd25" class="outline-4">
|
||||
<h4 id="org6b6bd25"><span class="section-number-4">2.1.1</span> Get</h4>
|
||||
<div id="outline-container-orgcda0182" class="outline-4">
|
||||
<h4 id="orgcda0182"><span class="section-number-4">2.1.1</span> Get</h4>
|
||||
<div class="outline-text-4" id="text-2-1-1">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_get_electron_ee_distance</span>(<span style="color: #228b22;">qmckl_context</span> <span style="color: #a0522d;">context</span>, <span style="color: #228b22;">double</span>* <span style="color: #a020f0;">const</span> <span style="color: #a0522d;">distance</span>);
|
||||
@ -1005,10 +1005,10 @@ current date is stored.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org64821ef" class="outline-4">
|
||||
<h4 id="org64821ef"><span class="section-number-4">2.1.2</span> Compute</h4>
|
||||
<div id="outline-container-org4e92920" class="outline-4">
|
||||
<h4 id="org4e92920"><span class="section-number-4">2.1.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-1-2">
|
||||
<table id="orgc5c38da" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org7c1ac0e" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -1112,8 +1112,8 @@ current date is stored.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgc166a18" class="outline-4">
|
||||
<h4 id="orgc166a18"><span class="section-number-4">2.1.3</span> Test</h4>
|
||||
<div id="outline-container-org00550d1" class="outline-4">
|
||||
<h4 id="org00550d1"><span class="section-number-4">2.1.3</span> Test</h4>
|
||||
<div class="outline-text-4" id="text-2-1-3">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #0000ff;">assert</span>(<span style="color: #228b22;">qmckl_electron_provided</span>(<span style="color: #a0522d;">context</span>));
|
||||
@ -1147,8 +1147,8 @@ rc = qmckl_get_electron_ee_distance(context, ee_distance);
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgd9f9bb7" class="outline-3">
|
||||
<h3 id="orgd9f9bb7"><span class="section-number-3">2.2</span> Electron-electron rescaled distances</h3>
|
||||
<div id="outline-container-orgf633f9e" class="outline-3">
|
||||
<h3 id="orgf633f9e"><span class="section-number-3">2.2</span> Electron-electron rescaled distances</h3>
|
||||
<div class="outline-text-3" id="text-2-2">
|
||||
<p>
|
||||
<code>ee_distance_rescaled</code> stores the matrix of the rescaled distances between all
|
||||
@ -1166,8 +1166,8 @@ where \(C_{ij}\) is the matrix of electron-electron distances.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org33df5f1" class="outline-4">
|
||||
<h4 id="org33df5f1"><span class="section-number-4">2.2.1</span> Get</h4>
|
||||
<div id="outline-container-orgd41de19" class="outline-4">
|
||||
<h4 id="orgd41de19"><span class="section-number-4">2.2.1</span> Get</h4>
|
||||
<div class="outline-text-4" id="text-2-2-1">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_get_electron_ee_distance_rescaled</span>(<span style="color: #228b22;">qmckl_context</span> <span style="color: #a0522d;">context</span>, <span style="color: #228b22;">double</span>* <span style="color: #a020f0;">const</span> <span style="color: #a0522d;">distance_rescaled</span>);
|
||||
@ -1176,10 +1176,10 @@ where \(C_{ij}\) is the matrix of electron-electron distances.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orge9d71ad" class="outline-4">
|
||||
<h4 id="orge9d71ad"><span class="section-number-4">2.2.2</span> Compute</h4>
|
||||
<div id="outline-container-org39de759" class="outline-4">
|
||||
<h4 id="org39de759"><span class="section-number-4">2.2.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-2-2">
|
||||
<table id="orgaed91c6" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orgc06bc1d" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -1292,8 +1292,8 @@ where \(C_{ij}\) is the matrix of electron-electron distances.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgc1fed6d" class="outline-4">
|
||||
<h4 id="orgc1fed6d"><span class="section-number-4">2.2.3</span> Test</h4>
|
||||
<div id="outline-container-org93468d7" class="outline-4">
|
||||
<h4 id="org93468d7"><span class="section-number-4">2.2.3</span> Test</h4>
|
||||
<div class="outline-text-4" id="text-2-2-3">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #0000ff;">assert</span>(<span style="color: #228b22;">qmckl_electron_provided</span>(<span style="color: #a0522d;">context</span>));
|
||||
@ -1327,8 +1327,8 @@ rc = qmckl_get_electron_ee_distance_rescaled(context, ee_distance_rescaled);
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgd050f0a" class="outline-3">
|
||||
<h3 id="orgd050f0a"><span class="section-number-3">2.3</span> Electron-electron rescaled distance gradients and laplacian with respect to electron coords</h3>
|
||||
<div id="outline-container-org75902cf" class="outline-3">
|
||||
<h3 id="org75902cf"><span class="section-number-3">2.3</span> Electron-electron rescaled distance gradients and laplacian with respect to electron coords</h3>
|
||||
<div class="outline-text-3" id="text-2-3">
|
||||
<p>
|
||||
The rescaled distances which is given as \(R = (1 - \exp{-\kappa r})/\kappa\)
|
||||
@ -1340,8 +1340,8 @@ gives the Laplacian \(\partial x^2 + \partial y^2 + \partial z^2\).
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org8dc1f3e" class="outline-4">
|
||||
<h4 id="org8dc1f3e"><span class="section-number-4">2.3.1</span> Get</h4>
|
||||
<div id="outline-container-orgb4cf20f" class="outline-4">
|
||||
<h4 id="orgb4cf20f"><span class="section-number-4">2.3.1</span> Get</h4>
|
||||
<div class="outline-text-4" id="text-2-3-1">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_get_electron_ee_distance_rescaled_deriv_e</span>(<span style="color: #228b22;">qmckl_context</span> <span style="color: #a0522d;">context</span>, <span style="color: #228b22;">double</span>* <span style="color: #a020f0;">const</span> <span style="color: #a0522d;">distance_rescaled_deriv_e</span>);
|
||||
@ -1350,10 +1350,10 @@ gives the Laplacian \(\partial x^2 + \partial y^2 + \partial z^2\).
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org5a43e5b" class="outline-4">
|
||||
<h4 id="org5a43e5b"><span class="section-number-4">2.3.2</span> Compute</h4>
|
||||
<div id="outline-container-org93e31e4" class="outline-4">
|
||||
<h4 id="org93e31e4"><span class="section-number-4">2.3.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-3-2">
|
||||
<table id="org0d7448f" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org9858e1d" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -1466,8 +1466,8 @@ gives the Laplacian \(\partial x^2 + \partial y^2 + \partial z^2\).
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org8cc7b0b" class="outline-4">
|
||||
<h4 id="org8cc7b0b"><span class="section-number-4">2.3.3</span> Test</h4>
|
||||
<div id="outline-container-org277c3cf" class="outline-4">
|
||||
<h4 id="org277c3cf"><span class="section-number-4">2.3.3</span> Test</h4>
|
||||
<div class="outline-text-4" id="text-2-3-3">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #0000ff;">assert</span>(<span style="color: #228b22;">qmckl_electron_provided</span>(<span style="color: #a0522d;">context</span>));
|
||||
@ -1502,8 +1502,8 @@ rc = qmckl_get_electron_ee_distance_rescaled_deriv_e(context, ee_distance_rescal
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org7ac91aa" class="outline-3">
|
||||
<h3 id="org7ac91aa"><span class="section-number-3">2.4</span> Electron-electron potential</h3>
|
||||
<div id="outline-container-org1f139fc" class="outline-3">
|
||||
<h3 id="org1f139fc"><span class="section-number-3">2.4</span> Electron-electron potential</h3>
|
||||
<div class="outline-text-3" id="text-2-4">
|
||||
<p>
|
||||
<code>ee_pot</code> calculates the <code>ee</code> potential energy.
|
||||
@ -1521,8 +1521,8 @@ distance.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org596ac4a" class="outline-4">
|
||||
<h4 id="org596ac4a"><span class="section-number-4">2.4.1</span> Get</h4>
|
||||
<div id="outline-container-orge815368" class="outline-4">
|
||||
<h4 id="orge815368"><span class="section-number-4">2.4.1</span> Get</h4>
|
||||
<div class="outline-text-4" id="text-2-4-1">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_get_electron_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_pot</span>);
|
||||
@ -1531,10 +1531,10 @@ distance.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org884dfc7" class="outline-4">
|
||||
<h4 id="org884dfc7"><span class="section-number-4">2.4.2</span> Compute</h4>
|
||||
<div id="outline-container-org6ae40a9" class="outline-4">
|
||||
<h4 id="org6ae40a9"><span class="section-number-4">2.4.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-4-2">
|
||||
<table id="org10716db" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org6f00278" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -1650,8 +1650,8 @@ distance.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org0ea000d" class="outline-4">
|
||||
<h4 id="org0ea000d"><span class="section-number-4">2.4.3</span> Test</h4>
|
||||
<div id="outline-container-orgdd975d0" class="outline-4">
|
||||
<h4 id="orgdd975d0"><span class="section-number-4">2.4.3</span> Test</h4>
|
||||
<div class="outline-text-4" id="text-2-4-3">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">double</span> <span style="color: #a0522d;">ee_pot</span>[walk_num];
|
||||
@ -1663,12 +1663,12 @@ rc = qmckl_get_electron_ee_potential(context, &(ee_pot[0]));
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-orgc5461d6" class="outline-3">
|
||||
<h3 id="orgc5461d6"><span class="section-number-3">2.5</span> Electron-nucleus distances</h3>
|
||||
<div id="outline-container-orgb480ebf" class="outline-3">
|
||||
<h3 id="orgb480ebf"><span class="section-number-3">2.5</span> Electron-nucleus distances</h3>
|
||||
<div class="outline-text-3" id="text-2-5">
|
||||
</div>
|
||||
<div id="outline-container-org287da5a" class="outline-4">
|
||||
<h4 id="org287da5a"><span class="section-number-4">2.5.1</span> Get</h4>
|
||||
<div id="outline-container-org50f0f2d" class="outline-4">
|
||||
<h4 id="org50f0f2d"><span class="section-number-4">2.5.1</span> Get</h4>
|
||||
<div class="outline-text-4" id="text-2-5-1">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_get_electron_en_distance</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>);
|
||||
@ -1677,10 +1677,10 @@ rc = qmckl_get_electron_ee_potential(context, &(ee_pot[0]));
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgce62086" class="outline-4">
|
||||
<h4 id="orgce62086"><span class="section-number-4">2.5.2</span> Compute</h4>
|
||||
<div id="outline-container-org9618ab7" class="outline-4">
|
||||
<h4 id="org9618ab7"><span class="section-number-4">2.5.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-5-2">
|
||||
<table id="org54d7b7d" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orge2ccba1" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -1805,8 +1805,8 @@ rc = qmckl_get_electron_ee_potential(context, &(ee_pot[0]));
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgd45e396" class="outline-4">
|
||||
<h4 id="orgd45e396"><span class="section-number-4">2.5.3</span> Test</h4>
|
||||
<div id="outline-container-org44304af" class="outline-4">
|
||||
<h4 id="org44304af"><span class="section-number-4">2.5.3</span> Test</h4>
|
||||
<div class="outline-text-4" id="text-2-5-3">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c">
|
||||
@ -1854,8 +1854,8 @@ rc = qmckl_get_electron_en_distance(context, &(en_distance[0][0][0]));
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org79ba1d1" class="outline-3">
|
||||
<h3 id="org79ba1d1"><span class="section-number-3">2.6</span> Electron-nucleus rescaled distances</h3>
|
||||
<div id="outline-container-org7be01da" class="outline-3">
|
||||
<h3 id="org7be01da"><span class="section-number-3">2.6</span> Electron-nucleus rescaled distances</h3>
|
||||
<div class="outline-text-3" id="text-2-6">
|
||||
<p>
|
||||
<code>en_distance_rescaled</code> stores the matrix of the rescaled distances between
|
||||
@ -1873,8 +1873,8 @@ where \(C_{ij}\) is the matrix of electron-nucleus distances.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org6ae1a92" class="outline-4">
|
||||
<h4 id="org6ae1a92"><span class="section-number-4">2.6.1</span> Get</h4>
|
||||
<div id="outline-container-org7330989" class="outline-4">
|
||||
<h4 id="org7330989"><span class="section-number-4">2.6.1</span> Get</h4>
|
||||
<div class="outline-text-4" id="text-2-6-1">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_get_electron_en_distance_rescaled</span>(<span style="color: #228b22;">qmckl_context</span> <span style="color: #a0522d;">context</span>, <span style="color: #228b22;">double</span>* <span style="color: #a0522d;">distance_rescaled</span>);
|
||||
@ -1883,10 +1883,10 @@ where \(C_{ij}\) is the matrix of electron-nucleus distances.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org44c7aef" class="outline-4">
|
||||
<h4 id="org44c7aef"><span class="section-number-4">2.6.2</span> Compute</h4>
|
||||
<div id="outline-container-orgaf3ecf2" class="outline-4">
|
||||
<h4 id="orgaf3ecf2"><span class="section-number-4">2.6.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-6-2">
|
||||
<table id="org7dfffb6" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orgee7a0ee" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -2026,8 +2026,8 @@ where \(C_{ij}\) is the matrix of electron-nucleus distances.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org07d7851" class="outline-4">
|
||||
<h4 id="org07d7851"><span class="section-number-4">2.6.3</span> Test</h4>
|
||||
<div id="outline-container-org8f5e0ef" class="outline-4">
|
||||
<h4 id="org8f5e0ef"><span class="section-number-4">2.6.3</span> Test</h4>
|
||||
<div class="outline-text-4" id="text-2-6-3">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c">
|
||||
@ -2075,8 +2075,8 @@ rc = qmckl_get_electron_en_distance_rescaled(context, &(en_distance_rescaled
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org1de68dd" class="outline-3">
|
||||
<h3 id="org1de68dd"><span class="section-number-3">2.7</span> Electron-nucleus rescaled distance gradients and laplacian with respect to electron coords</h3>
|
||||
<div id="outline-container-orga2d1ea3" class="outline-3">
|
||||
<h3 id="orga2d1ea3"><span class="section-number-3">2.7</span> Electron-nucleus rescaled distance gradients and laplacian with respect to electron coords</h3>
|
||||
<div class="outline-text-3" id="text-2-7">
|
||||
<p>
|
||||
The rescaled distances which is given as \(R = (1 - \exp{-\kappa r})/\kappa\)
|
||||
@ -2088,8 +2088,8 @@ gives the Laplacian \(\partial x^2 + \partial y^2 + \partial z^2\).
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgb9342b0" class="outline-4">
|
||||
<h4 id="orgb9342b0"><span class="section-number-4">2.7.1</span> Get</h4>
|
||||
<div id="outline-container-orgeb79d0d" class="outline-4">
|
||||
<h4 id="orgeb79d0d"><span class="section-number-4">2.7.1</span> Get</h4>
|
||||
<div class="outline-text-4" id="text-2-7-1">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_get_electron_en_distance_rescaled_deriv_e</span>(<span style="color: #228b22;">qmckl_context</span> <span style="color: #a0522d;">context</span>, <span style="color: #228b22;">double</span>* <span style="color: #a0522d;">distance_rescaled_deriv_e</span>);
|
||||
@ -2098,10 +2098,10 @@ gives the Laplacian \(\partial x^2 + \partial y^2 + \partial z^2\).
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org02a319f" class="outline-4">
|
||||
<h4 id="org02a319f"><span class="section-number-4">2.7.2</span> Compute</h4>
|
||||
<div id="outline-container-org8d4f865" class="outline-4">
|
||||
<h4 id="org8d4f865"><span class="section-number-4">2.7.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-7-2">
|
||||
<table id="orgfab4748" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org74de660" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -2242,8 +2242,8 @@ gives the Laplacian \(\partial x^2 + \partial y^2 + \partial z^2\).
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org3255578" class="outline-4">
|
||||
<h4 id="org3255578"><span class="section-number-4">2.7.3</span> Test</h4>
|
||||
<div id="outline-container-orgc78fe14" class="outline-4">
|
||||
<h4 id="orgc78fe14"><span class="section-number-4">2.7.3</span> Test</h4>
|
||||
<div class="outline-text-4" id="text-2-7-3">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c">
|
||||
@ -2295,8 +2295,8 @@ rc = qmckl_get_electron_en_distance_rescaled_deriv_e(context, &(en_distance_
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org9b1b50e" class="outline-3">
|
||||
<h3 id="org9b1b50e"><span class="section-number-3">2.8</span> Electron-nucleus potential</h3>
|
||||
<div id="outline-container-org8d843c9" class="outline-3">
|
||||
<h3 id="org8d843c9"><span class="section-number-3">2.8</span> Electron-nucleus potential</h3>
|
||||
<div class="outline-text-3" id="text-2-8">
|
||||
<p>
|
||||
<code>en_potential</code> stores the <code>en</code> potential energy
|
||||
@ -2314,8 +2314,8 @@ distance and \[Z_A\] is the nuclear charge.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org8fa6cab" class="outline-4">
|
||||
<h4 id="org8fa6cab"><span class="section-number-4">2.8.1</span> Get</h4>
|
||||
<div id="outline-container-org8bd65d2" class="outline-4">
|
||||
<h4 id="org8bd65d2"><span class="section-number-4">2.8.1</span> Get</h4>
|
||||
<div class="outline-text-4" id="text-2-8-1">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_get_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_pot</span>);
|
||||
@ -2324,10 +2324,10 @@ distance and \[Z_A\] is the nuclear charge.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org41e226d" class="outline-4">
|
||||
<h4 id="org41e226d"><span class="section-number-4">2.8.2</span> Compute</h4>
|
||||
<div id="outline-container-orgc09bc42" class="outline-4">
|
||||
<h4 id="orgc09bc42"><span class="section-number-4">2.8.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-8-2">
|
||||
<table id="org731832f" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org1b6664d" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -2461,8 +2461,8 @@ distance and \[Z_A\] is the nuclear charge.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org8a7ff44" class="outline-4">
|
||||
<h4 id="org8a7ff44"><span class="section-number-4">2.8.3</span> Test</h4>
|
||||
<div id="outline-container-org6254618" class="outline-4">
|
||||
<h4 id="org6254618"><span class="section-number-4">2.8.3</span> Test</h4>
|
||||
<div class="outline-text-4" id="text-2-8-3">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">double</span> <span style="color: #a0522d;">en_pot</span>[walk_num];
|
||||
@ -2478,7 +2478,7 @@ rc = qmckl_get_electron_en_potential(context, &(en_pot[0]));
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: TREX CoE</p>
|
||||
<p class="date">Created: 2022-01-06 Thu 18:06</p>
|
||||
<p class="date">Created: 2022-01-06 Thu 18:08</p>
|
||||
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||
</div>
|
||||
</body>
|
||||
|
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2022-01-06 Thu 18:05 -->
|
||||
<!-- 2022-01-06 Thu 18:07 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>Error handling</title>
|
||||
@ -311,17 +311,17 @@ for the JavaScript code in this tag.
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents">
|
||||
<ul>
|
||||
<li><a href="#org77dfc18">1. Decoding errors</a></li>
|
||||
<li><a href="#org31e671a">2. Data structure in context</a></li>
|
||||
<li><a href="#orga340343">3. Updating errors in the context</a></li>
|
||||
<li><a href="#orgca26ed8">4. Get the error</a></li>
|
||||
<li><a href="#org604fe19">5. Failing</a></li>
|
||||
<li><a href="#org25b3342">1. Decoding errors</a></li>
|
||||
<li><a href="#orgcb8625e">2. Data structure in context</a></li>
|
||||
<li><a href="#org3f8cd41">3. Updating errors in the context</a></li>
|
||||
<li><a href="#orgef7a6f4">4. Get the error</a></li>
|
||||
<li><a href="#org4a26a0d">5. Failing</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org77dfc18" class="outline-2">
|
||||
<h2 id="org77dfc18"><span class="section-number-2">1</span> Decoding errors</h2>
|
||||
<div id="outline-container-org25b3342" class="outline-2">
|
||||
<h2 id="org25b3342"><span class="section-number-2">1</span> Decoding errors</h2>
|
||||
<div class="outline-text-2" id="text-1">
|
||||
<p>
|
||||
To decode the error messages, <code>qmckl_string_of_error</code> converts an
|
||||
@ -451,8 +451,8 @@ The text strings are extracted from the previous table.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org31e671a" class="outline-2">
|
||||
<h2 id="org31e671a"><span class="section-number-2">2</span> Data structure in context</h2>
|
||||
<div id="outline-container-orgcb8625e" class="outline-2">
|
||||
<h2 id="orgcb8625e"><span class="section-number-2">2</span> Data structure in context</h2>
|
||||
<div class="outline-text-2" id="text-2">
|
||||
<p>
|
||||
The strings are declared with a maximum fixed size to avoid
|
||||
@ -475,8 +475,8 @@ dynamic memory allocation.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orga340343" class="outline-2">
|
||||
<h2 id="orga340343"><span class="section-number-2">3</span> Updating errors in the context</h2>
|
||||
<div id="outline-container-org3f8cd41" class="outline-2">
|
||||
<h2 id="org3f8cd41"><span class="section-number-2">3</span> Updating errors in the context</h2>
|
||||
<div class="outline-text-2" id="text-3">
|
||||
<p>
|
||||
The error is updated in the context using <code>qmckl_set_error</code>.
|
||||
@ -522,8 +522,8 @@ explaining the error. The exit code can't be <code>QMCKL_SUCCESS</code>.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgca26ed8" class="outline-2">
|
||||
<h2 id="orgca26ed8"><span class="section-number-2">4</span> Get the error</h2>
|
||||
<div id="outline-container-orgef7a6f4" class="outline-2">
|
||||
<h2 id="orgef7a6f4"><span class="section-number-2">4</span> Get the error</h2>
|
||||
<div class="outline-text-2" id="text-4">
|
||||
<p>
|
||||
Upon error, the error type and message can be obtained from the
|
||||
@ -575,8 +575,8 @@ function name and message is mandatory.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org604fe19" class="outline-2">
|
||||
<h2 id="org604fe19"><span class="section-number-2">5</span> Failing</h2>
|
||||
<div id="outline-container-org4a26a0d" class="outline-2">
|
||||
<h2 id="org4a26a0d"><span class="section-number-2">5</span> Failing</h2>
|
||||
<div class="outline-text-2" id="text-5">
|
||||
<p>
|
||||
To make a function fail, the <code>qmckl_failwith</code> function should be
|
||||
@ -639,7 +639,7 @@ For example, this function can be used as
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: TREX CoE</p>
|
||||
<p class="date">Created: 2022-01-06 Thu 18:05</p>
|
||||
<p class="date">Created: 2022-01-06 Thu 18:07</p>
|
||||
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||
</div>
|
||||
</body>
|
||||
|
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2022-01-06 Thu 18:05 -->
|
||||
<!-- 2022-01-06 Thu 18:08 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>Jastrow Factor</title>
|
||||
@ -333,100 +333,100 @@ for the JavaScript code in this tag.
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents">
|
||||
<ul>
|
||||
<li><a href="#org82e92e9">1. Context</a>
|
||||
<li><a href="#orgb13262b">1. Context</a>
|
||||
<ul>
|
||||
<li><a href="#org279c484">1.1. Data structure</a></li>
|
||||
<li><a href="#org5c52bb8">1.2. Access functions</a></li>
|
||||
<li><a href="#orge6f9c4b">1.3. Initialization functions</a></li>
|
||||
<li><a href="#org1d89a20">1.4. Test</a></li>
|
||||
<li><a href="#orgc1976b8">1.1. Data structure</a></li>
|
||||
<li><a href="#org368e19d">1.2. Access functions</a></li>
|
||||
<li><a href="#org3bc5471">1.3. Initialization functions</a></li>
|
||||
<li><a href="#orge4574d3">1.4. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org0412f93">2. Computation</a>
|
||||
<li><a href="#org02df37d">2. Computation</a>
|
||||
<ul>
|
||||
<li><a href="#orga5c7323">2.1. Asymptotic component for \(f_{ee}\)</a>
|
||||
<li><a href="#org7a7ee97">2.1. Asymptotic component for \(f_{ee}\)</a>
|
||||
<ul>
|
||||
<li><a href="#org05fc7b0">2.1.1. Get</a></li>
|
||||
<li><a href="#org756c2e4">2.1.2. Compute</a></li>
|
||||
<li><a href="#orgaefd98a">2.1.3. Test</a></li>
|
||||
<li><a href="#org4b6a7c7">2.1.1. Get</a></li>
|
||||
<li><a href="#orgab32408">2.1.2. Compute</a></li>
|
||||
<li><a href="#orgcf58bbe">2.1.3. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org816ce83">2.2. Electron-electron component \(f_{ee}\)</a>
|
||||
<li><a href="#org3913882">2.2. Electron-electron component \(f_{ee}\)</a>
|
||||
<ul>
|
||||
<li><a href="#org781352e">2.2.1. Get</a></li>
|
||||
<li><a href="#org9996737">2.2.2. Compute</a></li>
|
||||
<li><a href="#org02efb00">2.2.3. Test</a></li>
|
||||
<li><a href="#org0945560">2.2.1. Get</a></li>
|
||||
<li><a href="#orgd2f33db">2.2.2. Compute</a></li>
|
||||
<li><a href="#org9573bfb">2.2.3. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org40f2211">2.3. Electron-electron component derivative \(f'_{ee}\)</a>
|
||||
<li><a href="#org2309700">2.3. Electron-electron component derivative \(f'_{ee}\)</a>
|
||||
<ul>
|
||||
<li><a href="#org0892d9c">2.3.1. Get</a></li>
|
||||
<li><a href="#org588bee3">2.3.2. Compute</a></li>
|
||||
<li><a href="#org3d5df65">2.3.3. Test</a></li>
|
||||
<li><a href="#org889d04d">2.3.1. Get</a></li>
|
||||
<li><a href="#org2fe223f">2.3.2. Compute</a></li>
|
||||
<li><a href="#orgcbfdfd5">2.3.3. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgdd8c0bc">2.4. Electron-nucleus component \(f_{en}\)</a>
|
||||
<li><a href="#orga8b1ca6">2.4. Electron-nucleus component \(f_{en}\)</a>
|
||||
<ul>
|
||||
<li><a href="#org254bbeb">2.4.1. Get</a></li>
|
||||
<li><a href="#org6a34e1d">2.4.2. Compute</a></li>
|
||||
<li><a href="#org746fa00">2.4.3. Test</a></li>
|
||||
<li><a href="#org51657c3">2.4.1. Get</a></li>
|
||||
<li><a href="#org627ec90">2.4.2. Compute</a></li>
|
||||
<li><a href="#org4bfca8c">2.4.3. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org570ef92">2.5. Electron-nucleus component derivative \(f'_{en}\)</a>
|
||||
<li><a href="#org17acb4e">2.5. Electron-nucleus component derivative \(f'_{en}\)</a>
|
||||
<ul>
|
||||
<li><a href="#orgc6c0e79">2.5.1. Get</a></li>
|
||||
<li><a href="#org57125bb">2.5.2. Compute</a></li>
|
||||
<li><a href="#org5ba6783">2.5.3. Test</a></li>
|
||||
<li><a href="#orgf1feaf7">2.5.1. Get</a></li>
|
||||
<li><a href="#orgb7c8040">2.5.2. Compute</a></li>
|
||||
<li><a href="#orgb92746d">2.5.3. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgfbc2369">2.6. Electron-electron rescaled distances for each order</a>
|
||||
<li><a href="#org21fd1a4">2.6. Electron-electron rescaled distances for each order</a>
|
||||
<ul>
|
||||
<li><a href="#org0f6b893">2.6.1. Get</a></li>
|
||||
<li><a href="#org9c07cc5">2.6.2. Compute</a></li>
|
||||
<li><a href="#org34dcd63">2.6.3. Test</a></li>
|
||||
<li><a href="#orgc95d28d">2.6.1. Get</a></li>
|
||||
<li><a href="#orgf7c4fd5">2.6.2. Compute</a></li>
|
||||
<li><a href="#org7c0f632">2.6.3. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org085e81f">2.7. Electron-electron rescaled distances for each order and derivatives</a>
|
||||
<li><a href="#org78ded7f">2.7. Electron-electron rescaled distances for each order and derivatives</a>
|
||||
<ul>
|
||||
<li><a href="#org345a0d3">2.7.1. Get</a></li>
|
||||
<li><a href="#org2564def">2.7.2. Compute</a></li>
|
||||
<li><a href="#org84ed555">2.7.3. Test</a></li>
|
||||
<li><a href="#orgd581601">2.7.1. Get</a></li>
|
||||
<li><a href="#org9e506ff">2.7.2. Compute</a></li>
|
||||
<li><a href="#org791b2c7">2.7.3. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgcf79ac0">2.8. Electron-nucleus rescaled distances for each order</a>
|
||||
<li><a href="#org5e8927e">2.8. Electron-nucleus rescaled distances for each order</a>
|
||||
<ul>
|
||||
<li><a href="#org693f9c2">2.8.1. Get</a></li>
|
||||
<li><a href="#org78f2093">2.8.2. Compute</a></li>
|
||||
<li><a href="#org09357db">2.8.3. Test</a></li>
|
||||
<li><a href="#org33b4ff0">2.8.1. Get</a></li>
|
||||
<li><a href="#org2f4d234">2.8.2. Compute</a></li>
|
||||
<li><a href="#orgbf1a87a">2.8.3. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgac04458">2.9. Electron-nucleus rescaled distances for each order and derivatives</a>
|
||||
<li><a href="#orgc7940f0">2.9. Electron-nucleus rescaled distances for each order and derivatives</a>
|
||||
<ul>
|
||||
<li><a href="#orgbe8743e">2.9.1. Get</a></li>
|
||||
<li><a href="#orgc64fadd">2.9.2. Compute</a></li>
|
||||
<li><a href="#org12bdb78">2.9.3. Test</a></li>
|
||||
<li><a href="#org582b3a7">2.9.1. Get</a></li>
|
||||
<li><a href="#orgae25514">2.9.2. Compute</a></li>
|
||||
<li><a href="#org74ec039">2.9.3. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org755abde">2.10. Prepare for electron-electron-nucleus Jastrow \(f_{een}\)</a>
|
||||
<li><a href="#org6327254">2.10. Prepare for electron-electron-nucleus Jastrow \(f_{een}\)</a>
|
||||
<ul>
|
||||
<li><a href="#org68d23ed">2.10.1. Get</a></li>
|
||||
<li><a href="#org7a150ff">2.10.2. Compute dim<sub>cord</sub><sub>vect</sub></a></li>
|
||||
<li><a href="#orgd116feb">2.10.3. Compute cord<sub>vect</sub><sub>full</sub></a></li>
|
||||
<li><a href="#orgffd97fa">2.10.4. Compute lkpm<sub>combined</sub><sub>index</sub></a></li>
|
||||
<li><a href="#org3c86111">2.10.5. Test</a></li>
|
||||
<li><a href="#org2deb698">2.10.1. Get</a></li>
|
||||
<li><a href="#org42c2cf3">2.10.2. Compute dim<sub>cord</sub><sub>vect</sub></a></li>
|
||||
<li><a href="#org05187e9">2.10.3. Compute cord<sub>vect</sub><sub>full</sub></a></li>
|
||||
<li><a href="#orgd5b6eef">2.10.4. Compute lkpm<sub>combined</sub><sub>index</sub></a></li>
|
||||
<li><a href="#orga9c7dd0">2.10.5. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgc8866f3">2.11. Electron-electron-nucleus Jastrow \(f_{een}\)</a>
|
||||
<li><a href="#org38aae7c">2.11. Electron-electron-nucleus Jastrow \(f_{een}\)</a>
|
||||
<ul>
|
||||
<li><a href="#orgaa311af">2.11.1. Get</a></li>
|
||||
<li><a href="#org9aedcba">2.11.2. Compute</a></li>
|
||||
<li><a href="#orgf30fa8f">2.11.3. Test</a></li>
|
||||
<li><a href="#org206d3f0">2.11.1. Get</a></li>
|
||||
<li><a href="#orgd7c8ac7">2.11.2. Compute</a></li>
|
||||
<li><a href="#org49183ce">2.11.3. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org9c37984">2.12. Electron-electron-nucleus Jastrow \(f_{een}\) derivative</a>
|
||||
<li><a href="#org2496b88">2.12. Electron-electron-nucleus Jastrow \(f_{een}\) derivative</a>
|
||||
<ul>
|
||||
<li><a href="#orgdd8b295">2.12.1. Get</a></li>
|
||||
<li><a href="#org74b56f0">2.12.2. Compute</a></li>
|
||||
<li><a href="#orgae313d4">2.12.3. Test</a></li>
|
||||
<li><a href="#org058dabb">2.12.1. Get</a></li>
|
||||
<li><a href="#orgfffe742">2.12.2. Compute</a></li>
|
||||
<li><a href="#org232b578">2.12.3. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@ -435,14 +435,14 @@ for the JavaScript code in this tag.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org82e92e9" class="outline-2">
|
||||
<h2 id="org82e92e9"><span class="section-number-2">1</span> Context</h2>
|
||||
<div id="outline-container-orgb13262b" class="outline-2">
|
||||
<h2 id="orgb13262b"><span class="section-number-2">1</span> Context</h2>
|
||||
<div class="outline-text-2" id="text-1">
|
||||
<p>
|
||||
The following data stored in the context:
|
||||
</p>
|
||||
|
||||
<table id="org8450c36" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org1ca7506" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -770,7 +770,7 @@ For H2O we have the following data:
|
||||
</p>
|
||||
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-python" id="orged8ee2d"><span style="color: #a020f0;">import</span> numpy <span style="color: #a020f0;">as</span> np
|
||||
<pre class="src src-python" id="org93c4a24"><span style="color: #a020f0;">import</span> numpy <span style="color: #a020f0;">as</span> np
|
||||
|
||||
<span style="color: #a0522d;">elec_num</span> = 10
|
||||
<span style="color: #a0522d;">nucl_num</span> = 2
|
||||
@ -920,8 +920,8 @@ For H2O we have the following data:
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org279c484" class="outline-3">
|
||||
<h3 id="org279c484"><span class="section-number-3">1.1</span> Data structure</h3>
|
||||
<div id="outline-container-orgc1976b8" class="outline-3">
|
||||
<h3 id="orgc1976b8"><span class="section-number-3">1.1</span> Data structure</h3>
|
||||
<div class="outline-text-3" id="text-1-1">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #a020f0;">typedef</span> <span style="color: #a020f0;">struct</span> <span style="color: #228b22;">qmckl_jastrow_struct</span>{
|
||||
@ -1008,8 +1008,8 @@ this mechanism.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org5c52bb8" class="outline-3">
|
||||
<h3 id="org5c52bb8"><span class="section-number-3">1.2</span> Access functions</h3>
|
||||
<div id="outline-container-org368e19d" class="outline-3">
|
||||
<h3 id="org368e19d"><span class="section-number-3">1.2</span> Access functions</h3>
|
||||
<div class="outline-text-3" id="text-1-2">
|
||||
<p>
|
||||
Along with these core functions, calculation of the jastrow factor
|
||||
@ -1029,8 +1029,8 @@ function returns <code>true</code>.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orge6f9c4b" class="outline-3">
|
||||
<h3 id="orge6f9c4b"><span class="section-number-3">1.3</span> Initialization functions</h3>
|
||||
<div id="outline-container-org3bc5471" class="outline-3">
|
||||
<h3 id="org3bc5471"><span class="section-number-3">1.3</span> Initialization functions</h3>
|
||||
<div class="outline-text-3" id="text-1-3">
|
||||
<p>
|
||||
To prepare for the Jastrow and its derivative, all the following functions need to be
|
||||
@ -1056,8 +1056,8 @@ are precontracted using BLAS LEVEL 3 operations for an optimal FLOP count.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org1d89a20" class="outline-3">
|
||||
<h3 id="org1d89a20"><span class="section-number-3">1.4</span> Test</h3>
|
||||
<div id="outline-container-orge4574d3" class="outline-3">
|
||||
<h3 id="orge4574d3"><span class="section-number-3">1.4</span> Test</h3>
|
||||
<div class="outline-text-3" id="text-1-4">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c">/* <span style="color: #b22222;">Reference input data </span>*/
|
||||
@ -1232,8 +1232,8 @@ rc = qmckl_get_nucleus_charge(context, nucl_charge2);
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org0412f93" class="outline-2">
|
||||
<h2 id="org0412f93"><span class="section-number-2">2</span> Computation</h2>
|
||||
<div id="outline-container-org02df37d" class="outline-2">
|
||||
<h2 id="org02df37d"><span class="section-number-2">2</span> Computation</h2>
|
||||
<div class="outline-text-2" id="text-2">
|
||||
<p>
|
||||
The computed data is stored in the context so that it can be reused
|
||||
@ -1246,8 +1246,8 @@ current date is stored.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orga5c7323" class="outline-3">
|
||||
<h3 id="orga5c7323"><span class="section-number-3">2.1</span> Asymptotic component for \(f_{ee}\)</h3>
|
||||
<div id="outline-container-org7a7ee97" class="outline-3">
|
||||
<h3 id="org7a7ee97"><span class="section-number-3">2.1</span> Asymptotic component for \(f_{ee}\)</h3>
|
||||
<div class="outline-text-3" id="text-2-1">
|
||||
<p>
|
||||
Calculate the asymptotic component <code>asymp_jasb</code> to be substracted from the final
|
||||
@ -1262,8 +1262,8 @@ via the <code>bord_vector</code> and the electron-electron rescale factor <code>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org05fc7b0" class="outline-4">
|
||||
<h4 id="org05fc7b0"><span class="section-number-4">2.1.1</span> Get</h4>
|
||||
<div id="outline-container-org4b6a7c7" class="outline-4">
|
||||
<h4 id="org4b6a7c7"><span class="section-number-4">2.1.1</span> Get</h4>
|
||||
<div class="outline-text-4" id="text-2-1-1">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_get_jastrow_asymp_jasb</span>(<span style="color: #228b22;">qmckl_context</span> <span style="color: #a0522d;">context</span>, <span style="color: #228b22;">double</span>* <span style="color: #a020f0;">const</span> <span style="color: #a0522d;">asymp_jasb</span>);
|
||||
@ -1272,10 +1272,10 @@ via the <code>bord_vector</code> and the electron-electron rescale factor <code>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org756c2e4" class="outline-4">
|
||||
<h4 id="org756c2e4"><span class="section-number-4">2.1.2</span> Compute</h4>
|
||||
<div id="outline-container-orgab32408" class="outline-4">
|
||||
<h4 id="orgab32408"><span class="section-number-4">2.1.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-1-2">
|
||||
<table id="org8c3b94f" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org351208c" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -1388,8 +1388,8 @@ via the <code>bord_vector</code> and the electron-electron rescale factor <code>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="outline-container-orgaefd98a" class="outline-4">
|
||||
<h4 id="orgaefd98a"><span class="section-number-4">2.1.3</span> Test</h4>
|
||||
<div id="outline-container-orgcf58bbe" class="outline-4">
|
||||
<h4 id="orgcf58bbe"><span class="section-number-4">2.1.3</span> Test</h4>
|
||||
<div class="outline-text-4" id="text-2-1-3">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #0000ff;">assert</span>(<span style="color: #228b22;">qmckl_electron_provided</span>(<span style="color: #a0522d;">context</span>));
|
||||
@ -1441,8 +1441,8 @@ rc = qmckl_get_jastrow_asymp_jasb(context, asymp_jasb);
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org816ce83" class="outline-3">
|
||||
<h3 id="org816ce83"><span class="section-number-3">2.2</span> Electron-electron component \(f_{ee}\)</h3>
|
||||
<div id="outline-container-org3913882" class="outline-3">
|
||||
<h3 id="org3913882"><span class="section-number-3">2.2</span> Electron-electron component \(f_{ee}\)</h3>
|
||||
<div class="outline-text-3" id="text-2-2">
|
||||
<p>
|
||||
Calculate the electron-electron jastrow component <code>factor_ee</code> using the <code>asymp_jasb</code>
|
||||
@ -1457,8 +1457,8 @@ f_{ee} = \sum_{i,j<i} \left\{ \frac{ \eta B_0 C_{ij}}{1 - B_1 C_{ij}} - J_{asym
|
||||
</div>
|
||||
|
||||
|
||||
<div id="outline-container-org781352e" class="outline-4">
|
||||
<h4 id="org781352e"><span class="section-number-4">2.2.1</span> Get</h4>
|
||||
<div id="outline-container-org0945560" class="outline-4">
|
||||
<h4 id="org0945560"><span class="section-number-4">2.2.1</span> Get</h4>
|
||||
<div class="outline-text-4" id="text-2-2-1">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_get_jastrow_factor_ee</span>(<span style="color: #228b22;">qmckl_context</span> <span style="color: #a0522d;">context</span>, <span style="color: #228b22;">double</span>* <span style="color: #a020f0;">const</span> <span style="color: #a0522d;">factor_ee</span>);
|
||||
@ -1467,10 +1467,10 @@ f_{ee} = \sum_{i,j<i} \left\{ \frac{ \eta B_0 C_{ij}}{1 - B_1 C_{ij}} - J_{asym
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org9996737" class="outline-4">
|
||||
<h4 id="org9996737"><span class="section-number-4">2.2.2</span> Compute</h4>
|
||||
<div id="outline-container-orgd2f33db" class="outline-4">
|
||||
<h4 id="orgd2f33db"><span class="section-number-4">2.2.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-2-2">
|
||||
<table id="orgfc5844d" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org6821ed7" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -1645,8 +1645,8 @@ f_{ee} = \sum_{i,j<i} \left\{ \frac{ \eta B_0 C_{ij}}{1 - B_1 C_{ij}} - J_{asym
|
||||
</div>
|
||||
|
||||
|
||||
<div id="outline-container-org02efb00" class="outline-4">
|
||||
<h4 id="org02efb00"><span class="section-number-4">2.2.3</span> Test</h4>
|
||||
<div id="outline-container-org9573bfb" class="outline-4">
|
||||
<h4 id="org9573bfb"><span class="section-number-4">2.2.3</span> Test</h4>
|
||||
<div class="outline-text-4" id="text-2-2-3">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c">/* <span style="color: #b22222;">Check if Jastrow is properly initialized </span>*/
|
||||
@ -1664,8 +1664,8 @@ rc = qmckl_get_jastrow_factor_ee(context, factor_ee);
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org40f2211" class="outline-3">
|
||||
<h3 id="org40f2211"><span class="section-number-3">2.3</span> Electron-electron component derivative \(f'_{ee}\)</h3>
|
||||
<div id="outline-container-org2309700" class="outline-3">
|
||||
<h3 id="org2309700"><span class="section-number-3">2.3</span> Electron-electron component derivative \(f'_{ee}\)</h3>
|
||||
<div class="outline-text-3" id="text-2-3">
|
||||
<p>
|
||||
Calculate the derivative of the <code>factor_ee</code> using the <code>ee_distance_rescaled</code> and
|
||||
@ -1680,8 +1680,8 @@ TODO: Add equation
|
||||
</div>
|
||||
|
||||
|
||||
<div id="outline-container-org0892d9c" class="outline-4">
|
||||
<h4 id="org0892d9c"><span class="section-number-4">2.3.1</span> Get</h4>
|
||||
<div id="outline-container-org889d04d" class="outline-4">
|
||||
<h4 id="org889d04d"><span class="section-number-4">2.3.1</span> Get</h4>
|
||||
<div class="outline-text-4" id="text-2-3-1">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_get_jastrow_factor_ee_deriv_e</span>(<span style="color: #228b22;">qmckl_context</span> <span style="color: #a0522d;">context</span>, <span style="color: #228b22;">double</span>* <span style="color: #a020f0;">const</span> <span style="color: #a0522d;">factor_ee_deriv_e</span>);
|
||||
@ -1690,10 +1690,10 @@ TODO: Add equation
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org588bee3" class="outline-4">
|
||||
<h4 id="org588bee3"><span class="section-number-4">2.3.2</span> Compute</h4>
|
||||
<div id="outline-container-org2fe223f" class="outline-4">
|
||||
<h4 id="org2fe223f"><span class="section-number-4">2.3.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-3-2">
|
||||
<table id="org879915a" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org1ad6834" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -1908,8 +1908,8 @@ TODO: Add equation
|
||||
</div>
|
||||
|
||||
|
||||
<div id="outline-container-org3d5df65" class="outline-4">
|
||||
<h4 id="org3d5df65"><span class="section-number-4">2.3.3</span> Test</h4>
|
||||
<div id="outline-container-orgcbfdfd5" class="outline-4">
|
||||
<h4 id="orgcbfdfd5"><span class="section-number-4">2.3.3</span> Test</h4>
|
||||
<div class="outline-text-4" id="text-2-3-3">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c">/* <span style="color: #b22222;">Check if Jastrow is properly initialized </span>*/
|
||||
@ -1931,8 +1931,8 @@ rc = qmckl_get_jastrow_factor_ee_deriv_e(context, &(factor_ee_deriv_e[0][0][
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgdd8c0bc" class="outline-3">
|
||||
<h3 id="orgdd8c0bc"><span class="section-number-3">2.4</span> Electron-nucleus component \(f_{en}\)</h3>
|
||||
<div id="outline-container-orga8b1ca6" class="outline-3">
|
||||
<h3 id="orga8b1ca6"><span class="section-number-3">2.4</span> Electron-nucleus component \(f_{en}\)</h3>
|
||||
<div class="outline-text-3" id="text-2-4">
|
||||
<p>
|
||||
Calculate the electron-electron jastrow component <code>factor_en</code> using the <code>aord_vector</code>
|
||||
@ -1947,8 +1947,8 @@ f_{en} = \sum_{i,j<i} \left\{ \frac{ A_0 C_{ij}}{1 - A_1 C_{ij}} + \sum^{nord}_{
|
||||
</div>
|
||||
|
||||
|
||||
<div id="outline-container-org254bbeb" class="outline-4">
|
||||
<h4 id="org254bbeb"><span class="section-number-4">2.4.1</span> Get</h4>
|
||||
<div id="outline-container-org51657c3" class="outline-4">
|
||||
<h4 id="org51657c3"><span class="section-number-4">2.4.1</span> Get</h4>
|
||||
<div class="outline-text-4" id="text-2-4-1">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_get_jastrow_factor_en</span>(<span style="color: #228b22;">qmckl_context</span> <span style="color: #a0522d;">context</span>, <span style="color: #228b22;">double</span>* <span style="color: #a020f0;">const</span> <span style="color: #a0522d;">factor_en</span>);
|
||||
@ -1957,10 +1957,10 @@ f_{en} = \sum_{i,j<i} \left\{ \frac{ A_0 C_{ij}}{1 - A_1 C_{ij}} + \sum^{nord}_{
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org6a34e1d" class="outline-4">
|
||||
<h4 id="org6a34e1d"><span class="section-number-4">2.4.2</span> Compute</h4>
|
||||
<div id="outline-container-org627ec90" class="outline-4">
|
||||
<h4 id="org627ec90"><span class="section-number-4">2.4.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-4-2">
|
||||
<table id="org5bed630" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orga9d40a2" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -2142,8 +2142,8 @@ f_{en} = \sum_{i,j<i} \left\{ \frac{ A_0 C_{ij}}{1 - A_1 C_{ij}} + \sum^{nord}_{
|
||||
</div>
|
||||
|
||||
|
||||
<div id="outline-container-org746fa00" class="outline-4">
|
||||
<h4 id="org746fa00"><span class="section-number-4">2.4.3</span> Test</h4>
|
||||
<div id="outline-container-org4bfca8c" class="outline-4">
|
||||
<h4 id="org4bfca8c"><span class="section-number-4">2.4.3</span> Test</h4>
|
||||
<div class="outline-text-4" id="text-2-4-3">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c">/* <span style="color: #b22222;">Check if Jastrow is properly initialized </span>*/
|
||||
@ -2161,8 +2161,8 @@ rc = qmckl_get_jastrow_factor_en(context, factor_en);
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org570ef92" class="outline-3">
|
||||
<h3 id="org570ef92"><span class="section-number-3">2.5</span> Electron-nucleus component derivative \(f'_{en}\)</h3>
|
||||
<div id="outline-container-org17acb4e" class="outline-3">
|
||||
<h3 id="org17acb4e"><span class="section-number-3">2.5</span> Electron-nucleus component derivative \(f'_{en}\)</h3>
|
||||
<div class="outline-text-3" id="text-2-5">
|
||||
<p>
|
||||
Calculate the electron-electron jastrow component <code>factor_en_deriv_e</code> derivative
|
||||
@ -2175,8 +2175,8 @@ TODO: write equations.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgc6c0e79" class="outline-4">
|
||||
<h4 id="orgc6c0e79"><span class="section-number-4">2.5.1</span> Get</h4>
|
||||
<div id="outline-container-orgf1feaf7" class="outline-4">
|
||||
<h4 id="orgf1feaf7"><span class="section-number-4">2.5.1</span> Get</h4>
|
||||
<div class="outline-text-4" id="text-2-5-1">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_get_jastrow_factor_en_deriv_e</span>(<span style="color: #228b22;">qmckl_context</span> <span style="color: #a0522d;">context</span>, <span style="color: #228b22;">double</span>* <span style="color: #a020f0;">const</span> <span style="color: #a0522d;">factor_en_deriv_e</span>);
|
||||
@ -2185,10 +2185,10 @@ TODO: write equations.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org57125bb" class="outline-4">
|
||||
<h4 id="org57125bb"><span class="section-number-4">2.5.2</span> Compute</h4>
|
||||
<div id="outline-container-orgb7c8040" class="outline-4">
|
||||
<h4 id="orgb7c8040"><span class="section-number-4">2.5.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-5-2">
|
||||
<table id="orge6692ad" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org8ced928" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -2409,8 +2409,8 @@ TODO: write equations.
|
||||
</div>
|
||||
|
||||
|
||||
<div id="outline-container-org5ba6783" class="outline-4">
|
||||
<h4 id="org5ba6783"><span class="section-number-4">2.5.3</span> Test</h4>
|
||||
<div id="outline-container-orgb92746d" class="outline-4">
|
||||
<h4 id="orgb92746d"><span class="section-number-4">2.5.3</span> Test</h4>
|
||||
<div class="outline-text-4" id="text-2-5-3">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c">/* <span style="color: #b22222;">Check if Jastrow is properly initialized </span>*/
|
||||
@ -2432,8 +2432,8 @@ rc = qmckl_get_jastrow_factor_en_deriv_e(context, &(factor_en_deriv_e[0][0][
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgfbc2369" class="outline-3">
|
||||
<h3 id="orgfbc2369"><span class="section-number-3">2.6</span> Electron-electron rescaled distances for each order</h3>
|
||||
<div id="outline-container-org21fd1a4" class="outline-3">
|
||||
<h3 id="org21fd1a4"><span class="section-number-3">2.6</span> Electron-electron rescaled distances for each order</h3>
|
||||
<div class="outline-text-3" id="text-2-6">
|
||||
<p>
|
||||
<code>een_rescaled_e</code> stores the table of the rescaled distances between all
|
||||
@ -2451,8 +2451,8 @@ where \(C_{ij}\) is the matrix of electron-electron distances.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org0f6b893" class="outline-4">
|
||||
<h4 id="org0f6b893"><span class="section-number-4">2.6.1</span> Get</h4>
|
||||
<div id="outline-container-orgc95d28d" class="outline-4">
|
||||
<h4 id="orgc95d28d"><span class="section-number-4">2.6.1</span> Get</h4>
|
||||
<div class="outline-text-4" id="text-2-6-1">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_get_jastrow_een_rescaled_e</span>(<span style="color: #228b22;">qmckl_context</span> <span style="color: #a0522d;">context</span>, <span style="color: #228b22;">double</span>* <span style="color: #a020f0;">const</span> <span style="color: #a0522d;">distance_rescaled</span>);
|
||||
@ -2461,10 +2461,10 @@ where \(C_{ij}\) is the matrix of electron-electron distances.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org9c07cc5" class="outline-4">
|
||||
<h4 id="org9c07cc5"><span class="section-number-4">2.6.2</span> Compute</h4>
|
||||
<div id="outline-container-orgf7c4fd5" class="outline-4">
|
||||
<h4 id="orgf7c4fd5"><span class="section-number-4">2.6.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-6-2">
|
||||
<table id="orgd6ef21c" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orgef768a8" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -2638,8 +2638,8 @@ where \(C_{ij}\) is the matrix of electron-electron distances.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org34dcd63" class="outline-4">
|
||||
<h4 id="org34dcd63"><span class="section-number-4">2.6.3</span> Test</h4>
|
||||
<div id="outline-container-org7c0f632" class="outline-4">
|
||||
<h4 id="org7c0f632"><span class="section-number-4">2.6.3</span> Test</h4>
|
||||
<div class="outline-text-4" id="text-2-6-3">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #0000ff;">assert</span>(<span style="color: #228b22;">qmckl_electron_provided</span>(<span style="color: #a0522d;">context</span>));
|
||||
@ -2662,8 +2662,8 @@ rc = qmckl_get_jastrow_een_rescaled_e(context, &(een_rescaled_e[0][0][0][0])
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org085e81f" class="outline-3">
|
||||
<h3 id="org085e81f"><span class="section-number-3">2.7</span> Electron-electron rescaled distances for each order and derivatives</h3>
|
||||
<div id="outline-container-org78ded7f" class="outline-3">
|
||||
<h3 id="org78ded7f"><span class="section-number-3">2.7</span> Electron-electron rescaled distances for each order and derivatives</h3>
|
||||
<div class="outline-text-3" id="text-2-7">
|
||||
<p>
|
||||
<code>een_rescaled_e_deriv_e</code> stores the table of the derivatives of the
|
||||
@ -2678,8 +2678,8 @@ TODO: write formulae
|
||||
</div>
|
||||
|
||||
|
||||
<div id="outline-container-org345a0d3" class="outline-4">
|
||||
<h4 id="org345a0d3"><span class="section-number-4">2.7.1</span> Get</h4>
|
||||
<div id="outline-container-orgd581601" class="outline-4">
|
||||
<h4 id="orgd581601"><span class="section-number-4">2.7.1</span> Get</h4>
|
||||
<div class="outline-text-4" id="text-2-7-1">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_get_jastrow_een_rescaled_e_deriv_e</span>(<span style="color: #228b22;">qmckl_context</span> <span style="color: #a0522d;">context</span>, <span style="color: #228b22;">double</span>* <span style="color: #a020f0;">const</span> <span style="color: #a0522d;">distance_rescaled</span>);
|
||||
@ -2688,10 +2688,10 @@ TODO: write formulae
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org2564def" class="outline-4">
|
||||
<h4 id="org2564def"><span class="section-number-4">2.7.2</span> Compute</h4>
|
||||
<div id="outline-container-org9e506ff" class="outline-4">
|
||||
<h4 id="org9e506ff"><span class="section-number-4">2.7.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-7-2">
|
||||
<table id="orgbf04e91" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org3177d73" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -2878,8 +2878,8 @@ TODO: write formulae
|
||||
</div>
|
||||
|
||||
|
||||
<div id="outline-container-org84ed555" class="outline-4">
|
||||
<h4 id="org84ed555"><span class="section-number-4">2.7.3</span> Test</h4>
|
||||
<div id="outline-container-org791b2c7" class="outline-4">
|
||||
<h4 id="org791b2c7"><span class="section-number-4">2.7.3</span> Test</h4>
|
||||
<div class="outline-text-4" id="text-2-7-3">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c">//<span style="color: #b22222;">assert(qmckl_electron_provided(context));</span>
|
||||
@ -2899,8 +2899,8 @@ rc = qmckl_get_jastrow_een_rescaled_e_deriv_e(context, &(een_rescaled_e_deri
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgcf79ac0" class="outline-3">
|
||||
<h3 id="orgcf79ac0"><span class="section-number-3">2.8</span> Electron-nucleus rescaled distances for each order</h3>
|
||||
<div id="outline-container-org5e8927e" class="outline-3">
|
||||
<h3 id="org5e8927e"><span class="section-number-3">2.8</span> Electron-nucleus rescaled distances for each order</h3>
|
||||
<div class="outline-text-3" id="text-2-8">
|
||||
<p>
|
||||
<code>een_rescaled_n</code> stores the table of the rescaled distances between
|
||||
@ -2918,8 +2918,8 @@ where \(C_{ia}\) is the matrix of electron-nucleus distances.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org693f9c2" class="outline-4">
|
||||
<h4 id="org693f9c2"><span class="section-number-4">2.8.1</span> Get</h4>
|
||||
<div id="outline-container-org33b4ff0" class="outline-4">
|
||||
<h4 id="org33b4ff0"><span class="section-number-4">2.8.1</span> Get</h4>
|
||||
<div class="outline-text-4" id="text-2-8-1">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_get_jastrow_een_rescaled_n</span>(<span style="color: #228b22;">qmckl_context</span> <span style="color: #a0522d;">context</span>, <span style="color: #228b22;">double</span>* <span style="color: #a020f0;">const</span> <span style="color: #a0522d;">distance_rescaled</span>);
|
||||
@ -2928,10 +2928,10 @@ where \(C_{ia}\) is the matrix of electron-nucleus distances.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org78f2093" class="outline-4">
|
||||
<h4 id="org78f2093"><span class="section-number-4">2.8.2</span> Compute</h4>
|
||||
<div id="outline-container-org2f4d234" class="outline-4">
|
||||
<h4 id="org2f4d234"><span class="section-number-4">2.8.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-8-2">
|
||||
<table id="org254cb5c" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org85aadfd" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -3095,8 +3095,8 @@ where \(C_{ia}\) is the matrix of electron-nucleus distances.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org09357db" class="outline-4">
|
||||
<h4 id="org09357db"><span class="section-number-4">2.8.3</span> Test</h4>
|
||||
<div id="outline-container-orgbf1a87a" class="outline-4">
|
||||
<h4 id="orgbf1a87a"><span class="section-number-4">2.8.3</span> Test</h4>
|
||||
<div class="outline-text-4" id="text-2-8-3">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #0000ff;">assert</span>(<span style="color: #228b22;">qmckl_electron_provided</span>(<span style="color: #a0522d;">context</span>));
|
||||
@ -3118,8 +3118,8 @@ rc = qmckl_get_jastrow_een_rescaled_n(context, &(een_rescaled_n[0][0][0][0])
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgac04458" class="outline-3">
|
||||
<h3 id="orgac04458"><span class="section-number-3">2.9</span> Electron-nucleus rescaled distances for each order and derivatives</h3>
|
||||
<div id="outline-container-orgc7940f0" class="outline-3">
|
||||
<h3 id="orgc7940f0"><span class="section-number-3">2.9</span> Electron-nucleus rescaled distances for each order and derivatives</h3>
|
||||
<div class="outline-text-3" id="text-2-9">
|
||||
<p>
|
||||
<code>een_rescaled_n_deriv_e</code> stores the table of the rescaled distances between
|
||||
@ -3128,8 +3128,8 @@ electrons and nucleii raised to the power \(p\) defined by <code>cord_num</code>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="outline-container-orgbe8743e" class="outline-4">
|
||||
<h4 id="orgbe8743e"><span class="section-number-4">2.9.1</span> Get</h4>
|
||||
<div id="outline-container-org582b3a7" class="outline-4">
|
||||
<h4 id="org582b3a7"><span class="section-number-4">2.9.1</span> Get</h4>
|
||||
<div class="outline-text-4" id="text-2-9-1">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_get_jastrow_een_rescaled_n_deriv_e</span>(<span style="color: #228b22;">qmckl_context</span> <span style="color: #a0522d;">context</span>, <span style="color: #228b22;">double</span>* <span style="color: #a020f0;">const</span> <span style="color: #a0522d;">distance_rescaled</span>);
|
||||
@ -3138,10 +3138,10 @@ electrons and nucleii raised to the power \(p\) defined by <code>cord_num</code>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgc64fadd" class="outline-4">
|
||||
<h4 id="orgc64fadd"><span class="section-number-4">2.9.2</span> Compute</h4>
|
||||
<div id="outline-container-orgae25514" class="outline-4">
|
||||
<h4 id="orgae25514"><span class="section-number-4">2.9.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-9-2">
|
||||
<table id="orga3f68b1" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org78dbe9a" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -3351,8 +3351,8 @@ electrons and nucleii raised to the power \(p\) defined by <code>cord_num</code>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org12bdb78" class="outline-4">
|
||||
<h4 id="org12bdb78"><span class="section-number-4">2.9.3</span> Test</h4>
|
||||
<div id="outline-container-org74ec039" class="outline-4">
|
||||
<h4 id="org74ec039"><span class="section-number-4">2.9.3</span> Test</h4>
|
||||
<div class="outline-text-4" id="text-2-9-3">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #0000ff;">assert</span>(<span style="color: #228b22;">qmckl_electron_provided</span>(<span style="color: #a0522d;">context</span>));
|
||||
@ -3374,8 +3374,8 @@ rc = qmckl_get_jastrow_een_rescaled_n_deriv_e(context, &(een_rescaled_n_deri
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org755abde" class="outline-3">
|
||||
<h3 id="org755abde"><span class="section-number-3">2.10</span> Prepare for electron-electron-nucleus Jastrow \(f_{een}\)</h3>
|
||||
<div id="outline-container-org6327254" class="outline-3">
|
||||
<h3 id="org6327254"><span class="section-number-3">2.10</span> Prepare for electron-electron-nucleus Jastrow \(f_{een}\)</h3>
|
||||
<div class="outline-text-3" id="text-2-10">
|
||||
<p>
|
||||
Prepare <code>cord_vect_full</code> and <code>lkpm_combined_index</code> tables required for the
|
||||
@ -3384,8 +3384,8 @@ calculation of the three-body jastrow <code>factor_een</code> and its derivative
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org68d23ed" class="outline-4">
|
||||
<h4 id="org68d23ed"><span class="section-number-4">2.10.1</span> Get</h4>
|
||||
<div id="outline-container-org2deb698" class="outline-4">
|
||||
<h4 id="org2deb698"><span class="section-number-4">2.10.1</span> Get</h4>
|
||||
<div class="outline-text-4" id="text-2-10-1">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_get_jastrow_dim_cord_vect</span>(<span style="color: #228b22;">qmckl_context</span> <span style="color: #a0522d;">context</span>, <span style="color: #228b22;">int64_t</span>* <span style="color: #a020f0;">const</span> <span style="color: #a0522d;">dim_cord_vect</span>);
|
||||
@ -3396,10 +3396,10 @@ calculation of the three-body jastrow <code>factor_een</code> and its derivative
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org7a150ff" class="outline-4">
|
||||
<h4 id="org7a150ff"><span class="section-number-4">2.10.2</span> Compute dim<sub>cord</sub><sub>vect</sub></h4>
|
||||
<div id="outline-container-org42c2cf3" class="outline-4">
|
||||
<h4 id="org42c2cf3"><span class="section-number-4">2.10.2</span> Compute dim<sub>cord</sub><sub>vect</sub></h4>
|
||||
<div class="outline-text-4" id="text-2-10-2">
|
||||
<table id="orgafb7621" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org3c75ae0" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -3497,10 +3497,10 @@ calculation of the three-body jastrow <code>factor_een</code> and its derivative
|
||||
</div>
|
||||
|
||||
|
||||
<div id="outline-container-orgd116feb" class="outline-4">
|
||||
<h4 id="orgd116feb"><span class="section-number-4">2.10.3</span> Compute cord<sub>vect</sub><sub>full</sub></h4>
|
||||
<div id="outline-container-org05187e9" class="outline-4">
|
||||
<h4 id="org05187e9"><span class="section-number-4">2.10.3</span> Compute cord<sub>vect</sub><sub>full</sub></h4>
|
||||
<div class="outline-text-4" id="text-2-10-3">
|
||||
<table id="org01b6948" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orgd2700f5" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -3634,10 +3634,10 @@ calculation of the three-body jastrow <code>factor_een</code> and its derivative
|
||||
</div>
|
||||
|
||||
|
||||
<div id="outline-container-orgffd97fa" class="outline-4">
|
||||
<h4 id="orgffd97fa"><span class="section-number-4">2.10.4</span> Compute lkpm<sub>combined</sub><sub>index</sub></h4>
|
||||
<div id="outline-container-orgd5b6eef" class="outline-4">
|
||||
<h4 id="orgd5b6eef"><span class="section-number-4">2.10.4</span> Compute lkpm<sub>combined</sub><sub>index</sub></h4>
|
||||
<div class="outline-text-4" id="text-2-10-4">
|
||||
<table id="org06e0e68" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orgf4a0bda" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -3755,8 +3755,8 @@ calculation of the three-body jastrow <code>factor_een</code> and its derivative
|
||||
</div>
|
||||
|
||||
|
||||
<div id="outline-container-org3c86111" class="outline-4">
|
||||
<h4 id="org3c86111"><span class="section-number-4">2.10.5</span> Test</h4>
|
||||
<div id="outline-container-orga9c7dd0" class="outline-4">
|
||||
<h4 id="orga9c7dd0"><span class="section-number-4">2.10.5</span> Test</h4>
|
||||
<div class="outline-text-4" id="text-2-10-5">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c">//<span style="color: #b22222;">assert(qmckl_electron_provided(context));</span>
|
||||
@ -3768,8 +3768,8 @@ calculation of the three-body jastrow <code>factor_een</code> and its derivative
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgc8866f3" class="outline-3">
|
||||
<h3 id="orgc8866f3"><span class="section-number-3">2.11</span> Electron-electron-nucleus Jastrow \(f_{een}\)</h3>
|
||||
<div id="outline-container-org38aae7c" class="outline-3">
|
||||
<h3 id="org38aae7c"><span class="section-number-3">2.11</span> Electron-electron-nucleus Jastrow \(f_{een}\)</h3>
|
||||
<div class="outline-text-3" id="text-2-11">
|
||||
<p>
|
||||
Calculate the electron-electron-nuclear three-body jastrow component <code>factor_een</code>
|
||||
@ -3781,8 +3781,8 @@ TODO: write equations.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgaa311af" class="outline-4">
|
||||
<h4 id="orgaa311af"><span class="section-number-4">2.11.1</span> Get</h4>
|
||||
<div id="outline-container-org206d3f0" class="outline-4">
|
||||
<h4 id="org206d3f0"><span class="section-number-4">2.11.1</span> Get</h4>
|
||||
<div class="outline-text-4" id="text-2-11-1">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_get_jastrow_factor_een</span>(<span style="color: #228b22;">qmckl_context</span> <span style="color: #a0522d;">context</span>, <span style="color: #228b22;">double</span>* <span style="color: #a020f0;">const</span> <span style="color: #a0522d;">factor_een</span>);
|
||||
@ -3791,10 +3791,10 @@ TODO: write equations.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org9aedcba" class="outline-4">
|
||||
<h4 id="org9aedcba"><span class="section-number-4">2.11.2</span> Compute</h4>
|
||||
<div id="outline-container-orgd7c8ac7" class="outline-4">
|
||||
<h4 id="orgd7c8ac7"><span class="section-number-4">2.11.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-11-2">
|
||||
<table id="org0b22710" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orgb6cc287" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -3990,8 +3990,8 @@ TODO: write equations.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgf30fa8f" class="outline-4">
|
||||
<h4 id="orgf30fa8f"><span class="section-number-4">2.11.3</span> Test</h4>
|
||||
<div id="outline-container-org49183ce" class="outline-4">
|
||||
<h4 id="org49183ce"><span class="section-number-4">2.11.3</span> Test</h4>
|
||||
<div class="outline-text-4" id="text-2-11-3">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c">/* <span style="color: #b22222;">Check if Jastrow is properly initialized </span>*/
|
||||
@ -4007,8 +4007,8 @@ rc = qmckl_get_jastrow_factor_een(context, &(factor_een[0]));
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org9c37984" class="outline-3">
|
||||
<h3 id="org9c37984"><span class="section-number-3">2.12</span> Electron-electron-nucleus Jastrow \(f_{een}\) derivative</h3>
|
||||
<div id="outline-container-org2496b88" class="outline-3">
|
||||
<h3 id="org2496b88"><span class="section-number-3">2.12</span> Electron-electron-nucleus Jastrow \(f_{een}\) derivative</h3>
|
||||
<div class="outline-text-3" id="text-2-12">
|
||||
<p>
|
||||
Calculate the electron-electron-nuclear three-body jastrow component <code>factor_een_deriv_e</code>
|
||||
@ -4020,8 +4020,8 @@ TODO: write equations.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgdd8b295" class="outline-4">
|
||||
<h4 id="orgdd8b295"><span class="section-number-4">2.12.1</span> Get</h4>
|
||||
<div id="outline-container-org058dabb" class="outline-4">
|
||||
<h4 id="org058dabb"><span class="section-number-4">2.12.1</span> Get</h4>
|
||||
<div class="outline-text-4" id="text-2-12-1">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_get_jastrow_factor_een_deriv_e</span>(<span style="color: #228b22;">qmckl_context</span> <span style="color: #a0522d;">context</span>, <span style="color: #228b22;">double</span>* <span style="color: #a020f0;">const</span> <span style="color: #a0522d;">factor_een_deriv_e</span>);
|
||||
@ -4030,10 +4030,10 @@ TODO: write equations.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org74b56f0" class="outline-4">
|
||||
<h4 id="org74b56f0"><span class="section-number-4">2.12.2</span> Compute</h4>
|
||||
<div id="outline-container-orgfffe742" class="outline-4">
|
||||
<h4 id="orgfffe742"><span class="section-number-4">2.12.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-12-2">
|
||||
<table id="org8490021" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org027d2b3" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -4266,8 +4266,8 @@ TODO: write equations.
|
||||
</div>
|
||||
|
||||
|
||||
<div id="outline-container-orgae313d4" class="outline-4">
|
||||
<h4 id="orgae313d4"><span class="section-number-4">2.12.3</span> Test</h4>
|
||||
<div id="outline-container-org232b578" class="outline-4">
|
||||
<h4 id="org232b578"><span class="section-number-4">2.12.3</span> Test</h4>
|
||||
<div class="outline-text-4" id="text-2-12-3">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c">/* <span style="color: #b22222;">Check if Jastrow is properly initialized </span>*/
|
||||
@ -4286,7 +4286,7 @@ rc = qmckl_get_jastrow_factor_een_deriv_e(context, &(factor_een_deriv_e[0][0
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: TREX CoE</p>
|
||||
<p class="date">Created: 2022-01-06 Thu 18:05</p>
|
||||
<p class="date">Created: 2022-01-06 Thu 18:08</p>
|
||||
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||
</div>
|
||||
</body>
|
||||
|
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2022-01-06 Thu 18:05 -->
|
||||
<!-- 2022-01-06 Thu 18:07 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>Local Energy</title>
|
||||
@ -333,43 +333,43 @@ for the JavaScript code in this tag.
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents">
|
||||
<ul>
|
||||
<li><a href="#org39a4942">1. Context</a>
|
||||
<li><a href="#org538ee78">1. Context</a>
|
||||
<ul>
|
||||
<li><a href="#orgb2a85b5">1.1. Data structure</a></li>
|
||||
<li><a href="#org41f1893">1.1. Data structure</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org3e27d39">2. Computation</a>
|
||||
<li><a href="#org148d277">2. Computation</a>
|
||||
<ul>
|
||||
<li><a href="#org0c20c32">2.1. Kinetic energy</a>
|
||||
<li><a href="#orgb7477d7">2.1. Kinetic energy</a>
|
||||
<ul>
|
||||
<li><a href="#orgc0dc392">2.1.1. Get</a></li>
|
||||
<li><a href="#org9809e36">2.1.2. Provide</a></li>
|
||||
<li><a href="#org0beecd7">2.1.3. Compute kinetic enregy</a></li>
|
||||
<li><a href="#orge1c7650">2.1.4. Test</a></li>
|
||||
<li><a href="#org409559d">2.1.1. Get</a></li>
|
||||
<li><a href="#org02d75a0">2.1.2. Provide</a></li>
|
||||
<li><a href="#orgac41818">2.1.3. Compute kinetic enregy</a></li>
|
||||
<li><a href="#org9aabad6">2.1.4. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org9ff98fb">2.2. Potential energy</a>
|
||||
<li><a href="#org2268ec0">2.2. Potential energy</a>
|
||||
<ul>
|
||||
<li><a href="#org256f06e">2.2.1. Get</a></li>
|
||||
<li><a href="#org12cd934">2.2.2. Provide</a></li>
|
||||
<li><a href="#orgba33bbf">2.2.3. Compute potential enregy</a></li>
|
||||
<li><a href="#org62b49a3">2.2.4. Test</a></li>
|
||||
<li><a href="#orgb802a5d">2.2.1. Get</a></li>
|
||||
<li><a href="#org8d06a80">2.2.2. Provide</a></li>
|
||||
<li><a href="#orgceefc20">2.2.3. Compute potential enregy</a></li>
|
||||
<li><a href="#orge295839">2.2.4. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org20a3772">2.3. Local energy</a>
|
||||
<li><a href="#orgcbb0dd4">2.3. Local energy</a>
|
||||
<ul>
|
||||
<li><a href="#org5d28437">2.3.1. Get</a></li>
|
||||
<li><a href="#org53283f4">2.3.2. Provide</a></li>
|
||||
<li><a href="#orgc2c2228">2.3.3. Compute local enregy</a></li>
|
||||
<li><a href="#org23a4722">2.3.4. Test</a></li>
|
||||
<li><a href="#org06de7fd">2.3.1. Get</a></li>
|
||||
<li><a href="#orgca60b2c">2.3.2. Provide</a></li>
|
||||
<li><a href="#orga09f7a7">2.3.3. Compute local enregy</a></li>
|
||||
<li><a href="#orgba53c9d">2.3.4. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgf7dd702">2.4. Drift vector</a>
|
||||
<li><a href="#orgc58189e">2.4. Drift vector</a>
|
||||
<ul>
|
||||
<li><a href="#org6f5bb03">2.4.1. Get</a></li>
|
||||
<li><a href="#org191e243">2.4.2. Provide</a></li>
|
||||
<li><a href="#org566a296">2.4.3. Compute drift vector</a></li>
|
||||
<li><a href="#org6f8522e">2.4.4. Test</a></li>
|
||||
<li><a href="#org4585cf9">2.4.1. Get</a></li>
|
||||
<li><a href="#orgb827415">2.4.2. Provide</a></li>
|
||||
<li><a href="#org90ef2f5">2.4.3. Compute drift vector</a></li>
|
||||
<li><a href="#org5427a57">2.4.4. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@ -378,8 +378,8 @@ for the JavaScript code in this tag.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org39a4942" class="outline-2">
|
||||
<h2 id="org39a4942"><span class="section-number-2">1</span> Context</h2>
|
||||
<div id="outline-container-org538ee78" class="outline-2">
|
||||
<h2 id="org538ee78"><span class="section-number-2">1</span> Context</h2>
|
||||
<div class="outline-text-2" id="text-1">
|
||||
<p>
|
||||
The following arrays are stored in the context:
|
||||
@ -452,8 +452,8 @@ Computed data:
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgb2a85b5" class="outline-3">
|
||||
<h3 id="orgb2a85b5"><span class="section-number-3">1.1</span> Data structure</h3>
|
||||
<div id="outline-container-org41f1893" class="outline-3">
|
||||
<h3 id="org41f1893"><span class="section-number-3">1.1</span> Data structure</h3>
|
||||
<div class="outline-text-3" id="text-1-1">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #a020f0;">typedef</span> <span style="color: #a020f0;">struct</span> <span style="color: #228b22;">qmckl_local_energy_struct</span> {
|
||||
@ -488,12 +488,12 @@ this mechanism.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org3e27d39" class="outline-2">
|
||||
<h2 id="org3e27d39"><span class="section-number-2">2</span> Computation</h2>
|
||||
<div id="outline-container-org148d277" class="outline-2">
|
||||
<h2 id="org148d277"><span class="section-number-2">2</span> Computation</h2>
|
||||
<div class="outline-text-2" id="text-2">
|
||||
</div>
|
||||
<div id="outline-container-org0c20c32" class="outline-3">
|
||||
<h3 id="org0c20c32"><span class="section-number-3">2.1</span> Kinetic energy</h3>
|
||||
<div id="outline-container-orgb7477d7" class="outline-3">
|
||||
<h3 id="orgb7477d7"><span class="section-number-3">2.1</span> Kinetic energy</h3>
|
||||
<div class="outline-text-3" id="text-2-1">
|
||||
<p>
|
||||
Where the kinetic energy is given as:
|
||||
@ -517,8 +517,8 @@ case is given as follows:
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgc0dc392" class="outline-4">
|
||||
<h4 id="orgc0dc392"><span class="section-number-4">2.1.1</span> Get</h4>
|
||||
<div id="outline-container-org409559d" class="outline-4">
|
||||
<h4 id="org409559d"><span class="section-number-4">2.1.1</span> Get</h4>
|
||||
<div class="outline-text-4" id="text-2-1-1">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_get_kinetic_energy</span>(<span style="color: #228b22;">qmckl_context</span> <span style="color: #a0522d;">context</span>, <span style="color: #228b22;">double</span>* <span style="color: #a020f0;">const</span> <span style="color: #a0522d;">kinetic_energy</span>);
|
||||
@ -527,14 +527,14 @@ case is given as follows:
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org9809e36" class="outline-4">
|
||||
<h4 id="org9809e36"><span class="section-number-4">2.1.2</span> Provide</h4>
|
||||
<div id="outline-container-org02d75a0" class="outline-4">
|
||||
<h4 id="org02d75a0"><span class="section-number-4">2.1.2</span> Provide</h4>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org0beecd7" class="outline-4">
|
||||
<h4 id="org0beecd7"><span class="section-number-4">2.1.3</span> Compute kinetic enregy</h4>
|
||||
<div id="outline-container-orgac41818" class="outline-4">
|
||||
<h4 id="orgac41818"><span class="section-number-4">2.1.3</span> Compute kinetic enregy</h4>
|
||||
<div class="outline-text-4" id="text-2-1-3">
|
||||
<table id="orgc37935d" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orgb4fad54" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -777,12 +777,12 @@ case is given as follows:
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orge1c7650" class="outline-4">
|
||||
<h4 id="orge1c7650"><span class="section-number-4">2.1.4</span> Test</h4>
|
||||
<div id="outline-container-org9aabad6" class="outline-4">
|
||||
<h4 id="org9aabad6"><span class="section-number-4">2.1.4</span> Test</h4>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-org9ff98fb" class="outline-3">
|
||||
<h3 id="org9ff98fb"><span class="section-number-3">2.2</span> Potential energy</h3>
|
||||
<div id="outline-container-org2268ec0" class="outline-3">
|
||||
<h3 id="org2268ec0"><span class="section-number-3">2.2</span> Potential energy</h3>
|
||||
<div class="outline-text-3" id="text-2-2">
|
||||
<p>
|
||||
The potential energy is the sum of all the following terms
|
||||
@ -818,8 +818,8 @@ contributions.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org256f06e" class="outline-4">
|
||||
<h4 id="org256f06e"><span class="section-number-4">2.2.1</span> Get</h4>
|
||||
<div id="outline-container-orgb802a5d" class="outline-4">
|
||||
<h4 id="orgb802a5d"><span class="section-number-4">2.2.1</span> Get</h4>
|
||||
<div class="outline-text-4" id="text-2-2-1">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_get_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>);
|
||||
@ -828,14 +828,14 @@ contributions.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org12cd934" class="outline-4">
|
||||
<h4 id="org12cd934"><span class="section-number-4">2.2.2</span> Provide</h4>
|
||||
<div id="outline-container-org8d06a80" class="outline-4">
|
||||
<h4 id="org8d06a80"><span class="section-number-4">2.2.2</span> Provide</h4>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgba33bbf" class="outline-4">
|
||||
<h4 id="orgba33bbf"><span class="section-number-4">2.2.3</span> Compute potential enregy</h4>
|
||||
<div id="outline-container-orgceefc20" class="outline-4">
|
||||
<h4 id="orgceefc20"><span class="section-number-4">2.2.3</span> Compute potential enregy</h4>
|
||||
<div class="outline-text-4" id="text-2-2-3">
|
||||
<table id="orga7aa922" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orgde688a1" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -963,12 +963,12 @@ contributions.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org62b49a3" class="outline-4">
|
||||
<h4 id="org62b49a3"><span class="section-number-4">2.2.4</span> Test</h4>
|
||||
<div id="outline-container-orge295839" class="outline-4">
|
||||
<h4 id="orge295839"><span class="section-number-4">2.2.4</span> Test</h4>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-org20a3772" class="outline-3">
|
||||
<h3 id="org20a3772"><span class="section-number-3">2.3</span> Local energy</h3>
|
||||
<div id="outline-container-orgcbb0dd4" class="outline-3">
|
||||
<h3 id="orgcbb0dd4"><span class="section-number-3">2.3</span> Local energy</h3>
|
||||
<div class="outline-text-3" id="text-2-3">
|
||||
<p>
|
||||
The local energy is the sum of kinetic and potential energies.
|
||||
@ -982,8 +982,8 @@ E_L = KE + PE
|
||||
</div>
|
||||
|
||||
|
||||
<div id="outline-container-org5d28437" class="outline-4">
|
||||
<h4 id="org5d28437"><span class="section-number-4">2.3.1</span> Get</h4>
|
||||
<div id="outline-container-org06de7fd" class="outline-4">
|
||||
<h4 id="org06de7fd"><span class="section-number-4">2.3.1</span> Get</h4>
|
||||
<div class="outline-text-4" id="text-2-3-1">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_get_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>);
|
||||
@ -992,14 +992,14 @@ E_L = KE + PE
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org53283f4" class="outline-4">
|
||||
<h4 id="org53283f4"><span class="section-number-4">2.3.2</span> Provide</h4>
|
||||
<div id="outline-container-orgca60b2c" class="outline-4">
|
||||
<h4 id="orgca60b2c"><span class="section-number-4">2.3.2</span> Provide</h4>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgc2c2228" class="outline-4">
|
||||
<h4 id="orgc2c2228"><span class="section-number-4">2.3.3</span> Compute local enregy</h4>
|
||||
<div id="outline-container-orga09f7a7" class="outline-4">
|
||||
<h4 id="orga09f7a7"><span class="section-number-4">2.3.3</span> Compute local enregy</h4>
|
||||
<div class="outline-text-4" id="text-2-3-3">
|
||||
<table id="orgddf1139" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orga22f6f2" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -1095,12 +1095,12 @@ E_L = KE + PE
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org23a4722" class="outline-4">
|
||||
<h4 id="org23a4722"><span class="section-number-4">2.3.4</span> Test</h4>
|
||||
<div id="outline-container-orgba53c9d" class="outline-4">
|
||||
<h4 id="orgba53c9d"><span class="section-number-4">2.3.4</span> Test</h4>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-orgf7dd702" class="outline-3">
|
||||
<h3 id="orgf7dd702"><span class="section-number-3">2.4</span> Drift vector</h3>
|
||||
<div id="outline-container-orgc58189e" class="outline-3">
|
||||
<h3 id="orgc58189e"><span class="section-number-3">2.4</span> Drift vector</h3>
|
||||
<div class="outline-text-3" id="text-2-4">
|
||||
<p>
|
||||
The drift vector is calculated as the ration of the gradient
|
||||
@ -1114,8 +1114,8 @@ with the determinant of the wavefunction.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org6f5bb03" class="outline-4">
|
||||
<h4 id="org6f5bb03"><span class="section-number-4">2.4.1</span> Get</h4>
|
||||
<div id="outline-container-org4585cf9" class="outline-4">
|
||||
<h4 id="org4585cf9"><span class="section-number-4">2.4.1</span> Get</h4>
|
||||
<div class="outline-text-4" id="text-2-4-1">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_get_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>);
|
||||
@ -1124,14 +1124,14 @@ with the determinant of the wavefunction.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org191e243" class="outline-4">
|
||||
<h4 id="org191e243"><span class="section-number-4">2.4.2</span> Provide</h4>
|
||||
<div id="outline-container-orgb827415" class="outline-4">
|
||||
<h4 id="orgb827415"><span class="section-number-4">2.4.2</span> Provide</h4>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org566a296" class="outline-4">
|
||||
<h4 id="org566a296"><span class="section-number-4">2.4.3</span> Compute drift vector</h4>
|
||||
<div id="outline-container-org90ef2f5" class="outline-4">
|
||||
<h4 id="org90ef2f5"><span class="section-number-4">2.4.3</span> Compute drift vector</h4>
|
||||
<div class="outline-text-4" id="text-2-4-3">
|
||||
<table id="org42b3097" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orgb5db3ee" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -1352,15 +1352,15 @@ with the determinant of the wavefunction.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org6f8522e" class="outline-4">
|
||||
<h4 id="org6f8522e"><span class="section-number-4">2.4.4</span> Test</h4>
|
||||
<div id="outline-container-org5427a57" class="outline-4">
|
||||
<h4 id="org5427a57"><span class="section-number-4">2.4.4</span> Test</h4>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: TREX CoE</p>
|
||||
<p class="date">Created: 2022-01-06 Thu 18:05</p>
|
||||
<p class="date">Created: 2022-01-06 Thu 18:07</p>
|
||||
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||
</div>
|
||||
</body>
|
||||
|
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2022-01-06 Thu 18:05 -->
|
||||
<!-- 2022-01-06 Thu 18:08 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>Memory management</title>
|
||||
@ -311,15 +311,15 @@ for the JavaScript code in this tag.
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents">
|
||||
<ul>
|
||||
<li><a href="#orgbaffa24">1. Memory data structure for the context</a></li>
|
||||
<li><a href="#org10f17e7">2. Passing info to allocation routines</a></li>
|
||||
<li><a href="#orge66e37d">3. Allocation/deallocation functions</a></li>
|
||||
<li><a href="#org02c77a3">1. Memory data structure for the context</a></li>
|
||||
<li><a href="#org2b8742f">2. Passing info to allocation routines</a></li>
|
||||
<li><a href="#orgacd0f2f">3. Allocation/deallocation functions</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgbaffa24" class="outline-2">
|
||||
<h2 id="orgbaffa24"><span class="section-number-2">1</span> Memory data structure for the context</h2>
|
||||
<div id="outline-container-org02c77a3" class="outline-2">
|
||||
<h2 id="org02c77a3"><span class="section-number-2">1</span> Memory data structure for the context</h2>
|
||||
<div class="outline-text-2" id="text-1">
|
||||
<p>
|
||||
Every time a new block of memory is allocated, the information
|
||||
@ -361,8 +361,8 @@ array, and the number of allocated blocks.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org10f17e7" class="outline-2">
|
||||
<h2 id="org10f17e7"><span class="section-number-2">2</span> Passing info to allocation routines</h2>
|
||||
<div id="outline-container-org2b8742f" class="outline-2">
|
||||
<h2 id="org2b8742f"><span class="section-number-2">2</span> Passing info to allocation routines</h2>
|
||||
<div class="outline-text-2" id="text-2">
|
||||
<p>
|
||||
Passing information to the allocation routine should be done by
|
||||
@ -371,8 +371,8 @@ passing an instance of a <code>qmckl_memory_info_struct</code>.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orge66e37d" class="outline-2">
|
||||
<h2 id="orge66e37d"><span class="section-number-2">3</span> Allocation/deallocation functions</h2>
|
||||
<div id="outline-container-orgacd0f2f" class="outline-2">
|
||||
<h2 id="orgacd0f2f"><span class="section-number-2">3</span> Allocation/deallocation functions</h2>
|
||||
<div class="outline-text-2" id="text-3">
|
||||
<p>
|
||||
Memory allocation inside the library should be done with
|
||||
@ -535,7 +535,7 @@ allocation and needs to be updated.
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: TREX CoE</p>
|
||||
<p class="date">Created: 2022-01-06 Thu 18:05</p>
|
||||
<p class="date">Created: 2022-01-06 Thu 18:08</p>
|
||||
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||
</div>
|
||||
</body>
|
||||
|
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2022-01-06 Thu 18:05 -->
|
||||
<!-- 2022-01-06 Thu 18:08 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>Molecular Orbitals</title>
|
||||
@ -311,21 +311,21 @@ for the JavaScript code in this tag.
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents">
|
||||
<ul>
|
||||
<li><a href="#orgd16af3c">1. Context</a>
|
||||
<li><a href="#orgacd63d2">1. Context</a>
|
||||
<ul>
|
||||
<li><a href="#org23520e4">1.1. Data structure</a></li>
|
||||
<li><a href="#orgbbdd5ff">1.2. Access functions</a></li>
|
||||
<li><a href="#org2055aa8">1.3. Initialization functions</a></li>
|
||||
<li><a href="#orgf26f774">1.1. Data structure</a></li>
|
||||
<li><a href="#org8c6f46a">1.2. Access functions</a></li>
|
||||
<li><a href="#org71f4988">1.3. Initialization functions</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org5c2d1c2">2. Computation</a>
|
||||
<li><a href="#orgceb7bc0">2. Computation</a>
|
||||
<ul>
|
||||
<li><a href="#org7b46205">2.1. Computation of MOs</a>
|
||||
<li><a href="#org68430a0">2.1. Computation of MOs</a>
|
||||
<ul>
|
||||
<li><a href="#org7560ea2">2.1.1. Get</a></li>
|
||||
<li><a href="#org65178d8">2.1.2. Provide</a></li>
|
||||
<li><a href="#orgab68ca0">2.1.3. Compute</a></li>
|
||||
<li><a href="#orgf82beef">2.1.4. Test</a></li>
|
||||
<li><a href="#org54da98e">2.1.1. Get</a></li>
|
||||
<li><a href="#org045ea41">2.1.2. Provide</a></li>
|
||||
<li><a href="#orgf6fd4e6">2.1.3. Compute</a></li>
|
||||
<li><a href="#orga430a3f">2.1.4. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@ -334,8 +334,8 @@ for the JavaScript code in this tag.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgd16af3c" class="outline-2">
|
||||
<h2 id="orgd16af3c"><span class="section-number-2">1</span> Context</h2>
|
||||
<div id="outline-container-orgacd63d2" class="outline-2">
|
||||
<h2 id="orgacd63d2"><span class="section-number-2">1</span> Context</h2>
|
||||
<div class="outline-text-2" id="text-1">
|
||||
<p>
|
||||
The following arrays are stored in the context:
|
||||
@ -397,8 +397,8 @@ Computed data:
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org23520e4" class="outline-3">
|
||||
<h3 id="org23520e4"><span class="section-number-3">1.1</span> Data structure</h3>
|
||||
<div id="outline-container-orgf26f774" class="outline-3">
|
||||
<h3 id="orgf26f774"><span class="section-number-3">1.1</span> Data structure</h3>
|
||||
<div class="outline-text-3" id="text-1-1">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #a020f0;">typedef</span> <span style="color: #a020f0;">struct</span> <span style="color: #228b22;">qmckl_mo_basis_struct</span> {
|
||||
@ -447,8 +447,8 @@ this mechanism.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgbbdd5ff" class="outline-3">
|
||||
<h3 id="orgbbdd5ff"><span class="section-number-3">1.2</span> Access functions</h3>
|
||||
<div id="outline-container-org8c6f46a" class="outline-3">
|
||||
<h3 id="org8c6f46a"><span class="section-number-3">1.2</span> Access functions</h3>
|
||||
<div class="outline-text-3" id="text-1-2">
|
||||
<p>
|
||||
When all the data for the AOs have been provided, the following
|
||||
@ -462,8 +462,8 @@ function returns <code>true</code>.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org2055aa8" class="outline-3">
|
||||
<h3 id="org2055aa8"><span class="section-number-3">1.3</span> Initialization functions</h3>
|
||||
<div id="outline-container-org71f4988" class="outline-3">
|
||||
<h3 id="org71f4988"><span class="section-number-3">1.3</span> Initialization functions</h3>
|
||||
<div class="outline-text-3" id="text-1-3">
|
||||
<p>
|
||||
To set the basis set, all the following functions need to be
|
||||
@ -484,16 +484,16 @@ computed to accelerate the calculations.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org5c2d1c2" class="outline-2">
|
||||
<h2 id="org5c2d1c2"><span class="section-number-2">2</span> Computation</h2>
|
||||
<div id="outline-container-orgceb7bc0" class="outline-2">
|
||||
<h2 id="orgceb7bc0"><span class="section-number-2">2</span> Computation</h2>
|
||||
<div class="outline-text-2" id="text-2">
|
||||
</div>
|
||||
<div id="outline-container-org7b46205" class="outline-3">
|
||||
<h3 id="org7b46205"><span class="section-number-3">2.1</span> Computation of MOs</h3>
|
||||
<div id="outline-container-org68430a0" class="outline-3">
|
||||
<h3 id="org68430a0"><span class="section-number-3">2.1</span> Computation of MOs</h3>
|
||||
<div class="outline-text-3" id="text-2-1">
|
||||
</div>
|
||||
<div id="outline-container-org7560ea2" class="outline-4">
|
||||
<h4 id="org7560ea2"><span class="section-number-4">2.1.1</span> Get</h4>
|
||||
<div id="outline-container-org54da98e" class="outline-4">
|
||||
<h4 id="org54da98e"><span class="section-number-4">2.1.1</span> Get</h4>
|
||||
<div class="outline-text-4" id="text-2-1-1">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_get_mo_basis_vgl</span>(<span style="color: #228b22;">qmckl_context</span> <span style="color: #a0522d;">context</span>, <span style="color: #228b22;">double</span>* <span style="color: #a020f0;">const</span> <span style="color: #a0522d;">mo_vgl</span>);
|
||||
@ -502,14 +502,14 @@ computed to accelerate the calculations.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org65178d8" class="outline-4">
|
||||
<h4 id="org65178d8"><span class="section-number-4">2.1.2</span> Provide</h4>
|
||||
<div id="outline-container-org045ea41" class="outline-4">
|
||||
<h4 id="org045ea41"><span class="section-number-4">2.1.2</span> Provide</h4>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgab68ca0" class="outline-4">
|
||||
<h4 id="orgab68ca0"><span class="section-number-4">2.1.3</span> Compute</h4>
|
||||
<div id="outline-container-orgf6fd4e6" class="outline-4">
|
||||
<h4 id="orgf6fd4e6"><span class="section-number-4">2.1.3</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-1-3">
|
||||
<table id="org2adad85" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org805ff03" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -667,15 +667,15 @@ computed to accelerate the calculations.
|
||||
</div>
|
||||
|
||||
|
||||
<div id="outline-container-orgf82beef" class="outline-4">
|
||||
<h4 id="orgf82beef"><span class="section-number-4">2.1.4</span> Test</h4>
|
||||
<div id="outline-container-orga430a3f" class="outline-4">
|
||||
<h4 id="orga430a3f"><span class="section-number-4">2.1.4</span> Test</h4>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: TREX CoE</p>
|
||||
<p class="date">Created: 2022-01-06 Thu 18:05</p>
|
||||
<p class="date">Created: 2022-01-06 Thu 18:08</p>
|
||||
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||
</div>
|
||||
</body>
|
||||
|
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2022-01-06 Thu 18:05 -->
|
||||
<!-- 2022-01-06 Thu 18:08 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>Nucleus</title>
|
||||
@ -333,35 +333,35 @@ for the JavaScript code in this tag.
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents">
|
||||
<ul>
|
||||
<li><a href="#org37f8951">1. Context</a>
|
||||
<li><a href="#orgf9109a0">1. Context</a>
|
||||
<ul>
|
||||
<li><a href="#org0f92cea">1.1. Data structure</a></li>
|
||||
<li><a href="#org56bd59b">1.2. Access functions</a></li>
|
||||
<li><a href="#org2ff88e5">1.3. Initialization functions</a></li>
|
||||
<li><a href="#org6c6225f">1.4. Test</a></li>
|
||||
<li><a href="#org69e5ec3">1.1. Data structure</a></li>
|
||||
<li><a href="#org13433eb">1.2. Access functions</a></li>
|
||||
<li><a href="#orgc73f09e">1.3. Initialization functions</a></li>
|
||||
<li><a href="#org095cefc">1.4. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org33d76be">2. Computation</a>
|
||||
<li><a href="#org20e1afb">2. Computation</a>
|
||||
<ul>
|
||||
<li><a href="#orgb13bdb5">2.1. Nucleus-nucleus distances</a>
|
||||
<li><a href="#org3c643ac">2.1. Nucleus-nucleus distances</a>
|
||||
<ul>
|
||||
<li><a href="#org825f210">2.1.1. Get</a></li>
|
||||
<li><a href="#org0090318">2.1.2. Compute</a></li>
|
||||
<li><a href="#org3a3b40a">2.1.3. Test</a></li>
|
||||
<li><a href="#org8f00158">2.1.1. Get</a></li>
|
||||
<li><a href="#org65956c9">2.1.2. Compute</a></li>
|
||||
<li><a href="#org14b989a">2.1.3. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org8488966">2.2. Nucleus-nucleus rescaled distances</a>
|
||||
<li><a href="#org247a291">2.2. Nucleus-nucleus rescaled distances</a>
|
||||
<ul>
|
||||
<li><a href="#orgb848c7d">2.2.1. Get</a></li>
|
||||
<li><a href="#orge3c0c06">2.2.2. Compute</a></li>
|
||||
<li><a href="#org33ed093">2.2.3. Test</a></li>
|
||||
<li><a href="#org81b7500">2.2.1. Get</a></li>
|
||||
<li><a href="#orgff9f6d2">2.2.2. Compute</a></li>
|
||||
<li><a href="#org9f53687">2.2.3. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgc518efb">2.3. Nuclear repulsion energy</a>
|
||||
<li><a href="#org2cf36c2">2.3. Nuclear repulsion energy</a>
|
||||
<ul>
|
||||
<li><a href="#org4b98393">2.3.1. Get</a></li>
|
||||
<li><a href="#orgc2f9b98">2.3.2. Compute</a></li>
|
||||
<li><a href="#org501d587">2.3.3. Test</a></li>
|
||||
<li><a href="#orgc37c79d">2.3.1. Get</a></li>
|
||||
<li><a href="#org2467f33">2.3.2. Compute</a></li>
|
||||
<li><a href="#org4a65545">2.3.3. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@ -370,8 +370,8 @@ for the JavaScript code in this tag.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org37f8951" class="outline-2">
|
||||
<h2 id="org37f8951"><span class="section-number-2">1</span> Context</h2>
|
||||
<div id="outline-container-orgf9109a0" class="outline-2">
|
||||
<h2 id="orgf9109a0"><span class="section-number-2">1</span> Context</h2>
|
||||
<div class="outline-text-2" id="text-1">
|
||||
<p>
|
||||
The following data stored in the context:
|
||||
@ -486,8 +486,8 @@ Computed data:
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org0f92cea" class="outline-3">
|
||||
<h3 id="org0f92cea"><span class="section-number-3">1.1</span> Data structure</h3>
|
||||
<div id="outline-container-org69e5ec3" class="outline-3">
|
||||
<h3 id="org69e5ec3"><span class="section-number-3">1.1</span> Data structure</h3>
|
||||
<div class="outline-text-3" id="text-1-1">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #a020f0;">typedef</span> <span style="color: #a020f0;">struct</span> <span style="color: #228b22;">qmckl_nucleus_struct</span> {
|
||||
@ -545,8 +545,8 @@ this mechanism.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org56bd59b" class="outline-3">
|
||||
<h3 id="org56bd59b"><span class="section-number-3">1.2</span> Access functions</h3>
|
||||
<div id="outline-container-org13433eb" class="outline-3">
|
||||
<h3 id="org13433eb"><span class="section-number-3">1.2</span> Access functions</h3>
|
||||
<div class="outline-text-3" id="text-1-2">
|
||||
<p>
|
||||
When all the data relative to nuclei have been set, the following
|
||||
@ -560,8 +560,8 @@ function returns <code>true</code>.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org2ff88e5" class="outline-3">
|
||||
<h3 id="org2ff88e5"><span class="section-number-3">1.3</span> Initialization functions</h3>
|
||||
<div id="outline-container-orgc73f09e" class="outline-3">
|
||||
<h3 id="orgc73f09e"><span class="section-number-3">1.3</span> Initialization functions</h3>
|
||||
<div class="outline-text-3" id="text-1-3">
|
||||
<p>
|
||||
To set the data relative to the nuclei in the context, the
|
||||
@ -596,8 +596,8 @@ atoms. The coordinates should be given in atomic units.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org6c6225f" class="outline-3">
|
||||
<h3 id="org6c6225f"><span class="section-number-3">1.4</span> Test</h3>
|
||||
<div id="outline-container-org095cefc" class="outline-3">
|
||||
<h3 id="org095cefc"><span class="section-number-3">1.4</span> Test</h3>
|
||||
<div class="outline-text-3" id="text-1-4">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #a020f0;">const</span> <span style="color: #228b22;">int64_t</span> <span style="color: #a0522d;">nucl_num</span> = chbrclf_nucl_num;
|
||||
@ -681,8 +681,8 @@ rc = qmckl_get_nucleus_charge(context, nucl_charge2);
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org33d76be" class="outline-2">
|
||||
<h2 id="org33d76be"><span class="section-number-2">2</span> Computation</h2>
|
||||
<div id="outline-container-org20e1afb" class="outline-2">
|
||||
<h2 id="org20e1afb"><span class="section-number-2">2</span> Computation</h2>
|
||||
<div class="outline-text-2" id="text-2">
|
||||
<p>
|
||||
The computed data is stored in the context so that it can be reused
|
||||
@ -695,12 +695,12 @@ current date is stored.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgb13bdb5" class="outline-3">
|
||||
<h3 id="orgb13bdb5"><span class="section-number-3">2.1</span> Nucleus-nucleus distances</h3>
|
||||
<div id="outline-container-org3c643ac" class="outline-3">
|
||||
<h3 id="org3c643ac"><span class="section-number-3">2.1</span> Nucleus-nucleus distances</h3>
|
||||
<div class="outline-text-3" id="text-2-1">
|
||||
</div>
|
||||
<div id="outline-container-org825f210" class="outline-4">
|
||||
<h4 id="org825f210"><span class="section-number-4">2.1.1</span> Get</h4>
|
||||
<div id="outline-container-org8f00158" class="outline-4">
|
||||
<h4 id="org8f00158"><span class="section-number-4">2.1.1</span> Get</h4>
|
||||
<div class="outline-text-4" id="text-2-1-1">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_get_nucleus_nn_distance</span>(<span style="color: #228b22;">qmckl_context</span> <span style="color: #a0522d;">context</span>, <span style="color: #228b22;">double</span>* <span style="color: #a0522d;">distance</span>);
|
||||
@ -709,10 +709,10 @@ current date is stored.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org0090318" class="outline-4">
|
||||
<h4 id="org0090318"><span class="section-number-4">2.1.2</span> Compute</h4>
|
||||
<div id="outline-container-org65956c9" class="outline-4">
|
||||
<h4 id="org65956c9"><span class="section-number-4">2.1.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-1-2">
|
||||
<table id="org4c2ad08" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orgaecfc23" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -790,8 +790,8 @@ current date is stored.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org3a3b40a" class="outline-4">
|
||||
<h4 id="org3a3b40a"><span class="section-number-4">2.1.3</span> Test</h4>
|
||||
<div id="outline-container-org14b989a" class="outline-4">
|
||||
<h4 id="org14b989a"><span class="section-number-4">2.1.3</span> Test</h4>
|
||||
<div class="outline-text-4" id="text-2-1-3">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c">/* <span style="color: #b22222;">Reference input data </span>*/
|
||||
@ -810,12 +810,12 @@ rc = qmckl_get_nucleus_nn_distance(context, distance);
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org8488966" class="outline-3">
|
||||
<h3 id="org8488966"><span class="section-number-3">2.2</span> Nucleus-nucleus rescaled distances</h3>
|
||||
<div id="outline-container-org247a291" class="outline-3">
|
||||
<h3 id="org247a291"><span class="section-number-3">2.2</span> Nucleus-nucleus rescaled distances</h3>
|
||||
<div class="outline-text-3" id="text-2-2">
|
||||
</div>
|
||||
<div id="outline-container-orgb848c7d" class="outline-4">
|
||||
<h4 id="orgb848c7d"><span class="section-number-4">2.2.1</span> Get</h4>
|
||||
<div id="outline-container-org81b7500" class="outline-4">
|
||||
<h4 id="org81b7500"><span class="section-number-4">2.2.1</span> Get</h4>
|
||||
<div class="outline-text-4" id="text-2-2-1">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_get_nucleus_nn_distance_rescaled</span>(<span style="color: #228b22;">qmckl_context</span> <span style="color: #a0522d;">context</span>, <span style="color: #228b22;">double</span>* <span style="color: #a0522d;">distance_rescaled</span>);
|
||||
@ -824,10 +824,10 @@ rc = qmckl_get_nucleus_nn_distance(context, distance);
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orge3c0c06" class="outline-4">
|
||||
<h4 id="orge3c0c06"><span class="section-number-4">2.2.2</span> Compute</h4>
|
||||
<div id="outline-container-orgff9f6d2" class="outline-4">
|
||||
<h4 id="orgff9f6d2"><span class="section-number-4">2.2.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-2-2">
|
||||
<table id="orgb43e0ce" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org173a954" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -906,8 +906,8 @@ rc = qmckl_get_nucleus_nn_distance(context, distance);
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org33ed093" class="outline-4">
|
||||
<h4 id="org33ed093"><span class="section-number-4">2.2.3</span> Test</h4>
|
||||
<div id="outline-container-org9f53687" class="outline-4">
|
||||
<h4 id="org9f53687"><span class="section-number-4">2.2.3</span> Test</h4>
|
||||
<div class="outline-text-4" id="text-2-2-3">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c">/* <span style="color: #b22222;">Reference input data </span>*/
|
||||
@ -927,8 +927,8 @@ rc = qmckl_get_nucleus_nn_distance(context, distance);
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgc518efb" class="outline-3">
|
||||
<h3 id="orgc518efb"><span class="section-number-3">2.3</span> Nuclear repulsion energy</h3>
|
||||
<div id="outline-container-org2cf36c2" class="outline-3">
|
||||
<h3 id="org2cf36c2"><span class="section-number-3">2.3</span> Nuclear repulsion energy</h3>
|
||||
<div class="outline-text-3" id="text-2-3">
|
||||
<p>
|
||||
\[
|
||||
@ -937,8 +937,8 @@ rc = qmckl_get_nucleus_nn_distance(context, distance);
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org4b98393" class="outline-4">
|
||||
<h4 id="org4b98393"><span class="section-number-4">2.3.1</span> Get</h4>
|
||||
<div id="outline-container-orgc37c79d" class="outline-4">
|
||||
<h4 id="orgc37c79d"><span class="section-number-4">2.3.1</span> Get</h4>
|
||||
<div class="outline-text-4" id="text-2-3-1">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_get_nucleus_repulsion</span>(<span style="color: #228b22;">qmckl_context</span> <span style="color: #a0522d;">context</span>, <span style="color: #228b22;">double</span>* <span style="color: #a0522d;">energy</span>);
|
||||
@ -947,10 +947,10 @@ rc = qmckl_get_nucleus_nn_distance(context, distance);
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgc2f9b98" class="outline-4">
|
||||
<h4 id="orgc2f9b98"><span class="section-number-4">2.3.2</span> Compute</h4>
|
||||
<div id="outline-container-org2467f33" class="outline-4">
|
||||
<h4 id="org2467f33"><span class="section-number-4">2.3.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-3-2">
|
||||
<table id="org45e9b47" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org43ad938" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -1040,8 +1040,8 @@ rc = qmckl_get_nucleus_nn_distance(context, distance);
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org501d587" class="outline-4">
|
||||
<h4 id="org501d587"><span class="section-number-4">2.3.3</span> Test</h4>
|
||||
<div id="outline-container-org4a65545" class="outline-4">
|
||||
<h4 id="org4a65545"><span class="section-number-4">2.3.3</span> Test</h4>
|
||||
<div class="outline-text-4" id="text-2-3-3">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c">/* <span style="color: #b22222;">Reference input data </span>*/
|
||||
@ -1061,7 +1061,7 @@ rc = qmckl_get_nucleus_repulsion(context, &rep);
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: TREX CoE</p>
|
||||
<p class="date">Created: 2022-01-06 Thu 18:05</p>
|
||||
<p class="date">Created: 2022-01-06 Thu 18:08</p>
|
||||
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||
</div>
|
||||
</body>
|
||||
|
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2022-01-06 Thu 18:06 -->
|
||||
<!-- 2022-01-06 Thu 18:08 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>Numerical precision</title>
|
||||
@ -333,16 +333,16 @@ for the JavaScript code in this tag.
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents">
|
||||
<ul>
|
||||
<li><a href="#org942a448">1. Control of the numerical precision</a></li>
|
||||
<li><a href="#org6a8f092">2. Precision</a></li>
|
||||
<li><a href="#org61e5450">3. Range</a></li>
|
||||
<li><a href="#org6d8aec0">4. Helper functions</a></li>
|
||||
<li><a href="#org77afd23">1. Control of the numerical precision</a></li>
|
||||
<li><a href="#org1931eb9">2. Precision</a></li>
|
||||
<li><a href="#orga15b2f3">3. Range</a></li>
|
||||
<li><a href="#orge83b2de">4. Helper functions</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org942a448" class="outline-2">
|
||||
<h2 id="org942a448"><span class="section-number-2">1</span> Control of the numerical precision</h2>
|
||||
<div id="outline-container-org77afd23" class="outline-2">
|
||||
<h2 id="org77afd23"><span class="section-number-2">1</span> Control of the numerical precision</h2>
|
||||
<div class="outline-text-2" id="text-1">
|
||||
<p>
|
||||
Controlling numerical precision enables optimizations. Here, the
|
||||
@ -353,7 +353,7 @@ Arithmetic (IEEE 754),
|
||||
refers to the number of exponent bits.
|
||||
</p>
|
||||
|
||||
<table id="org3c2cc6e" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orgb2d086e" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -397,8 +397,8 @@ integer. The update functions return <code>QMCKL_SUCCESS</code> or
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org6a8f092" class="outline-2">
|
||||
<h2 id="org6a8f092"><span class="section-number-2">2</span> Precision</h2>
|
||||
<div id="outline-container-org1931eb9" class="outline-2">
|
||||
<h2 id="org1931eb9"><span class="section-number-2">2</span> Precision</h2>
|
||||
<div class="outline-text-2" id="text-2">
|
||||
<p>
|
||||
<code>qmckl_context_set_numprec_precision</code> modifies the parameter for the
|
||||
@ -485,8 +485,8 @@ numerical precision in the context.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org61e5450" class="outline-2">
|
||||
<h2 id="org61e5450"><span class="section-number-2">3</span> Range</h2>
|
||||
<div id="outline-container-orga15b2f3" class="outline-2">
|
||||
<h2 id="orga15b2f3"><span class="section-number-2">3</span> Range</h2>
|
||||
<div class="outline-text-2" id="text-3">
|
||||
<p>
|
||||
<code>qmckl_set_numprec_range</code> modifies the parameter for the numerical
|
||||
@ -561,8 +561,8 @@ range in a given context.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-org6d8aec0" class="outline-2">
|
||||
<h2 id="org6d8aec0"><span class="section-number-2">4</span> Helper functions</h2>
|
||||
<div id="outline-container-orge83b2de" class="outline-2">
|
||||
<h2 id="orge83b2de"><span class="section-number-2">4</span> Helper functions</h2>
|
||||
<div class="outline-text-2" id="text-4">
|
||||
<p>
|
||||
<code>qmckl_get_numprec_epsilon</code> returns \(\epsilon = 2^{1-n}\) where <code>n</code> is the precision.
|
||||
@ -581,7 +581,7 @@ We need to remove the sign bit from the precision.
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: TREX CoE</p>
|
||||
<p class="date">Created: 2022-01-06 Thu 18:06</p>
|
||||
<p class="date">Created: 2022-01-06 Thu 18:08</p>
|
||||
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||
</div>
|
||||
</body>
|
||||
|
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2022-01-06 Thu 18:05 -->
|
||||
<!-- 2022-01-06 Thu 18:07 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>Sherman-Morrison-Woodbury</title>
|
||||
@ -333,86 +333,86 @@ for the JavaScript code in this tag.
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents">
|
||||
<ul>
|
||||
<li><a href="#org6d2ac02">1. Headers</a></li>
|
||||
<li><a href="#orgbe123a5">2. Naïve Sherman-Morrison</a>
|
||||
<li><a href="#org6d4042c">1. Headers</a></li>
|
||||
<li><a href="#orgbef1d8c">2. Naïve Sherman-Morrison</a>
|
||||
<ul>
|
||||
<li><a href="#orgcef21f0">2.1. <code>qmckl_sherman_morrison</code></a>
|
||||
<li><a href="#org47a198a">2.1. <code>qmckl_sherman_morrison</code></a>
|
||||
<ul>
|
||||
<li><a href="#orgea5c307">2.1.1. Requirements</a></li>
|
||||
<li><a href="#orgca2390e">2.1.2. C header</a></li>
|
||||
<li><a href="#org9d0a9ff">2.1.3. C source</a></li>
|
||||
<li><a href="#org841b700">2.1.4. Performance</a></li>
|
||||
<li><a href="#orgc366b28">2.1.1. Requirements</a></li>
|
||||
<li><a href="#org0406cc1">2.1.2. C header</a></li>
|
||||
<li><a href="#org493001d">2.1.3. C source</a></li>
|
||||
<li><a href="#org3af0422">2.1.4. Performance</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org1a8672a">3. Woodbury 2x2</a>
|
||||
<li><a href="#org75dfa4f">3. Woodbury 2x2</a>
|
||||
<ul>
|
||||
<li><a href="#org271dd4d">3.1. <code>qmckl_woodbury_2</code></a>
|
||||
<li><a href="#org84b45ae">3.1. <code>qmckl_woodbury_2</code></a>
|
||||
<ul>
|
||||
<li><a href="#orgec28e9f">3.1.1. Requirements</a></li>
|
||||
<li><a href="#org88c867a">3.1.2. C header</a></li>
|
||||
<li><a href="#org5413866">3.1.3. C source</a></li>
|
||||
<li><a href="#org007067e">3.1.4. Performance</a></li>
|
||||
<li><a href="#org3c5d9a1">3.1.1. Requirements</a></li>
|
||||
<li><a href="#org2a3bd93">3.1.2. C header</a></li>
|
||||
<li><a href="#org33f0f27">3.1.3. C source</a></li>
|
||||
<li><a href="#org75fca3a">3.1.4. Performance</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgb7a8390">4. Woodbury 3x3</a>
|
||||
<li><a href="#org1445a43">4. Woodbury 3x3</a>
|
||||
<ul>
|
||||
<li><a href="#org18bdf90">4.1. <code>qmckl_woodbury_3</code></a>
|
||||
<li><a href="#orge3fe31d">4.1. <code>qmckl_woodbury_3</code></a>
|
||||
<ul>
|
||||
<li><a href="#org132e8f3">4.1.1. Requirements</a></li>
|
||||
<li><a href="#org01ae44d">4.1.2. C header</a></li>
|
||||
<li><a href="#orga9dfd7e">4.1.3. C source</a></li>
|
||||
<li><a href="#org783cb0e">4.1.4. Performance…</a></li>
|
||||
<li><a href="#org6085c85">4.1.1. Requirements</a></li>
|
||||
<li><a href="#orgffd6055">4.1.2. C header</a></li>
|
||||
<li><a href="#orge70e328">4.1.3. C source</a></li>
|
||||
<li><a href="#org54d3167">4.1.4. Performance…</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgc76f87a">5. Sherman-Morrison with update splitting</a>
|
||||
<li><a href="#org363207c">5. Sherman-Morrison with update splitting</a>
|
||||
<ul>
|
||||
<li><a href="#org6c61147">5.1. <code>qmckl_sherman_morrison_splitting</code></a>
|
||||
<li><a href="#orge1143ac">5.1. <code>qmckl_sherman_morrison_splitting</code></a>
|
||||
<ul>
|
||||
<li><a href="#org18dbb8e">5.1.1. Requirements</a></li>
|
||||
<li><a href="#org97ba185">5.1.2. C header</a></li>
|
||||
<li><a href="#org9d788bf">5.1.3. C source</a></li>
|
||||
<li><a href="#org34ff62f">5.1.4. Performance…</a></li>
|
||||
<li><a href="#org016be9f">5.1.1. Requirements</a></li>
|
||||
<li><a href="#org87b7afe">5.1.2. C header</a></li>
|
||||
<li><a href="#orgb72b0a0">5.1.3. C source</a></li>
|
||||
<li><a href="#org017272a">5.1.4. Performance…</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orge3526c6">6. Woodbury 3x3 and 2x2 with Sherman-Morrison and update splitting</a>
|
||||
<li><a href="#orgead9e82">6. Woodbury 3x3 and 2x2 with Sherman-Morrison and update splitting</a>
|
||||
<ul>
|
||||
<li><a href="#orgc0b3786">6.1. <code>qmckl_sherman_morrison_smw32s</code></a>
|
||||
<li><a href="#org2089ce8">6.1. <code>qmckl_sherman_morrison_smw32s</code></a>
|
||||
<ul>
|
||||
<li><a href="#org1151209">6.1.1. Requirements</a></li>
|
||||
<li><a href="#org050a629">6.1.2. C header</a></li>
|
||||
<li><a href="#orgcd92dcb">6.1.3. C source</a></li>
|
||||
<li><a href="#orgd9980f7">6.1.4. Performance…</a></li>
|
||||
<li><a href="#org768349c">6.1.1. Requirements</a></li>
|
||||
<li><a href="#org183d0d2">6.1.2. C header</a></li>
|
||||
<li><a href="#org9bc39d2">6.1.3. C source</a></li>
|
||||
<li><a href="#org33adabe">6.1.4. Performance…</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org6ff5bb9">7. Helper Functions</a>
|
||||
<li><a href="#org02af9c9">7. Helper Functions</a>
|
||||
<ul>
|
||||
<li><a href="#org67e4526">7.1. <code>qmckl_slagel_splitting</code></a>
|
||||
<li><a href="#org025915a">7.1. <code>qmckl_slagel_splitting</code></a>
|
||||
<ul>
|
||||
<li><a href="#orgcaac59a">7.1.1. Requirements</a></li>
|
||||
<li><a href="#org3090456">7.1.2. C header</a></li>
|
||||
<li><a href="#org1f1751d">7.1.3. C source</a></li>
|
||||
<li><a href="#orgac32219">7.1.4. Performance</a></li>
|
||||
<li><a href="#org3ecf6fd">7.1.1. Requirements</a></li>
|
||||
<li><a href="#org2d0c588">7.1.2. C header</a></li>
|
||||
<li><a href="#orga902cac">7.1.3. C source</a></li>
|
||||
<li><a href="#orgc971264">7.1.4. Performance</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org1d884f3">8. End of files</a></li>
|
||||
<li><a href="#org6779642">8. End of files</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org6d2ac02" class="outline-2">
|
||||
<h2 id="org6d2ac02"><span class="section-number-2">1</span> Headers</h2>
|
||||
<div id="outline-container-org6d4042c" class="outline-2">
|
||||
<h2 id="org6d4042c"><span class="section-number-2">1</span> Headers</h2>
|
||||
<div class="outline-text-2" id="text-1">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #483d8b;">#include</span> <span style="color: #8b2252;">"qmckl.h"</span>
|
||||
@ -431,12 +431,12 @@ for the JavaScript code in this tag.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgbe123a5" class="outline-2">
|
||||
<h2 id="orgbe123a5"><span class="section-number-2">2</span> Naïve Sherman-Morrison</h2>
|
||||
<div id="outline-container-orgbef1d8c" class="outline-2">
|
||||
<h2 id="orgbef1d8c"><span class="section-number-2">2</span> Naïve Sherman-Morrison</h2>
|
||||
<div class="outline-text-2" id="text-2">
|
||||
</div>
|
||||
<div id="outline-container-orgcef21f0" class="outline-3">
|
||||
<h3 id="orgcef21f0"><span class="section-number-3">2.1</span> <code>qmckl_sherman_morrison</code></h3>
|
||||
<div id="outline-container-org47a198a" class="outline-3">
|
||||
<h3 id="org47a198a"><span class="section-number-3">2.1</span> <code>qmckl_sherman_morrison</code></h3>
|
||||
<div class="outline-text-3" id="text-2-1">
|
||||
<p>
|
||||
This is the simplest of the available Sherman-Morrison-Woodbury kernels. It applies rank-1 updates one by one in
|
||||
@ -478,7 +478,7 @@ If the determinant of the Slater-matrix is passed, it will be updated to the det
|
||||
from applying the updates to the original matrix.
|
||||
</p>
|
||||
|
||||
<table id="org559d6e0" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orga470f36" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -557,8 +557,8 @@ from applying the updates to the original matrix.
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgea5c307" class="outline-4">
|
||||
<h4 id="orgea5c307"><span class="section-number-4">2.1.1</span> Requirements</h4>
|
||||
<div id="outline-container-orgc366b28" class="outline-4">
|
||||
<h4 id="orgc366b28"><span class="section-number-4">2.1.1</span> Requirements</h4>
|
||||
<div class="outline-text-4" id="text-2-1-1">
|
||||
<ul class="org-ul">
|
||||
<li><code>context</code> is not <code>QMCKL_NULL_CONTEXT</code></li>
|
||||
@ -573,8 +573,8 @@ from applying the updates to the original matrix.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgca2390e" class="outline-4">
|
||||
<h4 id="orgca2390e"><span class="section-number-4">2.1.2</span> C header</h4>
|
||||
<div id="outline-container-org0406cc1" class="outline-4">
|
||||
<h4 id="org0406cc1"><span class="section-number-4">2.1.2</span> C header</h4>
|
||||
<div class="outline-text-4" id="text-2-1-2">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_sherman_morrison</span> (
|
||||
@ -592,8 +592,8 @@ from applying the updates to the original matrix.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org9d0a9ff" class="outline-4">
|
||||
<h4 id="org9d0a9ff"><span class="section-number-4">2.1.3</span> C source</h4>
|
||||
<div id="outline-container-org493001d" class="outline-4">
|
||||
<h4 id="org493001d"><span class="section-number-4">2.1.3</span> C source</h4>
|
||||
<div class="outline-text-4" id="text-2-1-3">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #483d8b;">#include</span> <span style="color: #8b2252;"><stdbool.h></span>
|
||||
@ -663,8 +663,8 @@ from applying the updates to the original matrix.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org841b700" class="outline-4">
|
||||
<h4 id="org841b700"><span class="section-number-4">2.1.4</span> Performance</h4>
|
||||
<div id="outline-container-org3af0422" class="outline-4">
|
||||
<h4 id="org3af0422"><span class="section-number-4">2.1.4</span> Performance</h4>
|
||||
<div class="outline-text-4" id="text-2-1-4">
|
||||
<p>
|
||||
This function performs best when there is only 1 rank-1 update in the update cycle. It is not useful to
|
||||
@ -676,12 +676,12 @@ where applying the update causes singular behaviour.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org1a8672a" class="outline-2">
|
||||
<h2 id="org1a8672a"><span class="section-number-2">3</span> Woodbury 2x2</h2>
|
||||
<div id="outline-container-org75dfa4f" class="outline-2">
|
||||
<h2 id="org75dfa4f"><span class="section-number-2">3</span> Woodbury 2x2</h2>
|
||||
<div class="outline-text-2" id="text-3">
|
||||
</div>
|
||||
<div id="outline-container-org271dd4d" class="outline-3">
|
||||
<h3 id="org271dd4d"><span class="section-number-3">3.1</span> <code>qmckl_woodbury_2</code></h3>
|
||||
<div id="outline-container-org84b45ae" class="outline-3">
|
||||
<h3 id="org84b45ae"><span class="section-number-3">3.1</span> <code>qmckl_woodbury_2</code></h3>
|
||||
<div class="outline-text-3" id="text-3-1">
|
||||
<p>
|
||||
The Woodbury 2x2 kernel. It is used to apply two rank-1 updates at once. The formula used in
|
||||
@ -705,7 +705,7 @@ from applying the updates to the original matrix.
|
||||
|
||||
|
||||
|
||||
<table id="org542a978" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org112653a" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -777,8 +777,8 @@ from applying the updates to the original matrix.
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgec28e9f" class="outline-4">
|
||||
<h4 id="orgec28e9f"><span class="section-number-4">3.1.1</span> Requirements</h4>
|
||||
<div id="outline-container-org3c5d9a1" class="outline-4">
|
||||
<h4 id="org3c5d9a1"><span class="section-number-4">3.1.1</span> Requirements</h4>
|
||||
<div class="outline-text-4" id="text-3-1-1">
|
||||
<ul class="org-ul">
|
||||
<li><code>context</code> is not <code>qmckl_null_context</code></li>
|
||||
@ -792,8 +792,8 @@ from applying the updates to the original matrix.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org88c867a" class="outline-4">
|
||||
<h4 id="org88c867a"><span class="section-number-4">3.1.2</span> C header</h4>
|
||||
<div id="outline-container-org2a3bd93" class="outline-4">
|
||||
<h4 id="org2a3bd93"><span class="section-number-4">3.1.2</span> C header</h4>
|
||||
<div class="outline-text-4" id="text-3-1-2">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_woodbury_2</span> (
|
||||
@ -810,8 +810,8 @@ from applying the updates to the original matrix.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org5413866" class="outline-4">
|
||||
<h4 id="org5413866"><span class="section-number-4">3.1.3</span> C source</h4>
|
||||
<div id="outline-container-org33f0f27" class="outline-4">
|
||||
<h4 id="org33f0f27"><span class="section-number-4">3.1.3</span> C source</h4>
|
||||
<div class="outline-text-4" id="text-3-1-3">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #483d8b;">#include</span> <span style="color: #8b2252;"><stdbool.h></span>
|
||||
@ -898,8 +898,8 @@ from applying the updates to the original matrix.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org007067e" class="outline-4">
|
||||
<h4 id="org007067e"><span class="section-number-4">3.1.4</span> Performance</h4>
|
||||
<div id="outline-container-org75fca3a" class="outline-4">
|
||||
<h4 id="org75fca3a"><span class="section-number-4">3.1.4</span> Performance</h4>
|
||||
<div class="outline-text-4" id="text-3-1-4">
|
||||
<p>
|
||||
This function is most efficient when used in cases where there are only 2 rank-1 updates and
|
||||
@ -910,12 +910,12 @@ it is sure they will not result in a singular matrix.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgb7a8390" class="outline-2">
|
||||
<h2 id="orgb7a8390"><span class="section-number-2">4</span> Woodbury 3x3</h2>
|
||||
<div id="outline-container-org1445a43" class="outline-2">
|
||||
<h2 id="org1445a43"><span class="section-number-2">4</span> Woodbury 3x3</h2>
|
||||
<div class="outline-text-2" id="text-4">
|
||||
</div>
|
||||
<div id="outline-container-org18bdf90" class="outline-3">
|
||||
<h3 id="org18bdf90"><span class="section-number-3">4.1</span> <code>qmckl_woodbury_3</code></h3>
|
||||
<div id="outline-container-orge3fe31d" class="outline-3">
|
||||
<h3 id="orge3fe31d"><span class="section-number-3">4.1</span> <code>qmckl_woodbury_3</code></h3>
|
||||
<div class="outline-text-3" id="text-4-1">
|
||||
<p>
|
||||
The 3x3 version of the Woodbury 2x2 kernel. It is used to apply three
|
||||
@ -936,7 +936,7 @@ from applying the updates to the original matrix.
|
||||
|
||||
|
||||
|
||||
<table id="orgaba3ac9" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orgb1d8fdf" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -1008,8 +1008,8 @@ from applying the updates to the original matrix.
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org132e8f3" class="outline-4">
|
||||
<h4 id="org132e8f3"><span class="section-number-4">4.1.1</span> Requirements</h4>
|
||||
<div id="outline-container-org6085c85" class="outline-4">
|
||||
<h4 id="org6085c85"><span class="section-number-4">4.1.1</span> Requirements</h4>
|
||||
<div class="outline-text-4" id="text-4-1-1">
|
||||
<ul class="org-ul">
|
||||
<li><code>context</code> is not <code>qmckl_null_context</code></li>
|
||||
@ -1023,8 +1023,8 @@ from applying the updates to the original matrix.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org01ae44d" class="outline-4">
|
||||
<h4 id="org01ae44d"><span class="section-number-4">4.1.2</span> C header</h4>
|
||||
<div id="outline-container-orgffd6055" class="outline-4">
|
||||
<h4 id="orgffd6055"><span class="section-number-4">4.1.2</span> C header</h4>
|
||||
<div class="outline-text-4" id="text-4-1-2">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_woodbury_3</span> (
|
||||
@ -1041,8 +1041,8 @@ from applying the updates to the original matrix.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orga9dfd7e" class="outline-4">
|
||||
<h4 id="orga9dfd7e"><span class="section-number-4">4.1.3</span> C source</h4>
|
||||
<div id="outline-container-orge70e328" class="outline-4">
|
||||
<h4 id="orge70e328"><span class="section-number-4">4.1.3</span> C source</h4>
|
||||
<div class="outline-text-4" id="text-4-1-3">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #483d8b;">#include</span> <span style="color: #8b2252;"><stdbool.h></span>
|
||||
@ -1144,8 +1144,8 @@ from applying the updates to the original matrix.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org783cb0e" class="outline-4">
|
||||
<h4 id="org783cb0e"><span class="section-number-4">4.1.4</span> Performance…</h4>
|
||||
<div id="outline-container-org54d3167" class="outline-4">
|
||||
<h4 id="org54d3167"><span class="section-number-4">4.1.4</span> Performance…</h4>
|
||||
<div class="outline-text-4" id="text-4-1-4">
|
||||
<p>
|
||||
This function is most efficient when used in cases where there are only 3 rank-1 updates and
|
||||
@ -1156,12 +1156,12 @@ it is sure they will not result in a singular matrix.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgc76f87a" class="outline-2">
|
||||
<h2 id="orgc76f87a"><span class="section-number-2">5</span> Sherman-Morrison with update splitting</h2>
|
||||
<div id="outline-container-org363207c" class="outline-2">
|
||||
<h2 id="org363207c"><span class="section-number-2">5</span> Sherman-Morrison with update splitting</h2>
|
||||
<div class="outline-text-2" id="text-5">
|
||||
</div>
|
||||
<div id="outline-container-org6c61147" class="outline-3">
|
||||
<h3 id="org6c61147"><span class="section-number-3">5.1</span> <code>qmckl_sherman_morrison_splitting</code></h3>
|
||||
<div id="outline-container-orge1143ac" class="outline-3">
|
||||
<h3 id="orge1143ac"><span class="section-number-3">5.1</span> <code>qmckl_sherman_morrison_splitting</code></h3>
|
||||
<div class="outline-text-3" id="text-5-1">
|
||||
<p>
|
||||
This is a variation on the 'Naive' Sherman-Morrison kernel. Whenever the denominator \(1+v_j^T S^{-1} u_j\) in
|
||||
@ -1183,7 +1183,7 @@ If the determinant of the Slater-matrix is passed, it will be updated to the det
|
||||
from applying the updates to the original matrix.
|
||||
</p>
|
||||
|
||||
<table id="orge1d18a4" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org2522016" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -1267,8 +1267,8 @@ from applying the updates to the original matrix.
|
||||
</div>
|
||||
|
||||
|
||||
<div id="outline-container-org18dbb8e" class="outline-4">
|
||||
<h4 id="org18dbb8e"><span class="section-number-4">5.1.1</span> Requirements</h4>
|
||||
<div id="outline-container-org016be9f" class="outline-4">
|
||||
<h4 id="org016be9f"><span class="section-number-4">5.1.1</span> Requirements</h4>
|
||||
<div class="outline-text-4" id="text-5-1-1">
|
||||
<ul class="org-ul">
|
||||
<li><code>context</code> is not <code>QMCKL_NULL_CONTEXT</code></li>
|
||||
@ -1283,8 +1283,8 @@ from applying the updates to the original matrix.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org97ba185" class="outline-4">
|
||||
<h4 id="org97ba185"><span class="section-number-4">5.1.2</span> C header</h4>
|
||||
<div id="outline-container-org87b7afe" class="outline-4">
|
||||
<h4 id="org87b7afe"><span class="section-number-4">5.1.2</span> C header</h4>
|
||||
<div class="outline-text-4" id="text-5-1-2">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_sherman_morrison_splitting</span> (
|
||||
@ -1302,8 +1302,8 @@ from applying the updates to the original matrix.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org9d788bf" class="outline-4">
|
||||
<h4 id="org9d788bf"><span class="section-number-4">5.1.3</span> C source</h4>
|
||||
<div id="outline-container-orgb72b0a0" class="outline-4">
|
||||
<h4 id="orgb72b0a0"><span class="section-number-4">5.1.3</span> C source</h4>
|
||||
<div class="outline-text-4" id="text-5-1-3">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #483d8b;">#include</span> <span style="color: #8b2252;"><stdbool.h></span>
|
||||
@ -1343,8 +1343,8 @@ from applying the updates to the original matrix.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org34ff62f" class="outline-4">
|
||||
<h4 id="org34ff62f"><span class="section-number-4">5.1.4</span> Performance…</h4>
|
||||
<div id="outline-container-org017272a" class="outline-4">
|
||||
<h4 id="org017272a"><span class="section-number-4">5.1.4</span> Performance…</h4>
|
||||
<div class="outline-text-4" id="text-5-1-4">
|
||||
<p>
|
||||
This kernel performs best when there are 2 or more rank-1 update cycles and fail-rate is high.
|
||||
@ -1354,12 +1354,12 @@ This kernel performs best when there are 2 or more rank-1 update cycles and fail
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orge3526c6" class="outline-2">
|
||||
<h2 id="orge3526c6"><span class="section-number-2">6</span> Woodbury 3x3 and 2x2 with Sherman-Morrison and update splitting</h2>
|
||||
<div id="outline-container-orgead9e82" class="outline-2">
|
||||
<h2 id="orgead9e82"><span class="section-number-2">6</span> Woodbury 3x3 and 2x2 with Sherman-Morrison and update splitting</h2>
|
||||
<div class="outline-text-2" id="text-6">
|
||||
</div>
|
||||
<div id="outline-container-orgc0b3786" class="outline-3">
|
||||
<h3 id="orgc0b3786"><span class="section-number-3">6.1</span> <code>qmckl_sherman_morrison_smw32s</code></h3>
|
||||
<div id="outline-container-org2089ce8" class="outline-3">
|
||||
<h3 id="org2089ce8"><span class="section-number-3">6.1</span> <code>qmckl_sherman_morrison_smw32s</code></h3>
|
||||
<div class="outline-text-3" id="text-6-1">
|
||||
<p>
|
||||
The Woodbury 3x3 and 2x2 kernel with Sherman-Morrison and update splitting combines the low-level Woodbury 3x3 kernel,
|
||||
@ -1374,7 +1374,7 @@ If the determinant of the Slater-matrix is passed, it will be updated to the det
|
||||
from applying the updates to the original matrix.
|
||||
</p>
|
||||
|
||||
<table id="org38ddf54" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org734c22b" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -1454,8 +1454,8 @@ from applying the updates to the original matrix.
|
||||
</div>
|
||||
|
||||
|
||||
<div id="outline-container-org1151209" class="outline-4">
|
||||
<h4 id="org1151209"><span class="section-number-4">6.1.1</span> Requirements</h4>
|
||||
<div id="outline-container-org768349c" class="outline-4">
|
||||
<h4 id="org768349c"><span class="section-number-4">6.1.1</span> Requirements</h4>
|
||||
<div class="outline-text-4" id="text-6-1-1">
|
||||
<ul class="org-ul">
|
||||
<li><code>context</code> is not <code>QMCKL_NULL_CONTEXT</code></li>
|
||||
@ -1470,8 +1470,8 @@ from applying the updates to the original matrix.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org050a629" class="outline-4">
|
||||
<h4 id="org050a629"><span class="section-number-4">6.1.2</span> C header</h4>
|
||||
<div id="outline-container-org183d0d2" class="outline-4">
|
||||
<h4 id="org183d0d2"><span class="section-number-4">6.1.2</span> C header</h4>
|
||||
<div class="outline-text-4" id="text-6-1-2">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_sherman_morrison_smw32s</span> (
|
||||
@ -1489,8 +1489,8 @@ from applying the updates to the original matrix.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgcd92dcb" class="outline-4">
|
||||
<h4 id="orgcd92dcb"><span class="section-number-4">6.1.3</span> C source</h4>
|
||||
<div id="outline-container-org9bc39d2" class="outline-4">
|
||||
<h4 id="org9bc39d2"><span class="section-number-4">6.1.3</span> C source</h4>
|
||||
<div class="outline-text-4" id="text-6-1-3">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #483d8b;">#include</span> <span style="color: #8b2252;"><stdbool.h></span>
|
||||
@ -1568,8 +1568,8 @@ from applying the updates to the original matrix.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgd9980f7" class="outline-4">
|
||||
<h4 id="orgd9980f7"><span class="section-number-4">6.1.4</span> Performance…</h4>
|
||||
<div id="outline-container-org33adabe" class="outline-4">
|
||||
<h4 id="org33adabe"><span class="section-number-4">6.1.4</span> Performance…</h4>
|
||||
<div class="outline-text-4" id="text-6-1-4">
|
||||
<p>
|
||||
This kernel performs best for update cycles with 2 or more rank-1 updates and the fail-rate is low.
|
||||
@ -1579,8 +1579,8 @@ This kernel performs best for update cycles with 2 or more rank-1 updates and th
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org6ff5bb9" class="outline-2">
|
||||
<h2 id="org6ff5bb9"><span class="section-number-2">7</span> Helper Functions</h2>
|
||||
<div id="outline-container-org02af9c9" class="outline-2">
|
||||
<h2 id="org02af9c9"><span class="section-number-2">7</span> Helper Functions</h2>
|
||||
<div class="outline-text-2" id="text-7">
|
||||
<p>
|
||||
Private helper-functions that are used by the Sherman-Morrison-Woodbury kernels.
|
||||
@ -1588,8 +1588,8 @@ These functions can only be used internally by the kernels in this module.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org67e4526" class="outline-3">
|
||||
<h3 id="org67e4526"><span class="section-number-3">7.1</span> <code>qmckl_slagel_splitting</code></h3>
|
||||
<div id="outline-container-org025915a" class="outline-3">
|
||||
<h3 id="org025915a"><span class="section-number-3">7.1</span> <code>qmckl_slagel_splitting</code></h3>
|
||||
<div class="outline-text-3" id="text-7-1">
|
||||
<p>
|
||||
<code>qmckl_slagel_splitting</code> is the non-recursive, inner part of the 'Sherman-Morrison with update splitting'-kernel.
|
||||
@ -1609,7 +1609,7 @@ If the determinant of the Slater-matrix is passed, it will be updated to the det
|
||||
from applying the updates to the original matrix.
|
||||
</p>
|
||||
|
||||
<table id="org9cba7c5" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orga26f352" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -1703,8 +1703,8 @@ from applying the updates to the original matrix.
|
||||
</div>
|
||||
|
||||
|
||||
<div id="outline-container-orgcaac59a" class="outline-4">
|
||||
<h4 id="orgcaac59a"><span class="section-number-4">7.1.1</span> Requirements</h4>
|
||||
<div id="outline-container-org3ecf6fd" class="outline-4">
|
||||
<h4 id="org3ecf6fd"><span class="section-number-4">7.1.1</span> Requirements</h4>
|
||||
<div class="outline-text-4" id="text-7-1-1">
|
||||
<ul class="org-ul">
|
||||
<li><code>LDS >= 2</code></li>
|
||||
@ -1721,8 +1721,8 @@ from applying the updates to the original matrix.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org3090456" class="outline-4">
|
||||
<h4 id="org3090456"><span class="section-number-4">7.1.2</span> C header</h4>
|
||||
<div id="outline-container-org2d0c588" class="outline-4">
|
||||
<h4 id="org2d0c588"><span class="section-number-4">7.1.2</span> C header</h4>
|
||||
<div class="outline-text-4" id="text-7-1-2">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">double</span> <span style="color: #0000ff;">qmckl_slagel_splitting</span> (
|
||||
@ -1742,8 +1742,8 @@ from applying the updates to the original matrix.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org1f1751d" class="outline-4">
|
||||
<h4 id="org1f1751d"><span class="section-number-4">7.1.3</span> C source</h4>
|
||||
<div id="outline-container-orga902cac" class="outline-4">
|
||||
<h4 id="orga902cac"><span class="section-number-4">7.1.3</span> C source</h4>
|
||||
<div class="outline-text-4" id="text-7-1-3">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #483d8b;">#include</span> <span style="color: #8b2252;"><stdbool.h></span>
|
||||
@ -1821,8 +1821,8 @@ from applying the updates to the original matrix.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgac32219" class="outline-4">
|
||||
<h4 id="orgac32219"><span class="section-number-4">7.1.4</span> Performance</h4>
|
||||
<div id="outline-container-orgc971264" class="outline-4">
|
||||
<h4 id="orgc971264"><span class="section-number-4">7.1.4</span> Performance</h4>
|
||||
<div class="outline-text-4" id="text-7-1-4">
|
||||
<p>
|
||||
This function cannot be used by itself and is used in Sherman-Morrison with update splitting and Woodbury 3x3 and 2x2
|
||||
@ -1833,8 +1833,8 @@ with Sherman-Morrison and update splitting. Please look at the performance recco
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org1d884f3" class="outline-2">
|
||||
<h2 id="org1d884f3"><span class="section-number-2">8</span> End of files</h2>
|
||||
<div id="outline-container-org6779642" class="outline-2">
|
||||
<h2 id="org6779642"><span class="section-number-2">8</span> End of files</h2>
|
||||
<div class="outline-text-2" id="text-8">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"> <span style="color: #0000ff;">assert</span> (<span style="color: #228b22;">qmckl_context_destroy</span>(<span style="color: #a0522d;">context</span>) == QMCKL_SUCCESS);
|
||||
@ -1848,7 +1848,7 @@ with Sherman-Morrison and update splitting. Please look at the performance recco
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: TREX CoE</p>
|
||||
<p class="date">Created: 2022-01-06 Thu 18:05</p>
|
||||
<p class="date">Created: 2022-01-06 Thu 18:07</p>
|
||||
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||
</div>
|
||||
</body>
|
||||
|
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2022-01-06 Thu 18:05 -->
|
||||
<!-- 2022-01-06 Thu 18:08 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>Data for Tests</title>
|
||||
@ -233,27 +233,27 @@ for the JavaScript code in this tag.
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents">
|
||||
<ul>
|
||||
<li><a href="#org012f406">1. CHBrClF</a>
|
||||
<li><a href="#org8b9abf8">1. CHBrClF</a>
|
||||
<ul>
|
||||
<li><a href="#org45e7fe4">1.1. XYZ coordinates</a></li>
|
||||
<li><a href="#org2734b64">1.2. Atomic basis set</a></li>
|
||||
<li><a href="#orgd7b0c22">1.3. Molecular orbitals</a></li>
|
||||
<li><a href="#org9ecb542">1.4. Electron coordinates</a></li>
|
||||
<li><a href="#org6f8c964">1.1. XYZ coordinates</a></li>
|
||||
<li><a href="#org329dc1c">1.2. Atomic basis set</a></li>
|
||||
<li><a href="#orgc19ea6b">1.3. Molecular orbitals</a></li>
|
||||
<li><a href="#org106dc8d">1.4. Electron coordinates</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org8967cd8">2. N2</a>
|
||||
<li><a href="#orgc2e2229">2. N2</a>
|
||||
<ul>
|
||||
<li><a href="#org6afd043">2.1. XYZ coordinates</a></li>
|
||||
<li><a href="#org156d185">2.2. Electron coordinates</a></li>
|
||||
<li><a href="#org3cf75d8">2.3. Jastrow related data</a></li>
|
||||
<li><a href="#org9d748bf">2.1. XYZ coordinates</a></li>
|
||||
<li><a href="#org7424492">2.2. Electron coordinates</a></li>
|
||||
<li><a href="#org9f823e5">2.3. Jastrow related data</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org012f406" class="outline-2">
|
||||
<h2 id="org012f406"><span class="section-number-2">1</span> CHBrClF</h2>
|
||||
<div id="outline-container-org8b9abf8" class="outline-2">
|
||||
<h2 id="org8b9abf8"><span class="section-number-2">1</span> CHBrClF</h2>
|
||||
<div class="outline-text-2" id="text-1">
|
||||
<p>
|
||||
This test is the all-electron Hartree-Fock wave function of CHClBr,
|
||||
@ -337,8 +337,8 @@ and with a high maximum angular momentum.
|
||||
</div>
|
||||
|
||||
|
||||
<div id="outline-container-org45e7fe4" class="outline-3">
|
||||
<h3 id="org45e7fe4"><span class="section-number-3">1.1</span> XYZ coordinates</h3>
|
||||
<div id="outline-container-org6f8c964" class="outline-3">
|
||||
<h3 id="org6f8c964"><span class="section-number-3">1.1</span> XYZ coordinates</h3>
|
||||
<div class="outline-text-3" id="text-1-1">
|
||||
<pre class="example">
|
||||
5
|
||||
@ -368,8 +368,8 @@ Nuclear coordinates are stored in atomic units in transposed format.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org2734b64" class="outline-3">
|
||||
<h3 id="org2734b64"><span class="section-number-3">1.2</span> Atomic basis set</h3>
|
||||
<div id="outline-container-org329dc1c" class="outline-3">
|
||||
<h3 id="org329dc1c"><span class="section-number-3">1.2</span> Atomic basis set</h3>
|
||||
<div class="outline-text-3" id="text-1-2">
|
||||
<pre class="example">
|
||||
HYDROGEN
|
||||
@ -1288,8 +1288,8 @@ F 1
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgd7b0c22" class="outline-3">
|
||||
<h3 id="orgd7b0c22"><span class="section-number-3">1.3</span> Molecular orbitals</h3>
|
||||
<div id="outline-container-orgc19ea6b" class="outline-3">
|
||||
<h3 id="orgc19ea6b"><span class="section-number-3">1.3</span> Molecular orbitals</h3>
|
||||
<div class="outline-text-3" id="text-1-3">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #483d8b;">#define</span> <span style="color: #a0522d;">chbrclf_mo_num</span> ((<span style="color: #228b22;">int64_t</span>) 224)
|
||||
@ -60213,8 +60213,8 @@ F 1
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org9ecb542" class="outline-3">
|
||||
<h3 id="org9ecb542"><span class="section-number-3">1.4</span> Electron coordinates</h3>
|
||||
<div id="outline-container-org106dc8d" class="outline-3">
|
||||
<h3 id="org106dc8d"><span class="section-number-3">1.4</span> Electron coordinates</h3>
|
||||
<div class="outline-text-3" id="text-1-4">
|
||||
<p>
|
||||
Electron coordinates are stored in atomic units in normal format.
|
||||
@ -60373,8 +60373,8 @@ Electron coordinates are stored in atomic units in normal format.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org8967cd8" class="outline-2">
|
||||
<h2 id="org8967cd8"><span class="section-number-2">2</span> N2</h2>
|
||||
<div id="outline-container-orgc2e2229" class="outline-2">
|
||||
<h2 id="orgc2e2229"><span class="section-number-2">2</span> N2</h2>
|
||||
<div class="outline-text-2" id="text-2">
|
||||
<p>
|
||||
This test is mainly for the Jastrow factor and was supplied by
|
||||
@ -60415,8 +60415,8 @@ treated by pseudopotentials thus excluded from the actual calculation.
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org6afd043" class="outline-3">
|
||||
<h3 id="org6afd043"><span class="section-number-3">2.1</span> XYZ coordinates</h3>
|
||||
<div id="outline-container-org9d748bf" class="outline-3">
|
||||
<h3 id="org9d748bf"><span class="section-number-3">2.1</span> XYZ coordinates</h3>
|
||||
<div class="outline-text-3" id="text-2-1">
|
||||
<pre class="example">
|
||||
2
|
||||
@ -60443,8 +60443,8 @@ Nuclear coordinates are stored in atomic units in transposed format.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org156d185" class="outline-3">
|
||||
<h3 id="org156d185"><span class="section-number-3">2.2</span> Electron coordinates</h3>
|
||||
<div id="outline-container-org7424492" class="outline-3">
|
||||
<h3 id="org7424492"><span class="section-number-3">2.2</span> Electron coordinates</h3>
|
||||
<div class="outline-text-3" id="text-2-2">
|
||||
<p>
|
||||
Electron coordinates are stored in atomic units in normal format.
|
||||
@ -60473,8 +60473,8 @@ Electron coordinates are stored in atomic units in normal format.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org3cf75d8" class="outline-3">
|
||||
<h3 id="org3cf75d8"><span class="section-number-3">2.3</span> Jastrow related data</h3>
|
||||
<div id="outline-container-org9f823e5" class="outline-3">
|
||||
<h3 id="org9f823e5"><span class="section-number-3">2.3</span> Jastrow related data</h3>
|
||||
<div class="outline-text-3" id="text-2-3">
|
||||
<p>
|
||||
This test is mainly for the Jastrow factor and was supplied by
|
||||
@ -60573,7 +60573,7 @@ Ramon Panades Baruetta.
|
||||
</div>
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="date">Created: 2022-01-06 Thu 18:05</p>
|
||||
<p class="date">Created: 2022-01-06 Thu 18:08</p>
|
||||
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||
</div>
|
||||
</body>
|
||||
|
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2022-01-06 Thu 18:05 -->
|
||||
<!-- 2022-01-06 Thu 18:07 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>TREXIO I/O library</title>
|
||||
@ -311,53 +311,53 @@ for the JavaScript code in this tag.
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents">
|
||||
<ul>
|
||||
<li><a href="#org4adaf0f">1. Local functions</a>
|
||||
<li><a href="#org4da3f4c">1. Local functions</a>
|
||||
<ul>
|
||||
<li><a href="#orgcfaf512">1.1. Open file</a></li>
|
||||
<li><a href="#org2dee385">1.2. Electron</a></li>
|
||||
<li><a href="#org53c46e5">1.3. Nucleus</a>
|
||||
<li><a href="#org99f8e17">1.1. Open file</a></li>
|
||||
<li><a href="#org1807182">1.2. Electron</a></li>
|
||||
<li><a href="#orga5be20f">1.3. Nucleus</a>
|
||||
<ul>
|
||||
<li><a href="#orgfbc036e">1.3.1. Number of nuclei</a></li>
|
||||
<li><a href="#orgb05b31a">1.3.2. Nuclear charges</a></li>
|
||||
<li><a href="#org747f5f2">1.3.3. Nuclear coordinates</a></li>
|
||||
<li><a href="#org5699bf4">1.3.1. Number of nuclei</a></li>
|
||||
<li><a href="#org7ec1dde">1.3.2. Nuclear charges</a></li>
|
||||
<li><a href="#orgd0044ab">1.3.3. Nuclear coordinates</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgd9465c3">1.4. Basis set and AOs</a>
|
||||
<li><a href="#org0271213">1.4. Basis set and AOs</a>
|
||||
<ul>
|
||||
<li><a href="#org966bd57">1.4.1. Basis set type</a></li>
|
||||
<li><a href="#orga37b87d">1.4.2. Number of shells</a></li>
|
||||
<li><a href="#orgb7ced72">1.4.3. Number of primitives</a></li>
|
||||
<li><a href="#orge89266c">1.4.4. Number of atomic orbitals</a></li>
|
||||
<li><a href="#org623eda0">1.4.5. Nucleus<sub>index</sub> array</a></li>
|
||||
<li><a href="#org11e6558">1.4.6. Number of shells per nucleus</a></li>
|
||||
<li><a href="#orgdcdb84c">1.4.7. Angular momentum</a></li>
|
||||
<li><a href="#orgec35448">1.4.8. Number of primitives per shell</a></li>
|
||||
<li><a href="#orga3f87ba">1.4.9. Indices of the primitives</a></li>
|
||||
<li><a href="#orga493189">1.4.10. Normalization of the shells</a></li>
|
||||
<li><a href="#org3ceae79">1.4.11. Exponents</a></li>
|
||||
<li><a href="#org391080e">1.4.12. Coefficients</a></li>
|
||||
<li><a href="#orgc0af71b">1.4.13. Normalization of the primitivies</a></li>
|
||||
<li><a href="#org8bed7ff">1.4.14. AO Normalization</a></li>
|
||||
<li><a href="#orga0afad3">1.4.1. Basis set type</a></li>
|
||||
<li><a href="#org1ee19b7">1.4.2. Number of shells</a></li>
|
||||
<li><a href="#org2d23b01">1.4.3. Number of primitives</a></li>
|
||||
<li><a href="#org680c646">1.4.4. Number of atomic orbitals</a></li>
|
||||
<li><a href="#orgdb7148e">1.4.5. Nucleus<sub>index</sub> array</a></li>
|
||||
<li><a href="#org910f2df">1.4.6. Number of shells per nucleus</a></li>
|
||||
<li><a href="#org70253d0">1.4.7. Angular momentum</a></li>
|
||||
<li><a href="#org42f68d0">1.4.8. Number of primitives per shell</a></li>
|
||||
<li><a href="#org1666e73">1.4.9. Indices of the primitives</a></li>
|
||||
<li><a href="#org0cbfad4">1.4.10. Normalization of the shells</a></li>
|
||||
<li><a href="#org1d04665">1.4.11. Exponents</a></li>
|
||||
<li><a href="#org4cf0dea">1.4.12. Coefficients</a></li>
|
||||
<li><a href="#org6f49515">1.4.13. Normalization of the primitivies</a></li>
|
||||
<li><a href="#orge954416">1.4.14. AO Normalization</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org39a378b">1.5. Molecular orbitals</a>
|
||||
<li><a href="#orgf7aca11">1.5. Molecular orbitals</a>
|
||||
<ul>
|
||||
<li><a href="#orge5c028a">1.5.1. Number of MOs</a></li>
|
||||
<li><a href="#org6f80899">1.5.2. MO coefficients</a></li>
|
||||
<li><a href="#org8f6198a">1.5.1. Number of MOs</a></li>
|
||||
<li><a href="#org7e3a965">1.5.2. MO coefficients</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org401da10">1.6. <span class="todo TODO">TODO</span> ECP</a></li>
|
||||
<li><a href="#orga459e12">1.6. <span class="todo TODO">TODO</span> ECP</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orga50baa5">2. Read everything</a></li>
|
||||
<li><a href="#org837ee27">3. Test</a>
|
||||
<li><a href="#org3379dc7">2. Read everything</a></li>
|
||||
<li><a href="#org1dddd19">3. Test</a>
|
||||
<ul>
|
||||
<li>
|
||||
<ul>
|
||||
<li><a href="#org3c1bab5">3.0.1. Electrons</a></li>
|
||||
<li><a href="#org80b3203">3.0.2. Nuclei</a></li>
|
||||
<li><a href="#orgee003b1">3.0.3. Atomic basis</a></li>
|
||||
<li><a href="#org03c9023">3.0.4. MO Basis</a></li>
|
||||
<li><a href="#org232379f">3.0.1. Electrons</a></li>
|
||||
<li><a href="#org88e8303">3.0.2. Nuclei</a></li>
|
||||
<li><a href="#org4191c8a">3.0.3. Atomic basis</a></li>
|
||||
<li><a href="#orga79e80e">3.0.4. MO Basis</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@ -366,8 +366,8 @@ for the JavaScript code in this tag.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org4adaf0f" class="outline-2">
|
||||
<h2 id="org4adaf0f"><span class="section-number-2">1</span> Local functions</h2>
|
||||
<div id="outline-container-org4da3f4c" class="outline-2">
|
||||
<h2 id="org4da3f4c"><span class="section-number-2">1</span> Local functions</h2>
|
||||
<div class="outline-text-2" id="text-1">
|
||||
<p>
|
||||
Functions defined in this section are all local: they should not be
|
||||
@ -390,8 +390,8 @@ In the functions defined in this section, we use as local variables
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgcfaf512" class="outline-3">
|
||||
<h3 id="orgcfaf512"><span class="section-number-3">1.1</span> Open file</h3>
|
||||
<div id="outline-container-org99f8e17" class="outline-3">
|
||||
<h3 id="org99f8e17"><span class="section-number-3">1.1</span> Open file</h3>
|
||||
<div class="outline-text-3" id="text-1-1">
|
||||
<p>
|
||||
We first define a helper function to open a file by first trying to
|
||||
@ -423,8 +423,8 @@ groups of data by passing the <code>trexio_t</code> handle.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org2dee385" class="outline-3">
|
||||
<h3 id="org2dee385"><span class="section-number-3">1.2</span> Electron</h3>
|
||||
<div id="outline-container-org1807182" class="outline-3">
|
||||
<h3 id="org1807182"><span class="section-number-3">1.2</span> Electron</h3>
|
||||
<div class="outline-text-3" id="text-1-2">
|
||||
<p>
|
||||
In this section we read all the data into the electron data structure.
|
||||
@ -475,8 +475,8 @@ We read the number of up-spin and down-spin electrons.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org53c46e5" class="outline-3">
|
||||
<h3 id="org53c46e5"><span class="section-number-3">1.3</span> Nucleus</h3>
|
||||
<div id="outline-container-orga5be20f" class="outline-3">
|
||||
<h3 id="orga5be20f"><span class="section-number-3">1.3</span> Nucleus</h3>
|
||||
<div class="outline-text-3" id="text-1-3">
|
||||
<p>
|
||||
In this section we read the number of nuclei, the molecular geometry and nuclear charges.
|
||||
@ -496,8 +496,8 @@ In this section we read the number of nuclei, the molecular geometry and nuclear
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgfbc036e" class="outline-4">
|
||||
<h4 id="orgfbc036e"><span class="section-number-4">1.3.1</span> Number of nuclei</h4>
|
||||
<div id="outline-container-org5699bf4" class="outline-4">
|
||||
<h4 id="org5699bf4"><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="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">int64_t</span> <span style="color: #a0522d;">nucleus_num</span> = 0L;
|
||||
@ -520,8 +520,8 @@ rc = qmckl_set_nucleus_num(context, nucleus_num);
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgb05b31a" class="outline-4">
|
||||
<h4 id="orgb05b31a"><span class="section-number-4">1.3.2</span> Nuclear charges</h4>
|
||||
<div id="outline-container-org7ec1dde" class="outline-4">
|
||||
<h4 id="org7ec1dde"><span class="section-number-4">1.3.2</span> Nuclear charges</h4>
|
||||
<div class="outline-text-4" id="text-1-3-2">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c">{
|
||||
@ -562,8 +562,8 @@ rc = qmckl_set_nucleus_num(context, nucleus_num);
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org747f5f2" class="outline-4">
|
||||
<h4 id="org747f5f2"><span class="section-number-4">1.3.3</span> Nuclear coordinates</h4>
|
||||
<div id="outline-container-orgd0044ab" class="outline-4">
|
||||
<h4 id="orgd0044ab"><span class="section-number-4">1.3.3</span> Nuclear coordinates</h4>
|
||||
<div class="outline-text-4" id="text-1-3-3">
|
||||
<p>
|
||||
Now, we read the molecular geometry. It is stored in normal format
|
||||
@ -619,8 +619,8 @@ in the TREXIO file (<code>'N'</code>), so it will be automatically transposed in
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgd9465c3" class="outline-3">
|
||||
<h3 id="orgd9465c3"><span class="section-number-3">1.4</span> Basis set and AOs</h3>
|
||||
<div id="outline-container-org0271213" class="outline-3">
|
||||
<h3 id="org0271213"><span class="section-number-3">1.4</span> Basis set and AOs</h3>
|
||||
<div class="outline-text-3" id="text-1-4">
|
||||
<p>
|
||||
In this section we read the atomic basis set and atomic orbitals.
|
||||
@ -646,8 +646,8 @@ In this section we read the atomic basis set and atomic orbitals.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org966bd57" class="outline-4">
|
||||
<h4 id="org966bd57"><span class="section-number-4">1.4.1</span> Basis set type</h4>
|
||||
<div id="outline-container-orga0afad3" class="outline-4">
|
||||
<h4 id="orga0afad3"><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="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #483d8b;">#define</span> <span style="color: #a0522d;">MAX_STR_LEN</span> 1024
|
||||
@ -678,8 +678,8 @@ In this section we read the atomic basis set and atomic orbitals.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orga37b87d" class="outline-4">
|
||||
<h4 id="orga37b87d"><span class="section-number-4">1.4.2</span> Number of shells</h4>
|
||||
<div id="outline-container-org1ee19b7" class="outline-4">
|
||||
<h4 id="org1ee19b7"><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="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">int64_t</span> <span style="color: #a0522d;">shell_num</span> = 0L;
|
||||
@ -703,8 +703,8 @@ rc = qmckl_set_ao_basis_shell_num(context, shell_num);
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgb7ced72" class="outline-4">
|
||||
<h4 id="orgb7ced72"><span class="section-number-4">1.4.3</span> Number of primitives</h4>
|
||||
<div id="outline-container-org2d23b01" class="outline-4">
|
||||
<h4 id="org2d23b01"><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="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">int64_t</span> <span style="color: #a0522d;">prim_num</span> = 0L;
|
||||
@ -728,8 +728,8 @@ rc = qmckl_set_ao_basis_prim_num(context, prim_num);
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orge89266c" class="outline-4">
|
||||
<h4 id="orge89266c"><span class="section-number-4">1.4.4</span> Number of atomic orbitals</h4>
|
||||
<div id="outline-container-org680c646" class="outline-4">
|
||||
<h4 id="org680c646"><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="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">int64_t</span> <span style="color: #a0522d;">ao_num</span> = 0LL;
|
||||
@ -753,8 +753,8 @@ rc = qmckl_set_ao_basis_ao_num(context, ao_num);
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org623eda0" class="outline-4">
|
||||
<h4 id="org623eda0"><span class="section-number-4">1.4.5</span> Nucleus<sub>index</sub> array</h4>
|
||||
<div id="outline-container-orgdb7148e" class="outline-4">
|
||||
<h4 id="orgdb7148e"><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="org-src-container">
|
||||
<pre class="src src-c">{
|
||||
@ -836,8 +836,8 @@ rc = qmckl_set_ao_basis_ao_num(context, ao_num);
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org11e6558" class="outline-4">
|
||||
<h4 id="org11e6558"><span class="section-number-4">1.4.6</span> Number of shells per nucleus</h4>
|
||||
<div id="outline-container-org910f2df" class="outline-4">
|
||||
<h4 id="org910f2df"><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="org-src-container">
|
||||
<pre class="src src-c">{
|
||||
@ -922,8 +922,8 @@ rc = qmckl_set_ao_basis_ao_num(context, ao_num);
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgdcdb84c" class="outline-4">
|
||||
<h4 id="orgdcdb84c"><span class="section-number-4">1.4.7</span> Angular momentum</h4>
|
||||
<div id="outline-container-org70253d0" class="outline-4">
|
||||
<h4 id="org70253d0"><span class="section-number-4">1.4.7</span> Angular momentum</h4>
|
||||
<div class="outline-text-4" id="text-1-4-7">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c">{
|
||||
@ -968,8 +968,8 @@ rc = qmckl_set_ao_basis_ao_num(context, ao_num);
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgec35448" class="outline-4">
|
||||
<h4 id="orgec35448"><span class="section-number-4">1.4.8</span> Number of primitives per shell</h4>
|
||||
<div id="outline-container-org42f68d0" class="outline-4">
|
||||
<h4 id="org42f68d0"><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="org-src-container">
|
||||
<pre class="src src-c">{
|
||||
@ -1053,8 +1053,8 @@ rc = qmckl_set_ao_basis_ao_num(context, ao_num);
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orga3f87ba" class="outline-4">
|
||||
<h4 id="orga3f87ba"><span class="section-number-4">1.4.9</span> Indices of the primitives</h4>
|
||||
<div id="outline-container-org1666e73" class="outline-4">
|
||||
<h4 id="org1666e73"><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="org-src-container">
|
||||
<pre class="src src-c">{
|
||||
@ -1134,8 +1134,8 @@ rc = qmckl_set_ao_basis_ao_num(context, ao_num);
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orga493189" class="outline-4">
|
||||
<h4 id="orga493189"><span class="section-number-4">1.4.10</span> Normalization of the shells</h4>
|
||||
<div id="outline-container-org0cbfad4" class="outline-4">
|
||||
<h4 id="org0cbfad4"><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="org-src-container">
|
||||
<pre class="src src-c">{
|
||||
@ -1180,8 +1180,8 @@ rc = qmckl_set_ao_basis_ao_num(context, ao_num);
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org3ceae79" class="outline-4">
|
||||
<h4 id="org3ceae79"><span class="section-number-4">1.4.11</span> Exponents</h4>
|
||||
<div id="outline-container-org1d04665" class="outline-4">
|
||||
<h4 id="org1d04665"><span class="section-number-4">1.4.11</span> Exponents</h4>
|
||||
<div class="outline-text-4" id="text-1-4-11">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c">{
|
||||
@ -1226,8 +1226,8 @@ rc = qmckl_set_ao_basis_ao_num(context, ao_num);
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org391080e" class="outline-4">
|
||||
<h4 id="org391080e"><span class="section-number-4">1.4.12</span> Coefficients</h4>
|
||||
<div id="outline-container-org4cf0dea" class="outline-4">
|
||||
<h4 id="org4cf0dea"><span class="section-number-4">1.4.12</span> Coefficients</h4>
|
||||
<div class="outline-text-4" id="text-1-4-12">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c">{
|
||||
@ -1272,8 +1272,8 @@ rc = qmckl_set_ao_basis_ao_num(context, ao_num);
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgc0af71b" class="outline-4">
|
||||
<h4 id="orgc0af71b"><span class="section-number-4">1.4.13</span> Normalization of the primitivies</h4>
|
||||
<div id="outline-container-org6f49515" class="outline-4">
|
||||
<h4 id="org6f49515"><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="org-src-container">
|
||||
<pre class="src src-c">{
|
||||
@ -1318,8 +1318,8 @@ rc = qmckl_set_ao_basis_ao_num(context, ao_num);
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org8bed7ff" class="outline-4">
|
||||
<h4 id="org8bed7ff"><span class="section-number-4">1.4.14</span> AO Normalization</h4>
|
||||
<div id="outline-container-orge954416" class="outline-4">
|
||||
<h4 id="orge954416"><span class="section-number-4">1.4.14</span> AO Normalization</h4>
|
||||
<div class="outline-text-4" id="text-1-4-14">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c">{
|
||||
@ -1374,8 +1374,8 @@ rc = qmckl_set_ao_basis_ao_num(context, ao_num);
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-org39a378b" class="outline-3">
|
||||
<h3 id="org39a378b"><span class="section-number-3">1.5</span> Molecular orbitals</h3>
|
||||
<div id="outline-container-orgf7aca11" class="outline-3">
|
||||
<h3 id="orgf7aca11"><span class="section-number-3">1.5</span> Molecular orbitals</h3>
|
||||
<div class="outline-text-3" id="text-1-5">
|
||||
<p>
|
||||
In this section we read the MO coefficients.
|
||||
@ -1401,8 +1401,8 @@ In this section we read the MO coefficients.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orge5c028a" class="outline-4">
|
||||
<h4 id="orge5c028a"><span class="section-number-4">1.5.1</span> Number of MOs</h4>
|
||||
<div id="outline-container-org8f6198a" class="outline-4">
|
||||
<h4 id="org8f6198a"><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="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">int64_t</span> <span style="color: #a0522d;">mo_num</span> = 0L;
|
||||
@ -1425,8 +1425,8 @@ rc = qmckl_set_mo_basis_mo_num(context, mo_num);
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org6f80899" class="outline-4">
|
||||
<h4 id="org6f80899"><span class="section-number-4">1.5.2</span> MO coefficients</h4>
|
||||
<div id="outline-container-org7e3a965" class="outline-4">
|
||||
<h4 id="org7e3a965"><span class="section-number-4">1.5.2</span> MO coefficients</h4>
|
||||
<div class="outline-text-4" id="text-1-5-2">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c">{
|
||||
@ -1475,12 +1475,12 @@ rc = qmckl_set_mo_basis_mo_num(context, mo_num);
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org401da10" class="outline-3">
|
||||
<h3 id="org401da10"><span class="section-number-3">1.6</span> <span class="todo TODO">TODO</span> ECP</h3>
|
||||
<div id="outline-container-orga459e12" class="outline-3">
|
||||
<h3 id="orga459e12"><span class="section-number-3">1.6</span> <span class="todo TODO">TODO</span> ECP</h3>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-orga50baa5" class="outline-2">
|
||||
<h2 id="orga50baa5"><span class="section-number-2">2</span> Read everything</h2>
|
||||
<div id="outline-container-org3379dc7" class="outline-2">
|
||||
<h2 id="org3379dc7"><span class="section-number-2">2</span> Read everything</h2>
|
||||
<div class="outline-text-2" id="text-2">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_trexio_read</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;">char</span>* <span style="color: #a0522d;">file_name</span>);
|
||||
@ -1561,8 +1561,8 @@ rc = qmckl_set_mo_basis_mo_num(context, mo_num);
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org837ee27" class="outline-2">
|
||||
<h2 id="org837ee27"><span class="section-number-2">3</span> Test</h2>
|
||||
<div id="outline-container-org1dddd19" class="outline-2">
|
||||
<h2 id="org1dddd19"><span class="section-number-2">3</span> Test</h2>
|
||||
<div class="outline-text-2" id="text-3">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #483d8b;">#ifdef</span> HAVE_TREXIO
|
||||
@ -1596,8 +1596,8 @@ rc = qmckl_trexio_read(context, fname);
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org3c1bab5" class="outline-4">
|
||||
<h4 id="org3c1bab5"><span class="section-number-4">3.0.1</span> Electrons</h4>
|
||||
<div id="outline-container-org232379f" class="outline-4">
|
||||
<h4 id="org232379f"><span class="section-number-4">3.0.1</span> Electrons</h4>
|
||||
<div class="outline-text-4" id="text-3-0-1">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c">printf(<span style="color: #8b2252;">"Electrons\n"</span>);
|
||||
@ -1615,8 +1615,8 @@ rc = qmckl_get_electron_down_num(context, &dn_num);
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org80b3203" class="outline-4">
|
||||
<h4 id="org80b3203"><span class="section-number-4">3.0.2</span> Nuclei</h4>
|
||||
<div id="outline-container-org88e8303" class="outline-4">
|
||||
<h4 id="org88e8303"><span class="section-number-4">3.0.2</span> Nuclei</h4>
|
||||
<div class="outline-text-4" id="text-3-0-2">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c">printf(<span style="color: #8b2252;">"Nuclei\n"</span>);
|
||||
@ -1656,8 +1656,8 @@ coord = <span style="color: #008b8b;">NULL</span>;
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgee003b1" class="outline-4">
|
||||
<h4 id="orgee003b1"><span class="section-number-4">3.0.3</span> Atomic basis</h4>
|
||||
<div id="outline-container-org4191c8a" class="outline-4">
|
||||
<h4 id="org4191c8a"><span class="section-number-4">3.0.3</span> Atomic basis</h4>
|
||||
<div class="outline-text-4" id="text-3-0-3">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c">printf(<span style="color: #8b2252;">"Atomic basis\n"</span>);
|
||||
@ -1765,8 +1765,8 @@ prim_factor = <span style="color: #008b8b;">NULL</span>;
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org03c9023" class="outline-4">
|
||||
<h4 id="org03c9023"><span class="section-number-4">3.0.4</span> MO Basis</h4>
|
||||
<div id="outline-container-orga79e80e" class="outline-4">
|
||||
<h4 id="orga79e80e"><span class="section-number-4">3.0.4</span> MO Basis</h4>
|
||||
<div class="outline-text-4" id="text-3-0-4">
|
||||
<div class="org-src-container">
|
||||
<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 id="postamble" class="status">
|
||||
<p class="author">Author: TREX CoE</p>
|
||||
<p class="date">Created: 2022-01-06 Thu 18:05</p>
|
||||
<p class="date">Created: 2022-01-06 Thu 18:07</p>
|
||||
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||
</div>
|
||||
</body>
|
||||
|
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2022-01-06 Thu 18:06 -->
|
||||
<!-- 2022-01-06 Thu 18:08 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>Utility functions</title>
|
||||
@ -333,13 +333,13 @@ for the JavaScript code in this tag.
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents">
|
||||
<ul>
|
||||
<li><a href="#org9b5ddb8">1. Matrix operations</a>
|
||||
<li><a href="#org062c2ba">1. Matrix operations</a>
|
||||
<ul>
|
||||
<li><a href="#org4f8aa48">1.1. <code>qmckl_transpose</code></a>
|
||||
<li><a href="#org0011dc1">1.1. <code>qmckl_transpose</code></a>
|
||||
<ul>
|
||||
<li><a href="#org09874fd">1.1.1. Requirements</a></li>
|
||||
<li><a href="#orga987ddd">1.1.2. C header</a></li>
|
||||
<li><a href="#org6160624">1.1.3. Source</a></li>
|
||||
<li><a href="#org02bdf7e">1.1.1. Requirements</a></li>
|
||||
<li><a href="#orgef98854">1.1.2. C header</a></li>
|
||||
<li><a href="#org09a77a3">1.1.3. Source</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@ -348,18 +348,18 @@ for the JavaScript code in this tag.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org9b5ddb8" class="outline-2">
|
||||
<h2 id="org9b5ddb8"><span class="section-number-2">1</span> Matrix operations</h2>
|
||||
<div id="outline-container-org062c2ba" class="outline-2">
|
||||
<h2 id="org062c2ba"><span class="section-number-2">1</span> Matrix operations</h2>
|
||||
<div class="outline-text-2" id="text-1">
|
||||
</div>
|
||||
<div id="outline-container-org4f8aa48" class="outline-3">
|
||||
<h3 id="org4f8aa48"><span class="section-number-3">1.1</span> <code>qmckl_transpose</code></h3>
|
||||
<div id="outline-container-org0011dc1" class="outline-3">
|
||||
<h3 id="org0011dc1"><span class="section-number-3">1.1</span> <code>qmckl_transpose</code></h3>
|
||||
<div class="outline-text-3" id="text-1-1">
|
||||
<p>
|
||||
Transposes a matrix: \(B_{ji} = A_{ij}\)
|
||||
</p>
|
||||
|
||||
<table id="orgdd19d64" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org3981f1a" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -424,8 +424,8 @@ Transposes a matrix: \(B_{ji} = A_{ij}\)
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org09874fd" class="outline-4">
|
||||
<h4 id="org09874fd"><span class="section-number-4">1.1.1</span> Requirements</h4>
|
||||
<div id="outline-container-org02bdf7e" class="outline-4">
|
||||
<h4 id="org02bdf7e"><span class="section-number-4">1.1.1</span> Requirements</h4>
|
||||
<div class="outline-text-4" id="text-1-1-1">
|
||||
<ul class="org-ul">
|
||||
<li><code>context</code> is not <code>QMCKL_NULL_CONTEXT</code></li>
|
||||
@ -439,8 +439,8 @@ Transposes a matrix: \(B_{ji} = A_{ij}\)
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orga987ddd" class="outline-4">
|
||||
<h4 id="orga987ddd"><span class="section-number-4">1.1.2</span> C header</h4>
|
||||
<div id="outline-container-orgef98854" class="outline-4">
|
||||
<h4 id="orgef98854"><span class="section-number-4">1.1.2</span> C header</h4>
|
||||
<div class="outline-text-4" id="text-1-1-2">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_transpose</span> (
|
||||
@ -456,8 +456,8 @@ Transposes a matrix: \(B_{ji} = A_{ij}\)
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org6160624" class="outline-4">
|
||||
<h4 id="org6160624"><span class="section-number-4">1.1.3</span> Source</h4>
|
||||
<div id="outline-container-org09a77a3" class="outline-4">
|
||||
<h4 id="org09a77a3"><span class="section-number-4">1.1.3</span> Source</h4>
|
||||
<div class="outline-text-4" id="text-1-1-3">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-f90"><span style="color: #228b22;">integer </span><span style="color: #a020f0;">function</span><span style="color: #a0522d;"> </span><span style="color: #0000ff;">qmckl_transpose_f</span><span style="color: #000000; background-color: #ffffff;">(context, m, n, A, LDA, B, LDB)</span><span style="color: #a0522d;"> </span><span style="color: #a020f0;">&</span>
|
||||
@ -516,7 +516,7 @@ Transposes a matrix: \(B_{ji} = A_{ij}\)
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: TREX CoE</p>
|
||||
<p class="date">Created: 2022-01-06 Thu 18:06</p>
|
||||
<p class="date">Created: 2022-01-06 Thu 18:08</p>
|
||||
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||
</div>
|
||||
</body>
|
||||
|
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2022-01-06 Thu 18:05 -->
|
||||
<!-- 2022-01-06 Thu 18:08 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>Verificarlo CI</title>
|
||||
@ -311,22 +311,22 @@ for the JavaScript code in this tag.
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents">
|
||||
<ul>
|
||||
<li><a href="#org4335cf1">1. Verificarlo probes</a>
|
||||
<li><a href="#org481e101">1. Verificarlo probes</a>
|
||||
<ul>
|
||||
<li><a href="#orgc1451aa">1.1. Automatically initialize the <code>vfc_probe</code> object if <code>VFC_CI</code> is defined</a></li>
|
||||
<li><a href="#org7ef1160">1.2. Standard probe, without check</a></li>
|
||||
<li><a href="#orgb79b847">1.3. Probe with absolute check</a></li>
|
||||
<li><a href="#orgdffdf69">1.4. Probe with relative check</a></li>
|
||||
<li><a href="#org027c676">1.5. Automatically delete and dump the vfc<sub>probe</sub> object if <code>VFC_CI</code> is defined</a></li>
|
||||
<li><a href="#org8fc4b26">1.1. Automatically initialize the <code>vfc_probe</code> object if <code>VFC_CI</code> is defined</a></li>
|
||||
<li><a href="#org7b27d45">1.2. Standard probe, without check</a></li>
|
||||
<li><a href="#org0aa8925">1.3. Probe with absolute check</a></li>
|
||||
<li><a href="#org633bb47">1.4. Probe with relative check</a></li>
|
||||
<li><a href="#orgf6fc583">1.5. Automatically delete and dump the vfc<sub>probe</sub> object if <code>VFC_CI</code> is defined</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgf703406">2. Fortran wrappers</a></li>
|
||||
<li><a href="#orgea9bd94">2. Fortran wrappers</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org4335cf1" class="outline-2">
|
||||
<h2 id="org4335cf1"><span class="section-number-2">1</span> Verificarlo probes</h2>
|
||||
<div id="outline-container-org481e101" class="outline-2">
|
||||
<h2 id="org481e101"><span class="section-number-2">1</span> Verificarlo probes</h2>
|
||||
<div class="outline-text-2" id="text-1">
|
||||
<p>
|
||||
This file contains utility functions to enable the Verificarlo
|
||||
@ -377,8 +377,8 @@ To learn more about Verificarlo CI :
|
||||
</div>
|
||||
|
||||
|
||||
<div id="outline-container-orgc1451aa" class="outline-3">
|
||||
<h3 id="orgc1451aa"><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 id="outline-container-org8fc4b26" class="outline-3">
|
||||
<h3 id="org8fc4b26"><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="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #483d8b;">#ifdef</span> VFC_CI
|
||||
@ -398,8 +398,8 @@ To learn more about Verificarlo CI :
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org7ef1160" class="outline-3">
|
||||
<h3 id="org7ef1160"><span class="section-number-3">1.2</span> Standard probe, without check</h3>
|
||||
<div id="outline-container-org7b27d45" class="outline-3">
|
||||
<h3 id="org7b27d45"><span class="section-number-3">1.2</span> Standard probe, without check</h3>
|
||||
<div class="outline-text-3" id="text-1-2">
|
||||
<ul class="org-ul">
|
||||
<li>if <code>VFC_CI</code> is defined, place a standard probe</li>
|
||||
@ -434,8 +434,8 @@ if <code>VFC_CI</code> is undefined, return <code>false</code> (no error)
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgb79b847" class="outline-3">
|
||||
<h3 id="orgb79b847"><span class="section-number-3">1.3</span> Probe with absolute check</h3>
|
||||
<div id="outline-container-org0aa8925" class="outline-3">
|
||||
<h3 id="org0aa8925"><span class="section-number-3">1.3</span> Probe with absolute check</h3>
|
||||
<div class="outline-text-3" id="text-1-3">
|
||||
<ul class="org-ul">
|
||||
<li>if <code>VFC_CI</code> is defined, place a probe with an absolute check</li>
|
||||
@ -475,8 +475,8 @@ and accuracy
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgdffdf69" class="outline-3">
|
||||
<h3 id="orgdffdf69"><span class="section-number-3">1.4</span> Probe with relative check</h3>
|
||||
<div id="outline-container-org633bb47" class="outline-3">
|
||||
<h3 id="org633bb47"><span class="section-number-3">1.4</span> Probe with relative check</h3>
|
||||
<div class="outline-text-3" id="text-1-4">
|
||||
<ul class="org-ul">
|
||||
<li>if <code>VFC_CI</code> is defined, place a probe with a relative check</li>
|
||||
@ -516,8 +516,8 @@ and accuracy
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org027c676" class="outline-3">
|
||||
<h3 id="org027c676"><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 id="outline-container-orgf6fc583" class="outline-3">
|
||||
<h3 id="orgf6fc583"><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="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #483d8b;">#ifdef</span> VFC_CI
|
||||
@ -538,8 +538,8 @@ and accuracy
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgf703406" class="outline-2">
|
||||
<h2 id="orgf703406"><span class="section-number-2">2</span> Fortran wrappers</h2>
|
||||
<div id="outline-container-orgea9bd94" class="outline-2">
|
||||
<h2 id="orgea9bd94"><span class="section-number-2">2</span> Fortran wrappers</h2>
|
||||
<div class="outline-text-2" id="text-2">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">bool</span> <span style="color: #0000ff;">qmckl_probe_f</span>(
|
||||
@ -663,7 +663,7 @@ and accuracy
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: TREX CoE</p>
|
||||
<p class="date">Created: 2022-01-06 Thu 18:05</p>
|
||||
<p class="date">Created: 2022-01-06 Thu 18:08</p>
|
||||
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||
</div>
|
||||
</body>
|
||||
|
Loading…
Reference in New Issue
Block a user