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@48855aa2ac 🚀
This commit is contained in:
parent
549df66734
commit
b0770ff6c1
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2021-06-27 Sun 13:50 -->
|
||||
<!-- 2021-07-07 Wed 17:10 -->
|
||||
<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>
|
||||
@ -352,7 +352,7 @@ and bug reports should be submitted at
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: TREX CoE</p>
|
||||
<p class="date">Created: 2021-06-27 Sun 13:50</p>
|
||||
<p class="date">Created: 2021-07-07 Wed 17:10</p>
|
||||
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||
</div>
|
||||
</body>
|
||||
|
102
qmckl.html
102
qmckl.html
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2021-06-27 Sun 13:50 -->
|
||||
<!-- 2021-07-07 Wed 17:10 -->
|
||||
<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="#orgb05e965">1. Using QMCkl</a></li>
|
||||
<li><a href="#org0026411">2. Developing in QMCkl</a>
|
||||
<li><a href="#org6a8f8a8">1. Using QMCkl</a></li>
|
||||
<li><a href="#org24282ab">2. Developing in QMCkl</a>
|
||||
<ul>
|
||||
<li><a href="#org9be5d8d">2.1. Literate programming</a></li>
|
||||
<li><a href="#orge751803">2.2. Source code editing</a></li>
|
||||
<li><a href="#org0cdae48">2.3. Choice of the programming language</a></li>
|
||||
<li><a href="#org27a4ea3">2.4. Coding rules</a></li>
|
||||
<li><a href="#orgd259e33">2.5. Design of the library</a></li>
|
||||
<li><a href="#orgf9a9457">2.6. Naming conventions</a></li>
|
||||
<li><a href="#orgf202830">2.7. Application programming interface</a></li>
|
||||
<li><a href="#orga1f4719">2.8. Global state</a></li>
|
||||
<li><a href="#org25fe51f">2.9. Headers</a></li>
|
||||
<li><a href="#orge3a19c5">2.10. Low-level functions</a></li>
|
||||
<li><a href="#orgc6f6d2d">2.11. High-level functions</a></li>
|
||||
<li><a href="#orga8e5ce4">2.12. Numerical precision</a></li>
|
||||
<li><a href="#org2240622">2.13. Algorithms</a></li>
|
||||
<li><a href="#org9ab506b">2.1. Literate programming</a></li>
|
||||
<li><a href="#org0c81fa4">2.2. Source code editing</a></li>
|
||||
<li><a href="#org846a545">2.3. Choice of the programming language</a></li>
|
||||
<li><a href="#org1c7a142">2.4. Coding rules</a></li>
|
||||
<li><a href="#org133972e">2.5. Design of the library</a></li>
|
||||
<li><a href="#orgb891bbf">2.6. Naming conventions</a></li>
|
||||
<li><a href="#org5fe1c71">2.7. Application programming interface</a></li>
|
||||
<li><a href="#orged38d26">2.8. Global state</a></li>
|
||||
<li><a href="#org43cd318">2.9. Headers</a></li>
|
||||
<li><a href="#orgfbb9376">2.10. Low-level functions</a></li>
|
||||
<li><a href="#orge29b956">2.11. High-level functions</a></li>
|
||||
<li><a href="#org5cce3d3">2.12. Numerical precision</a></li>
|
||||
<li><a href="#org858c13f">2.13. Algorithms</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgb05e965" class="outline-2">
|
||||
<h2 id="orgb05e965"><span class="section-number-2">1</span> Using QMCkl</h2>
|
||||
<div id="outline-container-org6a8f8a8" class="outline-2">
|
||||
<h2 id="org6a8f8a8"><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-org0026411" class="outline-2">
|
||||
<h2 id="org0026411"><span class="section-number-2">2</span> Developing in QMCkl</h2>
|
||||
<div id="outline-container-org24282ab" class="outline-2">
|
||||
<h2 id="org24282ab"><span class="section-number-2">2</span> Developing in QMCkl</h2>
|
||||
<div class="outline-text-2" id="text-2">
|
||||
</div>
|
||||
<div id="outline-container-org9be5d8d" class="outline-3">
|
||||
<h3 id="org9be5d8d"><span class="section-number-3">2.1</span> Literate programming</h3>
|
||||
<div id="outline-container-org9ab506b" class="outline-3">
|
||||
<h3 id="org9ab506b"><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-orge751803" class="outline-3">
|
||||
<h3 id="orge751803"><span class="section-number-3">2.2</span> Source code editing</h3>
|
||||
<div id="outline-container-org0c81fa4" class="outline-3">
|
||||
<h3 id="org0c81fa4"><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-org0cdae48" class="outline-3">
|
||||
<h3 id="org0cdae48"><span class="section-number-3">2.3</span> Choice of the programming language</h3>
|
||||
<div id="outline-container-org846a545" class="outline-3">
|
||||
<h3 id="org846a545"><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-org27a4ea3" class="outline-3">
|
||||
<h3 id="org27a4ea3"><span class="section-number-3">2.4</span> Coding rules</h3>
|
||||
<div id="outline-container-org1c7a142" class="outline-3">
|
||||
<h3 id="org1c7a142"><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-orgd259e33" class="outline-3">
|
||||
<h3 id="orgd259e33"><span class="section-number-3">2.5</span> Design of the library</h3>
|
||||
<div id="outline-container-org133972e" class="outline-3">
|
||||
<h3 id="org133972e"><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-orgf9a9457" class="outline-3">
|
||||
<h3 id="orgf9a9457"><span class="section-number-3">2.6</span> Naming conventions</h3>
|
||||
<div id="outline-container-orgb891bbf" class="outline-3">
|
||||
<h3 id="orgb891bbf"><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-orgf202830" class="outline-3">
|
||||
<h3 id="orgf202830"><span class="section-number-3">2.7</span> Application programming interface</h3>
|
||||
<div id="outline-container-org5fe1c71" class="outline-3">
|
||||
<h3 id="org5fe1c71"><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-orga1f4719" class="outline-3">
|
||||
<h3 id="orga1f4719"><span class="section-number-3">2.8</span> Global state</h3>
|
||||
<div id="outline-container-orged38d26" class="outline-3">
|
||||
<h3 id="orged38d26"><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="orga4bb9cb">=context=</a> contains the global
|
||||
<code>qmckl_context_create</code> function. The <a id="orga0d7ff6">=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-org25fe51f" class="outline-3">
|
||||
<h3 id="org25fe51f"><span class="section-number-3">2.9</span> Headers</h3>
|
||||
<div id="outline-container-org43cd318" class="outline-3">
|
||||
<h3 id="org43cd318"><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-orge3a19c5" class="outline-3">
|
||||
<h3 id="orge3a19c5"><span class="section-number-3">2.10</span> Low-level functions</h3>
|
||||
<div id="outline-container-orgfbb9376" class="outline-3">
|
||||
<h3 id="orgfbb9376"><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="#orga4bb9cb"><code>context</code></a>. They are not allowed to allocate/deallocate memory, and
|
||||
<a href="#orga0d7ff6"><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-orgc6f6d2d" class="outline-3">
|
||||
<h3 id="orgc6f6d2d"><span class="section-number-3">2.11</span> High-level functions</h3>
|
||||
<div id="outline-container-orge29b956" class="outline-3">
|
||||
<h3 id="orge29b956"><span class="section-number-3">2.11</span> High-level functions</h3>
|
||||
<div class="outline-text-3" id="text-2-11">
|
||||
<p>
|
||||
High-level functions are at the top of the function call tree.
|
||||
@ -747,27 +747,27 @@ temporary storage, to simplify the use of accelerators.
|
||||
<p>
|
||||
The high-level functions should be pure, unless the introduction
|
||||
of non-purity is justified. All the side effects should be made in
|
||||
the <a href="#orga4bb9cb"><code>context</code></a> variable.
|
||||
the <a href="#orga0d7ff6"><code>context</code></a> variable.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orga8e5ce4" class="outline-3">
|
||||
<h3 id="orga8e5ce4"><span class="section-number-3">2.12</span> Numerical precision</h3>
|
||||
<div id="outline-container-org5cce3d3" class="outline-3">
|
||||
<h3 id="org5cce3d3"><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="#orga4bb9cb"><code>context</code></a>
|
||||
functions will use the precision specified in the <a href="#orga0d7ff6"><code>context</code></a>
|
||||
variable.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org2240622" class="outline-3">
|
||||
<h3 id="org2240622"><span class="section-number-3">2.13</span> Algorithms</h3>
|
||||
<div id="outline-container-org858c13f" class="outline-3">
|
||||
<h3 id="org858c13f"><span class="section-number-3">2.13</span> Algorithms</h3>
|
||||
<div class="outline-text-3" id="text-2-13">
|
||||
<p>
|
||||
Reducing the scaling of an algorithm usually implies also reducing
|
||||
@ -783,7 +783,7 @@ implemented adapted to different problem sizes.
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: TREX CoE</p>
|
||||
<p class="date">Created: 2021-06-27 Sun 13:50</p>
|
||||
<p class="date">Created: 2021-07-07 Wed 17:10</p>
|
||||
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||
</div>
|
||||
</body>
|
||||
|
228
qmckl_ao.html
228
qmckl_ao.html
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2021-06-27 Sun 13:50 -->
|
||||
<!-- 2021-07-07 Wed 17:10 -->
|
||||
<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,69 +333,69 @@ for the JavaScript code in this tag.
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents">
|
||||
<ul>
|
||||
<li><a href="#orgb791b2f">1. Context</a>
|
||||
<li><a href="#org70f0e1c">1. Context</a>
|
||||
<ul>
|
||||
<li><a href="#org9261607">1.1. Data structure</a></li>
|
||||
<li><a href="#org7c3f61d">1.2. Access functions</a></li>
|
||||
<li><a href="#org27474ee">1.3. Initialization functions</a></li>
|
||||
<li><a href="#org552374d">1.4. Fortran interfaces</a></li>
|
||||
<li><a href="#org972d813">1.1. Data structure</a></li>
|
||||
<li><a href="#orgb648a46">1.2. Access functions</a></li>
|
||||
<li><a href="#orgc2939c8">1.3. Initialization functions</a></li>
|
||||
<li><a href="#orge60a6ce">1.4. Fortran interfaces</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgd0ad0a7">2. Radial part</a>
|
||||
<li><a href="#orge5342bb">2. Radial part</a>
|
||||
<ul>
|
||||
<li><a href="#orga4b283a">2.1. General functions for Gaussian basis functions</a></li>
|
||||
<li><a href="#org17ba0e5">2.2. <span class="todo TODO">TODO</span> General functions for Slater basis functions</a></li>
|
||||
<li><a href="#orgf43cdf6">2.3. <span class="todo TODO">TODO</span> General functions for Radial functions on a grid</a></li>
|
||||
<li><a href="#org45b9817">2.4. <span class="done DONE">DONE</span> Computation of primitives</a>
|
||||
<li><a href="#org9ae3e9c">2.1. General functions for Gaussian basis functions</a></li>
|
||||
<li><a href="#org1ec07df">2.2. <span class="todo TODO">TODO</span> General functions for Slater basis functions</a></li>
|
||||
<li><a href="#org229f154">2.3. <span class="todo TODO">TODO</span> General functions for Radial functions on a grid</a></li>
|
||||
<li><a href="#org446d630">2.4. <span class="done DONE">DONE</span> Computation of primitives</a>
|
||||
<ul>
|
||||
<li><a href="#orgc56c363">2.4.1. Get</a></li>
|
||||
<li><a href="#org33fc830">2.4.2. Provide</a></li>
|
||||
<li><a href="#orgf73a7c2">2.4.3. Compute</a></li>
|
||||
<li><a href="#org85e44b3">2.4.4. Test</a></li>
|
||||
<li><a href="#org67e9023">2.4.5. Ideas for improvement</a></li>
|
||||
<li><a href="#orged1bce8">2.4.1. Get</a></li>
|
||||
<li><a href="#org55626c6">2.4.2. Provide</a></li>
|
||||
<li><a href="#org796c96c">2.4.3. Compute</a></li>
|
||||
<li><a href="#org4e708ff">2.4.4. Test</a></li>
|
||||
<li><a href="#org45f7dc4">2.4.5. Ideas for improvement</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org9a6d632">2.5. Computation of shells</a>
|
||||
<li><a href="#orgdb93bd3">2.5. Computation of shells</a>
|
||||
<ul>
|
||||
<li><a href="#orgd1d889d">2.5.1. Get</a></li>
|
||||
<li><a href="#orge771900">2.5.2. Provide</a></li>
|
||||
<li><a href="#org221ff50">2.5.3. Compute</a></li>
|
||||
<li><a href="#orgef5ac66">2.5.4. Test</a></li>
|
||||
<li><a href="#orgd0d9f37">2.5.1. Get</a></li>
|
||||
<li><a href="#orgd82c39b">2.5.2. Provide</a></li>
|
||||
<li><a href="#orgdf3c183">2.5.3. Compute</a></li>
|
||||
<li><a href="#org0d77450">2.5.4. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgc956e01">3. Polynomial part</a>
|
||||
<li><a href="#org3857cba">3. Polynomial part</a>
|
||||
<ul>
|
||||
<li><a href="#org1896a5e">3.1. General functions for Powers of \(x-X_i\)</a>
|
||||
<li><a href="#org7f47d1f">3.1. General functions for Powers of \(x-X_i\)</a>
|
||||
<ul>
|
||||
<li><a href="#org043816b">3.1.1. Requirements</a></li>
|
||||
<li><a href="#org8851f07">3.1.2. C Header</a></li>
|
||||
<li><a href="#org1a9c4c6">3.1.3. Source</a></li>
|
||||
<li><a href="#org2796bd9">3.1.4. C interface</a></li>
|
||||
<li><a href="#orgc268bd8">3.1.5. Fortran interface</a></li>
|
||||
<li><a href="#org3e27c84">3.1.6. Test</a></li>
|
||||
<li><a href="#org849986a">3.1.1. Requirements</a></li>
|
||||
<li><a href="#org8971ca9">3.1.2. C Header</a></li>
|
||||
<li><a href="#org19f4dd5">3.1.3. Source</a></li>
|
||||
<li><a href="#org6578f48">3.1.4. C interface</a></li>
|
||||
<li><a href="#orgd36c057">3.1.5. Fortran interface</a></li>
|
||||
<li><a href="#org90c8f29">3.1.6. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgc5d5aff">3.2. General functions for Value, Gradient and Laplacian of a polynomial</a>
|
||||
<li><a href="#orgc8c924e">3.2. General functions for Value, Gradient and Laplacian of a polynomial</a>
|
||||
<ul>
|
||||
<li><a href="#org1d322ad">3.2.1. Requirements</a></li>
|
||||
<li><a href="#orga773507">3.2.2. C Header</a></li>
|
||||
<li><a href="#orgfbff0b3">3.2.3. Source</a></li>
|
||||
<li><a href="#org38bed78">3.2.4. C interface</a></li>
|
||||
<li><a href="#org838c791">3.2.5. Fortran interface</a></li>
|
||||
<li><a href="#orgd5e2047">3.2.6. Test</a></li>
|
||||
<li><a href="#orgea6519d">3.2.1. Requirements</a></li>
|
||||
<li><a href="#org108a694">3.2.2. C Header</a></li>
|
||||
<li><a href="#org6eee875">3.2.3. Source</a></li>
|
||||
<li><a href="#org2c6823a">3.2.4. C interface</a></li>
|
||||
<li><a href="#orgbfb30f7">3.2.5. Fortran interface</a></li>
|
||||
<li><a href="#orgbab8d63">3.2.6. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orge19ce60">4. Combining radial and polynomial parts</a></li>
|
||||
<li><a href="#orgb64226e">4. Combining radial and polynomial parts</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgb791b2f" class="outline-2">
|
||||
<h2 id="orgb791b2f"><span class="section-number-2">1</span> Context</h2>
|
||||
<div id="outline-container-org70f0e1c" class="outline-2">
|
||||
<h2 id="org70f0e1c"><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:
|
||||
@ -611,8 +611,8 @@ prim_factor = [ 1.0006253235944540e+01, 2.4169531573445120e+00, 7.96109248497664
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org9261607" class="outline-3">
|
||||
<h3 id="org9261607"><span class="section-number-3">1.1</span> Data structure</h3>
|
||||
<div id="outline-container-org972d813" class="outline-3">
|
||||
<h3 id="org972d813"><span class="section-number-3">1.1</span> Data structure</h3>
|
||||
<div class="outline-text-3" id="text-1-1">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #a020f0;">typedef</span> <span style="color: #a020f0;">struct</span> <span style="color: #228b22;">qmckl_ao_basis_struct</span> {
|
||||
@ -676,8 +676,8 @@ this mechanism.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org7c3f61d" class="outline-3">
|
||||
<h3 id="org7c3f61d"><span class="section-number-3">1.2</span> Access functions</h3>
|
||||
<div id="outline-container-orgb648a46" class="outline-3">
|
||||
<h3 id="orgb648a46"><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
|
||||
@ -691,8 +691,8 @@ function returns <code>true</code>.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org27474ee" class="outline-3">
|
||||
<h3 id="org27474ee"><span class="section-number-3">1.3</span> Initialization functions</h3>
|
||||
<div id="outline-container-orgc2939c8" class="outline-3">
|
||||
<h3 id="orgc2939c8"><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
|
||||
@ -727,17 +727,17 @@ the context.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org552374d" class="outline-3">
|
||||
<h3 id="org552374d"><span class="section-number-3">1.4</span> Fortran interfaces</h3>
|
||||
<div id="outline-container-orge60a6ce" class="outline-3">
|
||||
<h3 id="orge60a6ce"><span class="section-number-3">1.4</span> Fortran interfaces</h3>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgd0ad0a7" class="outline-2">
|
||||
<h2 id="orgd0ad0a7"><span class="section-number-2">2</span> Radial part</h2>
|
||||
<div id="outline-container-orge5342bb" class="outline-2">
|
||||
<h2 id="orge5342bb"><span class="section-number-2">2</span> Radial part</h2>
|
||||
<div class="outline-text-2" id="text-2">
|
||||
</div>
|
||||
<div id="outline-container-orga4b283a" class="outline-3">
|
||||
<h3 id="orga4b283a"><span class="section-number-3">2.1</span> General functions for Gaussian basis functions</h3>
|
||||
<div id="outline-container-org9ae3e9c" class="outline-3">
|
||||
<h3 id="org9ae3e9c"><span class="section-number-3">2.1</span> General functions for Gaussian basis functions</h3>
|
||||
<div class="outline-text-3" id="text-2-1">
|
||||
<p>
|
||||
<code>qmckl_ao_gaussian_vgl</code> computes the values, gradients and
|
||||
@ -969,18 +969,18 @@ Requirements
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org17ba0e5" class="outline-3">
|
||||
<h3 id="org17ba0e5"><span class="section-number-3">2.2</span> <span class="todo TODO">TODO</span> General functions for Slater basis functions</h3>
|
||||
<div id="outline-container-org1ec07df" class="outline-3">
|
||||
<h3 id="org1ec07df"><span class="section-number-3">2.2</span> <span class="todo TODO">TODO</span> General functions for Slater basis functions</h3>
|
||||
</div>
|
||||
<div id="outline-container-orgf43cdf6" class="outline-3">
|
||||
<h3 id="orgf43cdf6"><span class="section-number-3">2.3</span> <span class="todo TODO">TODO</span> General functions for Radial functions on a grid</h3>
|
||||
<div id="outline-container-org229f154" class="outline-3">
|
||||
<h3 id="org229f154"><span class="section-number-3">2.3</span> <span class="todo TODO">TODO</span> General functions for Radial functions on a grid</h3>
|
||||
</div>
|
||||
<div id="outline-container-org45b9817" class="outline-3">
|
||||
<h3 id="org45b9817"><span class="section-number-3">2.4</span> <span class="done DONE">DONE</span> Computation of primitives</h3>
|
||||
<div id="outline-container-org446d630" class="outline-3">
|
||||
<h3 id="org446d630"><span class="section-number-3">2.4</span> <span class="done DONE">DONE</span> Computation of primitives</h3>
|
||||
<div class="outline-text-3" id="text-2-4">
|
||||
</div>
|
||||
<div id="outline-container-orgc56c363" class="outline-4">
|
||||
<h4 id="orgc56c363"><span class="section-number-4">2.4.1</span> Get</h4>
|
||||
<div id="outline-container-orged1bce8" class="outline-4">
|
||||
<h4 id="orged1bce8"><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_ao_basis_primitive_vgl</span>(<span style="color: #228b22;">qmckl_context</span> <span style="color: #a0522d;">context</span>, <span style="color: #228b22;">double</span>* <span style="color: #a020f0;">const</span> <span style="color: #a0522d;">primitive_vgl</span>);
|
||||
@ -989,14 +989,14 @@ Requirements
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org33fc830" class="outline-4">
|
||||
<h4 id="org33fc830"><span class="section-number-4">2.4.2</span> Provide</h4>
|
||||
<div id="outline-container-org55626c6" class="outline-4">
|
||||
<h4 id="org55626c6"><span class="section-number-4">2.4.2</span> Provide</h4>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgf73a7c2" class="outline-4">
|
||||
<h4 id="orgf73a7c2"><span class="section-number-4">2.4.3</span> Compute</h4>
|
||||
<div id="outline-container-org796c96c" class="outline-4">
|
||||
<h4 id="org796c96c"><span class="section-number-4">2.4.3</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-4-3">
|
||||
<table id="orgcc36e01" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org4a030f6" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -1140,12 +1140,12 @@ Requirements
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org85e44b3" class="outline-4">
|
||||
<h4 id="org85e44b3"><span class="section-number-4">2.4.4</span> Test</h4>
|
||||
<div id="outline-container-org4e708ff" class="outline-4">
|
||||
<h4 id="org4e708ff"><span class="section-number-4">2.4.4</span> Test</h4>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org67e9023" class="outline-4">
|
||||
<h4 id="org67e9023"><span class="section-number-4">2.4.5</span> Ideas for improvement</h4>
|
||||
<div id="outline-container-org45f7dc4" class="outline-4">
|
||||
<h4 id="org45f7dc4"><span class="section-number-4">2.4.5</span> Ideas for improvement</h4>
|
||||
<div class="outline-text-4" id="text-2-4-5">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c">// <span style="color: #b22222;">m : walkers</span>
|
||||
@ -1182,12 +1182,12 @@ k=0;
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org9a6d632" class="outline-3">
|
||||
<h3 id="org9a6d632"><span class="section-number-3">2.5</span> Computation of shells</h3>
|
||||
<div id="outline-container-orgdb93bd3" class="outline-3">
|
||||
<h3 id="orgdb93bd3"><span class="section-number-3">2.5</span> Computation of shells</h3>
|
||||
<div class="outline-text-3" id="text-2-5">
|
||||
</div>
|
||||
<div id="outline-container-orgd1d889d" class="outline-4">
|
||||
<h4 id="orgd1d889d"><span class="section-number-4">2.5.1</span> Get</h4>
|
||||
<div id="outline-container-orgd0d9f37" class="outline-4">
|
||||
<h4 id="orgd0d9f37"><span class="section-number-4">2.5.1</span> Get</h4>
|
||||
<div class="outline-text-4" id="text-2-5-1">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_get_ao_basis_shell_vgl</span>(<span style="color: #228b22;">qmckl_context</span> <span style="color: #a0522d;">context</span>, <span style="color: #228b22;">double</span>* <span style="color: #a020f0;">const</span> <span style="color: #a0522d;">shell_vgl</span>);
|
||||
@ -1196,14 +1196,14 @@ k=0;
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orge771900" class="outline-4">
|
||||
<h4 id="orge771900"><span class="section-number-4">2.5.2</span> Provide</h4>
|
||||
<div id="outline-container-orgd82c39b" class="outline-4">
|
||||
<h4 id="orgd82c39b"><span class="section-number-4">2.5.2</span> Provide</h4>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org221ff50" class="outline-4">
|
||||
<h4 id="org221ff50"><span class="section-number-4">2.5.3</span> Compute</h4>
|
||||
<div id="outline-container-orgdf3c183" class="outline-4">
|
||||
<h4 id="orgdf3c183"><span class="section-number-4">2.5.3</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-5-3">
|
||||
<table id="org5852c21" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org9e49e54" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -1411,18 +1411,18 @@ k=0;
|
||||
</div>
|
||||
|
||||
|
||||
<div id="outline-container-orgef5ac66" class="outline-4">
|
||||
<h4 id="orgef5ac66"><span class="section-number-4">2.5.4</span> Test</h4>
|
||||
<div id="outline-container-org0d77450" class="outline-4">
|
||||
<h4 id="org0d77450"><span class="section-number-4">2.5.4</span> Test</h4>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgc956e01" class="outline-2">
|
||||
<h2 id="orgc956e01"><span class="section-number-2">3</span> Polynomial part</h2>
|
||||
<div id="outline-container-org3857cba" class="outline-2">
|
||||
<h2 id="org3857cba"><span class="section-number-2">3</span> Polynomial part</h2>
|
||||
<div class="outline-text-2" id="text-3">
|
||||
</div>
|
||||
<div id="outline-container-org1896a5e" class="outline-3">
|
||||
<h3 id="org1896a5e"><span class="section-number-3">3.1</span> General functions for Powers of \(x-X_i\)</h3>
|
||||
<div id="outline-container-org7f47d1f" class="outline-3">
|
||||
<h3 id="org7f47d1f"><span class="section-number-3">3.1</span> General functions for Powers of \(x-X_i\)</h3>
|
||||
<div class="outline-text-3" id="text-3-1">
|
||||
<p>
|
||||
The <code>qmckl_ao_power</code> function computes all the powers of the <code>n</code>
|
||||
@ -1434,7 +1434,7 @@ the \(n\) points:
|
||||
\[ P_{ik} = X_i^k \]
|
||||
</p>
|
||||
|
||||
<table id="org1b5d00e" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orgcaf2c72" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -1492,8 +1492,8 @@ the \(n\) points:
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org043816b" class="outline-4">
|
||||
<h4 id="org043816b"><span class="section-number-4">3.1.1</span> Requirements</h4>
|
||||
<div id="outline-container-org849986a" class="outline-4">
|
||||
<h4 id="org849986a"><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>
|
||||
@ -1506,8 +1506,8 @@ the \(n\) points:
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org8851f07" class="outline-4">
|
||||
<h4 id="org8851f07"><span class="section-number-4">3.1.2</span> C Header</h4>
|
||||
<div id="outline-container-org8971ca9" class="outline-4">
|
||||
<h4 id="org8971ca9"><span class="section-number-4">3.1.2</span> C Header</h4>
|
||||
<div class="outline-text-4" id="text-3-1-2">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_ao_power</span> (
|
||||
@ -1522,8 +1522,8 @@ the \(n\) points:
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org1a9c4c6" class="outline-4">
|
||||
<h4 id="org1a9c4c6"><span class="section-number-4">3.1.3</span> Source</h4>
|
||||
<div id="outline-container-org19f4dd5" class="outline-4">
|
||||
<h4 id="org19f4dd5"><span class="section-number-4">3.1.3</span> Source</h4>
|
||||
<div class="outline-text-4" id="text-3-1-3">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-f90"><span style="color: #228b22;">integer </span><span style="color: #a020f0;">function</span><span style="color: #a0522d;"> </span><span style="color: #0000ff;">qmckl_ao_power_f</span><span style="color: #000000; background-color: #ffffff;">(context, n, X, LMAX, P, ldp) result(info)</span>
|
||||
@ -1574,15 +1574,15 @@ the \(n\) points:
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org2796bd9" class="outline-4">
|
||||
<h4 id="org2796bd9"><span class="section-number-4">3.1.4</span> C interface</h4>
|
||||
<div id="outline-container-org6578f48" class="outline-4">
|
||||
<h4 id="org6578f48"><span class="section-number-4">3.1.4</span> C interface</h4>
|
||||
</div>
|
||||
<div id="outline-container-orgc268bd8" class="outline-4">
|
||||
<h4 id="orgc268bd8"><span class="section-number-4">3.1.5</span> Fortran interface</h4>
|
||||
<div id="outline-container-orgd36c057" class="outline-4">
|
||||
<h4 id="orgd36c057"><span class="section-number-4">3.1.5</span> Fortran interface</h4>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org3e27c84" class="outline-4">
|
||||
<h4 id="org3e27c84"><span class="section-number-4">3.1.6</span> Test</h4>
|
||||
<div id="outline-container-org90c8f29" class="outline-4">
|
||||
<h4 id="org90c8f29"><span class="section-number-4">3.1.6</span> Test</h4>
|
||||
<div class="outline-text-4" id="text-3-1-6">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-f90"><span style="color: #228b22;">integer</span>(<span style="color: #008b8b;">c_int32_t</span>) <span style="color: #a020f0;">function</span> <span style="color: #0000ff;">test_qmckl_ao_power</span>(context) <span style="color: #a020f0;">bind</span>(C)
|
||||
@ -1633,8 +1633,8 @@ the \(n\) points:
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgc5d5aff" class="outline-3">
|
||||
<h3 id="orgc5d5aff"><span class="section-number-3">3.2</span> General functions for Value, Gradient and Laplacian of a polynomial</h3>
|
||||
<div id="outline-container-orgc8c924e" class="outline-3">
|
||||
<h3 id="orgc8c924e"><span class="section-number-3">3.2</span> General functions for Value, Gradient and Laplacian of a polynomial</h3>
|
||||
<div class="outline-text-3" id="text-3-2">
|
||||
<p>
|
||||
A polynomial is centered on a nucleus \(\mathbf{R}_i\)
|
||||
@ -1679,7 +1679,7 @@ Laplacians at a given point in space, of all polynomials with an
|
||||
angular momentum up to <code>lmax</code>.
|
||||
</p>
|
||||
|
||||
<table id="orgfd1ad73" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orgd9320a3" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -1758,8 +1758,8 @@ angular momentum up to <code>lmax</code>.
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org1d322ad" class="outline-4">
|
||||
<h4 id="org1d322ad"><span class="section-number-4">3.2.1</span> Requirements</h4>
|
||||
<div id="outline-container-orgea6519d" class="outline-4">
|
||||
<h4 id="orgea6519d"><span class="section-number-4">3.2.1</span> Requirements</h4>
|
||||
<div class="outline-text-4" id="text-3-2-1">
|
||||
<ul class="org-ul">
|
||||
<li><code>context</code> is not <code>QMCKL_NULL_CONTEXT</code></li>
|
||||
@ -1784,8 +1784,8 @@ For example, with a=0, b=2 and c=1 the string is "yyz"</li>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orga773507" class="outline-4">
|
||||
<h4 id="orga773507"><span class="section-number-4">3.2.2</span> C Header</h4>
|
||||
<div id="outline-container-org108a694" class="outline-4">
|
||||
<h4 id="org108a694"><span class="section-number-4">3.2.2</span> C Header</h4>
|
||||
<div class="outline-text-4" id="text-3-2-2">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_ao_polynomial_vgl</span> (
|
||||
@ -1803,8 +1803,8 @@ For example, with a=0, b=2 and c=1 the string is "yyz"</li>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgfbff0b3" class="outline-4">
|
||||
<h4 id="orgfbff0b3"><span class="section-number-4">3.2.3</span> Source</h4>
|
||||
<div id="outline-container-org6eee875" class="outline-4">
|
||||
<h4 id="org6eee875"><span class="section-number-4">3.2.3</span> Source</h4>
|
||||
<div class="outline-text-4" id="text-3-2-3">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-f90"><span style="color: #228b22;">integer </span><span style="color: #a020f0;">function</span><span style="color: #a0522d;"> </span><span style="color: #0000ff;">qmckl_ao_polynomial_vgl_f</span><span style="color: #000000; background-color: #ffffff;">(context, X, R, lmax, n, L, ldl, VGL, ldv) result(info)</span>
|
||||
@ -1939,16 +1939,16 @@ For example, with a=0, b=2 and c=1 the string is "yyz"</li>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org38bed78" class="outline-4">
|
||||
<h4 id="org38bed78"><span class="section-number-4">3.2.4</span> C interface</h4>
|
||||
<div id="outline-container-org2c6823a" class="outline-4">
|
||||
<h4 id="org2c6823a"><span class="section-number-4">3.2.4</span> C interface</h4>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org838c791" class="outline-4">
|
||||
<h4 id="org838c791"><span class="section-number-4">3.2.5</span> Fortran interface</h4>
|
||||
<div id="outline-container-orgbfb30f7" class="outline-4">
|
||||
<h4 id="orgbfb30f7"><span class="section-number-4">3.2.5</span> Fortran interface</h4>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgd5e2047" class="outline-4">
|
||||
<h4 id="orgd5e2047"><span class="section-number-4">3.2.6</span> Test</h4>
|
||||
<div id="outline-container-orgbab8d63" class="outline-4">
|
||||
<h4 id="orgbab8d63"><span class="section-number-4">3.2.6</span> Test</h4>
|
||||
<div class="outline-text-4" id="text-3-2-6">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-f90"><span style="color: #228b22;">integer</span>(<span style="color: #008b8b;">c_int32_t</span>) <span style="color: #a020f0;">function</span> <span style="color: #0000ff;">test_qmckl_ao_polynomial_vgl</span>(context) <span style="color: #a020f0;">bind</span>(C)
|
||||
@ -2053,13 +2053,13 @@ assert(0 == test_qmckl_ao_polynomial_vgl(context));
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orge19ce60" class="outline-2">
|
||||
<h2 id="orge19ce60"><span class="section-number-2">4</span> Combining radial and polynomial parts</h2>
|
||||
<div id="outline-container-orgb64226e" class="outline-2">
|
||||
<h2 id="orgb64226e"><span class="section-number-2">4</span> Combining radial and polynomial parts</h2>
|
||||
</div>
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: TREX CoE</p>
|
||||
<p class="date">Created: 2021-06-27 Sun 13:50</p>
|
||||
<p class="date">Created: 2021-07-07 Wed 17:10</p>
|
||||
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||
</div>
|
||||
</body>
|
||||
|
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2021-06-27 Sun 13:50 -->
|
||||
<!-- 2021-07-07 Wed 17:10 -->
|
||||
<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="#org1155ecd">1. Context handling</a>
|
||||
<li><a href="#orge8a0aa7">1. Context handling</a>
|
||||
<ul>
|
||||
<li><a href="#org46bf708">1.1. Data structure</a></li>
|
||||
<li><a href="#org37dc862">1.2. Creation</a></li>
|
||||
<li><a href="#orgb04ed8b">1.3. Locking</a></li>
|
||||
<li><a href="#org430cc7b">1.4. <span class="todo TODO">TODO</span> Copy</a></li>
|
||||
<li><a href="#orgb83674f">1.5. Destroy</a></li>
|
||||
<li><a href="#org58fdc0c">1.1. Data structure</a></li>
|
||||
<li><a href="#orge13afe8">1.2. Creation</a></li>
|
||||
<li><a href="#org8c7a39c">1.3. Locking</a></li>
|
||||
<li><a href="#org125138c">1.4. <span class="todo TODO">TODO</span> Copy</a></li>
|
||||
<li><a href="#org53aae0a">1.5. Destroy</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org1155ecd" class="outline-2">
|
||||
<h2 id="org1155ecd"><span class="section-number-2">1</span> Context handling</h2>
|
||||
<div id="outline-container-orge8a0aa7" class="outline-2">
|
||||
<h2 id="orge8a0aa7"><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="orga57c00a"><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="org55bad3d"><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-org46bf708" class="outline-3">
|
||||
<h3 id="org46bf708"><span class="section-number-3">1.1</span> Data structure</h3>
|
||||
<div id="outline-container-org58fdc0c" class="outline-3">
|
||||
<h3 id="org58fdc0c"><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="#org37dc862">qmckl<sub>context</sub><sub>create</sub></a>, <a href="#orgb83674f">qmckl<sub>context</sub><sub>destroy</sub></a> and <a href="#org430cc7b">qmckl<sub>context</sub><sub>copy</sub></a>
|
||||
<a href="#orge13afe8">qmckl<sub>context</sub><sub>create</sub></a>, <a href="#org53aae0a">qmckl<sub>context</sub><sub>destroy</sub></a> and <a href="#org125138c">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-org37dc862" class="outline-3">
|
||||
<h3 id="org37dc862"><span class="section-number-3">1.2</span> Creation</h3>
|
||||
<div id="outline-container-orge13afe8" class="outline-3">
|
||||
<h3 id="orge13afe8"><span class="section-number-3">1.2</span> Creation</h3>
|
||||
<div class="outline-text-3" id="text-1-2">
|
||||
<p>
|
||||
To create a new context, <code>qmckl_context_create()</code> should be used.
|
||||
@ -502,8 +502,8 @@ To create a new context, <code>qmckl_context_create()</code> should be used.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-orgb04ed8b" class="outline-3">
|
||||
<h3 id="orgb04ed8b"><span class="section-number-3">1.3</span> Locking</h3>
|
||||
<div id="outline-container-org8c7a39c" class="outline-3">
|
||||
<h3 id="org8c7a39c"><span class="section-number-3">1.3</span> Locking</h3>
|
||||
<div class="outline-text-3" id="text-1-3">
|
||||
<p>
|
||||
For thread safety, the context may be locked/unlocked. The lock is
|
||||
@ -548,8 +548,8 @@ number of times the thread has locked it is saved in the
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org430cc7b" class="outline-3">
|
||||
<h3 id="org430cc7b"><span class="section-number-3">1.4</span> <span class="todo TODO">TODO</span> Copy</h3>
|
||||
<div id="outline-container-org125138c" class="outline-3">
|
||||
<h3 id="org125138c"><span class="section-number-3">1.4</span> <span class="todo TODO">TODO</span> Copy</h3>
|
||||
<div class="outline-text-3" id="text-1-4">
|
||||
<p>
|
||||
<code>qmckl_context_copy</code> makes a deep copy of a context. It returns
|
||||
@ -597,8 +597,8 @@ number of times the thread has locked it is saved in the
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-orgb83674f" class="outline-3">
|
||||
<h3 id="orgb83674f"><span class="section-number-3">1.5</span> Destroy</h3>
|
||||
<div id="outline-container-org53aae0a" class="outline-3">
|
||||
<h3 id="org53aae0a"><span class="section-number-3">1.5</span> Destroy</h3>
|
||||
<div class="outline-text-3" id="text-1-5">
|
||||
<p>
|
||||
The context is destroyed with <code>qmckl_context_destroy</code>, leaving the ancestors untouched.
|
||||
@ -652,7 +652,7 @@ It frees the context, and returns the previous context.
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: TREX CoE</p>
|
||||
<p class="date">Created: 2021-06-27 Sun 13:50</p>
|
||||
<p class="date">Created: 2021-07-07 Wed 17:10</p>
|
||||
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||
</div>
|
||||
</body>
|
||||
|
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2021-06-27 Sun 13:50 -->
|
||||
<!-- 2021-07-07 Wed 17:10 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>Inter-particle distances</title>
|
||||
@ -333,50 +333,50 @@ for the JavaScript code in this tag.
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents">
|
||||
<ul>
|
||||
<li><a href="#orgf383a29">1. Squared distance</a>
|
||||
<li><a href="#orgaf8fceb">1. Squared distance</a>
|
||||
<ul>
|
||||
<li><a href="#org28534cf">1.1. <code>qmckl_distance_sq</code></a>
|
||||
<li><a href="#orgb6acaed">1.1. <code>qmckl_distance_sq</code></a>
|
||||
<ul>
|
||||
<li><a href="#orgb80221c">1.1.1. Requirements</a></li>
|
||||
<li><a href="#org8369edb">1.1.2. C header</a></li>
|
||||
<li><a href="#org9d2cb89">1.1.3. Source</a></li>
|
||||
<li><a href="#orgb3cc51f">1.1.4. Performance</a></li>
|
||||
<li><a href="#orga187e9f">1.1.1. Requirements</a></li>
|
||||
<li><a href="#org7f95a58">1.1.2. C header</a></li>
|
||||
<li><a href="#org7ab84e0">1.1.3. Source</a></li>
|
||||
<li><a href="#org7856068">1.1.4. Performance</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orga1ccb11">2. Distance</a>
|
||||
<li><a href="#orgfc98ceb">2. Distance</a>
|
||||
<ul>
|
||||
<li><a href="#orgfc40b55">2.1. <code>qmckl_distance</code></a>
|
||||
<li><a href="#org008f58d">2.1. <code>qmckl_distance</code></a>
|
||||
<ul>
|
||||
<li><a href="#org5f36d6b">2.1.1. Requirements</a></li>
|
||||
<li><a href="#org5a62ad1">2.1.2. C header</a></li>
|
||||
<li><a href="#org80fbdb1">2.1.3. Source</a></li>
|
||||
<li><a href="#org497352a">2.1.4. Performance</a></li>
|
||||
<li><a href="#orgbce3986">2.1.1. Requirements</a></li>
|
||||
<li><a href="#orgc68a121">2.1.2. C header</a></li>
|
||||
<li><a href="#org0a144e7">2.1.3. Source</a></li>
|
||||
<li><a href="#orgd2f5041">2.1.4. Performance</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org8c61682">3. Rescaled Distance</a>
|
||||
<li><a href="#orgb98de14">3. Rescaled Distance</a>
|
||||
<ul>
|
||||
<li><a href="#org095781b">3.1. <code>qmckl_distance_rescaled</code></a>
|
||||
<li><a href="#orgd39dcfb">3.1. <code>qmckl_distance_rescaled</code></a>
|
||||
<ul>
|
||||
<li><a href="#orgf6dbd30">3.1.1. Requirements</a></li>
|
||||
<li><a href="#org7e067af">3.1.2. C header</a></li>
|
||||
<li><a href="#org9a2ab42">3.1.3. Source</a></li>
|
||||
<li><a href="#orgea4fb94">3.1.4. Performance</a></li>
|
||||
<li><a href="#orga04b5f0">3.1.1. Requirements</a></li>
|
||||
<li><a href="#org707f868">3.1.2. C header</a></li>
|
||||
<li><a href="#orgbd4cab6">3.1.3. Source</a></li>
|
||||
<li><a href="#org6cdf7ba">3.1.4. Performance</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orga89ae46">4. Rescaled Distance Derivatives</a>
|
||||
<li><a href="#orgcc968c1">4. Rescaled Distance Derivatives</a>
|
||||
<ul>
|
||||
<li><a href="#org9a514b2">4.1. <code>qmckl_distance_rescaled_deriv_e</code></a>
|
||||
<li><a href="#orga36ae37">4.1. <code>qmckl_distance_rescaled_deriv_e</code></a>
|
||||
<ul>
|
||||
<li><a href="#org27085d7">4.1.1. Requirements</a></li>
|
||||
<li><a href="#orge25eb73">4.1.2. C header</a></li>
|
||||
<li><a href="#org58d6919">4.1.3. Source</a></li>
|
||||
<li><a href="#org5e62c24">4.1.4. Performance</a></li>
|
||||
<li><a href="#orgd328a6e">4.1.1. Requirements</a></li>
|
||||
<li><a href="#org4b2570c">4.1.2. C header</a></li>
|
||||
<li><a href="#org0fbe523">4.1.3. Source</a></li>
|
||||
<li><a href="#orgc4381c3">4.1.4. Performance</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@ -385,12 +385,12 @@ for the JavaScript code in this tag.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgf383a29" class="outline-2">
|
||||
<h2 id="orgf383a29"><span class="section-number-2">1</span> Squared distance</h2>
|
||||
<div id="outline-container-orgaf8fceb" class="outline-2">
|
||||
<h2 id="orgaf8fceb"><span class="section-number-2">1</span> Squared distance</h2>
|
||||
<div class="outline-text-2" id="text-1">
|
||||
</div>
|
||||
<div id="outline-container-org28534cf" class="outline-3">
|
||||
<h3 id="org28534cf"><span class="section-number-3">1.1</span> <code>qmckl_distance_sq</code></h3>
|
||||
<div id="outline-container-orgb6acaed" class="outline-3">
|
||||
<h3 id="orgb6acaed"><span class="section-number-3">1.1</span> <code>qmckl_distance_sq</code></h3>
|
||||
<div class="outline-text-3" id="text-1-1">
|
||||
<p>
|
||||
<code>qmckl_distance_sq</code> computes the matrix of the squared distances
|
||||
@ -403,7 +403,7 @@ between all pairs of points in two sets, one point within each set:
|
||||
\]
|
||||
</p>
|
||||
|
||||
<table id="orgfbd8492" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orgd534478" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -496,8 +496,8 @@ between all pairs of points in two sets, one point within each set:
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgb80221c" class="outline-4">
|
||||
<h4 id="orgb80221c"><span class="section-number-4">1.1.1</span> Requirements</h4>
|
||||
<div id="outline-container-orga187e9f" class="outline-4">
|
||||
<h4 id="orga187e9f"><span class="section-number-4">1.1.1</span> Requirements</h4>
|
||||
<div class="outline-text-4" id="text-1-1-1">
|
||||
<ul class="org-ul">
|
||||
<li><code>context</code> is not <code>QMCKL_NULL_CONTEXT</code></li>
|
||||
@ -515,8 +515,8 @@ between all pairs of points in two sets, one point within each set:
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org8369edb" class="outline-4">
|
||||
<h4 id="org8369edb"><span class="section-number-4">1.1.2</span> C header</h4>
|
||||
<div id="outline-container-org7f95a58" class="outline-4">
|
||||
<h4 id="org7f95a58"><span class="section-number-4">1.1.2</span> C header</h4>
|
||||
<div class="outline-text-4" id="text-1-1-2">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_distance_rescaled_deriv_e</span> (
|
||||
@ -536,8 +536,8 @@ between all pairs of points in two sets, one point within each set:
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org9d2cb89" class="outline-4">
|
||||
<h4 id="org9d2cb89"><span class="section-number-4">1.1.3</span> Source</h4>
|
||||
<div id="outline-container-org7ab84e0" class="outline-4">
|
||||
<h4 id="org7ab84e0"><span class="section-number-4">1.1.3</span> Source</h4>
|
||||
<div class="outline-text-4" id="text-1-1-3">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-f90"><span style="color: #228b22;">integer</span><span style="color: #a0522d;"> function qmckl_distance_sq_f(context, transa, transb, m, n, </span><span style="color: #a020f0;">&</span>
|
||||
@ -672,8 +672,8 @@ between all pairs of points in two sets, one point within each set:
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgb3cc51f" class="outline-4">
|
||||
<h4 id="orgb3cc51f"><span class="section-number-4">1.1.4</span> Performance</h4>
|
||||
<div id="outline-container-org7856068" class="outline-4">
|
||||
<h4 id="org7856068"><span class="section-number-4">1.1.4</span> Performance</h4>
|
||||
<div class="outline-text-4" id="text-1-1-4">
|
||||
<p>
|
||||
This function is more efficient when <code>A</code> and <code>B</code> are
|
||||
@ -683,12 +683,12 @@ transposed.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-orga1ccb11" class="outline-2">
|
||||
<h2 id="orga1ccb11"><span class="section-number-2">2</span> Distance</h2>
|
||||
<div id="outline-container-orgfc98ceb" class="outline-2">
|
||||
<h2 id="orgfc98ceb"><span class="section-number-2">2</span> Distance</h2>
|
||||
<div class="outline-text-2" id="text-2">
|
||||
</div>
|
||||
<div id="outline-container-orgfc40b55" class="outline-3">
|
||||
<h3 id="orgfc40b55"><span class="section-number-3">2.1</span> <code>qmckl_distance</code></h3>
|
||||
<div id="outline-container-org008f58d" class="outline-3">
|
||||
<h3 id="org008f58d"><span class="section-number-3">2.1</span> <code>qmckl_distance</code></h3>
|
||||
<div class="outline-text-3" id="text-2-1">
|
||||
<p>
|
||||
<code>qmckl_distance</code> computes the matrix of the distances between all
|
||||
@ -706,7 +706,7 @@ If the input array is normal (<code>'N'</code>), the xyz coordinates are in
|
||||
the leading dimension: <code>[n][3]</code> in C and <code>(3,n)</code> in Fortran.
|
||||
</p>
|
||||
|
||||
<table id="orgc7a05f8" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orgc4b7173" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -799,8 +799,8 @@ the leading dimension: <code>[n][3]</code> in C and <code>(3,n)</code> in Fortra
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org5f36d6b" class="outline-4">
|
||||
<h4 id="org5f36d6b"><span class="section-number-4">2.1.1</span> Requirements</h4>
|
||||
<div id="outline-container-orgbce3986" class="outline-4">
|
||||
<h4 id="orgbce3986"><span class="section-number-4">2.1.1</span> Requirements</h4>
|
||||
<div class="outline-text-4" id="text-2-1-1">
|
||||
<ul class="org-ul">
|
||||
<li><code>context</code> is not <code>QMCKL_NULL_CONTEXT</code></li>
|
||||
@ -818,8 +818,8 @@ the leading dimension: <code>[n][3]</code> in C and <code>(3,n)</code> in Fortra
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org5a62ad1" class="outline-4">
|
||||
<h4 id="org5a62ad1"><span class="section-number-4">2.1.2</span> C header</h4>
|
||||
<div id="outline-container-orgc68a121" class="outline-4">
|
||||
<h4 id="orgc68a121"><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_rescaled_deriv_e</span> (
|
||||
@ -839,8 +839,8 @@ the leading dimension: <code>[n][3]</code> in C and <code>(3,n)</code> in Fortra
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org80fbdb1" class="outline-4">
|
||||
<h4 id="org80fbdb1"><span class="section-number-4">2.1.3</span> Source</h4>
|
||||
<div id="outline-container-org0a144e7" class="outline-4">
|
||||
<h4 id="org0a144e7"><span class="section-number-4">2.1.3</span> Source</h4>
|
||||
<div class="outline-text-4" id="text-2-1-3">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-f90"><span style="color: #228b22;">integer</span><span style="color: #a0522d;"> function qmckl_distance_f(context, transa, transb, m, n, </span><span style="color: #a020f0;">&</span>
|
||||
@ -1007,8 +1007,8 @@ the leading dimension: <code>[n][3]</code> in C and <code>(3,n)</code> in Fortra
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org497352a" class="outline-4">
|
||||
<h4 id="org497352a"><span class="section-number-4">2.1.4</span> Performance</h4>
|
||||
<div id="outline-container-orgd2f5041" class="outline-4">
|
||||
<h4 id="orgd2f5041"><span class="section-number-4">2.1.4</span> Performance</h4>
|
||||
<div class="outline-text-4" id="text-2-1-4">
|
||||
<p>
|
||||
This function is more efficient when <code>A</code> and <code>B</code> are transposed.
|
||||
@ -1018,12 +1018,12 @@ This function is more efficient when <code>A</code> and <code>B</code> are trans
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org8c61682" class="outline-2">
|
||||
<h2 id="org8c61682"><span class="section-number-2">3</span> Rescaled Distance</h2>
|
||||
<div id="outline-container-orgb98de14" class="outline-2">
|
||||
<h2 id="orgb98de14"><span class="section-number-2">3</span> Rescaled Distance</h2>
|
||||
<div class="outline-text-2" id="text-3">
|
||||
</div>
|
||||
<div id="outline-container-org095781b" class="outline-3">
|
||||
<h3 id="org095781b"><span class="section-number-3">3.1</span> <code>qmckl_distance_rescaled</code></h3>
|
||||
<div id="outline-container-orgd39dcfb" class="outline-3">
|
||||
<h3 id="orgd39dcfb"><span class="section-number-3">3.1</span> <code>qmckl_distance_rescaled</code></h3>
|
||||
<div class="outline-text-3" id="text-3-1">
|
||||
<p>
|
||||
<code>qmckl_distance_rescaled</code> computes the matrix of the rescaled distances between all
|
||||
@ -1041,7 +1041,7 @@ If the input array is normal (<code>'N'</code>), the xyz coordinates are in
|
||||
the leading dimension: <code>[n][3]</code> in C and <code>(3,n)</code> in Fortran.
|
||||
</p>
|
||||
|
||||
<table id="org02cc945" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org68cbf61" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -1141,8 +1141,8 @@ the leading dimension: <code>[n][3]</code> in C and <code>(3,n)</code> in Fortra
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgf6dbd30" class="outline-4">
|
||||
<h4 id="orgf6dbd30"><span class="section-number-4">3.1.1</span> Requirements</h4>
|
||||
<div id="outline-container-orga04b5f0" class="outline-4">
|
||||
<h4 id="orga04b5f0"><span class="section-number-4">3.1.1</span> Requirements</h4>
|
||||
<div class="outline-text-4" id="text-3-1-1">
|
||||
<ul class="org-ul">
|
||||
<li><code>context</code> is not <code>QMCKL_NULL_CONTEXT</code></li>
|
||||
@ -1160,8 +1160,8 @@ the leading dimension: <code>[n][3]</code> in C and <code>(3,n)</code> in Fortra
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org7e067af" class="outline-4">
|
||||
<h4 id="org7e067af"><span class="section-number-4">3.1.2</span> C header</h4>
|
||||
<div id="outline-container-org707f868" class="outline-4">
|
||||
<h4 id="org707f868"><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_deriv_e</span> (
|
||||
@ -1182,8 +1182,8 @@ the leading dimension: <code>[n][3]</code> in C and <code>(3,n)</code> in Fortra
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org9a2ab42" class="outline-4">
|
||||
<h4 id="org9a2ab42"><span class="section-number-4">3.1.3</span> Source</h4>
|
||||
<div id="outline-container-orgbd4cab6" class="outline-4">
|
||||
<h4 id="orgbd4cab6"><span class="section-number-4">3.1.3</span> Source</h4>
|
||||
<div class="outline-text-4" id="text-3-1-3">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-f90"><span style="color: #228b22;">integer</span><span style="color: #a0522d;"> function qmckl_distance_rescaled_f(context, transa, transb, m, n, </span><span style="color: #a020f0;">&</span>
|
||||
@ -1353,8 +1353,8 @@ the leading dimension: <code>[n][3]</code> in C and <code>(3,n)</code> in Fortra
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgea4fb94" class="outline-4">
|
||||
<h4 id="orgea4fb94"><span class="section-number-4">3.1.4</span> Performance</h4>
|
||||
<div id="outline-container-org6cdf7ba" class="outline-4">
|
||||
<h4 id="org6cdf7ba"><span class="section-number-4">3.1.4</span> Performance</h4>
|
||||
<div class="outline-text-4" id="text-3-1-4">
|
||||
<p>
|
||||
This function is more efficient when <code>A</code> and <code>B</code> are transposed.
|
||||
@ -1363,12 +1363,12 @@ This function is more efficient when <code>A</code> and <code>B</code> are trans
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-orga89ae46" class="outline-2">
|
||||
<h2 id="orga89ae46"><span class="section-number-2">4</span> Rescaled Distance Derivatives</h2>
|
||||
<div id="outline-container-orgcc968c1" class="outline-2">
|
||||
<h2 id="orgcc968c1"><span class="section-number-2">4</span> Rescaled Distance Derivatives</h2>
|
||||
<div class="outline-text-2" id="text-4">
|
||||
</div>
|
||||
<div id="outline-container-org9a514b2" class="outline-3">
|
||||
<h3 id="org9a514b2"><span class="section-number-3">4.1</span> <code>qmckl_distance_rescaled_deriv_e</code></h3>
|
||||
<div id="outline-container-orga36ae37" class="outline-3">
|
||||
<h3 id="orga36ae37"><span class="section-number-3">4.1</span> <code>qmckl_distance_rescaled_deriv_e</code></h3>
|
||||
<div class="outline-text-3" id="text-4-1">
|
||||
<p>
|
||||
<code>qmckl_distance_rescaled_deriv_e</code> computes the matrix of the gradient and laplacian of the
|
||||
@ -1435,7 +1435,7 @@ If the input array is normal (<code>'N'</code>), the xyz coordinates are in
|
||||
the leading dimension: <code>[n][3]</code> in C and <code>(3,n)</code> in Fortran.
|
||||
</p>
|
||||
|
||||
<table id="org1f849b5" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org0aee420" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -1535,8 +1535,8 @@ the leading dimension: <code>[n][3]</code> in C and <code>(3,n)</code> in Fortra
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org27085d7" class="outline-4">
|
||||
<h4 id="org27085d7"><span class="section-number-4">4.1.1</span> Requirements</h4>
|
||||
<div id="outline-container-orgd328a6e" class="outline-4">
|
||||
<h4 id="orgd328a6e"><span class="section-number-4">4.1.1</span> Requirements</h4>
|
||||
<div class="outline-text-4" id="text-4-1-1">
|
||||
<ul class="org-ul">
|
||||
<li><code>context</code> is not <code>QMCKL_NULL_CONTEXT</code></li>
|
||||
@ -1554,8 +1554,8 @@ the leading dimension: <code>[n][3]</code> in C and <code>(3,n)</code> in Fortra
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orge25eb73" class="outline-4">
|
||||
<h4 id="orge25eb73"><span class="section-number-4">4.1.2</span> C header</h4>
|
||||
<div id="outline-container-org4b2570c" class="outline-4">
|
||||
<h4 id="org4b2570c"><span class="section-number-4">4.1.2</span> C header</h4>
|
||||
<div class="outline-text-4" id="text-4-1-2">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_distance_rescaled_deriv_e</span> (
|
||||
@ -1576,8 +1576,8 @@ the leading dimension: <code>[n][3]</code> in C and <code>(3,n)</code> in Fortra
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org58d6919" class="outline-4">
|
||||
<h4 id="org58d6919"><span class="section-number-4">4.1.3</span> Source</h4>
|
||||
<div id="outline-container-org0fbe523" class="outline-4">
|
||||
<h4 id="org0fbe523"><span class="section-number-4">4.1.3</span> Source</h4>
|
||||
<div class="outline-text-4" id="text-4-1-3">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-f90"><span style="color: #228b22;">integer</span><span style="color: #a0522d;"> function qmckl_distance_rescaled_deriv_e_f(context, transa, transb, m, n, </span><span style="color: #a020f0;">&</span>
|
||||
@ -1768,8 +1768,8 @@ the leading dimension: <code>[n][3]</code> in C and <code>(3,n)</code> in Fortra
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org5e62c24" class="outline-4">
|
||||
<h4 id="org5e62c24"><span class="section-number-4">4.1.4</span> Performance</h4>
|
||||
<div id="outline-container-orgc4381c3" class="outline-4">
|
||||
<h4 id="orgc4381c3"><span class="section-number-4">4.1.4</span> Performance</h4>
|
||||
<div class="outline-text-4" id="text-4-1-4">
|
||||
<p>
|
||||
This function is more efficient when <code>A</code> and <code>B</code> are transposed.
|
||||
@ -1781,7 +1781,7 @@ This function is more efficient when <code>A</code> and <code>B</code> are trans
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: TREX CoE</p>
|
||||
<p class="date">Created: 2021-06-27 Sun 13:50</p>
|
||||
<p class="date">Created: 2021-07-07 Wed 17:10</p>
|
||||
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||
</div>
|
||||
</body>
|
||||
|
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2021-06-27 Sun 13:50 -->
|
||||
<!-- 2021-07-07 Wed 17:10 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>Electrons</title>
|
||||
@ -333,63 +333,63 @@ for the JavaScript code in this tag.
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents">
|
||||
<ul>
|
||||
<li><a href="#org63d5f8b">1. Context</a>
|
||||
<li><a href="#orgb023321">1. Context</a>
|
||||
<ul>
|
||||
<li><a href="#orgfbb0582">1.1. Data structure</a></li>
|
||||
<li><a href="#orgaec2c4b">1.2. Access functions</a>
|
||||
<li><a href="#orgcb323fb">1.1. Data structure</a></li>
|
||||
<li><a href="#org1abb7e9">1.2. Access functions</a>
|
||||
<ul>
|
||||
<li><a href="#org23e8af8">1.2.1. Number of electrons</a></li>
|
||||
<li><a href="#orgf3894cd">1.2.2. Number of walkers</a></li>
|
||||
<li><a href="#org2ee78eb">1.2.3. Scaling factors Kappa</a></li>
|
||||
<li><a href="#orge420cde">1.2.4. Electron coordinates</a></li>
|
||||
<li><a href="#orgd78559a">1.2.1. Number of electrons</a></li>
|
||||
<li><a href="#org2a8b305">1.2.2. Number of walkers</a></li>
|
||||
<li><a href="#orgd2f236a">1.2.3. Scaling factors Kappa</a></li>
|
||||
<li><a href="#org369ff64">1.2.4. Electron coordinates</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgc541a93">1.3. Initialization functions</a></li>
|
||||
<li><a href="#orgfee0c54">1.4. Test</a></li>
|
||||
<li><a href="#org2d9db59">1.3. Initialization functions</a></li>
|
||||
<li><a href="#orgf28e003">1.4. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgded128a">2. Computation</a>
|
||||
<li><a href="#org16909cb">2. Computation</a>
|
||||
<ul>
|
||||
<li><a href="#org84a58a0">2.1. Electron-electron distances</a>
|
||||
<li><a href="#orgdd41bea">2.1. Electron-electron distances</a>
|
||||
<ul>
|
||||
<li><a href="#orgafbf874">2.1.1. Get</a></li>
|
||||
<li><a href="#org2977bf8">2.1.2. Compute</a></li>
|
||||
<li><a href="#orgc41f18d">2.1.3. Test</a></li>
|
||||
<li><a href="#org5d1f5e0">2.1.1. Get</a></li>
|
||||
<li><a href="#org71f5a99">2.1.2. Compute</a></li>
|
||||
<li><a href="#orgd0507cb">2.1.3. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orge3cceef">2.2. Electron-electron rescaled distances</a>
|
||||
<li><a href="#org6248fc1">2.2. Electron-electron rescaled distances</a>
|
||||
<ul>
|
||||
<li><a href="#org0e5e0af">2.2.1. Get</a></li>
|
||||
<li><a href="#org6fe66fe">2.2.2. Compute</a></li>
|
||||
<li><a href="#org924c225">2.2.3. Test</a></li>
|
||||
<li><a href="#org4d2a3eb">2.2.1. Get</a></li>
|
||||
<li><a href="#org27eb1b0">2.2.2. Compute</a></li>
|
||||
<li><a href="#orgf1e1dc5">2.2.3. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgac37eec">2.3. Electron-electron rescaled distance gradients and laplacian with respect to electron coords</a>
|
||||
<li><a href="#org32aefea">2.3. Electron-electron rescaled distance gradients and laplacian with respect to electron coords</a>
|
||||
<ul>
|
||||
<li><a href="#org4e55f38">2.3.1. Get</a></li>
|
||||
<li><a href="#org1a7b744">2.3.2. Compute</a></li>
|
||||
<li><a href="#org1f71a7e">2.3.3. Test</a></li>
|
||||
<li><a href="#orgf19bb90">2.3.1. Get</a></li>
|
||||
<li><a href="#org51de1fb">2.3.2. Compute</a></li>
|
||||
<li><a href="#orgaf29773">2.3.3. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org2eaa10b">2.4. Electron-nucleus distances</a>
|
||||
<li><a href="#org8058e93">2.4. Electron-nucleus distances</a>
|
||||
<ul>
|
||||
<li><a href="#org5290ba5">2.4.1. Get</a></li>
|
||||
<li><a href="#orgaf58653">2.4.2. Compute</a></li>
|
||||
<li><a href="#org4deccdf">2.4.3. Test</a></li>
|
||||
<li><a href="#org692ba17">2.4.1. Get</a></li>
|
||||
<li><a href="#org56b296a">2.4.2. Compute</a></li>
|
||||
<li><a href="#org5be6c52">2.4.3. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org9f8497d">2.5. Electron-nucleus rescaled distances</a>
|
||||
<li><a href="#orgc04de32">2.5. Electron-nucleus rescaled distances</a>
|
||||
<ul>
|
||||
<li><a href="#orgdbfa227">2.5.1. Get</a></li>
|
||||
<li><a href="#org49a63ec">2.5.2. Compute</a></li>
|
||||
<li><a href="#orgddb48a0">2.5.3. Test</a></li>
|
||||
<li><a href="#org5288daa">2.5.1. Get</a></li>
|
||||
<li><a href="#org5152031">2.5.2. Compute</a></li>
|
||||
<li><a href="#org74c722f">2.5.3. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org79f7541">2.6. Electron-nucleus rescaled distance gradients and laplacian with respect to electron coords</a>
|
||||
<li><a href="#orgb3ade27">2.6. Electron-nucleus rescaled distance gradients and laplacian with respect to electron coords</a>
|
||||
<ul>
|
||||
<li><a href="#org0615a11">2.6.1. Get</a></li>
|
||||
<li><a href="#org686bb54">2.6.2. Compute</a></li>
|
||||
<li><a href="#org76aedac">2.6.3. Test</a></li>
|
||||
<li><a href="#org41a3de4">2.6.1. Get</a></li>
|
||||
<li><a href="#orgf564e5e">2.6.2. Compute</a></li>
|
||||
<li><a href="#orgb945364">2.6.3. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@ -398,8 +398,8 @@ for the JavaScript code in this tag.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org63d5f8b" class="outline-2">
|
||||
<h2 id="org63d5f8b"><span class="section-number-2">1</span> Context</h2>
|
||||
<div id="outline-container-orgb023321" class="outline-2">
|
||||
<h2 id="orgb023321"><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:
|
||||
@ -558,8 +558,8 @@ The following data stored in the context:
|
||||
</div>
|
||||
|
||||
|
||||
<div id="outline-container-orgfbb0582" class="outline-3">
|
||||
<h3 id="orgfbb0582"><span class="section-number-3">1.1</span> Data structure</h3>
|
||||
<div id="outline-container-orgcb323fb" class="outline-3">
|
||||
<h3 id="orgcb323fb"><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> {
|
||||
@ -634,8 +634,8 @@ this mechanism.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgaec2c4b" class="outline-3">
|
||||
<h3 id="orgaec2c4b"><span class="section-number-3">1.2</span> Access functions</h3>
|
||||
<div id="outline-container-org1abb7e9" class="outline-3">
|
||||
<h3 id="org1abb7e9"><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
|
||||
@ -647,12 +647,12 @@ contains the requested data. Otherwise, this variable is untouched.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org23e8af8" class="outline-4">
|
||||
<h4 id="org23e8af8"><span class="section-number-4">1.2.1</span> Number of electrons</h4>
|
||||
<div id="outline-container-orgd78559a" class="outline-4">
|
||||
<h4 id="orgd78559a"><span class="section-number-4">1.2.1</span> Number of electrons</h4>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgf3894cd" class="outline-4">
|
||||
<h4 id="orgf3894cd"><span class="section-number-4">1.2.2</span> Number of walkers</h4>
|
||||
<div id="outline-container-org2a8b305" class="outline-4">
|
||||
<h4 id="org2a8b305"><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
|
||||
@ -661,12 +661,12 @@ the wave function. <code>walk_num</code> is the number of walkers.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org2ee78eb" class="outline-4">
|
||||
<h4 id="org2ee78eb"><span class="section-number-4">1.2.3</span> Scaling factors Kappa</h4>
|
||||
<div id="outline-container-orgd2f236a" class="outline-4">
|
||||
<h4 id="orgd2f236a"><span class="section-number-4">1.2.3</span> Scaling factors Kappa</h4>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orge420cde" class="outline-4">
|
||||
<h4 id="orge420cde"><span class="section-number-4">1.2.4</span> Electron coordinates</h4>
|
||||
<div id="outline-container-org369ff64" class="outline-4">
|
||||
<h4 id="org369ff64"><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
|
||||
@ -710,8 +710,8 @@ The order of the indices is:
|
||||
</div>
|
||||
|
||||
|
||||
<div id="outline-container-orgc541a93" class="outline-3">
|
||||
<h3 id="orgc541a93"><span class="section-number-3">1.3</span> Initialization functions</h3>
|
||||
<div id="outline-container-org2d9db59" class="outline-3">
|
||||
<h3 id="org2d9db59"><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
|
||||
@ -798,8 +798,8 @@ in the context.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgfee0c54" class="outline-3">
|
||||
<h3 id="orgfee0c54"><span class="section-number-3">1.4</span> Test</h3>
|
||||
<div id="outline-container-orgf28e003" class="outline-3">
|
||||
<h3 id="orgf28e003"><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>*/
|
||||
@ -905,8 +905,8 @@ rc = qmckl_get_electron_coord (context, <span style="color: #8b2252;">'N'</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgded128a" class="outline-2">
|
||||
<h2 id="orgded128a"><span class="section-number-2">2</span> Computation</h2>
|
||||
<div id="outline-container-org16909cb" class="outline-2">
|
||||
<h2 id="org16909cb"><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
|
||||
@ -919,12 +919,12 @@ current date is stored.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org84a58a0" class="outline-3">
|
||||
<h3 id="org84a58a0"><span class="section-number-3">2.1</span> Electron-electron distances</h3>
|
||||
<div id="outline-container-orgdd41bea" class="outline-3">
|
||||
<h3 id="orgdd41bea"><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-orgafbf874" class="outline-4">
|
||||
<h4 id="orgafbf874"><span class="section-number-4">2.1.1</span> Get</h4>
|
||||
<div id="outline-container-org5d1f5e0" class="outline-4">
|
||||
<h4 id="org5d1f5e0"><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>);
|
||||
@ -933,10 +933,10 @@ current date is stored.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org2977bf8" class="outline-4">
|
||||
<h4 id="org2977bf8"><span class="section-number-4">2.1.2</span> Compute</h4>
|
||||
<div id="outline-container-org71f5a99" class="outline-4">
|
||||
<h4 id="org71f5a99"><span class="section-number-4">2.1.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-1-2">
|
||||
<table id="org7cc4514" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orgaf91d43" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -1032,8 +1032,8 @@ current date is stored.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgc41f18d" class="outline-4">
|
||||
<h4 id="orgc41f18d"><span class="section-number-4">2.1.3</span> Test</h4>
|
||||
<div id="outline-container-orgd0507cb" class="outline-4">
|
||||
<h4 id="orgd0507cb"><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>));
|
||||
@ -1067,8 +1067,8 @@ rc = qmckl_get_electron_ee_distance(context, ee_distance);
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orge3cceef" class="outline-3">
|
||||
<h3 id="orge3cceef"><span class="section-number-3">2.2</span> Electron-electron rescaled distances</h3>
|
||||
<div id="outline-container-org6248fc1" class="outline-3">
|
||||
<h3 id="org6248fc1"><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
|
||||
@ -1086,8 +1086,8 @@ where \(C_{ij}\) is the matrix of electron-electron distances.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org0e5e0af" class="outline-4">
|
||||
<h4 id="org0e5e0af"><span class="section-number-4">2.2.1</span> Get</h4>
|
||||
<div id="outline-container-org4d2a3eb" class="outline-4">
|
||||
<h4 id="org4d2a3eb"><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>);
|
||||
@ -1096,10 +1096,10 @@ where \(C_{ij}\) is the matrix of electron-electron distances.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org6fe66fe" class="outline-4">
|
||||
<h4 id="org6fe66fe"><span class="section-number-4">2.2.2</span> Compute</h4>
|
||||
<div id="outline-container-org27eb1b0" class="outline-4">
|
||||
<h4 id="org27eb1b0"><span class="section-number-4">2.2.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-2-2">
|
||||
<table id="orgaf0ce59" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orgf9a720e" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -1204,8 +1204,8 @@ where \(C_{ij}\) is the matrix of electron-electron distances.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org924c225" class="outline-4">
|
||||
<h4 id="org924c225"><span class="section-number-4">2.2.3</span> Test</h4>
|
||||
<div id="outline-container-orgf1e1dc5" class="outline-4">
|
||||
<h4 id="orgf1e1dc5"><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>));
|
||||
@ -1239,8 +1239,8 @@ rc = qmckl_get_electron_ee_distance_rescaled(context, ee_distance_rescaled);
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgac37eec" class="outline-3">
|
||||
<h3 id="orgac37eec"><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-org32aefea" class="outline-3">
|
||||
<h3 id="org32aefea"><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\)
|
||||
@ -1252,8 +1252,8 @@ gives the Laplacian \(\partial x^2 + \partial y^2 + \partial z^2\).
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org4e55f38" class="outline-4">
|
||||
<h4 id="org4e55f38"><span class="section-number-4">2.3.1</span> Get</h4>
|
||||
<div id="outline-container-orgf19bb90" class="outline-4">
|
||||
<h4 id="orgf19bb90"><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>);
|
||||
@ -1262,10 +1262,10 @@ gives the Laplacian \(\partial x^2 + \partial y^2 + \partial z^2\).
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org1a7b744" class="outline-4">
|
||||
<h4 id="org1a7b744"><span class="section-number-4">2.3.2</span> Compute</h4>
|
||||
<div id="outline-container-org51de1fb" class="outline-4">
|
||||
<h4 id="org51de1fb"><span class="section-number-4">2.3.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-3-2">
|
||||
<table id="org2af23a8" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orgc63790b" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -1370,8 +1370,8 @@ gives the Laplacian \(\partial x^2 + \partial y^2 + \partial z^2\).
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org1f71a7e" class="outline-4">
|
||||
<h4 id="org1f71a7e"><span class="section-number-4">2.3.3</span> Test</h4>
|
||||
<div id="outline-container-orgaf29773" class="outline-4">
|
||||
<h4 id="orgaf29773"><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>));
|
||||
@ -1407,12 +1407,12 @@ rc = qmckl_get_electron_ee_distance_rescaled_deriv_e(context, ee_distance_rescal
|
||||
</div>
|
||||
|
||||
|
||||
<div id="outline-container-org2eaa10b" class="outline-3">
|
||||
<h3 id="org2eaa10b"><span class="section-number-3">2.4</span> Electron-nucleus distances</h3>
|
||||
<div id="outline-container-org8058e93" class="outline-3">
|
||||
<h3 id="org8058e93"><span class="section-number-3">2.4</span> Electron-nucleus distances</h3>
|
||||
<div class="outline-text-3" id="text-2-4">
|
||||
</div>
|
||||
<div id="outline-container-org5290ba5" class="outline-4">
|
||||
<h4 id="org5290ba5"><span class="section-number-4">2.4.1</span> Get</h4>
|
||||
<div id="outline-container-org692ba17" class="outline-4">
|
||||
<h4 id="org692ba17"><span class="section-number-4">2.4.1</span> Get</h4>
|
||||
<div class="outline-text-4" id="text-2-4-1">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_get_electron_en_distance</span>(<span style="color: #228b22;">qmckl_context</span> <span style="color: #a0522d;">context</span>, <span style="color: #228b22;">double</span>* <span style="color: #a0522d;">distance</span>);
|
||||
@ -1421,10 +1421,10 @@ rc = qmckl_get_electron_ee_distance_rescaled_deriv_e(context, ee_distance_rescal
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgaf58653" class="outline-4">
|
||||
<h4 id="orgaf58653"><span class="section-number-4">2.4.2</span> Compute</h4>
|
||||
<div id="outline-container-org56b296a" class="outline-4">
|
||||
<h4 id="org56b296a"><span class="section-number-4">2.4.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-4-2">
|
||||
<table id="org5bbcc43" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org587956d" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -1541,8 +1541,8 @@ rc = qmckl_get_electron_ee_distance_rescaled_deriv_e(context, ee_distance_rescal
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org4deccdf" class="outline-4">
|
||||
<h4 id="org4deccdf"><span class="section-number-4">2.4.3</span> Test</h4>
|
||||
<div id="outline-container-org5be6c52" class="outline-4">
|
||||
<h4 id="org5be6c52"><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">
|
||||
@ -1590,8 +1590,8 @@ rc = qmckl_get_electron_en_distance(context, &(en_distance[0][0][0]));
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org9f8497d" class="outline-3">
|
||||
<h3 id="org9f8497d"><span class="section-number-3">2.5</span> Electron-nucleus rescaled distances</h3>
|
||||
<div id="outline-container-orgc04de32" class="outline-3">
|
||||
<h3 id="orgc04de32"><span class="section-number-3">2.5</span> Electron-nucleus rescaled distances</h3>
|
||||
<div class="outline-text-3" id="text-2-5">
|
||||
<p>
|
||||
<code>en_distance_rescaled</code> stores the matrix of the rescaled distances between
|
||||
@ -1609,8 +1609,8 @@ where \(C_{ij}\) is the matrix of electron-nucleus distances.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgdbfa227" class="outline-4">
|
||||
<h4 id="orgdbfa227"><span class="section-number-4">2.5.1</span> Get</h4>
|
||||
<div id="outline-container-org5288daa" class="outline-4">
|
||||
<h4 id="org5288daa"><span class="section-number-4">2.5.1</span> Get</h4>
|
||||
<div class="outline-text-4" id="text-2-5-1">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_get_electron_en_distance_rescaled</span>(<span style="color: #228b22;">qmckl_context</span> <span style="color: #a0522d;">context</span>, <span style="color: #228b22;">double</span>* <span style="color: #a0522d;">distance_rescaled</span>);
|
||||
@ -1619,10 +1619,10 @@ where \(C_{ij}\) is the matrix of electron-nucleus distances.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org49a63ec" class="outline-4">
|
||||
<h4 id="org49a63ec"><span class="section-number-4">2.5.2</span> Compute</h4>
|
||||
<div id="outline-container-org5152031" class="outline-4">
|
||||
<h4 id="org5152031"><span class="section-number-4">2.5.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-5-2">
|
||||
<table id="orge3df10c" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org3097434" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -1754,8 +1754,8 @@ where \(C_{ij}\) is the matrix of electron-nucleus distances.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgddb48a0" class="outline-4">
|
||||
<h4 id="orgddb48a0"><span class="section-number-4">2.5.3</span> Test</h4>
|
||||
<div id="outline-container-org74c722f" class="outline-4">
|
||||
<h4 id="org74c722f"><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">
|
||||
@ -1803,8 +1803,8 @@ rc = qmckl_get_electron_en_distance_rescaled(context, &(en_distance_rescaled
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org79f7541" class="outline-3">
|
||||
<h3 id="org79f7541"><span class="section-number-3">2.6</span> Electron-nucleus rescaled distance gradients and laplacian with respect to electron coords</h3>
|
||||
<div id="outline-container-orgb3ade27" class="outline-3">
|
||||
<h3 id="orgb3ade27"><span class="section-number-3">2.6</span> Electron-nucleus rescaled distance gradients and laplacian with respect to electron coords</h3>
|
||||
<div class="outline-text-3" id="text-2-6">
|
||||
<p>
|
||||
The rescaled distances which is given as \(R = (1 - \exp{-\kappa r})/\kappa\)
|
||||
@ -1816,8 +1816,8 @@ gives the Laplacian \(\partial x^2 + \partial y^2 + \partial z^2\).
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org0615a11" class="outline-4">
|
||||
<h4 id="org0615a11"><span class="section-number-4">2.6.1</span> Get</h4>
|
||||
<div id="outline-container-org41a3de4" class="outline-4">
|
||||
<h4 id="org41a3de4"><span class="section-number-4">2.6.1</span> Get</h4>
|
||||
<div class="outline-text-4" id="text-2-6-1">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_get_electron_en_distance_rescaled_deriv_e</span>(<span style="color: #228b22;">qmckl_context</span> <span style="color: #a0522d;">context</span>, <span style="color: #228b22;">double</span>* <span style="color: #a0522d;">distance_rescaled_deriv_e</span>);
|
||||
@ -1826,10 +1826,10 @@ gives the Laplacian \(\partial x^2 + \partial y^2 + \partial z^2\).
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org686bb54" class="outline-4">
|
||||
<h4 id="org686bb54"><span class="section-number-4">2.6.2</span> Compute</h4>
|
||||
<div id="outline-container-orgf564e5e" class="outline-4">
|
||||
<h4 id="orgf564e5e"><span class="section-number-4">2.6.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-6-2">
|
||||
<table id="org2dc4a1c" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org1cdab10" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -1962,8 +1962,8 @@ gives the Laplacian \(\partial x^2 + \partial y^2 + \partial z^2\).
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org76aedac" class="outline-4">
|
||||
<h4 id="org76aedac"><span class="section-number-4">2.6.3</span> Test</h4>
|
||||
<div id="outline-container-orgb945364" class="outline-4">
|
||||
<h4 id="orgb945364"><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">
|
||||
@ -2018,7 +2018,7 @@ rc = qmckl_get_electron_en_distance_rescaled_deriv_e(context, &(en_distance_
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: TREX CoE</p>
|
||||
<p class="date">Created: 2021-06-27 Sun 13:50</p>
|
||||
<p class="date">Created: 2021-07-07 Wed 17:10</p>
|
||||
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||
</div>
|
||||
</body>
|
||||
|
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2021-06-27 Sun 13:50 -->
|
||||
<!-- 2021-07-07 Wed 17:10 -->
|
||||
<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="#org8a3f153">1. Decoding errors</a></li>
|
||||
<li><a href="#orga14ec48">2. Data structure in context</a></li>
|
||||
<li><a href="#org00e4d20">3. Updating errors in the context</a></li>
|
||||
<li><a href="#org674674b">4. Get the error</a></li>
|
||||
<li><a href="#orgdbfec67">5. Failing</a></li>
|
||||
<li><a href="#orgce8d124">1. Decoding errors</a></li>
|
||||
<li><a href="#org331acc8">2. Data structure in context</a></li>
|
||||
<li><a href="#org4e945aa">3. Updating errors in the context</a></li>
|
||||
<li><a href="#orgd4c8e25">4. Get the error</a></li>
|
||||
<li><a href="#org6af8277">5. Failing</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org8a3f153" class="outline-2">
|
||||
<h2 id="org8a3f153"><span class="section-number-2">1</span> Decoding errors</h2>
|
||||
<div id="outline-container-orgce8d124" class="outline-2">
|
||||
<h2 id="orgce8d124"><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-orga14ec48" class="outline-2">
|
||||
<h2 id="orga14ec48"><span class="section-number-2">2</span> Data structure in context</h2>
|
||||
<div id="outline-container-org331acc8" class="outline-2">
|
||||
<h2 id="org331acc8"><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-org00e4d20" class="outline-2">
|
||||
<h2 id="org00e4d20"><span class="section-number-2">3</span> Updating errors in the context</h2>
|
||||
<div id="outline-container-org4e945aa" class="outline-2">
|
||||
<h2 id="org4e945aa"><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-org674674b" class="outline-2">
|
||||
<h2 id="org674674b"><span class="section-number-2">4</span> Get the error</h2>
|
||||
<div id="outline-container-orgd4c8e25" class="outline-2">
|
||||
<h2 id="orgd4c8e25"><span class="section-number-2">4</span> Get the error</h2>
|
||||
<div class="outline-text-2" id="text-4">
|
||||
<p>
|
||||
Upon error, the error type and message can be obtained from the
|
||||
@ -564,8 +564,8 @@ function name and message is mandatory.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgdbfec67" class="outline-2">
|
||||
<h2 id="orgdbfec67"><span class="section-number-2">5</span> Failing</h2>
|
||||
<div id="outline-container-org6af8277" class="outline-2">
|
||||
<h2 id="org6af8277"><span class="section-number-2">5</span> Failing</h2>
|
||||
<div class="outline-text-2" id="text-5">
|
||||
<p>
|
||||
To make a function fail, the <code>qmckl_failwith</code> function should be
|
||||
@ -628,7 +628,7 @@ For example, this function can be used as
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: TREX CoE</p>
|
||||
<p class="date">Created: 2021-06-27 Sun 13:50</p>
|
||||
<p class="date">Created: 2021-07-07 Wed 17:10</p>
|
||||
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||
</div>
|
||||
</body>
|
||||
|
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2021-06-27 Sun 13:50 -->
|
||||
<!-- 2021-07-07 Wed 17:10 -->
|
||||
<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="#org74f9c82">1. Memory data structure for the context</a></li>
|
||||
<li><a href="#org78794f5">2. Passing info to allocation routines</a></li>
|
||||
<li><a href="#org5da6d6d">3. Allocation/deallocation functions</a></li>
|
||||
<li><a href="#org9375e16">1. Memory data structure for the context</a></li>
|
||||
<li><a href="#org9d130c3">2. Passing info to allocation routines</a></li>
|
||||
<li><a href="#org22ac967">3. Allocation/deallocation functions</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org74f9c82" class="outline-2">
|
||||
<h2 id="org74f9c82"><span class="section-number-2">1</span> Memory data structure for the context</h2>
|
||||
<div id="outline-container-org9375e16" class="outline-2">
|
||||
<h2 id="org9375e16"><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-org78794f5" class="outline-2">
|
||||
<h2 id="org78794f5"><span class="section-number-2">2</span> Passing info to allocation routines</h2>
|
||||
<div id="outline-container-org9d130c3" class="outline-2">
|
||||
<h2 id="org9d130c3"><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-org5da6d6d" class="outline-2">
|
||||
<h2 id="org5da6d6d"><span class="section-number-2">3</span> Allocation/deallocation functions</h2>
|
||||
<div id="outline-container-org22ac967" class="outline-2">
|
||||
<h2 id="org22ac967"><span class="section-number-2">3</span> Allocation/deallocation functions</h2>
|
||||
<div class="outline-text-2" id="text-3">
|
||||
<p>
|
||||
Memory allocation inside the library should be done with
|
||||
@ -535,7 +535,7 @@ allocation and needs to be updated.
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: TREX CoE</p>
|
||||
<p class="date">Created: 2021-06-27 Sun 13:50</p>
|
||||
<p class="date">Created: 2021-07-07 Wed 17:10</p>
|
||||
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||
</div>
|
||||
</body>
|
||||
|
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2021-06-27 Sun 13:50 -->
|
||||
<!-- 2021-07-07 Wed 17:10 -->
|
||||
<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="#org4621192">1. Context</a>
|
||||
<li><a href="#org66928c1">1. Context</a>
|
||||
<ul>
|
||||
<li><a href="#org8a44483">1.1. Data structure</a></li>
|
||||
<li><a href="#org1b2b550">1.2. Access functions</a></li>
|
||||
<li><a href="#orgc6404f6">1.3. Initialization functions</a></li>
|
||||
<li><a href="#org4715eb8">1.4. Test</a></li>
|
||||
<li><a href="#org8d9c113">1.1. Data structure</a></li>
|
||||
<li><a href="#org4827ed0">1.2. Access functions</a></li>
|
||||
<li><a href="#org7811a4a">1.3. Initialization functions</a></li>
|
||||
<li><a href="#orgacb1f50">1.4. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgebe5eaa">2. Computation</a>
|
||||
<li><a href="#orgaf307b0">2. Computation</a>
|
||||
<ul>
|
||||
<li><a href="#org7304894">2.1. Nucleus-nucleus distances</a>
|
||||
<li><a href="#org8927ecd">2.1. Nucleus-nucleus distances</a>
|
||||
<ul>
|
||||
<li><a href="#org044bb0e">2.1.1. Get</a></li>
|
||||
<li><a href="#org59c0bf2">2.1.2. Compute</a></li>
|
||||
<li><a href="#org08e30f3">2.1.3. Test</a></li>
|
||||
<li><a href="#org84d3078">2.1.1. Get</a></li>
|
||||
<li><a href="#org979d279">2.1.2. Compute</a></li>
|
||||
<li><a href="#orgdf3a3ae">2.1.3. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org4f6fd1a">2.2. Nucleus-nucleus rescaled distances</a>
|
||||
<li><a href="#orgb7dd890">2.2. Nucleus-nucleus rescaled distances</a>
|
||||
<ul>
|
||||
<li><a href="#orgee9a431">2.2.1. Get</a></li>
|
||||
<li><a href="#org8effbe6">2.2.2. Compute</a></li>
|
||||
<li><a href="#org780916c">2.2.3. Test</a></li>
|
||||
<li><a href="#org620b4f1">2.2.1. Get</a></li>
|
||||
<li><a href="#org7aaa406">2.2.2. Compute</a></li>
|
||||
<li><a href="#org3cad9ef">2.2.3. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org8c8bf27">2.3. Nuclear repulsion energy</a>
|
||||
<li><a href="#orgff14585">2.3. Nuclear repulsion energy</a>
|
||||
<ul>
|
||||
<li><a href="#orgb513d5e">2.3.1. Get</a></li>
|
||||
<li><a href="#org599b603">2.3.2. Compute</a></li>
|
||||
<li><a href="#orgb9d991f">2.3.3. Test</a></li>
|
||||
<li><a href="#orge366964">2.3.1. Get</a></li>
|
||||
<li><a href="#org6f6869d">2.3.2. Compute</a></li>
|
||||
<li><a href="#org36854e1">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-org4621192" class="outline-2">
|
||||
<h2 id="org4621192"><span class="section-number-2">1</span> Context</h2>
|
||||
<div id="outline-container-org66928c1" class="outline-2">
|
||||
<h2 id="org66928c1"><span class="section-number-2">1</span> Context</h2>
|
||||
<div class="outline-text-2" id="text-1">
|
||||
<p>
|
||||
The following data stored in the context:
|
||||
@ -463,8 +463,8 @@ The following data stored in the context:
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org8a44483" class="outline-3">
|
||||
<h3 id="org8a44483"><span class="section-number-3">1.1</span> Data structure</h3>
|
||||
<div id="outline-container-org8d9c113" class="outline-3">
|
||||
<h3 id="org8d9c113"><span class="section-number-3">1.1</span> Data structure</h3>
|
||||
<div class="outline-text-3" id="text-1-1">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #a020f0;">typedef</span> <span style="color: #a020f0;">struct</span> <span style="color: #228b22;">qmckl_nucleus_struct</span> {
|
||||
@ -523,8 +523,8 @@ this mechanism.
|
||||
|
||||
|
||||
|
||||
<div id="outline-container-org1b2b550" class="outline-3">
|
||||
<h3 id="org1b2b550"><span class="section-number-3">1.2</span> Access functions</h3>
|
||||
<div id="outline-container-org4827ed0" class="outline-3">
|
||||
<h3 id="org4827ed0"><span class="section-number-3">1.2</span> Access functions</h3>
|
||||
<div class="outline-text-3" id="text-1-2">
|
||||
<p>
|
||||
When all the data relative to nuclei have been set, the following
|
||||
@ -538,8 +538,8 @@ function returns <code>true</code>.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgc6404f6" class="outline-3">
|
||||
<h3 id="orgc6404f6"><span class="section-number-3">1.3</span> Initialization functions</h3>
|
||||
<div id="outline-container-org7811a4a" class="outline-3">
|
||||
<h3 id="org7811a4a"><span class="section-number-3">1.3</span> Initialization functions</h3>
|
||||
<div class="outline-text-3" id="text-1-3">
|
||||
<p>
|
||||
To set the data relative to the nuclei in the context, the
|
||||
@ -574,8 +574,8 @@ atoms. The coordinates should be given in atomic units.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org4715eb8" class="outline-3">
|
||||
<h3 id="org4715eb8"><span class="section-number-3">1.4</span> Test</h3>
|
||||
<div id="outline-container-orgacb1f50" class="outline-3">
|
||||
<h3 id="orgacb1f50"><span class="section-number-3">1.4</span> Test</h3>
|
||||
<div class="outline-text-3" id="text-1-4">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #a020f0;">const</span> <span style="color: #228b22;">int64_t</span> <span style="color: #a0522d;">nucl_num</span> = chbrclf_nucl_num;
|
||||
@ -659,8 +659,8 @@ rc = qmckl_get_nucleus_charge(context, nucl_charge2);
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgebe5eaa" class="outline-2">
|
||||
<h2 id="orgebe5eaa"><span class="section-number-2">2</span> Computation</h2>
|
||||
<div id="outline-container-orgaf307b0" class="outline-2">
|
||||
<h2 id="orgaf307b0"><span class="section-number-2">2</span> Computation</h2>
|
||||
<div class="outline-text-2" id="text-2">
|
||||
<p>
|
||||
The computed data is stored in the context so that it can be reused
|
||||
@ -673,12 +673,12 @@ current date is stored.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org7304894" class="outline-3">
|
||||
<h3 id="org7304894"><span class="section-number-3">2.1</span> Nucleus-nucleus distances</h3>
|
||||
<div id="outline-container-org8927ecd" class="outline-3">
|
||||
<h3 id="org8927ecd"><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-org044bb0e" class="outline-4">
|
||||
<h4 id="org044bb0e"><span class="section-number-4">2.1.1</span> Get</h4>
|
||||
<div id="outline-container-org84d3078" class="outline-4">
|
||||
<h4 id="org84d3078"><span class="section-number-4">2.1.1</span> Get</h4>
|
||||
<div class="outline-text-4" id="text-2-1-1">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_get_nucleus_nn_distance</span>(<span style="color: #228b22;">qmckl_context</span> <span style="color: #a0522d;">context</span>, <span style="color: #228b22;">double</span>* <span style="color: #a0522d;">distance</span>);
|
||||
@ -687,10 +687,10 @@ current date is stored.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org59c0bf2" class="outline-4">
|
||||
<h4 id="org59c0bf2"><span class="section-number-4">2.1.2</span> Compute</h4>
|
||||
<div id="outline-container-org979d279" class="outline-4">
|
||||
<h4 id="org979d279"><span class="section-number-4">2.1.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-1-2">
|
||||
<table id="org4f868d7" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orgbf4fa44" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -768,8 +768,8 @@ current date is stored.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org08e30f3" class="outline-4">
|
||||
<h4 id="org08e30f3"><span class="section-number-4">2.1.3</span> Test</h4>
|
||||
<div id="outline-container-orgdf3a3ae" class="outline-4">
|
||||
<h4 id="orgdf3a3ae"><span class="section-number-4">2.1.3</span> Test</h4>
|
||||
<div class="outline-text-4" id="text-2-1-3">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c">/* <span style="color: #b22222;">Reference input data </span>*/
|
||||
@ -789,12 +789,12 @@ rc = qmckl_get_nucleus_nn_distance(context, distance);
|
||||
</div>
|
||||
|
||||
|
||||
<div id="outline-container-org4f6fd1a" class="outline-3">
|
||||
<h3 id="org4f6fd1a"><span class="section-number-3">2.2</span> Nucleus-nucleus rescaled distances</h3>
|
||||
<div id="outline-container-orgb7dd890" class="outline-3">
|
||||
<h3 id="orgb7dd890"><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-orgee9a431" class="outline-4">
|
||||
<h4 id="orgee9a431"><span class="section-number-4">2.2.1</span> Get</h4>
|
||||
<div id="outline-container-org620b4f1" class="outline-4">
|
||||
<h4 id="org620b4f1"><span class="section-number-4">2.2.1</span> Get</h4>
|
||||
<div class="outline-text-4" id="text-2-2-1">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_get_nucleus_nn_distance_rescaled</span>(<span style="color: #228b22;">qmckl_context</span> <span style="color: #a0522d;">context</span>, <span style="color: #228b22;">double</span>* <span style="color: #a0522d;">distance_rescaled</span>);
|
||||
@ -803,10 +803,10 @@ rc = qmckl_get_nucleus_nn_distance(context, distance);
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org8effbe6" class="outline-4">
|
||||
<h4 id="org8effbe6"><span class="section-number-4">2.2.2</span> Compute</h4>
|
||||
<div id="outline-container-org7aaa406" class="outline-4">
|
||||
<h4 id="org7aaa406"><span class="section-number-4">2.2.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-2-2">
|
||||
<table id="org0738107" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org50b3bb7" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -885,8 +885,8 @@ rc = qmckl_get_nucleus_nn_distance(context, distance);
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org780916c" class="outline-4">
|
||||
<h4 id="org780916c"><span class="section-number-4">2.2.3</span> Test</h4>
|
||||
<div id="outline-container-org3cad9ef" class="outline-4">
|
||||
<h4 id="org3cad9ef"><span class="section-number-4">2.2.3</span> Test</h4>
|
||||
<div class="outline-text-4" id="text-2-2-3">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c">/* <span style="color: #b22222;">Reference input data </span>*/
|
||||
@ -906,8 +906,8 @@ rc = qmckl_get_nucleus_nn_distance(context, distance);
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org8c8bf27" class="outline-3">
|
||||
<h3 id="org8c8bf27"><span class="section-number-3">2.3</span> Nuclear repulsion energy</h3>
|
||||
<div id="outline-container-orgff14585" class="outline-3">
|
||||
<h3 id="orgff14585"><span class="section-number-3">2.3</span> Nuclear repulsion energy</h3>
|
||||
<div class="outline-text-3" id="text-2-3">
|
||||
<p>
|
||||
\[
|
||||
@ -916,8 +916,8 @@ rc = qmckl_get_nucleus_nn_distance(context, distance);
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgb513d5e" class="outline-4">
|
||||
<h4 id="orgb513d5e"><span class="section-number-4">2.3.1</span> Get</h4>
|
||||
<div id="outline-container-orge366964" class="outline-4">
|
||||
<h4 id="orge366964"><span class="section-number-4">2.3.1</span> Get</h4>
|
||||
<div class="outline-text-4" id="text-2-3-1">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_get_nucleus_repulsion</span>(<span style="color: #228b22;">qmckl_context</span> <span style="color: #a0522d;">context</span>, <span style="color: #228b22;">double</span>* <span style="color: #a0522d;">energy</span>);
|
||||
@ -926,10 +926,10 @@ rc = qmckl_get_nucleus_nn_distance(context, distance);
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org599b603" class="outline-4">
|
||||
<h4 id="org599b603"><span class="section-number-4">2.3.2</span> Compute</h4>
|
||||
<div id="outline-container-org6f6869d" class="outline-4">
|
||||
<h4 id="org6f6869d"><span class="section-number-4">2.3.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-3-2">
|
||||
<table id="orgce253ca" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orga6f19e5" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -1017,8 +1017,8 @@ rc = qmckl_get_nucleus_nn_distance(context, distance);
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgb9d991f" class="outline-4">
|
||||
<h4 id="orgb9d991f"><span class="section-number-4">2.3.3</span> Test</h4>
|
||||
<div id="outline-container-org36854e1" class="outline-4">
|
||||
<h4 id="org36854e1"><span class="section-number-4">2.3.3</span> Test</h4>
|
||||
<div class="outline-text-4" id="text-2-3-3">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c">/* <span style="color: #b22222;">Reference input data </span>*/
|
||||
@ -1038,7 +1038,7 @@ rc = qmckl_get_nucleus_repulsion(context, &rep);
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: TREX CoE</p>
|
||||
<p class="date">Created: 2021-06-27 Sun 13:50</p>
|
||||
<p class="date">Created: 2021-07-07 Wed 17:10</p>
|
||||
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||
</div>
|
||||
</body>
|
||||
|
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2021-06-27 Sun 13:50 -->
|
||||
<!-- 2021-07-07 Wed 17:10 -->
|
||||
<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="#org267e7eb">1. Control of the numerical precision</a></li>
|
||||
<li><a href="#org9d8329c">2. Precision</a></li>
|
||||
<li><a href="#org92f1680">3. Range</a></li>
|
||||
<li><a href="#org47abbb8">4. Helper functions</a></li>
|
||||
<li><a href="#orgd3877ec">1. Control of the numerical precision</a></li>
|
||||
<li><a href="#org68b6613">2. Precision</a></li>
|
||||
<li><a href="#org5a769a1">3. Range</a></li>
|
||||
<li><a href="#orgd365108">4. Helper functions</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org267e7eb" class="outline-2">
|
||||
<h2 id="org267e7eb"><span class="section-number-2">1</span> Control of the numerical precision</h2>
|
||||
<div id="outline-container-orgd3877ec" class="outline-2">
|
||||
<h2 id="orgd3877ec"><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="org450195c" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orgcc53a6d" 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-org9d8329c" class="outline-2">
|
||||
<h2 id="org9d8329c"><span class="section-number-2">2</span> Precision</h2>
|
||||
<div id="outline-container-org68b6613" class="outline-2">
|
||||
<h2 id="org68b6613"><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-org92f1680" class="outline-2">
|
||||
<h2 id="org92f1680"><span class="section-number-2">3</span> Range</h2>
|
||||
<div id="outline-container-org5a769a1" class="outline-2">
|
||||
<h2 id="org5a769a1"><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-org47abbb8" class="outline-2">
|
||||
<h2 id="org47abbb8"><span class="section-number-2">4</span> Helper functions</h2>
|
||||
<div id="outline-container-orgd365108" class="outline-2">
|
||||
<h2 id="orgd365108"><span class="section-number-2">4</span> Helper functions</h2>
|
||||
<div class="outline-text-2" id="text-4">
|
||||
<p>
|
||||
<code>qmckl_get_numprec_epsilon</code> returns \(\epsilon = 2^{1-n}\) where <code>n</code> is the precision.
|
||||
@ -581,7 +581,7 @@ We need to remove the sign bit from the precision.
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: TREX CoE</p>
|
||||
<p class="date">Created: 2021-06-27 Sun 13:50</p>
|
||||
<p class="date">Created: 2021-07-07 Wed 17:10</p>
|
||||
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||
</div>
|
||||
</body>
|
||||
|
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2021-06-27 Sun 13:50 -->
|
||||
<!-- 2021-07-07 Wed 17:10 -->
|
||||
<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,20 +233,20 @@ for the JavaScript code in this tag.
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents">
|
||||
<ul>
|
||||
<li><a href="#orgfe89193">1. CHBrClF</a>
|
||||
<li><a href="#orgdecccbc">1. CHBrClF</a>
|
||||
<ul>
|
||||
<li><a href="#orgd18f068">1.1. XYZ coordinates</a></li>
|
||||
<li><a href="#org18fbf40">1.2. Atomic basis set</a></li>
|
||||
<li><a href="#org03f2a73">1.3. <span class="todo TODO">TODO</span> Molecular orbitals</a></li>
|
||||
<li><a href="#orge9dd9a4">1.4. Electron coordinates</a></li>
|
||||
<li><a href="#org08a51cb">1.1. XYZ coordinates</a></li>
|
||||
<li><a href="#org0f9fe91">1.2. Atomic basis set</a></li>
|
||||
<li><a href="#orgdbf5d0b">1.3. <span class="todo TODO">TODO</span> Molecular orbitals</a></li>
|
||||
<li><a href="#orga9c4987">1.4. Electron coordinates</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgfe89193" class="outline-2">
|
||||
<h2 id="orgfe89193"><span class="section-number-2">1</span> CHBrClF</h2>
|
||||
<div id="outline-container-orgdecccbc" class="outline-2">
|
||||
<h2 id="orgdecccbc"><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,
|
||||
@ -330,8 +330,8 @@ and with a high maximum angular momentum.
|
||||
</div>
|
||||
|
||||
|
||||
<div id="outline-container-orgd18f068" class="outline-3">
|
||||
<h3 id="orgd18f068"><span class="section-number-3">1.1</span> XYZ coordinates</h3>
|
||||
<div id="outline-container-org08a51cb" class="outline-3">
|
||||
<h3 id="org08a51cb"><span class="section-number-3">1.1</span> XYZ coordinates</h3>
|
||||
<div class="outline-text-3" id="text-1-1">
|
||||
<pre class="example">
|
||||
5
|
||||
@ -361,8 +361,8 @@ Nuclear coordinates are stored in atomic units in transposed format.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org18fbf40" class="outline-3">
|
||||
<h3 id="org18fbf40"><span class="section-number-3">1.2</span> Atomic basis set</h3>
|
||||
<div id="outline-container-org0f9fe91" class="outline-3">
|
||||
<h3 id="org0f9fe91"><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
|
||||
@ -1175,11 +1175,11 @@ F 1
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org03f2a73" class="outline-3">
|
||||
<h3 id="org03f2a73"><span class="section-number-3">1.3</span> <span class="todo TODO">TODO</span> Molecular orbitals</h3>
|
||||
<div id="outline-container-orgdbf5d0b" class="outline-3">
|
||||
<h3 id="orgdbf5d0b"><span class="section-number-3">1.3</span> <span class="todo TODO">TODO</span> Molecular orbitals</h3>
|
||||
</div>
|
||||
<div id="outline-container-orge9dd9a4" class="outline-3">
|
||||
<h3 id="orge9dd9a4"><span class="section-number-3">1.4</span> Electron coordinates</h3>
|
||||
<div id="outline-container-orga9c4987" class="outline-3">
|
||||
<h3 id="orga9c4987"><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.
|
||||
@ -1339,7 +1339,7 @@ Electron coordinates are stored in atomic units in normal format.
|
||||
</div>
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="date">Created: 2021-06-27 Sun 13:50</p>
|
||||
<p class="date">Created: 2021-07-07 Wed 17:10</p>
|
||||
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||
</div>
|
||||
</body>
|
||||
|
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2021-06-27 Sun 13:50 -->
|
||||
<!-- 2021-07-07 Wed 17:10 -->
|
||||
<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="#orgacb4834">1. Matrix operations</a>
|
||||
<li><a href="#orgc6bac21">1. Matrix operations</a>
|
||||
<ul>
|
||||
<li><a href="#org53617fd">1.1. <code>qmckl_transpose</code></a>
|
||||
<li><a href="#org0a35bc2">1.1. <code>qmckl_transpose</code></a>
|
||||
<ul>
|
||||
<li><a href="#org21004ab">1.1.1. Requirements</a></li>
|
||||
<li><a href="#orgafca809">1.1.2. C header</a></li>
|
||||
<li><a href="#org494dbd8">1.1.3. Source</a></li>
|
||||
<li><a href="#org62d511b">1.1.1. Requirements</a></li>
|
||||
<li><a href="#orgc308d9c">1.1.2. C header</a></li>
|
||||
<li><a href="#org9869807">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-orgacb4834" class="outline-2">
|
||||
<h2 id="orgacb4834"><span class="section-number-2">1</span> Matrix operations</h2>
|
||||
<div id="outline-container-orgc6bac21" class="outline-2">
|
||||
<h2 id="orgc6bac21"><span class="section-number-2">1</span> Matrix operations</h2>
|
||||
<div class="outline-text-2" id="text-1">
|
||||
</div>
|
||||
<div id="outline-container-org53617fd" class="outline-3">
|
||||
<h3 id="org53617fd"><span class="section-number-3">1.1</span> <code>qmckl_transpose</code></h3>
|
||||
<div id="outline-container-org0a35bc2" class="outline-3">
|
||||
<h3 id="org0a35bc2"><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="org92374d5" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orgeda4e02" 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-org21004ab" class="outline-4">
|
||||
<h4 id="org21004ab"><span class="section-number-4">1.1.1</span> Requirements</h4>
|
||||
<div id="outline-container-org62d511b" class="outline-4">
|
||||
<h4 id="org62d511b"><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-orgafca809" class="outline-4">
|
||||
<h4 id="orgafca809"><span class="section-number-4">1.1.2</span> C header</h4>
|
||||
<div id="outline-container-orgc308d9c" class="outline-4">
|
||||
<h4 id="orgc308d9c"><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-org494dbd8" class="outline-4">
|
||||
<h4 id="org494dbd8"><span class="section-number-4">1.1.3</span> Source</h4>
|
||||
<div id="outline-container-org9869807" class="outline-4">
|
||||
<h4 id="org9869807"><span class="section-number-4">1.1.3</span> Source</h4>
|
||||
<div class="outline-text-4" id="text-1-1-3">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-f90"><span style="color: #228b22;">integer </span><span style="color: #a020f0;">function</span><span style="color: #a0522d;"> </span><span style="color: #0000ff;">qmckl_transpose_f</span><span style="color: #000000; background-color: #ffffff;">(context, m, n, A, LDA, B, LDB)</span><span style="color: #a0522d;"> </span><span style="color: #a020f0;">&</span>
|
||||
@ -516,7 +516,7 @@ Transposes a matrix: \(B_{ji} = A_{ij}\)
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: TREX CoE</p>
|
||||
<p class="date">Created: 2021-06-27 Sun 13:50</p>
|
||||
<p class="date">Created: 2021-07-07 Wed 17:10</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