mirror of
https://github.com/TREX-CoE/qmckl.git
synced 2025-01-08 20:33:40 +01:00
Deploying to gh-pages from @ TREX-CoE/qmckl@e9f79c144a 🚀
This commit is contained in:
parent
5d64d3dae4
commit
f208e89560
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2022-02-04 Fri 09:23 -->
|
||||
<!-- 2022-02-09 Wed 13:39 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>QMCkl source code documentation</title>
|
||||
@ -361,7 +361,7 @@ and bug reports should be submitted at
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: TREX CoE</p>
|
||||
<p class="date">Created: 2022-02-04 Fri 09:23</p>
|
||||
<p class="date">Created: 2022-02-09 Wed 13:39</p>
|
||||
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||
</div>
|
||||
</body>
|
||||
|
118
qmckl.html
118
qmckl.html
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2022-02-04 Fri 09:23 -->
|
||||
<!-- 2022-02-09 Wed 13:38 -->
|
||||
<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,36 +333,36 @@ for the JavaScript code in this tag.
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents">
|
||||
<ul>
|
||||
<li><a href="#org3268f50">1. Installing QMCkl</a>
|
||||
<li><a href="#org09b5f4b">1. Installing QMCkl</a>
|
||||
<ul>
|
||||
<li><a href="#orgedebc67">1.1. Installing from the released tarball (for end users)</a></li>
|
||||
<li><a href="#org16300fc">1.2. Installing from the source repository (for developers)</a></li>
|
||||
<li><a href="#orgee89456">1.1. Installing from the released tarball (for end users)</a></li>
|
||||
<li><a href="#org2344b5e">1.2. Installing from the source repository (for developers)</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org3a2b604">2. Using QMCkl</a></li>
|
||||
<li><a href="#org573db27">3. Developing in QMCkl</a>
|
||||
<li><a href="#orgdbee95f">2. Using QMCkl</a></li>
|
||||
<li><a href="#org2774f96">3. Developing in QMCkl</a>
|
||||
<ul>
|
||||
<li><a href="#orgeace821">3.1. Literate programming</a></li>
|
||||
<li><a href="#org7cb18d7">3.2. Source code editing</a></li>
|
||||
<li><a href="#org2501777">3.3. Choice of the programming language</a></li>
|
||||
<li><a href="#org340679c">3.4. Coding rules</a></li>
|
||||
<li><a href="#org5284581">3.5. Design of the library</a></li>
|
||||
<li><a href="#orgb50c6f4">3.6. Naming conventions</a></li>
|
||||
<li><a href="#orgb73aa36">3.7. Application programming interface</a></li>
|
||||
<li><a href="#org0d9daa9">3.8. Global state</a></li>
|
||||
<li><a href="#orgba30a8a">3.9. Headers</a></li>
|
||||
<li><a href="#org762eadd">3.10. Low-level functions</a></li>
|
||||
<li><a href="#org3f4ca12">3.11. High-level functions</a></li>
|
||||
<li><a href="#orgb4e1ded">3.12. Numerical precision</a></li>
|
||||
<li><a href="#orge837be7">3.13. Algorithms</a></li>
|
||||
<li><a href="#org5133c05">3.1. Literate programming</a></li>
|
||||
<li><a href="#org78d16d9">3.2. Source code editing</a></li>
|
||||
<li><a href="#org568b372">3.3. Choice of the programming language</a></li>
|
||||
<li><a href="#orgfaf86eb">3.4. Coding rules</a></li>
|
||||
<li><a href="#org5b3ebe3">3.5. Design of the library</a></li>
|
||||
<li><a href="#org2d4e8f1">3.6. Naming conventions</a></li>
|
||||
<li><a href="#org1f8a288">3.7. Application programming interface</a></li>
|
||||
<li><a href="#org1e5656c">3.8. Global state</a></li>
|
||||
<li><a href="#orgb531842">3.9. Headers</a></li>
|
||||
<li><a href="#org302dc72">3.10. Low-level functions</a></li>
|
||||
<li><a href="#org0c8d997">3.11. High-level functions</a></li>
|
||||
<li><a href="#orgad4fe7b">3.12. Numerical precision</a></li>
|
||||
<li><a href="#org5de284b">3.13. Algorithms</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org3268f50" class="outline-2">
|
||||
<h2 id="org3268f50"><span class="section-number-2">1</span> Installing QMCkl</h2>
|
||||
<div id="outline-container-org09b5f4b" class="outline-2">
|
||||
<h2 id="org09b5f4b"><span class="section-number-2">1</span> Installing QMCkl</h2>
|
||||
<div class="outline-text-2" id="text-1">
|
||||
<p>
|
||||
The latest version fo QMCkl can be downloaded
|
||||
@ -371,8 +371,8 @@ The latest version fo QMCkl can be downloaded
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgedebc67" class="outline-3">
|
||||
<h3 id="orgedebc67"><span class="section-number-3">1.1</span> Installing from the released tarball (for end users)</h3>
|
||||
<div id="outline-container-orgee89456" class="outline-3">
|
||||
<h3 id="orgee89456"><span class="section-number-3">1.1</span> Installing from the released tarball (for end users)</h3>
|
||||
<div class="outline-text-3" id="text-1-1">
|
||||
<p>
|
||||
QMCkl is built with GNU Autotools, so the usual
|
||||
@ -387,8 +387,8 @@ options are defined using <code>CFLAGS</code> and <code>FCFLAGS</code>.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org16300fc" class="outline-3">
|
||||
<h3 id="org16300fc"><span class="section-number-3">1.2</span> Installing from the source repository (for developers)</h3>
|
||||
<div id="outline-container-org2344b5e" class="outline-3">
|
||||
<h3 id="org2344b5e"><span class="section-number-3">1.2</span> Installing from the source repository (for developers)</h3>
|
||||
<div class="outline-text-3" id="text-1-2">
|
||||
<p>
|
||||
To compile from the source repository, additional dependencies are
|
||||
@ -409,8 +409,8 @@ to be executed first.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org3a2b604" class="outline-2">
|
||||
<h2 id="org3a2b604"><span class="section-number-2">2</span> Using QMCkl</h2>
|
||||
<div id="outline-container-orgdbee95f" class="outline-2">
|
||||
<h2 id="orgdbee95f"><span class="section-number-2">2</span> Using QMCkl</h2>
|
||||
<div class="outline-text-2" id="text-2">
|
||||
<p>
|
||||
The <code>qmckl.h</code> header file installed in the <code>${prefix}/include</code> directory
|
||||
@ -439,12 +439,12 @@ Both files are located in the <code>include/</code> directory.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org573db27" class="outline-2">
|
||||
<h2 id="org573db27"><span class="section-number-2">3</span> Developing in QMCkl</h2>
|
||||
<div id="outline-container-org2774f96" class="outline-2">
|
||||
<h2 id="org2774f96"><span class="section-number-2">3</span> Developing in QMCkl</h2>
|
||||
<div class="outline-text-2" id="text-3">
|
||||
</div>
|
||||
<div id="outline-container-orgeace821" class="outline-3">
|
||||
<h3 id="orgeace821"><span class="section-number-3">3.1</span> Literate programming</h3>
|
||||
<div id="outline-container-org5133c05" class="outline-3">
|
||||
<h3 id="org5133c05"><span class="section-number-3">3.1</span> Literate programming</h3>
|
||||
<div class="outline-text-3" id="text-3-1">
|
||||
<p>
|
||||
In a traditional source code, most of the lines of source files of a program
|
||||
@ -494,8 +494,8 @@ tarball contains the generated source code.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org7cb18d7" class="outline-3">
|
||||
<h3 id="org7cb18d7"><span class="section-number-3">3.2</span> Source code editing</h3>
|
||||
<div id="outline-container-org78d16d9" class="outline-3">
|
||||
<h3 id="org78d16d9"><span class="section-number-3">3.2</span> Source code editing</h3>
|
||||
<div class="outline-text-3" id="text-3-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>.
|
||||
@ -526,8 +526,8 @@ org-mode.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org2501777" class="outline-3">
|
||||
<h3 id="org2501777"><span class="section-number-3">3.3</span> Choice of the programming language</h3>
|
||||
<div id="outline-container-org568b372" class="outline-3">
|
||||
<h3 id="org568b372"><span class="section-number-3">3.3</span> Choice of the programming language</h3>
|
||||
<div class="outline-text-3" id="text-3-3">
|
||||
<p>
|
||||
Most of the codes of the <a href="https://trex-coe.eu">TREX CoE</a> are written in Fortran with some
|
||||
@ -591,8 +591,8 @@ For more guidelines on using Fortran to generate a C interface, see
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org340679c" class="outline-3">
|
||||
<h3 id="org340679c"><span class="section-number-3">3.4</span> Coding rules</h3>
|
||||
<div id="outline-container-orgfaf86eb" class="outline-3">
|
||||
<h3 id="orgfaf86eb"><span class="section-number-3">3.4</span> Coding rules</h3>
|
||||
<div class="outline-text-3" id="text-3-4">
|
||||
<p>
|
||||
The authors should follow the recommendations of the C99
|
||||
@ -612,8 +612,8 @@ make cppcheck ; cat cppcheck.out
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org5284581" class="outline-3">
|
||||
<h3 id="org5284581"><span class="section-number-3">3.5</span> Design of the library</h3>
|
||||
<div id="outline-container-org5b3ebe3" class="outline-3">
|
||||
<h3 id="org5b3ebe3"><span class="section-number-3">3.5</span> Design of the library</h3>
|
||||
<div class="outline-text-3" id="text-3-5">
|
||||
<p>
|
||||
The proposed API should allow the library to: deal with memory transfers
|
||||
@ -624,8 +624,8 @@ functions (see below).
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgb50c6f4" class="outline-3">
|
||||
<h3 id="orgb50c6f4"><span class="section-number-3">3.6</span> Naming conventions</h3>
|
||||
<div id="outline-container-org2d4e8f1" class="outline-3">
|
||||
<h3 id="org2d4e8f1"><span class="section-number-3">3.6</span> Naming conventions</h3>
|
||||
<div class="outline-text-3" id="text-3-6">
|
||||
<p>
|
||||
To avoid namespace collisions, we use <code>qmckl_</code> as a prefix for all exported
|
||||
@ -646,8 +646,8 @@ form is allowed.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgb73aa36" class="outline-3">
|
||||
<h3 id="orgb73aa36"><span class="section-number-3">3.7</span> Application programming interface</h3>
|
||||
<div id="outline-container-org1f8a288" class="outline-3">
|
||||
<h3 id="org1f8a288"><span class="section-number-3">3.7</span> Application programming interface</h3>
|
||||
<div class="outline-text-3" id="text-3-7">
|
||||
<p>
|
||||
In the C language, the number of bits used by the integer types can change
|
||||
@ -679,15 +679,15 @@ bindings in other languages in other repositories.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org0d9daa9" class="outline-3">
|
||||
<h3 id="org0d9daa9"><span class="section-number-3">3.8</span> Global state</h3>
|
||||
<div id="outline-container-org1e5656c" class="outline-3">
|
||||
<h3 id="org1e5656c"><span class="section-number-3">3.8</span> Global state</h3>
|
||||
<div class="outline-text-3" id="text-3-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="orgc35cc0b">=context=</a> contains the global
|
||||
<code>qmckl_context_create</code> function. The <a id="org77c8bb7">=context=</a> contains the global
|
||||
state of the library, and is used as the first argument of many
|
||||
QMCkl functions.
|
||||
</p>
|
||||
@ -701,8 +701,8 @@ the state is done by setters and getters, prefixed by
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgba30a8a" class="outline-3">
|
||||
<h3 id="orgba30a8a"><span class="section-number-3">3.9</span> Headers</h3>
|
||||
<div id="outline-container-orgb531842" class="outline-3">
|
||||
<h3 id="orgb531842"><span class="section-number-3">3.9</span> Headers</h3>
|
||||
<div class="outline-text-3" id="text-3-9">
|
||||
<p>
|
||||
A single <code>qmckl.h</code> header to be distributed by the library
|
||||
@ -790,8 +790,8 @@ and the types definitions should be written in the <code>*fh_type.f90</code> fil
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org762eadd" class="outline-3">
|
||||
<h3 id="org762eadd"><span class="section-number-3">3.10</span> Low-level functions</h3>
|
||||
<div id="outline-container-org302dc72" class="outline-3">
|
||||
<h3 id="org302dc72"><span class="section-number-3">3.10</span> Low-level functions</h3>
|
||||
<div class="outline-text-3" id="text-3-10">
|
||||
<p>
|
||||
Low-level functions are very simple functions which are leaves of
|
||||
@ -800,14 +800,14 @@ the function call tree (they don't call any other QMCkl function).
|
||||
|
||||
<p>
|
||||
These functions are <i>pure</i>, and unaware of the QMCkl
|
||||
<a href="#orgc35cc0b"><code>context</code></a>. They are not allowed to allocate/deallocate memory, and
|
||||
<a href="#org77c8bb7"><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-org3f4ca12" class="outline-3">
|
||||
<h3 id="org3f4ca12"><span class="section-number-3">3.11</span> High-level functions</h3>
|
||||
<div id="outline-container-org0c8d997" class="outline-3">
|
||||
<h3 id="org0c8d997"><span class="section-number-3">3.11</span> High-level functions</h3>
|
||||
<div class="outline-text-3" id="text-3-11">
|
||||
<p>
|
||||
High-level functions are at the top of the function call tree.
|
||||
@ -819,8 +819,8 @@ temporary storage, to simplify the use of accelerators.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgb4e1ded" class="outline-3">
|
||||
<h3 id="orgb4e1ded"><span class="section-number-3">3.12</span> Numerical precision</h3>
|
||||
<div id="outline-container-orgad4fe7b" class="outline-3">
|
||||
<h3 id="orgad4fe7b"><span class="section-number-3">3.12</span> Numerical precision</h3>
|
||||
<div class="outline-text-3" id="text-3-12">
|
||||
<p>
|
||||
The minimal number of bits of precision required for a function
|
||||
@ -828,7 +828,7 @@ should be given as an input of low-level computational
|
||||
functions. This input will be used to define the values of the
|
||||
different thresholds that might be used to avoid computing
|
||||
unnecessary noise. High-level functions will use the precision
|
||||
specified in the <a href="#orgc35cc0b"><code>context</code></a> variable.
|
||||
specified in the <a href="#org77c8bb7"><code>context</code></a> variable.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
@ -896,8 +896,8 @@ following points :
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orge837be7" class="outline-3">
|
||||
<h3 id="orge837be7"><span class="section-number-3">3.13</span> Algorithms</h3>
|
||||
<div id="outline-container-org5de284b" class="outline-3">
|
||||
<h3 id="org5de284b"><span class="section-number-3">3.13</span> Algorithms</h3>
|
||||
<div class="outline-text-3" id="text-3-13">
|
||||
<p>
|
||||
Reducing the scaling of an algorithm usually implies also reducing
|
||||
@ -913,7 +913,7 @@ implemented adapted to different problem sizes.
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: TREX CoE</p>
|
||||
<p class="date">Created: 2022-02-04 Fri 09:23</p>
|
||||
<p class="date">Created: 2022-02-09 Wed 13:38</p>
|
||||
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||
</div>
|
||||
</body>
|
||||
|
150
qmckl_ao.html
150
qmckl_ao.html
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2022-02-04 Fri 09:23 -->
|
||||
<!-- 2022-02-09 Wed 13:39 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>Atomic Orbitals</title>
|
||||
@ -333,53 +333,53 @@ for the JavaScript code in this tag.
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents">
|
||||
<ul>
|
||||
<li><a href="#org473fb86">1. Introduction</a></li>
|
||||
<li><a href="#org5a6066f">2. Context</a>
|
||||
<li><a href="#org39f185a">1. Introduction</a></li>
|
||||
<li><a href="#org0fe4dbf">2. Context</a>
|
||||
<ul>
|
||||
<li><a href="#org8d8cb18">2.1. Constant data</a>
|
||||
<li><a href="#orgeca7bcf">2.1. Constant data</a>
|
||||
<ul>
|
||||
<li><a href="#orgc4a1fc9">2.1.1. Initialization functions</a>
|
||||
<li><a href="#org9cb6fef">2.1.1. Initialization functions</a>
|
||||
<ul>
|
||||
<li><a href="#org41bca17">2.1.1.1. C interface</a></li>
|
||||
<li><a href="#org93fe5fa">2.1.1.2. Fortran interface</a></li>
|
||||
<li><a href="#orgbab797d">2.1.1.1. C interface</a></li>
|
||||
<li><a href="#org27b301d">2.1.1.2. Fortran interface</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org5c8f82f">2.1.2. Access functions</a>
|
||||
<li><a href="#orge0e6e36">2.1.2. Access functions</a>
|
||||
<ul>
|
||||
<li><a href="#org22f5a51">2.1.2.1. C interface</a></li>
|
||||
<li><a href="#org3ba1bf0">2.1.2.2. Fortran interface</a></li>
|
||||
<li><a href="#org467a553">2.1.2.1. C interface</a></li>
|
||||
<li><a href="#orga5e29c7">2.1.2.2. Fortran interface</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org169e59f">2.2. Computed data</a>
|
||||
<li><a href="#orgc8985e7">2.2. Computed data</a>
|
||||
<ul>
|
||||
<li><a href="#org67facd2">2.2.1. After initialization</a></li>
|
||||
<li><a href="#org2bd645a">2.2.2. Access functions</a></li>
|
||||
<li><a href="#org5e68677">2.2.1. After initialization</a></li>
|
||||
<li><a href="#org035f458">2.2.2. Access functions</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgd06cca0">3. Radial part</a>
|
||||
<li><a href="#org07fc321">3. Radial part</a>
|
||||
<ul>
|
||||
<li><a href="#org47131af">3.1. General functions for Gaussian basis functions</a></li>
|
||||
<li><a href="#orgc7e89ea">3.2. Computation of primitives</a></li>
|
||||
<li><a href="#org694dbf9">3.3. Computation of shells</a></li>
|
||||
<li><a href="#orgd9685c6">3.1. General functions for Gaussian basis functions</a></li>
|
||||
<li><a href="#orgdfce3a9">3.2. Computation of primitives</a></li>
|
||||
<li><a href="#orge0045ad">3.3. Computation of shells</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org4c561b3">4. Polynomial part</a>
|
||||
<li><a href="#org812158e">4. Polynomial part</a>
|
||||
<ul>
|
||||
<li><a href="#orga6de2df">4.1. General functions for Powers of \(x-X_i\)</a></li>
|
||||
<li><a href="#org0d57e50">4.2. General functions for Value, Gradient and Laplacian of a polynomial</a></li>
|
||||
<li><a href="#org76d05f1">4.1. General functions for Powers of \(x-X_i\)</a></li>
|
||||
<li><a href="#org14ffe29">4.2. General functions for Value, Gradient and Laplacian of a polynomial</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org79395f6">5. Combining radial and polynomial parts</a></li>
|
||||
<li><a href="#org161b5cd">5. Combining radial and polynomial parts</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org473fb86" class="outline-2">
|
||||
<h2 id="org473fb86"><span class="section-number-2">1</span> Introduction</h2>
|
||||
<div id="outline-container-org39f185a" class="outline-2">
|
||||
<h2 id="org39f185a"><span class="section-number-2">1</span> Introduction</h2>
|
||||
<div class="outline-text-2" id="text-1">
|
||||
<p>
|
||||
The atomic basis set is defined as a list of shells. Each shell \(s\) is
|
||||
@ -432,19 +432,19 @@ gradients and Laplacian of the atomic basis functions.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org5a6066f" class="outline-2">
|
||||
<h2 id="org5a6066f"><span class="section-number-2">2</span> Context</h2>
|
||||
<div id="outline-container-org0fe4dbf" class="outline-2">
|
||||
<h2 id="org0fe4dbf"><span class="section-number-2">2</span> Context</h2>
|
||||
<div class="outline-text-2" id="text-2">
|
||||
</div>
|
||||
<div id="outline-container-org8d8cb18" class="outline-3">
|
||||
<h3 id="org8d8cb18"><span class="section-number-3">2.1</span> Constant data</h3>
|
||||
<div id="outline-container-orgeca7bcf" class="outline-3">
|
||||
<h3 id="orgeca7bcf"><span class="section-number-3">2.1</span> Constant data</h3>
|
||||
<div class="outline-text-3" id="text-2-1">
|
||||
<p>
|
||||
The following arrays are stored in the context, and need to be set
|
||||
when initializing the library:
|
||||
</p>
|
||||
|
||||
<table id="org52a23ab" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org6db3dbe" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -618,7 +618,7 @@ calling the functions:
|
||||
</p>
|
||||
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-C" id="orgc59485a"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_set_ao_basis_$V$</span> ( <span style="color: #228b22;">qmckl_context</span> <span style="color: #a0522d;">context</span>,
|
||||
<pre class="src src-C" id="org21dba72"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_set_ao_basis_$V$</span> ( <span style="color: #228b22;">qmckl_context</span> <span style="color: #a0522d;">context</span>,
|
||||
<span style="color: #a020f0;">const</span> $type_of_V$ $V$);
|
||||
|
||||
<span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_get_ao_basis_$V$</span> ( <span style="color: #a020f0;">const</span> <span style="color: #228b22;">qmckl_context</span> <span style="color: #a0522d;">context</span>,
|
||||
@ -655,7 +655,7 @@ For array variables, use the rule:
|
||||
</p>
|
||||
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-C" id="org4089759"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_set_ao_basis_$V$</span> ( <span style="color: #228b22;">qmckl_context</span> <span style="color: #a0522d;">context</span>,
|
||||
<pre class="src src-C" id="org5932ebd"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_set_ao_basis_$V$</span> ( <span style="color: #228b22;">qmckl_context</span> <span style="color: #a0522d;">context</span>,
|
||||
<span style="color: #a020f0;">const</span> $type_of_V$ $V$,
|
||||
<span style="color: #a020f0;">const</span> <span style="color: #228b22;">int64_t</span> <span style="color: #a0522d;">size_max</span>);
|
||||
|
||||
@ -693,17 +693,17 @@ For array variables, use the rule:
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgc4a1fc9" class="outline-4">
|
||||
<h4 id="orgc4a1fc9"><span class="section-number-4">2.1.1</span> Initialization functions</h4>
|
||||
<div id="outline-container-org9cb6fef" class="outline-4">
|
||||
<h4 id="org9cb6fef"><span class="section-number-4">2.1.1</span> Initialization functions</h4>
|
||||
<div class="outline-text-4" id="text-2-1-1">
|
||||
<p>
|
||||
<code>size_max</code> is the dimension of the input array, which should be
|
||||
equal of larger than the value given in the table of section <a href="#org5a6066f">2</a>.
|
||||
equal of larger than the value given in the table of section <a href="#org0fe4dbf">2</a>.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org41bca17" class="outline-5">
|
||||
<h5 id="org41bca17"><span class="section-number-5">2.1.1.1</span> C interface</h5>
|
||||
<div id="outline-container-orgbab797d" class="outline-5">
|
||||
<h5 id="orgbab797d"><span class="section-number-5">2.1.1.1</span> C interface</h5>
|
||||
<div class="outline-text-5" id="text-2-1-1-1">
|
||||
<p>
|
||||
To set the basis set, all the following functions need to be
|
||||
@ -827,8 +827,8 @@ called.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org93fe5fa" class="outline-5">
|
||||
<h5 id="org93fe5fa"><span class="section-number-5">2.1.1.2</span> Fortran interface</h5>
|
||||
<div id="outline-container-org27b301d" class="outline-5">
|
||||
<h5 id="org27b301d"><span class="section-number-5">2.1.1.2</span> Fortran interface</h5>
|
||||
<div class="outline-text-5" id="text-2-1-1-2">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-f90"><span style="color: #a020f0;">interface</span>
|
||||
@ -1011,17 +1011,17 @@ called.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org5c8f82f" class="outline-4">
|
||||
<h4 id="org5c8f82f"><span class="section-number-4">2.1.2</span> Access functions</h4>
|
||||
<div id="outline-container-orge0e6e36" class="outline-4">
|
||||
<h4 id="orge0e6e36"><span class="section-number-4">2.1.2</span> Access functions</h4>
|
||||
<div class="outline-text-4" id="text-2-1-2">
|
||||
<p>
|
||||
<code>size_max</code> is the dimension of the input array, which should be
|
||||
equal of larger than the value given in the table of section <a href="#org5a6066f">2</a>.
|
||||
equal of larger than the value given in the table of section <a href="#org0fe4dbf">2</a>.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org22f5a51" class="outline-5">
|
||||
<h5 id="org22f5a51"><span class="section-number-5">2.1.2.1</span> C interface</h5>
|
||||
<div id="outline-container-org467a553" class="outline-5">
|
||||
<h5 id="org467a553"><span class="section-number-5">2.1.2.1</span> C interface</h5>
|
||||
<div class="outline-text-5" id="text-2-1-2-1">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span>
|
||||
@ -1143,8 +1143,8 @@ function returns <code>true</code>.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org3ba1bf0" class="outline-5">
|
||||
<h5 id="org3ba1bf0"><span class="section-number-5">2.1.2.2</span> Fortran interface</h5>
|
||||
<div id="outline-container-orga5e29c7" class="outline-5">
|
||||
<h5 id="orga5e29c7"><span class="section-number-5">2.1.2.2</span> Fortran interface</h5>
|
||||
<div class="outline-text-5" id="text-2-1-2-2">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-f90"><span style="color: #a020f0;">interface</span>
|
||||
@ -1328,8 +1328,8 @@ function returns <code>true</code>.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org169e59f" class="outline-3">
|
||||
<h3 id="org169e59f"><span class="section-number-3">2.2</span> Computed data</h3>
|
||||
<div id="outline-container-orgc8985e7" class="outline-3">
|
||||
<h3 id="orgc8985e7"><span class="section-number-3">2.2</span> Computed data</h3>
|
||||
<div class="outline-text-3" id="text-2-2">
|
||||
<p>
|
||||
The following data is computed as described in the next sections:
|
||||
@ -1393,8 +1393,8 @@ The following data is computed as described in the next sections:
|
||||
</div>
|
||||
|
||||
|
||||
<div id="outline-container-org67facd2" class="outline-4">
|
||||
<h4 id="org67facd2"><span class="section-number-4">2.2.1</span> After initialization</h4>
|
||||
<div id="outline-container-org5e68677" class="outline-4">
|
||||
<h4 id="org5e68677"><span class="section-number-4">2.2.1</span> After initialization</h4>
|
||||
<div class="outline-text-4" id="text-2-2-1">
|
||||
<p>
|
||||
When the basis set is completely entered, extra data structures may be
|
||||
@ -1408,8 +1408,8 @@ the context.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org2bd645a" class="outline-4">
|
||||
<h4 id="org2bd645a"><span class="section-number-4">2.2.2</span> Access functions</h4>
|
||||
<div id="outline-container-org035f458" class="outline-4">
|
||||
<h4 id="org035f458"><span class="section-number-4">2.2.2</span> Access functions</h4>
|
||||
<div class="outline-text-4" id="text-2-2-2">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span>
|
||||
@ -1422,7 +1422,7 @@ the context.
|
||||
<p>
|
||||
Returns the array of values, gradients an Laplacian of primitive
|
||||
basis functions evaluated at the current coordinates.
|
||||
See section <a href="#orgc7e89ea">3.2</a>.
|
||||
See section <a href="#orgdfce3a9">3.2</a>.
|
||||
</p>
|
||||
|
||||
<div class="org-src-container">
|
||||
@ -1435,7 +1435,7 @@ See section <a href="#orgc7e89ea">3.2</a>.
|
||||
|
||||
<p>
|
||||
Returns the array of values, gradients an Laplacian of contracted shells
|
||||
evaluated at the current coordinates. See section <a href="#org694dbf9">3.3</a>.
|
||||
evaluated at the current coordinates. See section <a href="#orge0045ad">3.3</a>.
|
||||
</p>
|
||||
|
||||
<div class="org-src-container">
|
||||
@ -1449,19 +1449,19 @@ evaluated at the current coordinates. See section <a href="#org694dbf9">3.3</a>.
|
||||
<p>
|
||||
Returns the array of values, gradients an Laplacian of the atomic orbitals
|
||||
evaluated at the current coordinates.
|
||||
See section <a href="#org79395f6">5</a>.
|
||||
See section <a href="#org161b5cd">5</a>.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgd06cca0" class="outline-2">
|
||||
<h2 id="orgd06cca0"><span class="section-number-2">3</span> Radial part</h2>
|
||||
<div id="outline-container-org07fc321" class="outline-2">
|
||||
<h2 id="org07fc321"><span class="section-number-2">3</span> Radial part</h2>
|
||||
<div class="outline-text-2" id="text-3">
|
||||
</div>
|
||||
<div id="outline-container-org47131af" class="outline-3">
|
||||
<h3 id="org47131af"><span class="section-number-3">3.1</span> General functions for Gaussian basis functions</h3>
|
||||
<div id="outline-container-orgd9685c6" class="outline-3">
|
||||
<h3 id="orgd9685c6"><span class="section-number-3">3.1</span> General functions for Gaussian basis functions</h3>
|
||||
<div class="outline-text-3" id="text-3-1">
|
||||
<p>
|
||||
<code>qmckl_ao_gaussian_vgl</code> computes the values, gradients and
|
||||
@ -1632,10 +1632,10 @@ Requirements:
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgc7e89ea" class="outline-3">
|
||||
<h3 id="orgc7e89ea"><span class="section-number-3">3.2</span> Computation of primitives</h3>
|
||||
<div id="outline-container-orgdfce3a9" class="outline-3">
|
||||
<h3 id="orgdfce3a9"><span class="section-number-3">3.2</span> Computation of primitives</h3>
|
||||
<div class="outline-text-3" id="text-3-2">
|
||||
<table id="org8358186" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org86ab16b" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -1794,10 +1794,10 @@ Requirements:
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org694dbf9" class="outline-3">
|
||||
<h3 id="org694dbf9"><span class="section-number-3">3.3</span> Computation of shells</h3>
|
||||
<div id="outline-container-orge0045ad" class="outline-3">
|
||||
<h3 id="orge0045ad"><span class="section-number-3">3.3</span> Computation of shells</h3>
|
||||
<div class="outline-text-3" id="text-3-3">
|
||||
<table id="org8e4ac06" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orgfd0d786" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -2036,8 +2036,8 @@ Requirements:
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org4c561b3" class="outline-2">
|
||||
<h2 id="org4c561b3"><span class="section-number-2">4</span> Polynomial part</h2>
|
||||
<div id="outline-container-org812158e" class="outline-2">
|
||||
<h2 id="org812158e"><span class="section-number-2">4</span> Polynomial part</h2>
|
||||
<div class="outline-text-2" id="text-4">
|
||||
<p>
|
||||
Going from the atomic basis set to AOs implies a systematic
|
||||
@ -2057,8 +2057,8 @@ f & : & f_{xxx}, f_{xxy}, f_{xxz}, f_{xyy}, f_{xyz}, f_{xzz}, f_{yyy}, f_{yyz},
|
||||
\end{eqnarray}
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orga6de2df" class="outline-3">
|
||||
<h3 id="orga6de2df"><span class="section-number-3">4.1</span> General functions for Powers of \(x-X_i\)</h3>
|
||||
<div id="outline-container-org76d05f1" class="outline-3">
|
||||
<h3 id="org76d05f1"><span class="section-number-3">4.1</span> General functions for Powers of \(x-X_i\)</h3>
|
||||
<div class="outline-text-3" id="text-4-1">
|
||||
<p>
|
||||
The <code>qmckl_ao_power</code> function computes all the powers of the <code>n</code>
|
||||
@ -2070,7 +2070,7 @@ the \(n\) points:
|
||||
\[ P_{ik} = X_i^k \]
|
||||
</p>
|
||||
|
||||
<table id="org1700c4c" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org44af982" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -2208,8 +2208,8 @@ Requirements:
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org0d57e50" class="outline-3">
|
||||
<h3 id="org0d57e50"><span class="section-number-3">4.2</span> General functions for Value, Gradient and Laplacian of a polynomial</h3>
|
||||
<div id="outline-container-org14ffe29" class="outline-3">
|
||||
<h3 id="org14ffe29"><span class="section-number-3">4.2</span> General functions for Value, Gradient and Laplacian of a polynomial</h3>
|
||||
<div class="outline-text-3" id="text-4-2">
|
||||
<p>
|
||||
A polynomial is centered on a nucleus \(\mathbf{R}_i\)
|
||||
@ -2254,7 +2254,7 @@ Laplacians at a given point in space, of all polynomials with an
|
||||
angular momentum up to <code>lmax</code>.
|
||||
</p>
|
||||
|
||||
<table id="org70d81c3" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org77c1aac" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -2514,10 +2514,10 @@ For example, with a=0, b=2 and c=1 the string is "yyz"</li>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org79395f6" class="outline-2">
|
||||
<h2 id="org79395f6"><span class="section-number-2">5</span> Combining radial and polynomial parts</h2>
|
||||
<div id="outline-container-org161b5cd" class="outline-2">
|
||||
<h2 id="org161b5cd"><span class="section-number-2">5</span> Combining radial and polynomial parts</h2>
|
||||
<div class="outline-text-2" id="text-5">
|
||||
<table id="orgae01efc" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orgf2f4c5b" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -2795,7 +2795,7 @@ For example, with a=0, b=2 and c=1 the string is "yyz"</li>
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: TREX CoE</p>
|
||||
<p class="date">Created: 2022-02-04 Fri 09:23</p>
|
||||
<p class="date">Created: 2022-02-09 Wed 13:39</p>
|
||||
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||
</div>
|
||||
</body>
|
||||
|
130
qmckl_blas.html
130
qmckl_blas.html
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2022-02-04 Fri 09:24 -->
|
||||
<!-- 2022-02-09 Wed 13:39 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>BLAS functions</title>
|
||||
@ -333,34 +333,34 @@ for the JavaScript code in this tag.
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents">
|
||||
<ul>
|
||||
<li><a href="#org41e14bf">1. Data types</a>
|
||||
<li><a href="#org47a88ed">1. Data types</a>
|
||||
<ul>
|
||||
<li><a href="#orgaad8a7a">1.1. Vector</a></li>
|
||||
<li><a href="#org8aa57a5">1.2. Matrix</a></li>
|
||||
<li><a href="#org4a2632c">1.3. Tensor</a></li>
|
||||
<li><a href="#org02f3d82">1.4. Reshaping</a>
|
||||
<li><a href="#orgce0e610">1.1. Vector</a></li>
|
||||
<li><a href="#orgc1c3f02">1.2. Matrix</a></li>
|
||||
<li><a href="#orge306e48">1.3. Tensor</a></li>
|
||||
<li><a href="#org3406d23">1.4. Reshaping</a>
|
||||
<ul>
|
||||
<li><a href="#org3ecd47a">1.4.1. Vector -> Matrix</a></li>
|
||||
<li><a href="#orgd6384fc">1.4.2. Vector -> Tensor</a></li>
|
||||
<li><a href="#orgb0e007d">1.4.3. Matrix -> Vector</a></li>
|
||||
<li><a href="#org007395a">1.4.4. Matrix -> Tensor</a></li>
|
||||
<li><a href="#org7a4ad9e">1.4.5. Tensor -> Vector</a></li>
|
||||
<li><a href="#org9987c81">1.4.6. Tensor -> Matrix</a></li>
|
||||
<li><a href="#org3bb0988">1.4.1. Vector -> Matrix</a></li>
|
||||
<li><a href="#orgc7845f4">1.4.2. Vector -> Tensor</a></li>
|
||||
<li><a href="#org9377ec5">1.4.3. Matrix -> Vector</a></li>
|
||||
<li><a href="#org22bd58b">1.4.4. Matrix -> Tensor</a></li>
|
||||
<li><a href="#org6104c84">1.4.5. Tensor -> Vector</a></li>
|
||||
<li><a href="#org39765b8">1.4.6. Tensor -> Matrix</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orga27b040">1.5. Access macros</a></li>
|
||||
<li><a href="#org5999f51">1.6. Copy to/from to <code>double*</code></a></li>
|
||||
<li><a href="#org1b6f6a6">1.7. Tests</a></li>
|
||||
<li><a href="#orga0d0490">1.5. Access macros</a></li>
|
||||
<li><a href="#org4e7a02b">1.6. Copy to/from to <code>double*</code></a></li>
|
||||
<li><a href="#orge50c741">1.7. Tests</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org7309838">2. Matrix operations</a>
|
||||
<li><a href="#org7bfa65b">2. Matrix operations</a>
|
||||
<ul>
|
||||
<li><a href="#org0142f58">2.1. <code>qmckl_dgemm</code></a></li>
|
||||
<li><a href="#org86d35b0">2.2. <code>qmckl_matmul</code></a></li>
|
||||
<li><a href="#org10277f0">2.3. <code>qmckl_adjugate</code></a></li>
|
||||
<li><a href="#orgec5b5c8">2.4. <code>qmckl_transpose</code></a>
|
||||
<li><a href="#orga51962a">2.1. <code>qmckl_dgemm</code></a></li>
|
||||
<li><a href="#orgac566a9">2.2. <code>qmckl_matmul</code></a></li>
|
||||
<li><a href="#org46b59a3">2.3. <code>qmckl_adjugate</code></a></li>
|
||||
<li><a href="#org6c976f3">2.4. <code>qmckl_transpose</code></a>
|
||||
<ul>
|
||||
<li><a href="#org8b71f10">2.4.1. Test</a></li>
|
||||
<li><a href="#org2526db1">2.4.1. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@ -369,12 +369,12 @@ for the JavaScript code in this tag.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org41e14bf" class="outline-2">
|
||||
<h2 id="org41e14bf"><span class="section-number-2">1</span> Data types</h2>
|
||||
<div id="outline-container-org47a88ed" class="outline-2">
|
||||
<h2 id="org47a88ed"><span class="section-number-2">1</span> Data types</h2>
|
||||
<div class="outline-text-2" id="text-1">
|
||||
</div>
|
||||
<div id="outline-container-orgaad8a7a" class="outline-3">
|
||||
<h3 id="orgaad8a7a"><span class="section-number-3">1.1</span> Vector</h3>
|
||||
<div id="outline-container-orgce0e610" class="outline-3">
|
||||
<h3 id="orgce0e610"><span class="section-number-3">1.1</span> Vector</h3>
|
||||
<div class="outline-text-3" id="text-1-1">
|
||||
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
@ -483,8 +483,8 @@ Allocates a new vector. If the allocation failed the size is zero.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org8aa57a5" class="outline-3">
|
||||
<h3 id="org8aa57a5"><span class="section-number-3">1.2</span> Matrix</h3>
|
||||
<div id="outline-container-orgc1c3f02" class="outline-3">
|
||||
<h3 id="orgc1c3f02"><span class="section-number-3">1.2</span> Matrix</h3>
|
||||
<div class="outline-text-3" id="text-1-2">
|
||||
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
@ -604,8 +604,8 @@ Allocates a new matrix. If the allocation failed the sizes are zero.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org4a2632c" class="outline-3">
|
||||
<h3 id="org4a2632c"><span class="section-number-3">1.3</span> Tensor</h3>
|
||||
<div id="outline-container-orge306e48" class="outline-3">
|
||||
<h3 id="orge306e48"><span class="section-number-3">1.3</span> Tensor</h3>
|
||||
<div class="outline-text-3" id="text-1-3">
|
||||
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
@ -741,16 +741,16 @@ is zero.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org02f3d82" class="outline-3">
|
||||
<h3 id="org02f3d82"><span class="section-number-3">1.4</span> Reshaping</h3>
|
||||
<div id="outline-container-org3406d23" class="outline-3">
|
||||
<h3 id="org3406d23"><span class="section-number-3">1.4</span> Reshaping</h3>
|
||||
<div class="outline-text-3" id="text-1-4">
|
||||
<p>
|
||||
Reshaping occurs in-place and the pointer to the data is copied.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org3ecd47a" class="outline-4">
|
||||
<h4 id="org3ecd47a"><span class="section-number-4">1.4.1</span> Vector -> Matrix</h4>
|
||||
<div id="outline-container-org3bb0988" class="outline-4">
|
||||
<h4 id="org3bb0988"><span class="section-number-4">1.4.1</span> Vector -> Matrix</h4>
|
||||
<div class="outline-text-4" id="text-1-4-1">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_matrix</span>
|
||||
@ -786,8 +786,8 @@ Reshapes a vector into a matrix.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgd6384fc" class="outline-4">
|
||||
<h4 id="orgd6384fc"><span class="section-number-4">1.4.2</span> Vector -> Tensor</h4>
|
||||
<div id="outline-container-orgc7845f4" class="outline-4">
|
||||
<h4 id="orgc7845f4"><span class="section-number-4">1.4.2</span> Vector -> Tensor</h4>
|
||||
<div class="outline-text-4" id="text-1-4-2">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_tensor</span>
|
||||
@ -825,8 +825,8 @@ Reshapes a vector into a tensor.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgb0e007d" class="outline-4">
|
||||
<h4 id="orgb0e007d"><span class="section-number-4">1.4.3</span> Matrix -> Vector</h4>
|
||||
<div id="outline-container-org9377ec5" class="outline-4">
|
||||
<h4 id="org9377ec5"><span class="section-number-4">1.4.3</span> Matrix -> Vector</h4>
|
||||
<div class="outline-text-4" id="text-1-4-3">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_vector</span>
|
||||
@ -854,8 +854,8 @@ Reshapes a matrix into a vector.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org007395a" class="outline-4">
|
||||
<h4 id="org007395a"><span class="section-number-4">1.4.4</span> Matrix -> Tensor</h4>
|
||||
<div id="outline-container-org22bd58b" class="outline-4">
|
||||
<h4 id="org22bd58b"><span class="section-number-4">1.4.4</span> Matrix -> Tensor</h4>
|
||||
<div class="outline-text-4" id="text-1-4-4">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_tensor</span>
|
||||
@ -893,8 +893,8 @@ Reshapes a matrix into a tensor.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org7a4ad9e" class="outline-4">
|
||||
<h4 id="org7a4ad9e"><span class="section-number-4">1.4.5</span> Tensor -> Vector</h4>
|
||||
<div id="outline-container-org6104c84" class="outline-4">
|
||||
<h4 id="org6104c84"><span class="section-number-4">1.4.5</span> Tensor -> Vector</h4>
|
||||
<div class="outline-text-4" id="text-1-4-5">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_vector</span>
|
||||
@ -927,8 +927,8 @@ Reshapes a tensor into a vector.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org9987c81" class="outline-4">
|
||||
<h4 id="org9987c81"><span class="section-number-4">1.4.6</span> Tensor -> Matrix</h4>
|
||||
<div id="outline-container-org39765b8" class="outline-4">
|
||||
<h4 id="org39765b8"><span class="section-number-4">1.4.6</span> Tensor -> Matrix</h4>
|
||||
<div class="outline-text-4" id="text-1-4-6">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_matrix</span>
|
||||
@ -969,8 +969,8 @@ Reshapes a tensor into a vector.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orga27b040" class="outline-3">
|
||||
<h3 id="orga27b040"><span class="section-number-3">1.5</span> Access macros</h3>
|
||||
<div id="outline-container-orga0d0490" class="outline-3">
|
||||
<h3 id="orga0d0490"><span class="section-number-3">1.5</span> Access macros</h3>
|
||||
<div class="outline-text-3" id="text-1-5">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #483d8b;">#define</span> <span style="color: #0000ff;">qmckl_vec</span>(<span style="color: #a0522d;">v</span>, <span style="color: #a0522d;">i</span>) v.data[i]
|
||||
@ -984,8 +984,8 @@ Reshapes a tensor into a vector.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org5999f51" class="outline-3">
|
||||
<h3 id="org5999f51"><span class="section-number-3">1.6</span> Copy to/from to <code>double*</code></h3>
|
||||
<div id="outline-container-org4e7a02b" class="outline-3">
|
||||
<h3 id="org4e7a02b"><span class="section-number-3">1.6</span> Copy to/from to <code>double*</code></h3>
|
||||
<div class="outline-text-3" id="text-1-6">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span>
|
||||
@ -1191,8 +1191,8 @@ Converts a matrix to a <code>double*</code>.
|
||||
|
||||
|
||||
|
||||
<div id="outline-container-org1b6f6a6" class="outline-3">
|
||||
<h3 id="org1b6f6a6"><span class="section-number-3">1.7</span> Tests</h3>
|
||||
<div id="outline-container-orge50c741" class="outline-3">
|
||||
<h3 id="orge50c741"><span class="section-number-3">1.7</span> Tests</h3>
|
||||
<div class="outline-text-3" id="text-1-7">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c">{
|
||||
@ -1230,12 +1230,12 @@ Converts a matrix to a <code>double*</code>.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-org7309838" class="outline-2">
|
||||
<h2 id="org7309838"><span class="section-number-2">2</span> Matrix operations</h2>
|
||||
<div id="outline-container-org7bfa65b" class="outline-2">
|
||||
<h2 id="org7bfa65b"><span class="section-number-2">2</span> Matrix operations</h2>
|
||||
<div class="outline-text-2" id="text-2">
|
||||
</div>
|
||||
<div id="outline-container-org0142f58" class="outline-3">
|
||||
<h3 id="org0142f58"><span class="section-number-3">2.1</span> <code>qmckl_dgemm</code></h3>
|
||||
<div id="outline-container-orga51962a" class="outline-3">
|
||||
<h3 id="orga51962a"><span class="section-number-3">2.1</span> <code>qmckl_dgemm</code></h3>
|
||||
<div class="outline-text-3" id="text-2-1">
|
||||
<p>
|
||||
Matrix multiplication:
|
||||
@ -1247,7 +1247,7 @@ Matrix multiplication:
|
||||
\]
|
||||
</p>
|
||||
|
||||
<table id="org79c7f53" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org3ec867d" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -1467,8 +1467,8 @@ Requirements:
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org86d35b0" class="outline-3">
|
||||
<h3 id="org86d35b0"><span class="section-number-3">2.2</span> <code>qmckl_matmul</code></h3>
|
||||
<div id="outline-container-orgac566a9" class="outline-3">
|
||||
<h3 id="orgac566a9"><span class="section-number-3">2.2</span> <code>qmckl_matmul</code></h3>
|
||||
<div class="outline-text-3" id="text-2-2">
|
||||
<p>
|
||||
Matrix multiplication:
|
||||
@ -1480,7 +1480,7 @@ Matrix multiplication:
|
||||
\]
|
||||
</p>
|
||||
|
||||
<table id="orgb231740" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org69e07bc" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -1713,8 +1713,8 @@ Matrix multiplication:
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org10277f0" class="outline-3">
|
||||
<h3 id="org10277f0"><span class="section-number-3">2.3</span> <code>qmckl_adjugate</code></h3>
|
||||
<div id="outline-container-org46b59a3" class="outline-3">
|
||||
<h3 id="org46b59a3"><span class="section-number-3">2.3</span> <code>qmckl_adjugate</code></h3>
|
||||
<div class="outline-text-3" id="text-2-3">
|
||||
<p>
|
||||
Given a matrix \(\mathbf{A}\), the adjugate matrix
|
||||
@ -1732,7 +1732,7 @@ of \(\mathbf{A}\).
|
||||
See also: <a href="https://en.wikipedia.org/wiki/Adjugate_matrix">https://en.wikipedia.org/wiki/Adjugate_matrix</a>
|
||||
</p>
|
||||
|
||||
<table id="orgb9527c9" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orgfa3fb1b" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -1985,8 +1985,8 @@ determinant with the inverse:
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgec5b5c8" class="outline-3">
|
||||
<h3 id="orgec5b5c8"><span class="section-number-3">2.4</span> <code>qmckl_transpose</code></h3>
|
||||
<div id="outline-container-org6c976f3" class="outline-3">
|
||||
<h3 id="org6c976f3"><span class="section-number-3">2.4</span> <code>qmckl_transpose</code></h3>
|
||||
<div class="outline-text-3" id="text-2-4">
|
||||
<p>
|
||||
Transposes a matrix: \(A^\dagger_{ji} = A_{ij}\).
|
||||
@ -2086,8 +2086,8 @@ Transposes a matrix: \(A^\dagger_{ji} = A_{ij}\).
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org8b71f10" class="outline-4">
|
||||
<h4 id="org8b71f10"><span class="section-number-4">2.4.1</span> Test</h4>
|
||||
<div id="outline-container-org2526db1" class="outline-4">
|
||||
<h4 id="org2526db1"><span class="section-number-4">2.4.1</span> Test</h4>
|
||||
<div class="outline-text-4" id="text-2-4-1">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c">{
|
||||
@ -2121,7 +2121,7 @@ Transposes a matrix: \(A^\dagger_{ji} = A_{ij}\).
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: TREX CoE</p>
|
||||
<p class="date">Created: 2022-02-04 Fri 09:24</p>
|
||||
<p class="date">Created: 2022-02-09 Wed 13:39</p>
|
||||
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||
</div>
|
||||
</body>
|
||||
|
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2022-02-04 Fri 09:24 -->
|
||||
<!-- 2022-02-09 Wed 13:39 -->
|
||||
<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="#org6586298">1. Context handling</a>
|
||||
<li><a href="#orgec2bfbe">1. Context handling</a>
|
||||
<ul>
|
||||
<li><a href="#orge887779">1.1. Data structure</a></li>
|
||||
<li><a href="#org8f60153">1.2. Creation</a></li>
|
||||
<li><a href="#org07a4ab3">1.3. Locking</a></li>
|
||||
<li><a href="#org441447b">1.4. <span class="todo TODO">TODO</span> Copy</a></li>
|
||||
<li><a href="#org15a73d1">1.5. Destroy</a></li>
|
||||
<li><a href="#org99e5bf8">1.1. Data structure</a></li>
|
||||
<li><a href="#orgeb3d501">1.2. Creation</a></li>
|
||||
<li><a href="#org0d4783e">1.3. Locking</a></li>
|
||||
<li><a href="#orgd3b3b5b">1.4. <span class="todo TODO">TODO</span> Copy</a></li>
|
||||
<li><a href="#org7cbea6b">1.5. Destroy</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org6586298" class="outline-2">
|
||||
<h2 id="org6586298"><span class="section-number-2">1</span> Context handling</h2>
|
||||
<div id="outline-container-orgec2bfbe" class="outline-2">
|
||||
<h2 id="orgec2bfbe"><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="org6fd7802"><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="orgca628fa"><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-orge887779" class="outline-3">
|
||||
<h3 id="orge887779"><span class="section-number-3">1.1</span> Data structure</h3>
|
||||
<div id="outline-container-org99e5bf8" class="outline-3">
|
||||
<h3 id="org99e5bf8"><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="#org8f60153">qmckl<sub>context</sub><sub>create</sub></a>, <a href="#org15a73d1">qmckl<sub>context</sub><sub>destroy</sub></a> and <a href="#org441447b">qmckl<sub>context</sub><sub>copy</sub></a>
|
||||
<a href="#orgeb3d501">qmckl<sub>context</sub><sub>create</sub></a>, <a href="#org7cbea6b">qmckl<sub>context</sub><sub>destroy</sub></a> and <a href="#orgd3b3b5b">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-org8f60153" class="outline-3">
|
||||
<h3 id="org8f60153"><span class="section-number-3">1.2</span> Creation</h3>
|
||||
<div id="outline-container-orgeb3d501" class="outline-3">
|
||||
<h3 id="orgeb3d501"><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.
|
||||
@ -511,8 +511,8 @@ To create a new context, <code>qmckl_context_create()</code> should be used.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-org07a4ab3" class="outline-3">
|
||||
<h3 id="org07a4ab3"><span class="section-number-3">1.3</span> Locking</h3>
|
||||
<div id="outline-container-org0d4783e" class="outline-3">
|
||||
<h3 id="org0d4783e"><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
|
||||
@ -557,8 +557,8 @@ number of times the thread has locked it is saved in the
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org441447b" class="outline-3">
|
||||
<h3 id="org441447b"><span class="section-number-3">1.4</span> <span class="todo TODO">TODO</span> Copy</h3>
|
||||
<div id="outline-container-orgd3b3b5b" class="outline-3">
|
||||
<h3 id="orgd3b3b5b"><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
|
||||
@ -606,8 +606,8 @@ number of times the thread has locked it is saved in the
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-org15a73d1" class="outline-3">
|
||||
<h3 id="org15a73d1"><span class="section-number-3">1.5</span> Destroy</h3>
|
||||
<div id="outline-container-org7cbea6b" class="outline-3">
|
||||
<h3 id="org7cbea6b"><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.
|
||||
@ -661,7 +661,7 @@ It frees the context, and returns the previous context.
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: TREX CoE</p>
|
||||
<p class="date">Created: 2022-02-04 Fri 09:24</p>
|
||||
<p class="date">Created: 2022-02-09 Wed 13:39</p>
|
||||
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||
</div>
|
||||
</body>
|
||||
|
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2022-02-04 Fri 09:23 -->
|
||||
<!-- 2022-02-09 Wed 13:39 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>Slater Determinant</title>
|
||||
@ -311,32 +311,32 @@ for the JavaScript code in this tag.
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents">
|
||||
<ul>
|
||||
<li><a href="#orga083bb2">1. Context</a>
|
||||
<li><a href="#org263fbb4">1. Context</a>
|
||||
<ul>
|
||||
<li><a href="#org859de14">1.1. Data structure</a></li>
|
||||
<li><a href="#org7ff3b34">1.2. Access functions</a></li>
|
||||
<li><a href="#org3974942">1.3. Initialization functions</a></li>
|
||||
<li><a href="#org133c9dd">1.4. Fortran Interfaces</a></li>
|
||||
<li><a href="#org66ccc9e">1.5. Test</a></li>
|
||||
<li><a href="#org82ecff3">1.1. Data structure</a></li>
|
||||
<li><a href="#org0230dad">1.2. Access functions</a></li>
|
||||
<li><a href="#orgd1b86e2">1.3. Initialization functions</a></li>
|
||||
<li><a href="#org63e3509">1.4. Fortran Interfaces</a></li>
|
||||
<li><a href="#orgf8852e6">1.5. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org86fa0df">2. Computation</a>
|
||||
<li><a href="#org97ef748">2. Computation</a>
|
||||
<ul>
|
||||
<li><a href="#org662a5e8">2.1. Determinant matrix</a>
|
||||
<li><a href="#orgbacd518">2.1. Determinant matrix</a>
|
||||
<ul>
|
||||
<li><a href="#org8acc602">2.1.1. Get</a></li>
|
||||
<li><a href="#org6027c71">2.1.2. Provide</a></li>
|
||||
<li><a href="#orged1c367">2.1.3. Compute alpha</a></li>
|
||||
<li><a href="#orgfea9a76">2.1.4. Compute beta</a></li>
|
||||
<li><a href="#org6e69e37">2.1.5. Test</a></li>
|
||||
<li><a href="#orgf06a579">2.1.1. Get</a></li>
|
||||
<li><a href="#org7c29eab">2.1.2. Provide</a></li>
|
||||
<li><a href="#orgfd5702b">2.1.3. Compute alpha</a></li>
|
||||
<li><a href="#org497009b">2.1.4. Compute beta</a></li>
|
||||
<li><a href="#orga288819">2.1.5. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org3be0d44">2.2. Inverse of Determinant matrix</a>
|
||||
<li><a href="#org52c189a">2.2. Inverse of Determinant matrix</a>
|
||||
<ul>
|
||||
<li><a href="#org24fcb78">2.2.1. Get</a></li>
|
||||
<li><a href="#org2d14023">2.2.2. Provide</a></li>
|
||||
<li><a href="#org5b6e903">2.2.3. Compute alpha</a></li>
|
||||
<li><a href="#org676db14">2.2.4. Compute beta</a></li>
|
||||
<li><a href="#orgb599615">2.2.1. Get</a></li>
|
||||
<li><a href="#org8b97b30">2.2.2. Provide</a></li>
|
||||
<li><a href="#org0e9ed4b">2.2.3. Compute alpha</a></li>
|
||||
<li><a href="#orga52816c">2.2.4. Compute beta</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@ -345,8 +345,8 @@ for the JavaScript code in this tag.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orga083bb2" class="outline-2">
|
||||
<h2 id="orga083bb2"><span class="section-number-2">1</span> Context</h2>
|
||||
<div id="outline-container-org263fbb4" class="outline-2">
|
||||
<h2 id="org263fbb4"><span class="section-number-2">1</span> Context</h2>
|
||||
<div class="outline-text-2" id="text-1">
|
||||
<p>
|
||||
The following arrays are stored in the context:
|
||||
@ -528,8 +528,8 @@ Computed data:
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org859de14" class="outline-3">
|
||||
<h3 id="org859de14"><span class="section-number-3">1.1</span> Data structure</h3>
|
||||
<div id="outline-container-org82ecff3" class="outline-3">
|
||||
<h3 id="org82ecff3"><span class="section-number-3">1.1</span> Data structure</h3>
|
||||
<div class="outline-text-3" id="text-1-1">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #a020f0;">typedef</span> <span style="color: #a020f0;">struct</span> <span style="color: #228b22;">qmckl_determinant_struct</span> {
|
||||
@ -598,8 +598,8 @@ this mechanism.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org7ff3b34" class="outline-3">
|
||||
<h3 id="org7ff3b34"><span class="section-number-3">1.2</span> Access functions</h3>
|
||||
<div id="outline-container-org0230dad" class="outline-3">
|
||||
<h3 id="org0230dad"><span class="section-number-3">1.2</span> Access functions</h3>
|
||||
<div class="outline-text-3" id="text-1-2">
|
||||
<p>
|
||||
When all the data for the slater determinants have been provided, the following
|
||||
@ -613,8 +613,8 @@ function returns <code>true</code>.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org3974942" class="outline-3">
|
||||
<h3 id="org3974942"><span class="section-number-3">1.3</span> Initialization functions</h3>
|
||||
<div id="outline-container-orgd1b86e2" class="outline-3">
|
||||
<h3 id="orgd1b86e2"><span class="section-number-3">1.3</span> Initialization functions</h3>
|
||||
<div class="outline-text-3" id="text-1-3">
|
||||
<p>
|
||||
To set the basis set, all the following functions need to be
|
||||
@ -638,24 +638,24 @@ computed to accelerate the calculations.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org133c9dd" class="outline-3">
|
||||
<h3 id="org133c9dd"><span class="section-number-3">1.4</span> Fortran Interfaces</h3>
|
||||
<div id="outline-container-org63e3509" class="outline-3">
|
||||
<h3 id="org63e3509"><span class="section-number-3">1.4</span> Fortran Interfaces</h3>
|
||||
</div>
|
||||
<div id="outline-container-org66ccc9e" class="outline-3">
|
||||
<h3 id="org66ccc9e"><span class="section-number-3">1.5</span> Test</h3>
|
||||
<div id="outline-container-orgf8852e6" class="outline-3">
|
||||
<h3 id="orgf8852e6"><span class="section-number-3">1.5</span> Test</h3>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-org86fa0df" class="outline-2">
|
||||
<h2 id="org86fa0df"><span class="section-number-2">2</span> Computation</h2>
|
||||
<div id="outline-container-org97ef748" class="outline-2">
|
||||
<h2 id="org97ef748"><span class="section-number-2">2</span> Computation</h2>
|
||||
<div class="outline-text-2" id="text-2">
|
||||
</div>
|
||||
<div id="outline-container-org662a5e8" class="outline-3">
|
||||
<h3 id="org662a5e8"><span class="section-number-3">2.1</span> Determinant matrix</h3>
|
||||
<div id="outline-container-orgbacd518" class="outline-3">
|
||||
<h3 id="orgbacd518"><span class="section-number-3">2.1</span> Determinant matrix</h3>
|
||||
<div class="outline-text-3" id="text-2-1">
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org8acc602" class="outline-4">
|
||||
<h4 id="org8acc602"><span class="section-number-4">2.1.1</span> Get</h4>
|
||||
<div id="outline-container-orgf06a579" class="outline-4">
|
||||
<h4 id="orgf06a579"><span class="section-number-4">2.1.1</span> Get</h4>
|
||||
<div class="outline-text-4" id="text-2-1-1">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_get_det_vgl_alpha</span>(<span style="color: #228b22;">qmckl_context</span> <span style="color: #a0522d;">context</span>, <span style="color: #228b22;">double</span>* <span style="color: #a020f0;">const</span> <span style="color: #a0522d;">det_vgl_alpha</span>);
|
||||
@ -665,14 +665,14 @@ computed to accelerate the calculations.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org6027c71" class="outline-4">
|
||||
<h4 id="org6027c71"><span class="section-number-4">2.1.2</span> Provide</h4>
|
||||
<div id="outline-container-org7c29eab" class="outline-4">
|
||||
<h4 id="org7c29eab"><span class="section-number-4">2.1.2</span> Provide</h4>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orged1c367" class="outline-4">
|
||||
<h4 id="orged1c367"><span class="section-number-4">2.1.3</span> Compute alpha</h4>
|
||||
<div id="outline-container-orgfd5702b" class="outline-4">
|
||||
<h4 id="orgfd5702b"><span class="section-number-4">2.1.3</span> Compute alpha</h4>
|
||||
<div class="outline-text-4" id="text-2-1-3">
|
||||
<table id="org9b35aa8" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org5e94319" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -846,10 +846,10 @@ computed to accelerate the calculations.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgfea9a76" class="outline-4">
|
||||
<h4 id="orgfea9a76"><span class="section-number-4">2.1.4</span> Compute beta</h4>
|
||||
<div id="outline-container-org497009b" class="outline-4">
|
||||
<h4 id="org497009b"><span class="section-number-4">2.1.4</span> Compute beta</h4>
|
||||
<div class="outline-text-4" id="text-2-1-4">
|
||||
<table id="orgc7baf86" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org53e7e5f" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -1023,18 +1023,18 @@ computed to accelerate the calculations.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org6e69e37" class="outline-4">
|
||||
<h4 id="org6e69e37"><span class="section-number-4">2.1.5</span> Test</h4>
|
||||
<div id="outline-container-orga288819" class="outline-4">
|
||||
<h4 id="orga288819"><span class="section-number-4">2.1.5</span> Test</h4>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org3be0d44" class="outline-3">
|
||||
<h3 id="org3be0d44"><span class="section-number-3">2.2</span> Inverse of Determinant matrix</h3>
|
||||
<div id="outline-container-org52c189a" class="outline-3">
|
||||
<h3 id="org52c189a"><span class="section-number-3">2.2</span> Inverse of Determinant matrix</h3>
|
||||
<div class="outline-text-3" id="text-2-2">
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org24fcb78" class="outline-4">
|
||||
<h4 id="org24fcb78"><span class="section-number-4">2.2.1</span> Get</h4>
|
||||
<div id="outline-container-orgb599615" class="outline-4">
|
||||
<h4 id="orgb599615"><span class="section-number-4">2.2.1</span> Get</h4>
|
||||
<div class="outline-text-4" id="text-2-2-1">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_get_det_inv_matrix_alpha</span>(<span style="color: #228b22;">qmckl_context</span> <span style="color: #a0522d;">context</span>, <span style="color: #228b22;">double</span>* <span style="color: #a020f0;">const</span> <span style="color: #a0522d;">det_inv_matrix_alpha</span>);
|
||||
@ -1048,14 +1048,14 @@ computed to accelerate the calculations.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org2d14023" class="outline-4">
|
||||
<h4 id="org2d14023"><span class="section-number-4">2.2.2</span> Provide</h4>
|
||||
<div id="outline-container-org8b97b30" class="outline-4">
|
||||
<h4 id="org8b97b30"><span class="section-number-4">2.2.2</span> Provide</h4>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org5b6e903" class="outline-4">
|
||||
<h4 id="org5b6e903"><span class="section-number-4">2.2.3</span> Compute alpha</h4>
|
||||
<div id="outline-container-org0e9ed4b" class="outline-4">
|
||||
<h4 id="org0e9ed4b"><span class="section-number-4">2.2.3</span> Compute alpha</h4>
|
||||
<div class="outline-text-4" id="text-2-2-3">
|
||||
<table id="org8f74fb7" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orga8ca22d" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -1217,10 +1217,10 @@ computed to accelerate the calculations.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org676db14" class="outline-4">
|
||||
<h4 id="org676db14"><span class="section-number-4">2.2.4</span> Compute beta</h4>
|
||||
<div id="outline-container-orga52816c" class="outline-4">
|
||||
<h4 id="orga52816c"><span class="section-number-4">2.2.4</span> Compute beta</h4>
|
||||
<div class="outline-text-4" id="text-2-2-4">
|
||||
<table id="org38c1e7e" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org515601d" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -1387,7 +1387,7 @@ computed to accelerate the calculations.
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: TREX CoE</p>
|
||||
<p class="date">Created: 2022-02-04 Fri 09:23</p>
|
||||
<p class="date">Created: 2022-02-09 Wed 13:39</p>
|
||||
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||
</div>
|
||||
</body>
|
||||
|
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2022-02-04 Fri 09:24 -->
|
||||
<!-- 2022-02-09 Wed 13:39 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>Inter-particle distances</title>
|
||||
@ -333,54 +333,54 @@ for the JavaScript code in this tag.
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents">
|
||||
<ul>
|
||||
<li><a href="#org73aaa0d">1. Squared distance</a>
|
||||
<li><a href="#org449045d">1. Squared distance</a>
|
||||
<ul>
|
||||
<li><a href="#orgee7d7a4">1.1. <code>qmckl_distance_sq</code></a>
|
||||
<li><a href="#orgb9e91ce">1.1. <code>qmckl_distance_sq</code></a>
|
||||
<ul>
|
||||
<li><a href="#org843b284">1.1.1. Performance</a></li>
|
||||
<li><a href="#orge8a7e04">1.1.1. Performance</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org77f00fc">2. Distance</a>
|
||||
<li><a href="#orgc95f14a">2. Distance</a>
|
||||
<ul>
|
||||
<li><a href="#orgc93bc46">2.1. <code>qmckl_distance</code></a>
|
||||
<li><a href="#org0aad438">2.1. <code>qmckl_distance</code></a>
|
||||
<ul>
|
||||
<li><a href="#org69c5553">2.1.1. Requirements</a></li>
|
||||
<li><a href="#org6b1ea2a">2.1.2. C header</a></li>
|
||||
<li><a href="#orged4ef88">2.1.3. Source</a></li>
|
||||
<li><a href="#org0a4f004">2.1.4. Performance</a></li>
|
||||
<li><a href="#org1fd5f87">2.1.1. Requirements</a></li>
|
||||
<li><a href="#orga996832">2.1.2. C header</a></li>
|
||||
<li><a href="#org49a0149">2.1.3. Source</a></li>
|
||||
<li><a href="#orgc563c57">2.1.4. Performance</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org640375c">3. Rescaled Distance</a>
|
||||
<li><a href="#orgf9b61d4">3. Rescaled Distance</a>
|
||||
<ul>
|
||||
<li><a href="#orgc5018a7">3.1. <code>qmckl_distance_rescaled</code></a>
|
||||
<li><a href="#org0209ff2">3.1. <code>qmckl_distance_rescaled</code></a>
|
||||
<ul>
|
||||
<li><a href="#orgda0c11a">3.1.1. Requirements</a></li>
|
||||
<li><a href="#org4563e10">3.1.2. C header</a></li>
|
||||
<li><a href="#orgde485dd">3.1.3. Source</a></li>
|
||||
<li><a href="#orgdb7b300">3.1.4. Performance</a></li>
|
||||
<li><a href="#orgd086188">3.1.1. Requirements</a></li>
|
||||
<li><a href="#org48d45c5">3.1.2. C header</a></li>
|
||||
<li><a href="#orgdd56211">3.1.3. Source</a></li>
|
||||
<li><a href="#orgb12465e">3.1.4. Performance</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org032a264">4. Rescaled Distance Derivatives</a>
|
||||
<li><a href="#orgcfccb47">4. Rescaled Distance Derivatives</a>
|
||||
<ul>
|
||||
<li><a href="#org6263ca3">4.1. <code>qmckl_distance_rescaled_deriv_e</code></a></li>
|
||||
<li><a href="#org2b3590a">4.1. <code>qmckl_distance_rescaled_deriv_e</code></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org73aaa0d" class="outline-2">
|
||||
<h2 id="org73aaa0d"><span class="section-number-2">1</span> Squared distance</h2>
|
||||
<div id="outline-container-org449045d" class="outline-2">
|
||||
<h2 id="org449045d"><span class="section-number-2">1</span> Squared distance</h2>
|
||||
<div class="outline-text-2" id="text-1">
|
||||
</div>
|
||||
<div id="outline-container-orgee7d7a4" class="outline-3">
|
||||
<h3 id="orgee7d7a4"><span class="section-number-3">1.1</span> <code>qmckl_distance_sq</code></h3>
|
||||
<div id="outline-container-orgb9e91ce" class="outline-3">
|
||||
<h3 id="orgb9e91ce"><span class="section-number-3">1.1</span> <code>qmckl_distance_sq</code></h3>
|
||||
<div class="outline-text-3" id="text-1-1">
|
||||
<p>
|
||||
<code>qmckl_distance_sq</code> computes the matrix of the squared distances
|
||||
@ -393,7 +393,7 @@ between all pairs of points in two sets, one point within each set:
|
||||
\]
|
||||
</p>
|
||||
|
||||
<table id="org270dd45" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org64e7704" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -659,8 +659,8 @@ Requirements:
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org843b284" class="outline-4">
|
||||
<h4 id="org843b284"><span class="section-number-4">1.1.1</span> Performance</h4>
|
||||
<div id="outline-container-orge8a7e04" class="outline-4">
|
||||
<h4 id="orge8a7e04"><span class="section-number-4">1.1.1</span> Performance</h4>
|
||||
<div class="outline-text-4" id="text-1-1-1">
|
||||
<p>
|
||||
This function is more efficient when <code>A</code> and <code>B</code> are
|
||||
@ -670,12 +670,12 @@ transposed.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-org77f00fc" class="outline-2">
|
||||
<h2 id="org77f00fc"><span class="section-number-2">2</span> Distance</h2>
|
||||
<div id="outline-container-orgc95f14a" class="outline-2">
|
||||
<h2 id="orgc95f14a"><span class="section-number-2">2</span> Distance</h2>
|
||||
<div class="outline-text-2" id="text-2">
|
||||
</div>
|
||||
<div id="outline-container-orgc93bc46" class="outline-3">
|
||||
<h3 id="orgc93bc46"><span class="section-number-3">2.1</span> <code>qmckl_distance</code></h3>
|
||||
<div id="outline-container-org0aad438" class="outline-3">
|
||||
<h3 id="org0aad438"><span class="section-number-3">2.1</span> <code>qmckl_distance</code></h3>
|
||||
<div class="outline-text-3" id="text-2-1">
|
||||
<p>
|
||||
<code>qmckl_distance</code> computes the matrix of the distances between all
|
||||
@ -693,7 +693,7 @@ If the input array is normal (<code>'N'</code>), the xyz coordinates are in
|
||||
the leading dimension: <code>[n][3]</code> in C and <code>(3,n)</code> in Fortran.
|
||||
</p>
|
||||
|
||||
<table id="org1c89090" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orgec8adb8" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -794,8 +794,8 @@ the leading dimension: <code>[n][3]</code> in C and <code>(3,n)</code> in Fortra
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org69c5553" class="outline-4">
|
||||
<h4 id="org69c5553"><span class="section-number-4">2.1.1</span> Requirements</h4>
|
||||
<div id="outline-container-org1fd5f87" class="outline-4">
|
||||
<h4 id="org1fd5f87"><span class="section-number-4">2.1.1</span> Requirements</h4>
|
||||
<div class="outline-text-4" id="text-2-1-1">
|
||||
<ul class="org-ul">
|
||||
<li><code>context</code> is not <code>QMCKL_NULL_CONTEXT</code></li>
|
||||
@ -813,8 +813,8 @@ the leading dimension: <code>[n][3]</code> in C and <code>(3,n)</code> in Fortra
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org6b1ea2a" class="outline-4">
|
||||
<h4 id="org6b1ea2a"><span class="section-number-4">2.1.2</span> C header</h4>
|
||||
<div id="outline-container-orga996832" class="outline-4">
|
||||
<h4 id="orga996832"><span class="section-number-4">2.1.2</span> C header</h4>
|
||||
<div class="outline-text-4" id="text-2-1-2">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_distance</span> (
|
||||
@ -834,8 +834,8 @@ the leading dimension: <code>[n][3]</code> in C and <code>(3,n)</code> in Fortra
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orged4ef88" class="outline-4">
|
||||
<h4 id="orged4ef88"><span class="section-number-4">2.1.3</span> Source</h4>
|
||||
<div id="outline-container-org49a0149" class="outline-4">
|
||||
<h4 id="org49a0149"><span class="section-number-4">2.1.3</span> Source</h4>
|
||||
<div class="outline-text-4" id="text-2-1-3">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-f90"><span style="color: #228b22;">integer</span><span style="color: #a0522d;"> function qmckl_distance_f(context, transa, transb, m, n, </span><span style="color: #a020f0;">&</span>
|
||||
@ -1002,8 +1002,8 @@ the leading dimension: <code>[n][3]</code> in C and <code>(3,n)</code> in Fortra
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org0a4f004" class="outline-4">
|
||||
<h4 id="org0a4f004"><span class="section-number-4">2.1.4</span> Performance</h4>
|
||||
<div id="outline-container-orgc563c57" class="outline-4">
|
||||
<h4 id="orgc563c57"><span class="section-number-4">2.1.4</span> Performance</h4>
|
||||
<div class="outline-text-4" id="text-2-1-4">
|
||||
<p>
|
||||
This function is more efficient when <code>A</code> and <code>B</code> are transposed.
|
||||
@ -1013,12 +1013,12 @@ This function is more efficient when <code>A</code> and <code>B</code> are trans
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org640375c" class="outline-2">
|
||||
<h2 id="org640375c"><span class="section-number-2">3</span> Rescaled Distance</h2>
|
||||
<div id="outline-container-orgf9b61d4" class="outline-2">
|
||||
<h2 id="orgf9b61d4"><span class="section-number-2">3</span> Rescaled Distance</h2>
|
||||
<div class="outline-text-2" id="text-3">
|
||||
</div>
|
||||
<div id="outline-container-orgc5018a7" class="outline-3">
|
||||
<h3 id="orgc5018a7"><span class="section-number-3">3.1</span> <code>qmckl_distance_rescaled</code></h3>
|
||||
<div id="outline-container-org0209ff2" class="outline-3">
|
||||
<h3 id="org0209ff2"><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
|
||||
@ -1027,7 +1027,7 @@ pairs of points in two sets, one point within each set:
|
||||
|
||||
<p>
|
||||
\[
|
||||
C_{ij} = \left( 1 - \exp{-\kappa C_{ij}}\right)/\kappa
|
||||
C_{ij} = \left( 1 - \exp \left(-\kappa C_{ij} \right) \right)/\kappa
|
||||
\]
|
||||
</p>
|
||||
|
||||
@ -1036,7 +1036,7 @@ If the input array is normal (<code>'N'</code>), the xyz coordinates are in
|
||||
the leading dimension: <code>[n][3]</code> in C and <code>(3,n)</code> in Fortran.
|
||||
</p>
|
||||
|
||||
<table id="orge6dfd99" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org1c5658c" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -1144,8 +1144,8 @@ the leading dimension: <code>[n][3]</code> in C and <code>(3,n)</code> in Fortra
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgda0c11a" class="outline-4">
|
||||
<h4 id="orgda0c11a"><span class="section-number-4">3.1.1</span> Requirements</h4>
|
||||
<div id="outline-container-orgd086188" class="outline-4">
|
||||
<h4 id="orgd086188"><span class="section-number-4">3.1.1</span> Requirements</h4>
|
||||
<div class="outline-text-4" id="text-3-1-1">
|
||||
<ul class="org-ul">
|
||||
<li><code>context</code> is not <code>QMCKL_NULL_CONTEXT</code></li>
|
||||
@ -1163,8 +1163,8 @@ the leading dimension: <code>[n][3]</code> in C and <code>(3,n)</code> in Fortra
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org4563e10" class="outline-4">
|
||||
<h4 id="org4563e10"><span class="section-number-4">3.1.2</span> C header</h4>
|
||||
<div id="outline-container-org48d45c5" class="outline-4">
|
||||
<h4 id="org48d45c5"><span class="section-number-4">3.1.2</span> C header</h4>
|
||||
<div class="outline-text-4" id="text-3-1-2">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_distance_rescaled</span> (
|
||||
@ -1185,8 +1185,8 @@ the leading dimension: <code>[n][3]</code> in C and <code>(3,n)</code> in Fortra
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgde485dd" class="outline-4">
|
||||
<h4 id="orgde485dd"><span class="section-number-4">3.1.3</span> Source</h4>
|
||||
<div id="outline-container-orgdd56211" class="outline-4">
|
||||
<h4 id="orgdd56211"><span class="section-number-4">3.1.3</span> Source</h4>
|
||||
<div class="outline-text-4" id="text-3-1-3">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-f90"><span style="color: #228b22;">integer</span><span style="color: #a0522d;"> function qmckl_distance_rescaled_f(context, transa, transb, m, n, </span><span style="color: #a020f0;">&</span>
|
||||
@ -1356,8 +1356,8 @@ the leading dimension: <code>[n][3]</code> in C and <code>(3,n)</code> in Fortra
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgdb7b300" class="outline-4">
|
||||
<h4 id="orgdb7b300"><span class="section-number-4">3.1.4</span> Performance</h4>
|
||||
<div id="outline-container-orgb12465e" class="outline-4">
|
||||
<h4 id="orgb12465e"><span class="section-number-4">3.1.4</span> Performance</h4>
|
||||
<div class="outline-text-4" id="text-3-1-4">
|
||||
<p>
|
||||
This function is more efficient when <code>A</code> and <code>B</code> are transposed.
|
||||
@ -1366,12 +1366,12 @@ This function is more efficient when <code>A</code> and <code>B</code> are trans
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-org032a264" class="outline-2">
|
||||
<h2 id="org032a264"><span class="section-number-2">4</span> Rescaled Distance Derivatives</h2>
|
||||
<div id="outline-container-orgcfccb47" class="outline-2">
|
||||
<h2 id="orgcfccb47"><span class="section-number-2">4</span> Rescaled Distance Derivatives</h2>
|
||||
<div class="outline-text-2" id="text-4">
|
||||
</div>
|
||||
<div id="outline-container-org6263ca3" class="outline-3">
|
||||
<h3 id="org6263ca3"><span class="section-number-3">4.1</span> <code>qmckl_distance_rescaled_deriv_e</code></h3>
|
||||
<div id="outline-container-org2b3590a" class="outline-3">
|
||||
<h3 id="org2b3590a"><span class="section-number-3">4.1</span> <code>qmckl_distance_rescaled_deriv_e</code></h3>
|
||||
<div class="outline-text-3" id="text-4-1">
|
||||
<p>
|
||||
<code>qmckl_distance_rescaled_deriv_e</code> computes the matrix of the gradient and laplacian of the
|
||||
@ -1438,7 +1438,7 @@ If the input array is normal (<code>'N'</code>), the xyz coordinates are in
|
||||
the leading dimension: <code>[n][3]</code> in C and <code>(3,n)</code> in Fortran.
|
||||
</p>
|
||||
|
||||
<table id="orgc2b1ff7" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org0b47618" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -1776,7 +1776,7 @@ This function is more efficient when <code>A</code> and <code>B</code> are trans
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: TREX CoE</p>
|
||||
<p class="date">Created: 2022-02-04 Fri 09:24</p>
|
||||
<p class="date">Created: 2022-02-09 Wed 13:39</p>
|
||||
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||
</div>
|
||||
</body>
|
||||
|
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2022-02-04 Fri 09:24 -->
|
||||
<!-- 2022-02-09 Wed 13:39 -->
|
||||
<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,88 +333,88 @@ for the JavaScript code in this tag.
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents">
|
||||
<ul>
|
||||
<li><a href="#org58ecac9">1. Context</a>
|
||||
<li><a href="#orgdb0f2bc">1. Context</a>
|
||||
<ul>
|
||||
<li><a href="#org771baf1">1.1. Data structure</a></li>
|
||||
<li><a href="#org8d811f5">1.2. Access functions</a>
|
||||
<li><a href="#org17b7565">1.1. Data structure</a></li>
|
||||
<li><a href="#org9cd6142">1.2. Access functions</a>
|
||||
<ul>
|
||||
<li><a href="#orgaca2dc7">1.2.1. Number of electrons</a></li>
|
||||
<li><a href="#orgf0c4044">1.2.2. Number of walkers</a></li>
|
||||
<li><a href="#org6fc93e5">1.2.3. Scaling factors Kappa</a></li>
|
||||
<li><a href="#orgd47a9a1">1.2.4. Electron coordinates</a></li>
|
||||
<li><a href="#org8bf78ad">1.2.1. Number of electrons</a></li>
|
||||
<li><a href="#orgf42cafc">1.2.2. Number of walkers</a></li>
|
||||
<li><a href="#orga2f9be7">1.2.3. Scaling factors Kappa</a></li>
|
||||
<li><a href="#orgda06f5d">1.2.4. Electron coordinates</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgdda434a">1.3. Initialization functions</a></li>
|
||||
<li><a href="#org99bf62f">1.4. Test</a></li>
|
||||
<li><a href="#org7ff774b">1.3. Initialization functions</a></li>
|
||||
<li><a href="#orga29624d">1.4. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgcda203a">2. Computation</a>
|
||||
<li><a href="#org450fa24">2. Computation</a>
|
||||
<ul>
|
||||
<li><a href="#org8dcdadf">2.1. Electron-electron distances</a>
|
||||
<li><a href="#orgd062980">2.1. Electron-electron distances</a>
|
||||
<ul>
|
||||
<li><a href="#org3283b83">2.1.1. Get</a></li>
|
||||
<li><a href="#org9db250f">2.1.2. Compute</a></li>
|
||||
<li><a href="#orgd54f5fd">2.1.3. Test</a></li>
|
||||
<li><a href="#org7860448">2.1.1. Get</a></li>
|
||||
<li><a href="#orgb09b37e">2.1.2. Compute</a></li>
|
||||
<li><a href="#orgc9cc92e">2.1.3. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org158c017">2.2. Electron-electron rescaled distances</a>
|
||||
<li><a href="#org61be982">2.2. Electron-electron rescaled distances</a>
|
||||
<ul>
|
||||
<li><a href="#org63e3ca9">2.2.1. Get</a></li>
|
||||
<li><a href="#org2eb6f99">2.2.2. Compute</a></li>
|
||||
<li><a href="#org3535689">2.2.3. Test</a></li>
|
||||
<li><a href="#orgc6a7830">2.2.1. Get</a></li>
|
||||
<li><a href="#org8f8c01e">2.2.2. Compute</a></li>
|
||||
<li><a href="#org6b45392">2.2.3. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgf6c604a">2.3. Electron-electron rescaled distance gradients and laplacian with respect to electron coords</a>
|
||||
<li><a href="#org144167b">2.3. Electron-electron rescaled distance gradients and laplacian with respect to electron coords</a>
|
||||
<ul>
|
||||
<li><a href="#org6d3fc45">2.3.1. Get</a></li>
|
||||
<li><a href="#org50be97e">2.3.2. Compute</a></li>
|
||||
<li><a href="#orgbd71884">2.3.3. Test</a></li>
|
||||
<li><a href="#org9c5ee43">2.3.1. Get</a></li>
|
||||
<li><a href="#org6f75083">2.3.2. Compute</a></li>
|
||||
<li><a href="#orgc43d76f">2.3.3. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org6ba4a90">2.4. Electron-electron potential</a>
|
||||
<li><a href="#org948bc10">2.4. Electron-electron potential</a>
|
||||
<ul>
|
||||
<li><a href="#org2f3b1f6">2.4.1. Get</a></li>
|
||||
<li><a href="#org67a6582">2.4.2. Compute</a></li>
|
||||
<li><a href="#org4f1bcb4">2.4.3. Test</a></li>
|
||||
<li><a href="#orgefbfd86">2.4.1. Get</a></li>
|
||||
<li><a href="#orgf2e96a1">2.4.2. Compute</a></li>
|
||||
<li><a href="#org677f782">2.4.3. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org025d4d3">2.5. Electron-nucleus distances</a>
|
||||
<li><a href="#orgac11b0b">2.5. Electron-nucleus distances</a>
|
||||
<ul>
|
||||
<li><a href="#org16c9cf9">2.5.1. Get</a></li>
|
||||
<li><a href="#orgdd48c54">2.5.2. Compute</a></li>
|
||||
<li><a href="#org8b1d100">2.5.3. Test</a></li>
|
||||
<li><a href="#orga7a1b64">2.5.1. Get</a></li>
|
||||
<li><a href="#org0d13375">2.5.2. Compute</a></li>
|
||||
<li><a href="#org16f130e">2.5.3. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org2ca3fcd">2.6. Electron-nucleus rescaled distances</a>
|
||||
<li><a href="#orgb2c4213">2.6. Electron-nucleus rescaled distances</a>
|
||||
<ul>
|
||||
<li><a href="#orgf7e8fe1">2.6.1. Get</a></li>
|
||||
<li><a href="#org4762441">2.6.2. Compute</a></li>
|
||||
<li><a href="#orgb668264">2.6.3. Test</a></li>
|
||||
<li><a href="#orgbf1694c">2.6.1. Get</a></li>
|
||||
<li><a href="#orge97dc43">2.6.2. Compute</a></li>
|
||||
<li><a href="#orge4cc7f6">2.6.3. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgf425f4e">2.7. Electron-nucleus rescaled distance gradients and laplacian with respect to electron coords</a>
|
||||
<li><a href="#org6955aa3">2.7. Electron-nucleus rescaled distance gradients and laplacian with respect to electron coords</a>
|
||||
<ul>
|
||||
<li><a href="#org1035471">2.7.1. Get</a></li>
|
||||
<li><a href="#orgd34ecbd">2.7.2. Compute</a></li>
|
||||
<li><a href="#orgfa5b4ed">2.7.3. Test</a></li>
|
||||
<li><a href="#org1a0bff9">2.7.1. Get</a></li>
|
||||
<li><a href="#orged175c7">2.7.2. Compute</a></li>
|
||||
<li><a href="#orgc934780">2.7.3. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org66faecc">2.8. Electron-nucleus potential</a>
|
||||
<li><a href="#orgb96234d">2.8. Electron-nucleus potential</a>
|
||||
<ul>
|
||||
<li><a href="#orge8e4ef1">2.8.1. Get</a></li>
|
||||
<li><a href="#org5437eed">2.8.2. Compute</a></li>
|
||||
<li><a href="#org9452d88">2.8.3. Test</a></li>
|
||||
<li><a href="#org0d65349">2.8.1. Get</a></li>
|
||||
<li><a href="#org95b16c9">2.8.2. Compute</a></li>
|
||||
<li><a href="#org83db234">2.8.3. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org259442e">2.9. Generate initial coordinates</a></li>
|
||||
<li><a href="#org41e6dfb">2.9. Generate initial coordinates</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org58ecac9" class="outline-2">
|
||||
<h2 id="org58ecac9"><span class="section-number-2">1</span> Context</h2>
|
||||
<div id="outline-container-orgdb0f2bc" class="outline-2">
|
||||
<h2 id="orgdb0f2bc"><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:
|
||||
@ -627,8 +627,8 @@ Computed data:
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org771baf1" class="outline-3">
|
||||
<h3 id="org771baf1"><span class="section-number-3">1.1</span> Data structure</h3>
|
||||
<div id="outline-container-org17b7565" class="outline-3">
|
||||
<h3 id="org17b7565"><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> {
|
||||
@ -707,8 +707,8 @@ this mechanism.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org8d811f5" class="outline-3">
|
||||
<h3 id="org8d811f5"><span class="section-number-3">1.2</span> Access functions</h3>
|
||||
<div id="outline-container-org9cd6142" class="outline-3">
|
||||
<h3 id="org9cd6142"><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
|
||||
@ -720,12 +720,12 @@ contains the requested data. Otherwise, this variable is untouched.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgaca2dc7" class="outline-4">
|
||||
<h4 id="orgaca2dc7"><span class="section-number-4">1.2.1</span> Number of electrons</h4>
|
||||
<div id="outline-container-org8bf78ad" class="outline-4">
|
||||
<h4 id="org8bf78ad"><span class="section-number-4">1.2.1</span> Number of electrons</h4>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgf0c4044" class="outline-4">
|
||||
<h4 id="orgf0c4044"><span class="section-number-4">1.2.2</span> Number of walkers</h4>
|
||||
<div id="outline-container-orgf42cafc" class="outline-4">
|
||||
<h4 id="orgf42cafc"><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
|
||||
@ -734,12 +734,12 @@ the wave function. <code>walk_num</code> is the number of walkers.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org6fc93e5" class="outline-4">
|
||||
<h4 id="org6fc93e5"><span class="section-number-4">1.2.3</span> Scaling factors Kappa</h4>
|
||||
<div id="outline-container-orga2f9be7" class="outline-4">
|
||||
<h4 id="orga2f9be7"><span class="section-number-4">1.2.3</span> Scaling factors Kappa</h4>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgd47a9a1" class="outline-4">
|
||||
<h4 id="orgd47a9a1"><span class="section-number-4">1.2.4</span> Electron coordinates</h4>
|
||||
<div id="outline-container-orgda06f5d" class="outline-4">
|
||||
<h4 id="orgda06f5d"><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
|
||||
@ -789,8 +789,8 @@ returning the current points.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgdda434a" class="outline-3">
|
||||
<h3 id="orgdda434a"><span class="section-number-3">1.3</span> Initialization functions</h3>
|
||||
<div id="outline-container-org7ff774b" class="outline-3">
|
||||
<h3 id="org7ff774b"><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
|
||||
@ -884,8 +884,8 @@ in the context.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org99bf62f" class="outline-3">
|
||||
<h3 id="org99bf62f"><span class="section-number-3">1.4</span> Test</h3>
|
||||
<div id="outline-container-orga29624d" class="outline-3">
|
||||
<h3 id="orga29624d"><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>*/
|
||||
@ -992,8 +992,8 @@ rc = qmckl_get_electron_coord (context, <span style="color: #8b2252;">'N'</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgcda203a" class="outline-2">
|
||||
<h2 id="orgcda203a"><span class="section-number-2">2</span> Computation</h2>
|
||||
<div id="outline-container-org450fa24" class="outline-2">
|
||||
<h2 id="org450fa24"><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
|
||||
@ -1006,12 +1006,12 @@ current date is stored.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org8dcdadf" class="outline-3">
|
||||
<h3 id="org8dcdadf"><span class="section-number-3">2.1</span> Electron-electron distances</h3>
|
||||
<div id="outline-container-orgd062980" class="outline-3">
|
||||
<h3 id="orgd062980"><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-org3283b83" class="outline-4">
|
||||
<h4 id="org3283b83"><span class="section-number-4">2.1.1</span> Get</h4>
|
||||
<div id="outline-container-org7860448" class="outline-4">
|
||||
<h4 id="org7860448"><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>);
|
||||
@ -1020,10 +1020,10 @@ current date is stored.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org9db250f" class="outline-4">
|
||||
<h4 id="org9db250f"><span class="section-number-4">2.1.2</span> Compute</h4>
|
||||
<div id="outline-container-orgb09b37e" class="outline-4">
|
||||
<h4 id="orgb09b37e"><span class="section-number-4">2.1.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-1-2">
|
||||
<table id="orgad4d8d4" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orgfe789de" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -1128,8 +1128,8 @@ current date is stored.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgd54f5fd" class="outline-4">
|
||||
<h4 id="orgd54f5fd"><span class="section-number-4">2.1.3</span> Test</h4>
|
||||
<div id="outline-container-orgc9cc92e" class="outline-4">
|
||||
<h4 id="orgc9cc92e"><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>));
|
||||
@ -1163,8 +1163,8 @@ rc = qmckl_get_electron_ee_distance(context, ee_distance);
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org158c017" class="outline-3">
|
||||
<h3 id="org158c017"><span class="section-number-3">2.2</span> Electron-electron rescaled distances</h3>
|
||||
<div id="outline-container-org61be982" class="outline-3">
|
||||
<h3 id="org61be982"><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
|
||||
@ -1182,8 +1182,8 @@ where \(C_{ij}\) is the matrix of electron-electron distances.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org63e3ca9" class="outline-4">
|
||||
<h4 id="org63e3ca9"><span class="section-number-4">2.2.1</span> Get</h4>
|
||||
<div id="outline-container-orgc6a7830" class="outline-4">
|
||||
<h4 id="orgc6a7830"><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>);
|
||||
@ -1192,10 +1192,10 @@ where \(C_{ij}\) is the matrix of electron-electron distances.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org2eb6f99" class="outline-4">
|
||||
<h4 id="org2eb6f99"><span class="section-number-4">2.2.2</span> Compute</h4>
|
||||
<div id="outline-container-org8f8c01e" class="outline-4">
|
||||
<h4 id="org8f8c01e"><span class="section-number-4">2.2.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-2-2">
|
||||
<table id="org34a1d89" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org9103aa2" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -1308,8 +1308,8 @@ where \(C_{ij}\) is the matrix of electron-electron distances.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org3535689" class="outline-4">
|
||||
<h4 id="org3535689"><span class="section-number-4">2.2.3</span> Test</h4>
|
||||
<div id="outline-container-org6b45392" class="outline-4">
|
||||
<h4 id="org6b45392"><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>));
|
||||
@ -1343,8 +1343,8 @@ rc = qmckl_get_electron_ee_distance_rescaled(context, ee_distance_rescaled);
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgf6c604a" class="outline-3">
|
||||
<h3 id="orgf6c604a"><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-org144167b" class="outline-3">
|
||||
<h3 id="org144167b"><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\)
|
||||
@ -1356,8 +1356,8 @@ gives the Laplacian \(\partial x^2 + \partial y^2 + \partial z^2\).
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org6d3fc45" class="outline-4">
|
||||
<h4 id="org6d3fc45"><span class="section-number-4">2.3.1</span> Get</h4>
|
||||
<div id="outline-container-org9c5ee43" class="outline-4">
|
||||
<h4 id="org9c5ee43"><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>);
|
||||
@ -1366,10 +1366,10 @@ gives the Laplacian \(\partial x^2 + \partial y^2 + \partial z^2\).
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org50be97e" class="outline-4">
|
||||
<h4 id="org50be97e"><span class="section-number-4">2.3.2</span> Compute</h4>
|
||||
<div id="outline-container-org6f75083" class="outline-4">
|
||||
<h4 id="org6f75083"><span class="section-number-4">2.3.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-3-2">
|
||||
<table id="org61920e1" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org1cf6cff" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -1482,8 +1482,8 @@ gives the Laplacian \(\partial x^2 + \partial y^2 + \partial z^2\).
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgbd71884" class="outline-4">
|
||||
<h4 id="orgbd71884"><span class="section-number-4">2.3.3</span> Test</h4>
|
||||
<div id="outline-container-orgc43d76f" class="outline-4">
|
||||
<h4 id="orgc43d76f"><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>));
|
||||
@ -1518,8 +1518,8 @@ rc = qmckl_get_electron_ee_distance_rescaled_deriv_e(context, ee_distance_rescal
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org6ba4a90" class="outline-3">
|
||||
<h3 id="org6ba4a90"><span class="section-number-3">2.4</span> Electron-electron potential</h3>
|
||||
<div id="outline-container-org948bc10" class="outline-3">
|
||||
<h3 id="org948bc10"><span class="section-number-3">2.4</span> Electron-electron potential</h3>
|
||||
<div class="outline-text-3" id="text-2-4">
|
||||
<p>
|
||||
<code>ee_pot</code> calculates the <code>ee</code> potential energy.
|
||||
@ -1537,8 +1537,8 @@ distance.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org2f3b1f6" class="outline-4">
|
||||
<h4 id="org2f3b1f6"><span class="section-number-4">2.4.1</span> Get</h4>
|
||||
<div id="outline-container-orgefbfd86" class="outline-4">
|
||||
<h4 id="orgefbfd86"><span class="section-number-4">2.4.1</span> Get</h4>
|
||||
<div class="outline-text-4" id="text-2-4-1">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_get_electron_ee_potential</span>(<span style="color: #228b22;">qmckl_context</span> <span style="color: #a0522d;">context</span>, <span style="color: #228b22;">double</span>* <span style="color: #a020f0;">const</span> <span style="color: #a0522d;">ee_pot</span>);
|
||||
@ -1547,10 +1547,10 @@ distance.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org67a6582" class="outline-4">
|
||||
<h4 id="org67a6582"><span class="section-number-4">2.4.2</span> Compute</h4>
|
||||
<div id="outline-container-orgf2e96a1" class="outline-4">
|
||||
<h4 id="orgf2e96a1"><span class="section-number-4">2.4.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-4-2">
|
||||
<table id="org2685b94" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orgb179078" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -1666,8 +1666,8 @@ distance.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org4f1bcb4" class="outline-4">
|
||||
<h4 id="org4f1bcb4"><span class="section-number-4">2.4.3</span> Test</h4>
|
||||
<div id="outline-container-org677f782" class="outline-4">
|
||||
<h4 id="org677f782"><span class="section-number-4">2.4.3</span> Test</h4>
|
||||
<div class="outline-text-4" id="text-2-4-3">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">double</span> <span style="color: #a0522d;">ee_pot</span>[walk_num];
|
||||
@ -1679,12 +1679,12 @@ rc = qmckl_get_electron_ee_potential(context, &(ee_pot[0]));
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-org025d4d3" class="outline-3">
|
||||
<h3 id="org025d4d3"><span class="section-number-3">2.5</span> Electron-nucleus distances</h3>
|
||||
<div id="outline-container-orgac11b0b" class="outline-3">
|
||||
<h3 id="orgac11b0b"><span class="section-number-3">2.5</span> Electron-nucleus distances</h3>
|
||||
<div class="outline-text-3" id="text-2-5">
|
||||
</div>
|
||||
<div id="outline-container-org16c9cf9" class="outline-4">
|
||||
<h4 id="org16c9cf9"><span class="section-number-4">2.5.1</span> Get</h4>
|
||||
<div id="outline-container-orga7a1b64" class="outline-4">
|
||||
<h4 id="orga7a1b64"><span class="section-number-4">2.5.1</span> Get</h4>
|
||||
<div class="outline-text-4" id="text-2-5-1">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_get_electron_en_distance</span>(<span style="color: #228b22;">qmckl_context</span> <span style="color: #a0522d;">context</span>, <span style="color: #228b22;">double</span>* <span style="color: #a0522d;">distance</span>);
|
||||
@ -1693,10 +1693,10 @@ rc = qmckl_get_electron_ee_potential(context, &(ee_pot[0]));
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgdd48c54" class="outline-4">
|
||||
<h4 id="orgdd48c54"><span class="section-number-4">2.5.2</span> Compute</h4>
|
||||
<div id="outline-container-org0d13375" class="outline-4">
|
||||
<h4 id="org0d13375"><span class="section-number-4">2.5.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-5-2">
|
||||
<table id="org05cc8a9" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org0b7504b" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -1821,8 +1821,8 @@ rc = qmckl_get_electron_ee_potential(context, &(ee_pot[0]));
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org8b1d100" class="outline-4">
|
||||
<h4 id="org8b1d100"><span class="section-number-4">2.5.3</span> Test</h4>
|
||||
<div id="outline-container-org16f130e" class="outline-4">
|
||||
<h4 id="org16f130e"><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">
|
||||
@ -1870,8 +1870,8 @@ rc = qmckl_get_electron_en_distance(context, &(en_distance[0][0][0]));
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org2ca3fcd" class="outline-3">
|
||||
<h3 id="org2ca3fcd"><span class="section-number-3">2.6</span> Electron-nucleus rescaled distances</h3>
|
||||
<div id="outline-container-orgb2c4213" class="outline-3">
|
||||
<h3 id="orgb2c4213"><span class="section-number-3">2.6</span> Electron-nucleus rescaled distances</h3>
|
||||
<div class="outline-text-3" id="text-2-6">
|
||||
<p>
|
||||
<code>en_distance_rescaled</code> stores the matrix of the rescaled distances between
|
||||
@ -1889,8 +1889,8 @@ where \(C_{ij}\) is the matrix of electron-nucleus distances.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgf7e8fe1" class="outline-4">
|
||||
<h4 id="orgf7e8fe1"><span class="section-number-4">2.6.1</span> Get</h4>
|
||||
<div id="outline-container-orgbf1694c" class="outline-4">
|
||||
<h4 id="orgbf1694c"><span class="section-number-4">2.6.1</span> Get</h4>
|
||||
<div class="outline-text-4" id="text-2-6-1">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_get_electron_en_distance_rescaled</span>(<span style="color: #228b22;">qmckl_context</span> <span style="color: #a0522d;">context</span>, <span style="color: #228b22;">double</span>* <span style="color: #a0522d;">distance_rescaled</span>);
|
||||
@ -1900,10 +1900,10 @@ where \(C_{ij}\) is the matrix of electron-nucleus distances.
|
||||
</div>
|
||||
|
||||
|
||||
<div id="outline-container-org4762441" class="outline-4">
|
||||
<h4 id="org4762441"><span class="section-number-4">2.6.2</span> Compute</h4>
|
||||
<div id="outline-container-orge97dc43" class="outline-4">
|
||||
<h4 id="orge97dc43"><span class="section-number-4">2.6.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-6-2">
|
||||
<table id="org74758dd" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orga094135" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -2043,8 +2043,8 @@ where \(C_{ij}\) is the matrix of electron-nucleus distances.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgb668264" class="outline-4">
|
||||
<h4 id="orgb668264"><span class="section-number-4">2.6.3</span> Test</h4>
|
||||
<div id="outline-container-orge4cc7f6" class="outline-4">
|
||||
<h4 id="orge4cc7f6"><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">
|
||||
@ -2092,8 +2092,8 @@ rc = qmckl_get_electron_en_distance_rescaled(context, &(en_distance_rescaled
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgf425f4e" class="outline-3">
|
||||
<h3 id="orgf425f4e"><span class="section-number-3">2.7</span> Electron-nucleus rescaled distance gradients and laplacian with respect to electron coords</h3>
|
||||
<div id="outline-container-org6955aa3" class="outline-3">
|
||||
<h3 id="org6955aa3"><span class="section-number-3">2.7</span> Electron-nucleus rescaled distance gradients and laplacian with respect to electron coords</h3>
|
||||
<div class="outline-text-3" id="text-2-7">
|
||||
<p>
|
||||
The rescaled distances which is given as \(R = (1 - \exp{-\kappa r})/\kappa\)
|
||||
@ -2105,8 +2105,8 @@ gives the Laplacian \(\partial x^2 + \partial y^2 + \partial z^2\).
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org1035471" class="outline-4">
|
||||
<h4 id="org1035471"><span class="section-number-4">2.7.1</span> Get</h4>
|
||||
<div id="outline-container-org1a0bff9" class="outline-4">
|
||||
<h4 id="org1a0bff9"><span class="section-number-4">2.7.1</span> Get</h4>
|
||||
<div class="outline-text-4" id="text-2-7-1">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_get_electron_en_distance_rescaled_deriv_e</span>(<span style="color: #228b22;">qmckl_context</span> <span style="color: #a0522d;">context</span>, <span style="color: #228b22;">double</span>* <span style="color: #a0522d;">distance_rescaled_deriv_e</span>);
|
||||
@ -2115,10 +2115,10 @@ gives the Laplacian \(\partial x^2 + \partial y^2 + \partial z^2\).
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgd34ecbd" class="outline-4">
|
||||
<h4 id="orgd34ecbd"><span class="section-number-4">2.7.2</span> Compute</h4>
|
||||
<div id="outline-container-orged175c7" class="outline-4">
|
||||
<h4 id="orged175c7"><span class="section-number-4">2.7.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-7-2">
|
||||
<table id="org58d9ba6" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orgb55fc1d" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -2259,8 +2259,8 @@ gives the Laplacian \(\partial x^2 + \partial y^2 + \partial z^2\).
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgfa5b4ed" class="outline-4">
|
||||
<h4 id="orgfa5b4ed"><span class="section-number-4">2.7.3</span> Test</h4>
|
||||
<div id="outline-container-orgc934780" class="outline-4">
|
||||
<h4 id="orgc934780"><span class="section-number-4">2.7.3</span> Test</h4>
|
||||
<div class="outline-text-4" id="text-2-7-3">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c">
|
||||
@ -2312,8 +2312,8 @@ rc = qmckl_get_electron_en_distance_rescaled_deriv_e(context, &(en_distance_
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org66faecc" class="outline-3">
|
||||
<h3 id="org66faecc"><span class="section-number-3">2.8</span> Electron-nucleus potential</h3>
|
||||
<div id="outline-container-orgb96234d" class="outline-3">
|
||||
<h3 id="orgb96234d"><span class="section-number-3">2.8</span> Electron-nucleus potential</h3>
|
||||
<div class="outline-text-3" id="text-2-8">
|
||||
<p>
|
||||
<code>en_potential</code> stores the <code>en</code> potential energy
|
||||
@ -2331,8 +2331,8 @@ distance and \[Z_A\] is the nuclear charge.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orge8e4ef1" class="outline-4">
|
||||
<h4 id="orge8e4ef1"><span class="section-number-4">2.8.1</span> Get</h4>
|
||||
<div id="outline-container-org0d65349" class="outline-4">
|
||||
<h4 id="org0d65349"><span class="section-number-4">2.8.1</span> Get</h4>
|
||||
<div class="outline-text-4" id="text-2-8-1">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_get_electron_en_potential</span>(<span style="color: #228b22;">qmckl_context</span> <span style="color: #a0522d;">context</span>, <span style="color: #228b22;">double</span>* <span style="color: #a020f0;">const</span> <span style="color: #a0522d;">en_pot</span>);
|
||||
@ -2341,10 +2341,10 @@ distance and \[Z_A\] is the nuclear charge.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org5437eed" class="outline-4">
|
||||
<h4 id="org5437eed"><span class="section-number-4">2.8.2</span> Compute</h4>
|
||||
<div id="outline-container-org95b16c9" class="outline-4">
|
||||
<h4 id="org95b16c9"><span class="section-number-4">2.8.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-8-2">
|
||||
<table id="org78df47e" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orgf383dd3" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -2478,8 +2478,8 @@ distance and \[Z_A\] is the nuclear charge.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org9452d88" class="outline-4">
|
||||
<h4 id="org9452d88"><span class="section-number-4">2.8.3</span> Test</h4>
|
||||
<div id="outline-container-org83db234" class="outline-4">
|
||||
<h4 id="org83db234"><span class="section-number-4">2.8.3</span> Test</h4>
|
||||
<div class="outline-text-4" id="text-2-8-3">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">double</span> <span style="color: #a0522d;">en_pot</span>[walk_num];
|
||||
@ -2492,14 +2492,14 @@ rc = qmckl_get_electron_en_potential(context, &(en_pot[0]));
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org259442e" class="outline-3">
|
||||
<h3 id="org259442e"><span class="section-number-3">2.9</span> Generate initial coordinates</h3>
|
||||
<div id="outline-container-org41e6dfb" class="outline-3">
|
||||
<h3 id="org41e6dfb"><span class="section-number-3">2.9</span> Generate initial coordinates</h3>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: TREX CoE</p>
|
||||
<p class="date">Created: 2022-02-04 Fri 09:24</p>
|
||||
<p class="date">Created: 2022-02-09 Wed 13:39</p>
|
||||
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||
</div>
|
||||
</body>
|
||||
|
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2022-02-04 Fri 09:24 -->
|
||||
<!-- 2022-02-09 Wed 13:39 -->
|
||||
<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="#org112485a">1. Decoding errors</a></li>
|
||||
<li><a href="#org7229418">2. Data structure in context</a></li>
|
||||
<li><a href="#org184fcaf">3. Updating errors in the context</a></li>
|
||||
<li><a href="#org17d401c">4. Get the error</a></li>
|
||||
<li><a href="#org24db3b1">5. Failing</a></li>
|
||||
<li><a href="#org409b196">1. Decoding errors</a></li>
|
||||
<li><a href="#org7cd7a2f">2. Data structure in context</a></li>
|
||||
<li><a href="#org1388a44">3. Updating errors in the context</a></li>
|
||||
<li><a href="#orgcb1d772">4. Get the error</a></li>
|
||||
<li><a href="#org20a1475">5. Failing</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org112485a" class="outline-2">
|
||||
<h2 id="org112485a"><span class="section-number-2">1</span> Decoding errors</h2>
|
||||
<div id="outline-container-org409b196" class="outline-2">
|
||||
<h2 id="org409b196"><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-org7229418" class="outline-2">
|
||||
<h2 id="org7229418"><span class="section-number-2">2</span> Data structure in context</h2>
|
||||
<div id="outline-container-org7cd7a2f" class="outline-2">
|
||||
<h2 id="org7cd7a2f"><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-org184fcaf" class="outline-2">
|
||||
<h2 id="org184fcaf"><span class="section-number-2">3</span> Updating errors in the context</h2>
|
||||
<div id="outline-container-org1388a44" class="outline-2">
|
||||
<h2 id="org1388a44"><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-org17d401c" class="outline-2">
|
||||
<h2 id="org17d401c"><span class="section-number-2">4</span> Get the error</h2>
|
||||
<div id="outline-container-orgcb1d772" class="outline-2">
|
||||
<h2 id="orgcb1d772"><span class="section-number-2">4</span> Get the error</h2>
|
||||
<div class="outline-text-2" id="text-4">
|
||||
<p>
|
||||
Upon error, the error type and message can be obtained from the
|
||||
@ -575,8 +575,8 @@ function name and message is mandatory.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org24db3b1" class="outline-2">
|
||||
<h2 id="org24db3b1"><span class="section-number-2">5</span> Failing</h2>
|
||||
<div id="outline-container-org20a1475" class="outline-2">
|
||||
<h2 id="org20a1475"><span class="section-number-2">5</span> Failing</h2>
|
||||
<div class="outline-text-2" id="text-5">
|
||||
<p>
|
||||
To make a function fail, the <code>qmckl_failwith</code> function should be
|
||||
@ -639,7 +639,7 @@ For example, this function can be used as
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: TREX CoE</p>
|
||||
<p class="date">Created: 2022-02-04 Fri 09:24</p>
|
||||
<p class="date">Created: 2022-02-09 Wed 13:39</p>
|
||||
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||
</div>
|
||||
</body>
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2022-02-04 Fri 09:24 -->
|
||||
<!-- 2022-02-09 Wed 13:39 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>Local Energy</title>
|
||||
@ -333,43 +333,43 @@ for the JavaScript code in this tag.
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents">
|
||||
<ul>
|
||||
<li><a href="#orgd5f13b2">1. Context</a>
|
||||
<li><a href="#orgede268e">1. Context</a>
|
||||
<ul>
|
||||
<li><a href="#org103cbcb">1.1. Data structure</a></li>
|
||||
<li><a href="#orgdcb2c3f">1.1. Data structure</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org722bd2e">2. Computation</a>
|
||||
<li><a href="#orgf23fd9d">2. Computation</a>
|
||||
<ul>
|
||||
<li><a href="#org6da6337">2.1. Kinetic energy</a>
|
||||
<li><a href="#orgf607521">2.1. Kinetic energy</a>
|
||||
<ul>
|
||||
<li><a href="#org805e888">2.1.1. Get</a></li>
|
||||
<li><a href="#org9c99805">2.1.2. Provide</a></li>
|
||||
<li><a href="#org296c1a8">2.1.3. Compute kinetic enregy</a></li>
|
||||
<li><a href="#orgcd7b240">2.1.4. Test</a></li>
|
||||
<li><a href="#orgce72405">2.1.1. Get</a></li>
|
||||
<li><a href="#orgb6b4cf7">2.1.2. Provide</a></li>
|
||||
<li><a href="#orgd443d51">2.1.3. Compute kinetic enregy</a></li>
|
||||
<li><a href="#org0462d2e">2.1.4. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org8dbdf3b">2.2. Potential energy</a>
|
||||
<li><a href="#org2962c4a">2.2. Potential energy</a>
|
||||
<ul>
|
||||
<li><a href="#orge33e174">2.2.1. Get</a></li>
|
||||
<li><a href="#orga3a674e">2.2.2. Provide</a></li>
|
||||
<li><a href="#org7e1ce6a">2.2.3. Compute potential enregy</a></li>
|
||||
<li><a href="#org0b5872d">2.2.4. Test</a></li>
|
||||
<li><a href="#org346a298">2.2.1. Get</a></li>
|
||||
<li><a href="#orgfb7a607">2.2.2. Provide</a></li>
|
||||
<li><a href="#org9f6cbc8">2.2.3. Compute potential enregy</a></li>
|
||||
<li><a href="#orgefea74a">2.2.4. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orga1597d7">2.3. Local energy</a>
|
||||
<li><a href="#orgebf8b8b">2.3. Local energy</a>
|
||||
<ul>
|
||||
<li><a href="#orged53fbe">2.3.1. Get</a></li>
|
||||
<li><a href="#org455778e">2.3.2. Provide</a></li>
|
||||
<li><a href="#org40b5402">2.3.3. Compute local enregy</a></li>
|
||||
<li><a href="#orga51644f">2.3.4. Test</a></li>
|
||||
<li><a href="#org721c302">2.3.1. Get</a></li>
|
||||
<li><a href="#org651c0ad">2.3.2. Provide</a></li>
|
||||
<li><a href="#org0aa3093">2.3.3. Compute local enregy</a></li>
|
||||
<li><a href="#org8ef07c4">2.3.4. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org2cbad68">2.4. Drift vector</a>
|
||||
<li><a href="#org829d78e">2.4. Drift vector</a>
|
||||
<ul>
|
||||
<li><a href="#orgb4216d9">2.4.1. Get</a></li>
|
||||
<li><a href="#org4857b65">2.4.2. Provide</a></li>
|
||||
<li><a href="#orgc7bfebc">2.4.3. Compute drift vector</a></li>
|
||||
<li><a href="#orga82ad85">2.4.4. Test</a></li>
|
||||
<li><a href="#org7718910">2.4.1. Get</a></li>
|
||||
<li><a href="#org0677570">2.4.2. Provide</a></li>
|
||||
<li><a href="#org420c36e">2.4.3. Compute drift vector</a></li>
|
||||
<li><a href="#org9f9506a">2.4.4. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@ -378,8 +378,8 @@ for the JavaScript code in this tag.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgd5f13b2" class="outline-2">
|
||||
<h2 id="orgd5f13b2"><span class="section-number-2">1</span> Context</h2>
|
||||
<div id="outline-container-orgede268e" class="outline-2">
|
||||
<h2 id="orgede268e"><span class="section-number-2">1</span> Context</h2>
|
||||
<div class="outline-text-2" id="text-1">
|
||||
<p>
|
||||
The following arrays are stored in the context:
|
||||
@ -452,8 +452,8 @@ Computed data:
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org103cbcb" class="outline-3">
|
||||
<h3 id="org103cbcb"><span class="section-number-3">1.1</span> Data structure</h3>
|
||||
<div id="outline-container-orgdcb2c3f" class="outline-3">
|
||||
<h3 id="orgdcb2c3f"><span class="section-number-3">1.1</span> Data structure</h3>
|
||||
<div class="outline-text-3" id="text-1-1">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #a020f0;">typedef</span> <span style="color: #a020f0;">struct</span> <span style="color: #228b22;">qmckl_local_energy_struct</span> {
|
||||
@ -488,12 +488,12 @@ this mechanism.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org722bd2e" class="outline-2">
|
||||
<h2 id="org722bd2e"><span class="section-number-2">2</span> Computation</h2>
|
||||
<div id="outline-container-orgf23fd9d" class="outline-2">
|
||||
<h2 id="orgf23fd9d"><span class="section-number-2">2</span> Computation</h2>
|
||||
<div class="outline-text-2" id="text-2">
|
||||
</div>
|
||||
<div id="outline-container-org6da6337" class="outline-3">
|
||||
<h3 id="org6da6337"><span class="section-number-3">2.1</span> Kinetic energy</h3>
|
||||
<div id="outline-container-orgf607521" class="outline-3">
|
||||
<h3 id="orgf607521"><span class="section-number-3">2.1</span> Kinetic energy</h3>
|
||||
<div class="outline-text-3" id="text-2-1">
|
||||
<p>
|
||||
Where the kinetic energy is given as:
|
||||
@ -517,8 +517,8 @@ case is given as follows:
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org805e888" class="outline-4">
|
||||
<h4 id="org805e888"><span class="section-number-4">2.1.1</span> Get</h4>
|
||||
<div id="outline-container-orgce72405" class="outline-4">
|
||||
<h4 id="orgce72405"><span class="section-number-4">2.1.1</span> Get</h4>
|
||||
<div class="outline-text-4" id="text-2-1-1">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_get_kinetic_energy</span>(<span style="color: #228b22;">qmckl_context</span> <span style="color: #a0522d;">context</span>, <span style="color: #228b22;">double</span>* <span style="color: #a020f0;">const</span> <span style="color: #a0522d;">kinetic_energy</span>);
|
||||
@ -527,14 +527,14 @@ case is given as follows:
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org9c99805" class="outline-4">
|
||||
<h4 id="org9c99805"><span class="section-number-4">2.1.2</span> Provide</h4>
|
||||
<div id="outline-container-orgb6b4cf7" class="outline-4">
|
||||
<h4 id="orgb6b4cf7"><span class="section-number-4">2.1.2</span> Provide</h4>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org296c1a8" class="outline-4">
|
||||
<h4 id="org296c1a8"><span class="section-number-4">2.1.3</span> Compute kinetic enregy</h4>
|
||||
<div id="outline-container-orgd443d51" class="outline-4">
|
||||
<h4 id="orgd443d51"><span class="section-number-4">2.1.3</span> Compute kinetic enregy</h4>
|
||||
<div class="outline-text-4" id="text-2-1-3">
|
||||
<table id="org9da594a" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orgd61e112" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -763,12 +763,12 @@ case is given as follows:
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgcd7b240" class="outline-4">
|
||||
<h4 id="orgcd7b240"><span class="section-number-4">2.1.4</span> Test</h4>
|
||||
<div id="outline-container-org0462d2e" class="outline-4">
|
||||
<h4 id="org0462d2e"><span class="section-number-4">2.1.4</span> Test</h4>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-org8dbdf3b" class="outline-3">
|
||||
<h3 id="org8dbdf3b"><span class="section-number-3">2.2</span> Potential energy</h3>
|
||||
<div id="outline-container-org2962c4a" class="outline-3">
|
||||
<h3 id="org2962c4a"><span class="section-number-3">2.2</span> Potential energy</h3>
|
||||
<div class="outline-text-3" id="text-2-2">
|
||||
<p>
|
||||
The potential energy is the sum of all the following terms
|
||||
@ -804,8 +804,8 @@ contributions.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orge33e174" class="outline-4">
|
||||
<h4 id="orge33e174"><span class="section-number-4">2.2.1</span> Get</h4>
|
||||
<div id="outline-container-org346a298" class="outline-4">
|
||||
<h4 id="org346a298"><span class="section-number-4">2.2.1</span> Get</h4>
|
||||
<div class="outline-text-4" id="text-2-2-1">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_get_potential_energy</span>(<span style="color: #228b22;">qmckl_context</span> <span style="color: #a0522d;">context</span>, <span style="color: #228b22;">double</span>* <span style="color: #a020f0;">const</span> <span style="color: #a0522d;">potential_energy</span>);
|
||||
@ -814,14 +814,14 @@ contributions.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orga3a674e" class="outline-4">
|
||||
<h4 id="orga3a674e"><span class="section-number-4">2.2.2</span> Provide</h4>
|
||||
<div id="outline-container-orgfb7a607" class="outline-4">
|
||||
<h4 id="orgfb7a607"><span class="section-number-4">2.2.2</span> Provide</h4>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org7e1ce6a" class="outline-4">
|
||||
<h4 id="org7e1ce6a"><span class="section-number-4">2.2.3</span> Compute potential enregy</h4>
|
||||
<div id="outline-container-org9f6cbc8" class="outline-4">
|
||||
<h4 id="org9f6cbc8"><span class="section-number-4">2.2.3</span> Compute potential enregy</h4>
|
||||
<div class="outline-text-4" id="text-2-2-3">
|
||||
<table id="orgdef9b39" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org2dcb5fb" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -949,12 +949,12 @@ contributions.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org0b5872d" class="outline-4">
|
||||
<h4 id="org0b5872d"><span class="section-number-4">2.2.4</span> Test</h4>
|
||||
<div id="outline-container-orgefea74a" class="outline-4">
|
||||
<h4 id="orgefea74a"><span class="section-number-4">2.2.4</span> Test</h4>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-orga1597d7" class="outline-3">
|
||||
<h3 id="orga1597d7"><span class="section-number-3">2.3</span> Local energy</h3>
|
||||
<div id="outline-container-orgebf8b8b" class="outline-3">
|
||||
<h3 id="orgebf8b8b"><span class="section-number-3">2.3</span> Local energy</h3>
|
||||
<div class="outline-text-3" id="text-2-3">
|
||||
<p>
|
||||
The local energy is the sum of kinetic and potential energies.
|
||||
@ -968,8 +968,8 @@ E_L = KE + PE
|
||||
</div>
|
||||
|
||||
|
||||
<div id="outline-container-orged53fbe" class="outline-4">
|
||||
<h4 id="orged53fbe"><span class="section-number-4">2.3.1</span> Get</h4>
|
||||
<div id="outline-container-org721c302" class="outline-4">
|
||||
<h4 id="org721c302"><span class="section-number-4">2.3.1</span> Get</h4>
|
||||
<div class="outline-text-4" id="text-2-3-1">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_get_local_energy</span>(<span style="color: #228b22;">qmckl_context</span> <span style="color: #a0522d;">context</span>, <span style="color: #228b22;">double</span>* <span style="color: #a020f0;">const</span> <span style="color: #a0522d;">local_energy</span>);
|
||||
@ -978,14 +978,14 @@ E_L = KE + PE
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org455778e" class="outline-4">
|
||||
<h4 id="org455778e"><span class="section-number-4">2.3.2</span> Provide</h4>
|
||||
<div id="outline-container-org651c0ad" class="outline-4">
|
||||
<h4 id="org651c0ad"><span class="section-number-4">2.3.2</span> Provide</h4>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org40b5402" class="outline-4">
|
||||
<h4 id="org40b5402"><span class="section-number-4">2.3.3</span> Compute local enregy</h4>
|
||||
<div id="outline-container-org0aa3093" class="outline-4">
|
||||
<h4 id="org0aa3093"><span class="section-number-4">2.3.3</span> Compute local enregy</h4>
|
||||
<div class="outline-text-4" id="text-2-3-3">
|
||||
<table id="orgd3ec8ce" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org6925de3" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -1081,12 +1081,12 @@ E_L = KE + PE
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orga51644f" class="outline-4">
|
||||
<h4 id="orga51644f"><span class="section-number-4">2.3.4</span> Test</h4>
|
||||
<div id="outline-container-org8ef07c4" class="outline-4">
|
||||
<h4 id="org8ef07c4"><span class="section-number-4">2.3.4</span> Test</h4>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-org2cbad68" class="outline-3">
|
||||
<h3 id="org2cbad68"><span class="section-number-3">2.4</span> Drift vector</h3>
|
||||
<div id="outline-container-org829d78e" class="outline-3">
|
||||
<h3 id="org829d78e"><span class="section-number-3">2.4</span> Drift vector</h3>
|
||||
<div class="outline-text-3" id="text-2-4">
|
||||
<p>
|
||||
The drift vector is calculated as the ration of the gradient
|
||||
@ -1100,8 +1100,8 @@ with the determinant of the wavefunction.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgb4216d9" class="outline-4">
|
||||
<h4 id="orgb4216d9"><span class="section-number-4">2.4.1</span> Get</h4>
|
||||
<div id="outline-container-org7718910" class="outline-4">
|
||||
<h4 id="org7718910"><span class="section-number-4">2.4.1</span> Get</h4>
|
||||
<div class="outline-text-4" id="text-2-4-1">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_get_drift_vector</span>(<span style="color: #228b22;">qmckl_context</span> <span style="color: #a0522d;">context</span>, <span style="color: #228b22;">double</span>* <span style="color: #a020f0;">const</span> <span style="color: #a0522d;">drift_vector</span>);
|
||||
@ -1110,14 +1110,14 @@ with the determinant of the wavefunction.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org4857b65" class="outline-4">
|
||||
<h4 id="org4857b65"><span class="section-number-4">2.4.2</span> Provide</h4>
|
||||
<div id="outline-container-org0677570" class="outline-4">
|
||||
<h4 id="org0677570"><span class="section-number-4">2.4.2</span> Provide</h4>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgc7bfebc" class="outline-4">
|
||||
<h4 id="orgc7bfebc"><span class="section-number-4">2.4.3</span> Compute drift vector</h4>
|
||||
<div id="outline-container-org420c36e" class="outline-4">
|
||||
<h4 id="org420c36e"><span class="section-number-4">2.4.3</span> Compute drift vector</h4>
|
||||
<div class="outline-text-4" id="text-2-4-3">
|
||||
<table id="orgefb8928" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orgc2684d5" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -1338,15 +1338,15 @@ with the determinant of the wavefunction.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orga82ad85" class="outline-4">
|
||||
<h4 id="orga82ad85"><span class="section-number-4">2.4.4</span> Test</h4>
|
||||
<div id="outline-container-org9f9506a" class="outline-4">
|
||||
<h4 id="org9f9506a"><span class="section-number-4">2.4.4</span> Test</h4>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: TREX CoE</p>
|
||||
<p class="date">Created: 2022-02-04 Fri 09:24</p>
|
||||
<p class="date">Created: 2022-02-09 Wed 13:39</p>
|
||||
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||
</div>
|
||||
</body>
|
||||
|
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2022-02-04 Fri 09:23 -->
|
||||
<!-- 2022-02-09 Wed 13:38 -->
|
||||
<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="#org1f8b314">1. Memory data structure for the context</a></li>
|
||||
<li><a href="#org460b73e">2. Passing info to allocation routines</a></li>
|
||||
<li><a href="#org7a81885">3. Allocation/deallocation functions</a></li>
|
||||
<li><a href="#org85ab5b6">1. Memory data structure for the context</a></li>
|
||||
<li><a href="#org5ab1162">2. Passing info to allocation routines</a></li>
|
||||
<li><a href="#org7fe54c3">3. Allocation/deallocation functions</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org1f8b314" class="outline-2">
|
||||
<h2 id="org1f8b314"><span class="section-number-2">1</span> Memory data structure for the context</h2>
|
||||
<div id="outline-container-org85ab5b6" class="outline-2">
|
||||
<h2 id="org85ab5b6"><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-org460b73e" class="outline-2">
|
||||
<h2 id="org460b73e"><span class="section-number-2">2</span> Passing info to allocation routines</h2>
|
||||
<div id="outline-container-org5ab1162" class="outline-2">
|
||||
<h2 id="org5ab1162"><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-org7a81885" class="outline-2">
|
||||
<h2 id="org7a81885"><span class="section-number-2">3</span> Allocation/deallocation functions</h2>
|
||||
<div id="outline-container-org7fe54c3" class="outline-2">
|
||||
<h2 id="org7fe54c3"><span class="section-number-2">3</span> Allocation/deallocation functions</h2>
|
||||
<div class="outline-text-2" id="text-3">
|
||||
<p>
|
||||
Memory allocation inside the library should be done with
|
||||
@ -535,7 +535,7 @@ allocation and needs to be updated.
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: TREX CoE</p>
|
||||
<p class="date">Created: 2022-02-04 Fri 09:23</p>
|
||||
<p class="date">Created: 2022-02-09 Wed 13:38</p>
|
||||
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||
</div>
|
||||
</body>
|
||||
|
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2022-02-04 Fri 09:23 -->
|
||||
<!-- 2022-02-09 Wed 13:38 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>Molecular Orbitals</title>
|
||||
@ -311,21 +311,21 @@ for the JavaScript code in this tag.
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents">
|
||||
<ul>
|
||||
<li><a href="#org3582342">1. Context</a>
|
||||
<li><a href="#org440ec72">1. Context</a>
|
||||
<ul>
|
||||
<li><a href="#org94211bd">1.1. Data structure</a></li>
|
||||
<li><a href="#org42fc6ac">1.2. Access functions</a></li>
|
||||
<li><a href="#org3189c5e">1.3. Initialization functions</a></li>
|
||||
<li><a href="#org4148a86">1.1. Data structure</a></li>
|
||||
<li><a href="#org8c557e2">1.2. Access functions</a></li>
|
||||
<li><a href="#orga9cfdb3">1.3. Initialization functions</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orged48c08">2. Computation</a>
|
||||
<li><a href="#org8bf0491">2. Computation</a>
|
||||
<ul>
|
||||
<li><a href="#orgc7aabbb">2.1. Computation of MOs</a>
|
||||
<li><a href="#org8ade969">2.1. Computation of MOs</a>
|
||||
<ul>
|
||||
<li><a href="#org51cd9dc">2.1.1. Get</a></li>
|
||||
<li><a href="#orgaf13dc0">2.1.2. Provide</a></li>
|
||||
<li><a href="#org2aa5cfb">2.1.3. Compute</a></li>
|
||||
<li><a href="#orgbec125c">2.1.4. Test</a></li>
|
||||
<li><a href="#org31adae7">2.1.1. Get</a></li>
|
||||
<li><a href="#org6d63eab">2.1.2. Provide</a></li>
|
||||
<li><a href="#org40c2e68">2.1.3. Compute</a></li>
|
||||
<li><a href="#org260aab5">2.1.4. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@ -334,8 +334,8 @@ for the JavaScript code in this tag.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org3582342" class="outline-2">
|
||||
<h2 id="org3582342"><span class="section-number-2">1</span> Context</h2>
|
||||
<div id="outline-container-org440ec72" class="outline-2">
|
||||
<h2 id="org440ec72"><span class="section-number-2">1</span> Context</h2>
|
||||
<div class="outline-text-2" id="text-1">
|
||||
<p>
|
||||
The following arrays are stored in the context:
|
||||
@ -397,8 +397,8 @@ Computed data:
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org94211bd" class="outline-3">
|
||||
<h3 id="org94211bd"><span class="section-number-3">1.1</span> Data structure</h3>
|
||||
<div id="outline-container-org4148a86" class="outline-3">
|
||||
<h3 id="org4148a86"><span class="section-number-3">1.1</span> Data structure</h3>
|
||||
<div class="outline-text-3" id="text-1-1">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #a020f0;">typedef</span> <span style="color: #a020f0;">struct</span> <span style="color: #228b22;">qmckl_mo_basis_struct</span> {
|
||||
@ -447,8 +447,8 @@ this mechanism.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org42fc6ac" class="outline-3">
|
||||
<h3 id="org42fc6ac"><span class="section-number-3">1.2</span> Access functions</h3>
|
||||
<div id="outline-container-org8c557e2" class="outline-3">
|
||||
<h3 id="org8c557e2"><span class="section-number-3">1.2</span> Access functions</h3>
|
||||
<div class="outline-text-3" id="text-1-2">
|
||||
<p>
|
||||
When all the data for the AOs have been provided, the following
|
||||
@ -462,8 +462,8 @@ function returns <code>true</code>.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org3189c5e" class="outline-3">
|
||||
<h3 id="org3189c5e"><span class="section-number-3">1.3</span> Initialization functions</h3>
|
||||
<div id="outline-container-orga9cfdb3" class="outline-3">
|
||||
<h3 id="orga9cfdb3"><span class="section-number-3">1.3</span> Initialization functions</h3>
|
||||
<div class="outline-text-3" id="text-1-3">
|
||||
<p>
|
||||
To set the basis set, all the following functions need to be
|
||||
@ -484,16 +484,16 @@ computed to accelerate the calculations.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orged48c08" class="outline-2">
|
||||
<h2 id="orged48c08"><span class="section-number-2">2</span> Computation</h2>
|
||||
<div id="outline-container-org8bf0491" class="outline-2">
|
||||
<h2 id="org8bf0491"><span class="section-number-2">2</span> Computation</h2>
|
||||
<div class="outline-text-2" id="text-2">
|
||||
</div>
|
||||
<div id="outline-container-orgc7aabbb" class="outline-3">
|
||||
<h3 id="orgc7aabbb"><span class="section-number-3">2.1</span> Computation of MOs</h3>
|
||||
<div id="outline-container-org8ade969" class="outline-3">
|
||||
<h3 id="org8ade969"><span class="section-number-3">2.1</span> Computation of MOs</h3>
|
||||
<div class="outline-text-3" id="text-2-1">
|
||||
</div>
|
||||
<div id="outline-container-org51cd9dc" class="outline-4">
|
||||
<h4 id="org51cd9dc"><span class="section-number-4">2.1.1</span> Get</h4>
|
||||
<div id="outline-container-org31adae7" class="outline-4">
|
||||
<h4 id="org31adae7"><span class="section-number-4">2.1.1</span> Get</h4>
|
||||
<div class="outline-text-4" id="text-2-1-1">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_get_mo_basis_vgl</span>(<span style="color: #228b22;">qmckl_context</span> <span style="color: #a0522d;">context</span>, <span style="color: #228b22;">double</span>* <span style="color: #a020f0;">const</span> <span style="color: #a0522d;">mo_vgl</span>);
|
||||
@ -502,14 +502,14 @@ computed to accelerate the calculations.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgaf13dc0" class="outline-4">
|
||||
<h4 id="orgaf13dc0"><span class="section-number-4">2.1.2</span> Provide</h4>
|
||||
<div id="outline-container-org6d63eab" class="outline-4">
|
||||
<h4 id="org6d63eab"><span class="section-number-4">2.1.2</span> Provide</h4>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org2aa5cfb" class="outline-4">
|
||||
<h4 id="org2aa5cfb"><span class="section-number-4">2.1.3</span> Compute</h4>
|
||||
<div id="outline-container-org40c2e68" class="outline-4">
|
||||
<h4 id="org40c2e68"><span class="section-number-4">2.1.3</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-1-3">
|
||||
<table id="orgc270f9e" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orgd90d1f2" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -667,15 +667,15 @@ computed to accelerate the calculations.
|
||||
</div>
|
||||
|
||||
|
||||
<div id="outline-container-orgbec125c" class="outline-4">
|
||||
<h4 id="orgbec125c"><span class="section-number-4">2.1.4</span> Test</h4>
|
||||
<div id="outline-container-org260aab5" class="outline-4">
|
||||
<h4 id="org260aab5"><span class="section-number-4">2.1.4</span> Test</h4>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: TREX CoE</p>
|
||||
<p class="date">Created: 2022-02-04 Fri 09:23</p>
|
||||
<p class="date">Created: 2022-02-09 Wed 13:38</p>
|
||||
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||
</div>
|
||||
</body>
|
||||
|
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2022-02-04 Fri 09:24 -->
|
||||
<!-- 2022-02-09 Wed 13:39 -->
|
||||
<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="#orgf98aa12">1. Context</a>
|
||||
<li><a href="#org1076d90">1. Context</a>
|
||||
<ul>
|
||||
<li><a href="#org580335e">1.1. Data structure</a></li>
|
||||
<li><a href="#org4f08eaa">1.2. Access functions</a></li>
|
||||
<li><a href="#orgcc709af">1.3. Initialization functions</a></li>
|
||||
<li><a href="#org4e22fb4">1.4. Test</a></li>
|
||||
<li><a href="#org84c16f5">1.1. Data structure</a></li>
|
||||
<li><a href="#org31e58b3">1.2. Access functions</a></li>
|
||||
<li><a href="#org3e4430c">1.3. Initialization functions</a></li>
|
||||
<li><a href="#orgf94284c">1.4. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgb68539f">2. Computation</a>
|
||||
<li><a href="#org222ffb6">2. Computation</a>
|
||||
<ul>
|
||||
<li><a href="#orgfe03863">2.1. Nucleus-nucleus distances</a>
|
||||
<li><a href="#org31926c1">2.1. Nucleus-nucleus distances</a>
|
||||
<ul>
|
||||
<li><a href="#orgf335c14">2.1.1. Get</a></li>
|
||||
<li><a href="#org2f7bae3">2.1.2. Compute</a></li>
|
||||
<li><a href="#org1f33a15">2.1.3. Test</a></li>
|
||||
<li><a href="#org7b429f2">2.1.1. Get</a></li>
|
||||
<li><a href="#orgd8997e6">2.1.2. Compute</a></li>
|
||||
<li><a href="#org1b3fa97">2.1.3. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org30abf59">2.2. Nucleus-nucleus rescaled distances</a>
|
||||
<li><a href="#orgf3247e8">2.2. Nucleus-nucleus rescaled distances</a>
|
||||
<ul>
|
||||
<li><a href="#org09d4cba">2.2.1. Get</a></li>
|
||||
<li><a href="#orgb41bf4d">2.2.2. Compute</a></li>
|
||||
<li><a href="#orga34cfe5">2.2.3. Test</a></li>
|
||||
<li><a href="#orgf1a905c">2.2.1. Get</a></li>
|
||||
<li><a href="#org3d0fc79">2.2.2. Compute</a></li>
|
||||
<li><a href="#orgd8665e5">2.2.3. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org5910b70">2.3. Nuclear repulsion energy</a>
|
||||
<li><a href="#org5308751">2.3. Nuclear repulsion energy</a>
|
||||
<ul>
|
||||
<li><a href="#orgc9964be">2.3.1. Get</a></li>
|
||||
<li><a href="#orgc93a46c">2.3.2. Compute</a></li>
|
||||
<li><a href="#org30ddf8b">2.3.3. Test</a></li>
|
||||
<li><a href="#org611d6c7">2.3.1. Get</a></li>
|
||||
<li><a href="#orgf8e0291">2.3.2. Compute</a></li>
|
||||
<li><a href="#orgd04f056">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-orgf98aa12" class="outline-2">
|
||||
<h2 id="orgf98aa12"><span class="section-number-2">1</span> Context</h2>
|
||||
<div id="outline-container-org1076d90" class="outline-2">
|
||||
<h2 id="org1076d90"><span class="section-number-2">1</span> Context</h2>
|
||||
<div class="outline-text-2" id="text-1">
|
||||
<p>
|
||||
The following data stored in the context:
|
||||
@ -486,8 +486,8 @@ Computed data:
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org580335e" class="outline-3">
|
||||
<h3 id="org580335e"><span class="section-number-3">1.1</span> Data structure</h3>
|
||||
<div id="outline-container-org84c16f5" class="outline-3">
|
||||
<h3 id="org84c16f5"><span class="section-number-3">1.1</span> Data structure</h3>
|
||||
<div class="outline-text-3" id="text-1-1">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #a020f0;">typedef</span> <span style="color: #a020f0;">struct</span> <span style="color: #228b22;">qmckl_nucleus_struct</span> {
|
||||
@ -545,8 +545,8 @@ this mechanism.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org4f08eaa" class="outline-3">
|
||||
<h3 id="org4f08eaa"><span class="section-number-3">1.2</span> Access functions</h3>
|
||||
<div id="outline-container-org31e58b3" class="outline-3">
|
||||
<h3 id="org31e58b3"><span class="section-number-3">1.2</span> Access functions</h3>
|
||||
<div class="outline-text-3" id="text-1-2">
|
||||
<p>
|
||||
When all the data relative to nuclei have been set, the following
|
||||
@ -560,8 +560,8 @@ function returns <code>true</code>.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgcc709af" class="outline-3">
|
||||
<h3 id="orgcc709af"><span class="section-number-3">1.3</span> Initialization functions</h3>
|
||||
<div id="outline-container-org3e4430c" class="outline-3">
|
||||
<h3 id="org3e4430c"><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
|
||||
@ -618,8 +618,8 @@ Sets the rescale parameter for the nuclear distances.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org4e22fb4" class="outline-3">
|
||||
<h3 id="org4e22fb4"><span class="section-number-3">1.4</span> Test</h3>
|
||||
<div id="outline-container-orgf94284c" class="outline-3">
|
||||
<h3 id="orgf94284c"><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;
|
||||
@ -703,8 +703,8 @@ rc = qmckl_get_nucleus_charge(context, nucl_charge2, nucl_num);
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgb68539f" class="outline-2">
|
||||
<h2 id="orgb68539f"><span class="section-number-2">2</span> Computation</h2>
|
||||
<div id="outline-container-org222ffb6" class="outline-2">
|
||||
<h2 id="org222ffb6"><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
|
||||
@ -717,12 +717,12 @@ current date is stored.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgfe03863" class="outline-3">
|
||||
<h3 id="orgfe03863"><span class="section-number-3">2.1</span> Nucleus-nucleus distances</h3>
|
||||
<div id="outline-container-org31926c1" class="outline-3">
|
||||
<h3 id="org31926c1"><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-orgf335c14" class="outline-4">
|
||||
<h4 id="orgf335c14"><span class="section-number-4">2.1.1</span> Get</h4>
|
||||
<div id="outline-container-org7b429f2" class="outline-4">
|
||||
<h4 id="org7b429f2"><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>
|
||||
@ -734,10 +734,10 @@ current date is stored.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org2f7bae3" class="outline-4">
|
||||
<h4 id="org2f7bae3"><span class="section-number-4">2.1.2</span> Compute</h4>
|
||||
<div id="outline-container-orgd8997e6" class="outline-4">
|
||||
<h4 id="orgd8997e6"><span class="section-number-4">2.1.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-1-2">
|
||||
<table id="orgc8bbe86" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orgfe281ff" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -815,8 +815,8 @@ current date is stored.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org1f33a15" class="outline-4">
|
||||
<h4 id="org1f33a15"><span class="section-number-4">2.1.3</span> Test</h4>
|
||||
<div id="outline-container-org1b3fa97" class="outline-4">
|
||||
<h4 id="org1b3fa97"><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>*/
|
||||
@ -835,12 +835,12 @@ rc = qmckl_get_nucleus_nn_distance(context, distance, nucl_num*nucl_num);
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org30abf59" class="outline-3">
|
||||
<h3 id="org30abf59"><span class="section-number-3">2.2</span> Nucleus-nucleus rescaled distances</h3>
|
||||
<div id="outline-container-orgf3247e8" class="outline-3">
|
||||
<h3 id="orgf3247e8"><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-org09d4cba" class="outline-4">
|
||||
<h4 id="org09d4cba"><span class="section-number-4">2.2.1</span> Get</h4>
|
||||
<div id="outline-container-orgf1a905c" class="outline-4">
|
||||
<h4 id="orgf1a905c"><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>
|
||||
@ -852,10 +852,10 @@ rc = qmckl_get_nucleus_nn_distance(context, distance, nucl_num*nucl_num);
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgb41bf4d" class="outline-4">
|
||||
<h4 id="orgb41bf4d"><span class="section-number-4">2.2.2</span> Compute</h4>
|
||||
<div id="outline-container-org3d0fc79" class="outline-4">
|
||||
<h4 id="org3d0fc79"><span class="section-number-4">2.2.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-2-2">
|
||||
<table id="org3dc6590" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org21963fa" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -934,8 +934,8 @@ rc = qmckl_get_nucleus_nn_distance(context, distance, nucl_num*nucl_num);
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orga34cfe5" class="outline-4">
|
||||
<h4 id="orga34cfe5"><span class="section-number-4">2.2.3</span> Test</h4>
|
||||
<div id="outline-container-orgd8665e5" class="outline-4">
|
||||
<h4 id="orgd8665e5"><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>*/
|
||||
@ -955,8 +955,8 @@ rc = qmckl_get_nucleus_nn_distance(context, distance, nucl_num*nucl_num);
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org5910b70" class="outline-3">
|
||||
<h3 id="org5910b70"><span class="section-number-3">2.3</span> Nuclear repulsion energy</h3>
|
||||
<div id="outline-container-org5308751" class="outline-3">
|
||||
<h3 id="org5308751"><span class="section-number-3">2.3</span> Nuclear repulsion energy</h3>
|
||||
<div class="outline-text-3" id="text-2-3">
|
||||
<p>
|
||||
\[
|
||||
@ -965,8 +965,8 @@ rc = qmckl_get_nucleus_nn_distance(context, distance, nucl_num*nucl_num);
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgc9964be" class="outline-4">
|
||||
<h4 id="orgc9964be"><span class="section-number-4">2.3.1</span> Get</h4>
|
||||
<div id="outline-container-org611d6c7" class="outline-4">
|
||||
<h4 id="org611d6c7"><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: #a020f0;">const</span> <span style="color: #a0522d;">energy</span>);
|
||||
@ -975,10 +975,10 @@ rc = qmckl_get_nucleus_nn_distance(context, distance, nucl_num*nucl_num);
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgc93a46c" class="outline-4">
|
||||
<h4 id="orgc93a46c"><span class="section-number-4">2.3.2</span> Compute</h4>
|
||||
<div id="outline-container-orgf8e0291" class="outline-4">
|
||||
<h4 id="orgf8e0291"><span class="section-number-4">2.3.2</span> Compute</h4>
|
||||
<div class="outline-text-4" id="text-2-3-2">
|
||||
<table id="org04c2efc" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org7322989" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -1068,8 +1068,8 @@ rc = qmckl_get_nucleus_nn_distance(context, distance, nucl_num*nucl_num);
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org30ddf8b" class="outline-4">
|
||||
<h4 id="org30ddf8b"><span class="section-number-4">2.3.3</span> Test</h4>
|
||||
<div id="outline-container-orgd04f056" class="outline-4">
|
||||
<h4 id="orgd04f056"><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>*/
|
||||
@ -1089,7 +1089,7 @@ rc = qmckl_get_nucleus_repulsion(context, &rep);
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: TREX CoE</p>
|
||||
<p class="date">Created: 2022-02-04 Fri 09:24</p>
|
||||
<p class="date">Created: 2022-02-09 Wed 13:39</p>
|
||||
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||
</div>
|
||||
</body>
|
||||
|
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2022-02-04 Fri 09:23 -->
|
||||
<!-- 2022-02-09 Wed 13:39 -->
|
||||
<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="#orgb5ca4bb">1. Control of the numerical precision</a></li>
|
||||
<li><a href="#orgced7ef0">2. Precision</a></li>
|
||||
<li><a href="#orgf2bb94e">3. Range</a></li>
|
||||
<li><a href="#orgf037f2f">4. Helper functions</a></li>
|
||||
<li><a href="#org4e30475">1. Control of the numerical precision</a></li>
|
||||
<li><a href="#org880e380">2. Precision</a></li>
|
||||
<li><a href="#orge7fc7d8">3. Range</a></li>
|
||||
<li><a href="#org73d5dd1">4. Helper functions</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgb5ca4bb" class="outline-2">
|
||||
<h2 id="orgb5ca4bb"><span class="section-number-2">1</span> Control of the numerical precision</h2>
|
||||
<div id="outline-container-org4e30475" class="outline-2">
|
||||
<h2 id="org4e30475"><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="orgd495854" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org6a0c660" 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-orgced7ef0" class="outline-2">
|
||||
<h2 id="orgced7ef0"><span class="section-number-2">2</span> Precision</h2>
|
||||
<div id="outline-container-org880e380" class="outline-2">
|
||||
<h2 id="org880e380"><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-orgf2bb94e" class="outline-2">
|
||||
<h2 id="orgf2bb94e"><span class="section-number-2">3</span> Range</h2>
|
||||
<div id="outline-container-orge7fc7d8" class="outline-2">
|
||||
<h2 id="orge7fc7d8"><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-orgf037f2f" class="outline-2">
|
||||
<h2 id="orgf037f2f"><span class="section-number-2">4</span> Helper functions</h2>
|
||||
<div id="outline-container-org73d5dd1" class="outline-2">
|
||||
<h2 id="org73d5dd1"><span class="section-number-2">4</span> Helper functions</h2>
|
||||
<div class="outline-text-2" id="text-4">
|
||||
<p>
|
||||
<code>qmckl_get_numprec_epsilon</code> returns \(\epsilon = 2^{1-n}\) where <code>n</code> is the precision.
|
||||
@ -581,7 +581,7 @@ We need to remove the sign bit from the precision.
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: TREX CoE</p>
|
||||
<p class="date">Created: 2022-02-04 Fri 09:23</p>
|
||||
<p class="date">Created: 2022-02-09 Wed 13:39</p>
|
||||
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||
</div>
|
||||
</body>
|
||||
|
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2022-02-04 Fri 09:24 -->
|
||||
<!-- 2022-02-09 Wed 13:39 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>Point</title>
|
||||
@ -333,25 +333,25 @@ for the JavaScript code in this tag.
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents">
|
||||
<ul>
|
||||
<li><a href="#org2c63667">1. Context</a>
|
||||
<li><a href="#org0af5ade">1. Context</a>
|
||||
<ul>
|
||||
<li><a href="#orgfef80cc">1.1. Data structure</a></li>
|
||||
<li><a href="#orge91b8fa">1.2. Access functions</a>
|
||||
<li><a href="#orgea0d4c8">1.1. Data structure</a></li>
|
||||
<li><a href="#org8caf3da">1.2. Access functions</a>
|
||||
<ul>
|
||||
<li><a href="#org8bfddda">1.2.1. Number of points</a></li>
|
||||
<li><a href="#org197660e">1.2.2. Point coordinates</a></li>
|
||||
<li><a href="#orgc2a1517">1.2.1. Number of points</a></li>
|
||||
<li><a href="#org8e5dfc9">1.2.2. Point coordinates</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgd6b7a27">1.3. Initialization functions</a></li>
|
||||
<li><a href="#org1b6bab6">1.4. Test</a></li>
|
||||
<li><a href="#org263fdd2">1.3. Initialization functions</a></li>
|
||||
<li><a href="#orgb883d82">1.4. Test</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org2c63667" class="outline-2">
|
||||
<h2 id="org2c63667"><span class="section-number-2">1</span> Context</h2>
|
||||
<div id="outline-container-org0af5ade" class="outline-2">
|
||||
<h2 id="org0af5ade"><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:
|
||||
@ -401,8 +401,8 @@ corresponds to the 3 × <code>num</code> matrix.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgfef80cc" class="outline-3">
|
||||
<h3 id="orgfef80cc"><span class="section-number-3">1.1</span> Data structure</h3>
|
||||
<div id="outline-container-orgea0d4c8" class="outline-3">
|
||||
<h3 id="orgea0d4c8"><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_point_struct</span> {
|
||||
@ -438,8 +438,8 @@ corresponds to the 3 × <code>num</code> matrix.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orge91b8fa" class="outline-3">
|
||||
<h3 id="orge91b8fa"><span class="section-number-3">1.2</span> Access functions</h3>
|
||||
<div id="outline-container-org8caf3da" class="outline-3">
|
||||
<h3 id="org8caf3da"><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
|
||||
@ -450,8 +450,8 @@ contains the requested data. Otherwise, this variable is untouched.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org8bfddda" class="outline-4">
|
||||
<h4 id="org8bfddda"><span class="section-number-4">1.2.1</span> Number of points</h4>
|
||||
<div id="outline-container-orgc2a1517" class="outline-4">
|
||||
<h4 id="orgc2a1517"><span class="section-number-4">1.2.1</span> Number of points</h4>
|
||||
<div class="outline-text-4" id="text-1-2-1">
|
||||
<p>
|
||||
Returns the number of points stored in the context.
|
||||
@ -473,8 +473,8 @@ Returns the number of points stored in the context.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org197660e" class="outline-4">
|
||||
<h4 id="org197660e"><span class="section-number-4">1.2.2</span> Point coordinates</h4>
|
||||
<div id="outline-container-org8e5dfc9" class="outline-4">
|
||||
<h4 id="org8e5dfc9"><span class="section-number-4">1.2.2</span> Point coordinates</h4>
|
||||
<div class="outline-text-4" id="text-1-2-2">
|
||||
<p>
|
||||
Returns the point coordinates as sequences of (x,y,z).
|
||||
@ -502,8 +502,8 @@ The pointer is assumed to point on a memory block of size
|
||||
</div>
|
||||
|
||||
|
||||
<div id="outline-container-orgd6b7a27" class="outline-3">
|
||||
<h3 id="orgd6b7a27"><span class="section-number-3">1.3</span> Initialization functions</h3>
|
||||
<div id="outline-container-org263fdd2" class="outline-3">
|
||||
<h3 id="org263fdd2"><span class="section-number-3">1.3</span> Initialization functions</h3>
|
||||
<div class="outline-text-3" id="text-1-3">
|
||||
<p>
|
||||
When the data is set in the context, if the arrays are large
|
||||
@ -616,8 +616,8 @@ Copy a sequence of <code>num</code> points \((x,y,z)\) into the context.
|
||||
</div>
|
||||
|
||||
|
||||
<div id="outline-container-org1b6bab6" class="outline-3">
|
||||
<h3 id="org1b6bab6"><span class="section-number-3">1.4</span> Test</h3>
|
||||
<div id="outline-container-orgb883d82" class="outline-3">
|
||||
<h3 id="orgb883d82"><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>*/
|
||||
@ -676,7 +676,7 @@ rc = qmckl_get_point (context, <span style="color: #8b2252;">'N'</span>, coord3,
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: TREX CoE</p>
|
||||
<p class="date">Created: 2022-02-04 Fri 09:24</p>
|
||||
<p class="date">Created: 2022-02-09 Wed 13:39</p>
|
||||
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||
</div>
|
||||
</body>
|
||||
|
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2022-02-04 Fri 09:24 -->
|
||||
<!-- 2022-02-09 Wed 13:39 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>Sherman-Morrison-Woodbury</title>
|
||||
@ -333,86 +333,86 @@ for the JavaScript code in this tag.
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents">
|
||||
<ul>
|
||||
<li><a href="#orgaec99ba">1. Headers</a></li>
|
||||
<li><a href="#org9516a5f">2. Naïve Sherman-Morrison</a>
|
||||
<li><a href="#orgc8aeb66">1. Headers</a></li>
|
||||
<li><a href="#org5cd49cd">2. Naïve Sherman-Morrison</a>
|
||||
<ul>
|
||||
<li><a href="#orgb0497b8">2.1. <code>qmckl_sherman_morrison</code></a>
|
||||
<li><a href="#org9934664">2.1. <code>qmckl_sherman_morrison</code></a>
|
||||
<ul>
|
||||
<li><a href="#orgea9e602">2.1.1. Requirements</a></li>
|
||||
<li><a href="#orgda0aaf6">2.1.2. C header</a></li>
|
||||
<li><a href="#org6937a18">2.1.3. C source</a></li>
|
||||
<li><a href="#org55eb250">2.1.4. Performance</a></li>
|
||||
<li><a href="#org35bacbd">2.1.1. Requirements</a></li>
|
||||
<li><a href="#org85b9329">2.1.2. C header</a></li>
|
||||
<li><a href="#org30ab4d9">2.1.3. C source</a></li>
|
||||
<li><a href="#org87c4463">2.1.4. Performance</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org2eaf865">3. Woodbury 2x2</a>
|
||||
<li><a href="#org921b582">3. Woodbury 2x2</a>
|
||||
<ul>
|
||||
<li><a href="#orgab4b91e">3.1. <code>qmckl_woodbury_2</code></a>
|
||||
<li><a href="#org6d32af4">3.1. <code>qmckl_woodbury_2</code></a>
|
||||
<ul>
|
||||
<li><a href="#org2590bad">3.1.1. Requirements</a></li>
|
||||
<li><a href="#orgee57893">3.1.2. C header</a></li>
|
||||
<li><a href="#org4120ecc">3.1.3. C source</a></li>
|
||||
<li><a href="#orga8ee1b0">3.1.4. Performance</a></li>
|
||||
<li><a href="#org80205bd">3.1.1. Requirements</a></li>
|
||||
<li><a href="#org494f3bf">3.1.2. C header</a></li>
|
||||
<li><a href="#orgab55bdc">3.1.3. C source</a></li>
|
||||
<li><a href="#orgaf3496a">3.1.4. Performance</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgade58bf">4. Woodbury 3x3</a>
|
||||
<li><a href="#orge716e44">4. Woodbury 3x3</a>
|
||||
<ul>
|
||||
<li><a href="#orgc6910a7">4.1. <code>qmckl_woodbury_3</code></a>
|
||||
<li><a href="#org0eadc29">4.1. <code>qmckl_woodbury_3</code></a>
|
||||
<ul>
|
||||
<li><a href="#org05ebd99">4.1.1. Requirements</a></li>
|
||||
<li><a href="#org44bbdde">4.1.2. C header</a></li>
|
||||
<li><a href="#org9f73968">4.1.3. C source</a></li>
|
||||
<li><a href="#org64d6b39">4.1.4. Performance…</a></li>
|
||||
<li><a href="#orge55ea24">4.1.1. Requirements</a></li>
|
||||
<li><a href="#orga7912b9">4.1.2. C header</a></li>
|
||||
<li><a href="#org5b343be">4.1.3. C source</a></li>
|
||||
<li><a href="#org4123b16">4.1.4. Performance…</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org2e40e67">5. Sherman-Morrison with update splitting</a>
|
||||
<li><a href="#org8d59a1f">5. Sherman-Morrison with update splitting</a>
|
||||
<ul>
|
||||
<li><a href="#org78eceaf">5.1. <code>qmckl_sherman_morrison_splitting</code></a>
|
||||
<li><a href="#org04172fb">5.1. <code>qmckl_sherman_morrison_splitting</code></a>
|
||||
<ul>
|
||||
<li><a href="#org2049039">5.1.1. Requirements</a></li>
|
||||
<li><a href="#org4b9d358">5.1.2. C header</a></li>
|
||||
<li><a href="#org45c9719">5.1.3. C source</a></li>
|
||||
<li><a href="#orgc1ed18b">5.1.4. Performance…</a></li>
|
||||
<li><a href="#org18e9679">5.1.1. Requirements</a></li>
|
||||
<li><a href="#org1c71659">5.1.2. C header</a></li>
|
||||
<li><a href="#orgf2d56ea">5.1.3. C source</a></li>
|
||||
<li><a href="#org7ecf3a5">5.1.4. Performance…</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org16b5c70">6. Woodbury 3x3 and 2x2 with Sherman-Morrison and update splitting</a>
|
||||
<li><a href="#orga1e08eb">6. Woodbury 3x3 and 2x2 with Sherman-Morrison and update splitting</a>
|
||||
<ul>
|
||||
<li><a href="#org6341cfd">6.1. <code>qmckl_sherman_morrison_smw32s</code></a>
|
||||
<li><a href="#orgf2b4a0f">6.1. <code>qmckl_sherman_morrison_smw32s</code></a>
|
||||
<ul>
|
||||
<li><a href="#orgcca387d">6.1.1. Requirements</a></li>
|
||||
<li><a href="#org803cdb7">6.1.2. C header</a></li>
|
||||
<li><a href="#orgeb651ab">6.1.3. C source</a></li>
|
||||
<li><a href="#orgadeddb8">6.1.4. Performance…</a></li>
|
||||
<li><a href="#org6f8e386">6.1.1. Requirements</a></li>
|
||||
<li><a href="#orgbb91a32">6.1.2. C header</a></li>
|
||||
<li><a href="#org40b3b0b">6.1.3. C source</a></li>
|
||||
<li><a href="#org3be82c0">6.1.4. Performance…</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgf1aadd5">7. Helper Functions</a>
|
||||
<li><a href="#org6b9359c">7. Helper Functions</a>
|
||||
<ul>
|
||||
<li><a href="#org58315e7">7.1. <code>qmckl_slagel_splitting</code></a>
|
||||
<li><a href="#org2bddd0a">7.1. <code>qmckl_slagel_splitting</code></a>
|
||||
<ul>
|
||||
<li><a href="#org59fbea6">7.1.1. Requirements</a></li>
|
||||
<li><a href="#orgccd59af">7.1.2. C header</a></li>
|
||||
<li><a href="#org5729003">7.1.3. C source</a></li>
|
||||
<li><a href="#org36f6821">7.1.4. Performance</a></li>
|
||||
<li><a href="#org0bda02d">7.1.1. Requirements</a></li>
|
||||
<li><a href="#org6dc1c0b">7.1.2. C header</a></li>
|
||||
<li><a href="#orga438393">7.1.3. C source</a></li>
|
||||
<li><a href="#orgaee7811">7.1.4. Performance</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org77c2a49">8. End of files</a></li>
|
||||
<li><a href="#orgf84ed65">8. End of files</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgaec99ba" class="outline-2">
|
||||
<h2 id="orgaec99ba"><span class="section-number-2">1</span> Headers</h2>
|
||||
<div id="outline-container-orgc8aeb66" class="outline-2">
|
||||
<h2 id="orgc8aeb66"><span class="section-number-2">1</span> Headers</h2>
|
||||
<div class="outline-text-2" id="text-1">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #483d8b;">#include</span> <span style="color: #8b2252;">"qmckl.h"</span>
|
||||
@ -431,12 +431,12 @@ for the JavaScript code in this tag.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org9516a5f" class="outline-2">
|
||||
<h2 id="org9516a5f"><span class="section-number-2">2</span> Naïve Sherman-Morrison</h2>
|
||||
<div id="outline-container-org5cd49cd" class="outline-2">
|
||||
<h2 id="org5cd49cd"><span class="section-number-2">2</span> Naïve Sherman-Morrison</h2>
|
||||
<div class="outline-text-2" id="text-2">
|
||||
</div>
|
||||
<div id="outline-container-orgb0497b8" class="outline-3">
|
||||
<h3 id="orgb0497b8"><span class="section-number-3">2.1</span> <code>qmckl_sherman_morrison</code></h3>
|
||||
<div id="outline-container-org9934664" class="outline-3">
|
||||
<h3 id="org9934664"><span class="section-number-3">2.1</span> <code>qmckl_sherman_morrison</code></h3>
|
||||
<div class="outline-text-3" id="text-2-1">
|
||||
<p>
|
||||
This is the simplest of the available Sherman-Morrison-Woodbury kernels. It applies rank-1 updates one by one in
|
||||
@ -478,7 +478,7 @@ If the determinant of the Slater-matrix is passed, it will be updated to the det
|
||||
from applying the updates to the original matrix.
|
||||
</p>
|
||||
|
||||
<table id="orgec1af39" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org759eaa5" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -557,8 +557,8 @@ from applying the updates to the original matrix.
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgea9e602" class="outline-4">
|
||||
<h4 id="orgea9e602"><span class="section-number-4">2.1.1</span> Requirements</h4>
|
||||
<div id="outline-container-org35bacbd" class="outline-4">
|
||||
<h4 id="org35bacbd"><span class="section-number-4">2.1.1</span> Requirements</h4>
|
||||
<div class="outline-text-4" id="text-2-1-1">
|
||||
<ul class="org-ul">
|
||||
<li><code>context</code> is not <code>QMCKL_NULL_CONTEXT</code></li>
|
||||
@ -573,8 +573,8 @@ from applying the updates to the original matrix.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgda0aaf6" class="outline-4">
|
||||
<h4 id="orgda0aaf6"><span class="section-number-4">2.1.2</span> C header</h4>
|
||||
<div id="outline-container-org85b9329" class="outline-4">
|
||||
<h4 id="org85b9329"><span class="section-number-4">2.1.2</span> C header</h4>
|
||||
<div class="outline-text-4" id="text-2-1-2">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_sherman_morrison</span> (
|
||||
@ -592,8 +592,8 @@ from applying the updates to the original matrix.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org6937a18" class="outline-4">
|
||||
<h4 id="org6937a18"><span class="section-number-4">2.1.3</span> C source</h4>
|
||||
<div id="outline-container-org30ab4d9" class="outline-4">
|
||||
<h4 id="org30ab4d9"><span class="section-number-4">2.1.3</span> C source</h4>
|
||||
<div class="outline-text-4" id="text-2-1-3">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #483d8b;">#include</span> <span style="color: #8b2252;"><stdbool.h></span>
|
||||
@ -663,8 +663,8 @@ from applying the updates to the original matrix.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org55eb250" class="outline-4">
|
||||
<h4 id="org55eb250"><span class="section-number-4">2.1.4</span> Performance</h4>
|
||||
<div id="outline-container-org87c4463" class="outline-4">
|
||||
<h4 id="org87c4463"><span class="section-number-4">2.1.4</span> Performance</h4>
|
||||
<div class="outline-text-4" id="text-2-1-4">
|
||||
<p>
|
||||
This function performs best when there is only 1 rank-1 update in the update cycle. It is not useful to
|
||||
@ -676,12 +676,12 @@ where applying the update causes singular behaviour.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org2eaf865" class="outline-2">
|
||||
<h2 id="org2eaf865"><span class="section-number-2">3</span> Woodbury 2x2</h2>
|
||||
<div id="outline-container-org921b582" class="outline-2">
|
||||
<h2 id="org921b582"><span class="section-number-2">3</span> Woodbury 2x2</h2>
|
||||
<div class="outline-text-2" id="text-3">
|
||||
</div>
|
||||
<div id="outline-container-orgab4b91e" class="outline-3">
|
||||
<h3 id="orgab4b91e"><span class="section-number-3">3.1</span> <code>qmckl_woodbury_2</code></h3>
|
||||
<div id="outline-container-org6d32af4" class="outline-3">
|
||||
<h3 id="org6d32af4"><span class="section-number-3">3.1</span> <code>qmckl_woodbury_2</code></h3>
|
||||
<div class="outline-text-3" id="text-3-1">
|
||||
<p>
|
||||
The Woodbury 2x2 kernel. It is used to apply two rank-1 updates at once. The formula used in
|
||||
@ -705,7 +705,7 @@ from applying the updates to the original matrix.
|
||||
|
||||
|
||||
|
||||
<table id="orgd2bc12f" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orgf62ad55" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -777,8 +777,8 @@ from applying the updates to the original matrix.
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org2590bad" class="outline-4">
|
||||
<h4 id="org2590bad"><span class="section-number-4">3.1.1</span> Requirements</h4>
|
||||
<div id="outline-container-org80205bd" class="outline-4">
|
||||
<h4 id="org80205bd"><span class="section-number-4">3.1.1</span> Requirements</h4>
|
||||
<div class="outline-text-4" id="text-3-1-1">
|
||||
<ul class="org-ul">
|
||||
<li><code>context</code> is not <code>qmckl_null_context</code></li>
|
||||
@ -792,8 +792,8 @@ from applying the updates to the original matrix.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgee57893" class="outline-4">
|
||||
<h4 id="orgee57893"><span class="section-number-4">3.1.2</span> C header</h4>
|
||||
<div id="outline-container-org494f3bf" class="outline-4">
|
||||
<h4 id="org494f3bf"><span class="section-number-4">3.1.2</span> C header</h4>
|
||||
<div class="outline-text-4" id="text-3-1-2">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_woodbury_2</span> (
|
||||
@ -810,8 +810,8 @@ from applying the updates to the original matrix.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org4120ecc" class="outline-4">
|
||||
<h4 id="org4120ecc"><span class="section-number-4">3.1.3</span> C source</h4>
|
||||
<div id="outline-container-orgab55bdc" class="outline-4">
|
||||
<h4 id="orgab55bdc"><span class="section-number-4">3.1.3</span> C source</h4>
|
||||
<div class="outline-text-4" id="text-3-1-3">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #483d8b;">#include</span> <span style="color: #8b2252;"><stdbool.h></span>
|
||||
@ -898,8 +898,8 @@ from applying the updates to the original matrix.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orga8ee1b0" class="outline-4">
|
||||
<h4 id="orga8ee1b0"><span class="section-number-4">3.1.4</span> Performance</h4>
|
||||
<div id="outline-container-orgaf3496a" class="outline-4">
|
||||
<h4 id="orgaf3496a"><span class="section-number-4">3.1.4</span> Performance</h4>
|
||||
<div class="outline-text-4" id="text-3-1-4">
|
||||
<p>
|
||||
This function is most efficient when used in cases where there are only 2 rank-1 updates and
|
||||
@ -910,12 +910,12 @@ it is sure they will not result in a singular matrix.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgade58bf" class="outline-2">
|
||||
<h2 id="orgade58bf"><span class="section-number-2">4</span> Woodbury 3x3</h2>
|
||||
<div id="outline-container-orge716e44" class="outline-2">
|
||||
<h2 id="orge716e44"><span class="section-number-2">4</span> Woodbury 3x3</h2>
|
||||
<div class="outline-text-2" id="text-4">
|
||||
</div>
|
||||
<div id="outline-container-orgc6910a7" class="outline-3">
|
||||
<h3 id="orgc6910a7"><span class="section-number-3">4.1</span> <code>qmckl_woodbury_3</code></h3>
|
||||
<div id="outline-container-org0eadc29" class="outline-3">
|
||||
<h3 id="org0eadc29"><span class="section-number-3">4.1</span> <code>qmckl_woodbury_3</code></h3>
|
||||
<div class="outline-text-3" id="text-4-1">
|
||||
<p>
|
||||
The 3x3 version of the Woodbury 2x2 kernel. It is used to apply three
|
||||
@ -936,7 +936,7 @@ from applying the updates to the original matrix.
|
||||
|
||||
|
||||
|
||||
<table id="orga39977c" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orge1c7176" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -1008,8 +1008,8 @@ from applying the updates to the original matrix.
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org05ebd99" class="outline-4">
|
||||
<h4 id="org05ebd99"><span class="section-number-4">4.1.1</span> Requirements</h4>
|
||||
<div id="outline-container-orge55ea24" class="outline-4">
|
||||
<h4 id="orge55ea24"><span class="section-number-4">4.1.1</span> Requirements</h4>
|
||||
<div class="outline-text-4" id="text-4-1-1">
|
||||
<ul class="org-ul">
|
||||
<li><code>context</code> is not <code>qmckl_null_context</code></li>
|
||||
@ -1023,8 +1023,8 @@ from applying the updates to the original matrix.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org44bbdde" class="outline-4">
|
||||
<h4 id="org44bbdde"><span class="section-number-4">4.1.2</span> C header</h4>
|
||||
<div id="outline-container-orga7912b9" class="outline-4">
|
||||
<h4 id="orga7912b9"><span class="section-number-4">4.1.2</span> C header</h4>
|
||||
<div class="outline-text-4" id="text-4-1-2">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_woodbury_3</span> (
|
||||
@ -1041,8 +1041,8 @@ from applying the updates to the original matrix.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org9f73968" class="outline-4">
|
||||
<h4 id="org9f73968"><span class="section-number-4">4.1.3</span> C source</h4>
|
||||
<div id="outline-container-org5b343be" class="outline-4">
|
||||
<h4 id="org5b343be"><span class="section-number-4">4.1.3</span> C source</h4>
|
||||
<div class="outline-text-4" id="text-4-1-3">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #483d8b;">#include</span> <span style="color: #8b2252;"><stdbool.h></span>
|
||||
@ -1144,8 +1144,8 @@ from applying the updates to the original matrix.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org64d6b39" class="outline-4">
|
||||
<h4 id="org64d6b39"><span class="section-number-4">4.1.4</span> Performance…</h4>
|
||||
<div id="outline-container-org4123b16" class="outline-4">
|
||||
<h4 id="org4123b16"><span class="section-number-4">4.1.4</span> Performance…</h4>
|
||||
<div class="outline-text-4" id="text-4-1-4">
|
||||
<p>
|
||||
This function is most efficient when used in cases where there are only 3 rank-1 updates and
|
||||
@ -1156,12 +1156,12 @@ it is sure they will not result in a singular matrix.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org2e40e67" class="outline-2">
|
||||
<h2 id="org2e40e67"><span class="section-number-2">5</span> Sherman-Morrison with update splitting</h2>
|
||||
<div id="outline-container-org8d59a1f" class="outline-2">
|
||||
<h2 id="org8d59a1f"><span class="section-number-2">5</span> Sherman-Morrison with update splitting</h2>
|
||||
<div class="outline-text-2" id="text-5">
|
||||
</div>
|
||||
<div id="outline-container-org78eceaf" class="outline-3">
|
||||
<h3 id="org78eceaf"><span class="section-number-3">5.1</span> <code>qmckl_sherman_morrison_splitting</code></h3>
|
||||
<div id="outline-container-org04172fb" class="outline-3">
|
||||
<h3 id="org04172fb"><span class="section-number-3">5.1</span> <code>qmckl_sherman_morrison_splitting</code></h3>
|
||||
<div class="outline-text-3" id="text-5-1">
|
||||
<p>
|
||||
This is a variation on the 'Naive' Sherman-Morrison kernel. Whenever the denominator \(1+v_j^T S^{-1} u_j\) in
|
||||
@ -1183,7 +1183,7 @@ If the determinant of the Slater-matrix is passed, it will be updated to the det
|
||||
from applying the updates to the original matrix.
|
||||
</p>
|
||||
|
||||
<table id="org3d88c1d" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org7364159" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -1267,8 +1267,8 @@ from applying the updates to the original matrix.
|
||||
</div>
|
||||
|
||||
|
||||
<div id="outline-container-org2049039" class="outline-4">
|
||||
<h4 id="org2049039"><span class="section-number-4">5.1.1</span> Requirements</h4>
|
||||
<div id="outline-container-org18e9679" class="outline-4">
|
||||
<h4 id="org18e9679"><span class="section-number-4">5.1.1</span> Requirements</h4>
|
||||
<div class="outline-text-4" id="text-5-1-1">
|
||||
<ul class="org-ul">
|
||||
<li><code>context</code> is not <code>QMCKL_NULL_CONTEXT</code></li>
|
||||
@ -1283,8 +1283,8 @@ from applying the updates to the original matrix.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org4b9d358" class="outline-4">
|
||||
<h4 id="org4b9d358"><span class="section-number-4">5.1.2</span> C header</h4>
|
||||
<div id="outline-container-org1c71659" class="outline-4">
|
||||
<h4 id="org1c71659"><span class="section-number-4">5.1.2</span> C header</h4>
|
||||
<div class="outline-text-4" id="text-5-1-2">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_sherman_morrison_splitting</span> (
|
||||
@ -1302,8 +1302,8 @@ from applying the updates to the original matrix.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org45c9719" class="outline-4">
|
||||
<h4 id="org45c9719"><span class="section-number-4">5.1.3</span> C source</h4>
|
||||
<div id="outline-container-orgf2d56ea" class="outline-4">
|
||||
<h4 id="orgf2d56ea"><span class="section-number-4">5.1.3</span> C source</h4>
|
||||
<div class="outline-text-4" id="text-5-1-3">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #483d8b;">#include</span> <span style="color: #8b2252;"><stdbool.h></span>
|
||||
@ -1343,8 +1343,8 @@ from applying the updates to the original matrix.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgc1ed18b" class="outline-4">
|
||||
<h4 id="orgc1ed18b"><span class="section-number-4">5.1.4</span> Performance…</h4>
|
||||
<div id="outline-container-org7ecf3a5" class="outline-4">
|
||||
<h4 id="org7ecf3a5"><span class="section-number-4">5.1.4</span> Performance…</h4>
|
||||
<div class="outline-text-4" id="text-5-1-4">
|
||||
<p>
|
||||
This kernel performs best when there are 2 or more rank-1 update cycles and fail-rate is high.
|
||||
@ -1354,12 +1354,12 @@ This kernel performs best when there are 2 or more rank-1 update cycles and fail
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org16b5c70" class="outline-2">
|
||||
<h2 id="org16b5c70"><span class="section-number-2">6</span> Woodbury 3x3 and 2x2 with Sherman-Morrison and update splitting</h2>
|
||||
<div id="outline-container-orga1e08eb" class="outline-2">
|
||||
<h2 id="orga1e08eb"><span class="section-number-2">6</span> Woodbury 3x3 and 2x2 with Sherman-Morrison and update splitting</h2>
|
||||
<div class="outline-text-2" id="text-6">
|
||||
</div>
|
||||
<div id="outline-container-org6341cfd" class="outline-3">
|
||||
<h3 id="org6341cfd"><span class="section-number-3">6.1</span> <code>qmckl_sherman_morrison_smw32s</code></h3>
|
||||
<div id="outline-container-orgf2b4a0f" class="outline-3">
|
||||
<h3 id="orgf2b4a0f"><span class="section-number-3">6.1</span> <code>qmckl_sherman_morrison_smw32s</code></h3>
|
||||
<div class="outline-text-3" id="text-6-1">
|
||||
<p>
|
||||
The Woodbury 3x3 and 2x2 kernel with Sherman-Morrison and update splitting combines the low-level Woodbury 3x3 kernel,
|
||||
@ -1374,7 +1374,7 @@ If the determinant of the Slater-matrix is passed, it will be updated to the det
|
||||
from applying the updates to the original matrix.
|
||||
</p>
|
||||
|
||||
<table id="org942b60e" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="orgf5c321c" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -1454,8 +1454,8 @@ from applying the updates to the original matrix.
|
||||
</div>
|
||||
|
||||
|
||||
<div id="outline-container-orgcca387d" class="outline-4">
|
||||
<h4 id="orgcca387d"><span class="section-number-4">6.1.1</span> Requirements</h4>
|
||||
<div id="outline-container-org6f8e386" class="outline-4">
|
||||
<h4 id="org6f8e386"><span class="section-number-4">6.1.1</span> Requirements</h4>
|
||||
<div class="outline-text-4" id="text-6-1-1">
|
||||
<ul class="org-ul">
|
||||
<li><code>context</code> is not <code>QMCKL_NULL_CONTEXT</code></li>
|
||||
@ -1470,8 +1470,8 @@ from applying the updates to the original matrix.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org803cdb7" class="outline-4">
|
||||
<h4 id="org803cdb7"><span class="section-number-4">6.1.2</span> C header</h4>
|
||||
<div id="outline-container-orgbb91a32" class="outline-4">
|
||||
<h4 id="orgbb91a32"><span class="section-number-4">6.1.2</span> C header</h4>
|
||||
<div class="outline-text-4" id="text-6-1-2">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_sherman_morrison_smw32s</span> (
|
||||
@ -1489,8 +1489,8 @@ from applying the updates to the original matrix.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgeb651ab" class="outline-4">
|
||||
<h4 id="orgeb651ab"><span class="section-number-4">6.1.3</span> C source</h4>
|
||||
<div id="outline-container-org40b3b0b" class="outline-4">
|
||||
<h4 id="org40b3b0b"><span class="section-number-4">6.1.3</span> C source</h4>
|
||||
<div class="outline-text-4" id="text-6-1-3">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #483d8b;">#include</span> <span style="color: #8b2252;"><stdbool.h></span>
|
||||
@ -1568,8 +1568,8 @@ from applying the updates to the original matrix.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgadeddb8" class="outline-4">
|
||||
<h4 id="orgadeddb8"><span class="section-number-4">6.1.4</span> Performance…</h4>
|
||||
<div id="outline-container-org3be82c0" class="outline-4">
|
||||
<h4 id="org3be82c0"><span class="section-number-4">6.1.4</span> Performance…</h4>
|
||||
<div class="outline-text-4" id="text-6-1-4">
|
||||
<p>
|
||||
This kernel performs best for update cycles with 2 or more rank-1 updates and the fail-rate is low.
|
||||
@ -1579,8 +1579,8 @@ This kernel performs best for update cycles with 2 or more rank-1 updates and th
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgf1aadd5" class="outline-2">
|
||||
<h2 id="orgf1aadd5"><span class="section-number-2">7</span> Helper Functions</h2>
|
||||
<div id="outline-container-org6b9359c" class="outline-2">
|
||||
<h2 id="org6b9359c"><span class="section-number-2">7</span> Helper Functions</h2>
|
||||
<div class="outline-text-2" id="text-7">
|
||||
<p>
|
||||
Private helper-functions that are used by the Sherman-Morrison-Woodbury kernels.
|
||||
@ -1588,8 +1588,8 @@ These functions can only be used internally by the kernels in this module.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org58315e7" class="outline-3">
|
||||
<h3 id="org58315e7"><span class="section-number-3">7.1</span> <code>qmckl_slagel_splitting</code></h3>
|
||||
<div id="outline-container-org2bddd0a" class="outline-3">
|
||||
<h3 id="org2bddd0a"><span class="section-number-3">7.1</span> <code>qmckl_slagel_splitting</code></h3>
|
||||
<div class="outline-text-3" id="text-7-1">
|
||||
<p>
|
||||
<code>qmckl_slagel_splitting</code> is the non-recursive, inner part of the 'Sherman-Morrison with update splitting'-kernel.
|
||||
@ -1609,7 +1609,7 @@ If the determinant of the Slater-matrix is passed, it will be updated to the det
|
||||
from applying the updates to the original matrix.
|
||||
</p>
|
||||
|
||||
<table id="org31abbe6" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org37bfbff" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
@ -1703,8 +1703,8 @@ from applying the updates to the original matrix.
|
||||
</div>
|
||||
|
||||
|
||||
<div id="outline-container-org59fbea6" class="outline-4">
|
||||
<h4 id="org59fbea6"><span class="section-number-4">7.1.1</span> Requirements</h4>
|
||||
<div id="outline-container-org0bda02d" class="outline-4">
|
||||
<h4 id="org0bda02d"><span class="section-number-4">7.1.1</span> Requirements</h4>
|
||||
<div class="outline-text-4" id="text-7-1-1">
|
||||
<ul class="org-ul">
|
||||
<li><code>LDS >= 2</code></li>
|
||||
@ -1721,8 +1721,8 @@ from applying the updates to the original matrix.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgccd59af" class="outline-4">
|
||||
<h4 id="orgccd59af"><span class="section-number-4">7.1.2</span> C header</h4>
|
||||
<div id="outline-container-org6dc1c0b" class="outline-4">
|
||||
<h4 id="org6dc1c0b"><span class="section-number-4">7.1.2</span> C header</h4>
|
||||
<div class="outline-text-4" id="text-7-1-2">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">double</span> <span style="color: #0000ff;">qmckl_slagel_splitting</span> (
|
||||
@ -1742,8 +1742,8 @@ from applying the updates to the original matrix.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org5729003" class="outline-4">
|
||||
<h4 id="org5729003"><span class="section-number-4">7.1.3</span> C source</h4>
|
||||
<div id="outline-container-orga438393" class="outline-4">
|
||||
<h4 id="orga438393"><span class="section-number-4">7.1.3</span> C source</h4>
|
||||
<div class="outline-text-4" id="text-7-1-3">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #483d8b;">#include</span> <span style="color: #8b2252;"><stdbool.h></span>
|
||||
@ -1821,8 +1821,8 @@ from applying the updates to the original matrix.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org36f6821" class="outline-4">
|
||||
<h4 id="org36f6821"><span class="section-number-4">7.1.4</span> Performance</h4>
|
||||
<div id="outline-container-orgaee7811" class="outline-4">
|
||||
<h4 id="orgaee7811"><span class="section-number-4">7.1.4</span> Performance</h4>
|
||||
<div class="outline-text-4" id="text-7-1-4">
|
||||
<p>
|
||||
This function cannot be used by itself and is used in Sherman-Morrison with update splitting and Woodbury 3x3 and 2x2
|
||||
@ -1833,8 +1833,8 @@ with Sherman-Morrison and update splitting. Please look at the performance recco
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org77c2a49" class="outline-2">
|
||||
<h2 id="org77c2a49"><span class="section-number-2">8</span> End of files</h2>
|
||||
<div id="outline-container-orgf84ed65" class="outline-2">
|
||||
<h2 id="orgf84ed65"><span class="section-number-2">8</span> End of files</h2>
|
||||
<div class="outline-text-2" id="text-8">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"> <span style="color: #0000ff;">assert</span> (<span style="color: #228b22;">qmckl_context_destroy</span>(<span style="color: #a0522d;">context</span>) == QMCKL_SUCCESS);
|
||||
@ -1848,7 +1848,7 @@ with Sherman-Morrison and update splitting. Please look at the performance recco
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: TREX CoE</p>
|
||||
<p class="date">Created: 2022-02-04 Fri 09:24</p>
|
||||
<p class="date">Created: 2022-02-09 Wed 13:39</p>
|
||||
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||
</div>
|
||||
</body>
|
||||
|
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2022-02-04 Fri 09:24 -->
|
||||
<!-- 2022-02-09 Wed 13:39 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>Data for Tests</title>
|
||||
@ -233,27 +233,27 @@ for the JavaScript code in this tag.
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents">
|
||||
<ul>
|
||||
<li><a href="#org3a38994">1. CHBrClF</a>
|
||||
<li><a href="#org53f0919">1. CHBrClF</a>
|
||||
<ul>
|
||||
<li><a href="#org909333c">1.1. XYZ coordinates</a></li>
|
||||
<li><a href="#org5379ebf">1.2. Atomic basis set</a></li>
|
||||
<li><a href="#org2788e13">1.3. Molecular orbitals</a></li>
|
||||
<li><a href="#org9baea45">1.4. Electron coordinates</a></li>
|
||||
<li><a href="#org83176fb">1.1. XYZ coordinates</a></li>
|
||||
<li><a href="#org6b2e48f">1.2. Atomic basis set</a></li>
|
||||
<li><a href="#org2725513">1.3. Molecular orbitals</a></li>
|
||||
<li><a href="#org10ac4ad">1.4. Electron coordinates</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org440a1a0">2. N2</a>
|
||||
<li><a href="#org7c54066">2. N2</a>
|
||||
<ul>
|
||||
<li><a href="#org790119d">2.1. XYZ coordinates</a></li>
|
||||
<li><a href="#orgc3dc239">2.2. Electron coordinates</a></li>
|
||||
<li><a href="#org5e4d60f">2.3. Jastrow related data</a></li>
|
||||
<li><a href="#org448f3ba">2.1. XYZ coordinates</a></li>
|
||||
<li><a href="#org4bc1841">2.2. Electron coordinates</a></li>
|
||||
<li><a href="#org3aeddde">2.3. Jastrow related data</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org3a38994" class="outline-2">
|
||||
<h2 id="org3a38994"><span class="section-number-2">1</span> CHBrClF</h2>
|
||||
<div id="outline-container-org53f0919" class="outline-2">
|
||||
<h2 id="org53f0919"><span class="section-number-2">1</span> CHBrClF</h2>
|
||||
<div class="outline-text-2" id="text-1">
|
||||
<p>
|
||||
This test is the all-electron Hartree-Fock wave function of CHClBr,
|
||||
@ -337,8 +337,8 @@ and with a high maximum angular momentum.
|
||||
</div>
|
||||
|
||||
|
||||
<div id="outline-container-org909333c" class="outline-3">
|
||||
<h3 id="org909333c"><span class="section-number-3">1.1</span> XYZ coordinates</h3>
|
||||
<div id="outline-container-org83176fb" class="outline-3">
|
||||
<h3 id="org83176fb"><span class="section-number-3">1.1</span> XYZ coordinates</h3>
|
||||
<div class="outline-text-3" id="text-1-1">
|
||||
<pre class="example">
|
||||
5
|
||||
@ -368,8 +368,8 @@ Nuclear coordinates are stored in atomic units in transposed format.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org5379ebf" class="outline-3">
|
||||
<h3 id="org5379ebf"><span class="section-number-3">1.2</span> Atomic basis set</h3>
|
||||
<div id="outline-container-org6b2e48f" class="outline-3">
|
||||
<h3 id="org6b2e48f"><span class="section-number-3">1.2</span> Atomic basis set</h3>
|
||||
<div class="outline-text-3" id="text-1-2">
|
||||
<pre class="example">
|
||||
HYDROGEN
|
||||
@ -1288,8 +1288,8 @@ F 1
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org2788e13" class="outline-3">
|
||||
<h3 id="org2788e13"><span class="section-number-3">1.3</span> Molecular orbitals</h3>
|
||||
<div id="outline-container-org2725513" class="outline-3">
|
||||
<h3 id="org2725513"><span class="section-number-3">1.3</span> Molecular orbitals</h3>
|
||||
<div class="outline-text-3" id="text-1-3">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #483d8b;">#define</span> <span style="color: #a0522d;">chbrclf_mo_num</span> ((<span style="color: #228b22;">int64_t</span>) 224)
|
||||
@ -60213,8 +60213,8 @@ F 1
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org9baea45" class="outline-3">
|
||||
<h3 id="org9baea45"><span class="section-number-3">1.4</span> Electron coordinates</h3>
|
||||
<div id="outline-container-org10ac4ad" class="outline-3">
|
||||
<h3 id="org10ac4ad"><span class="section-number-3">1.4</span> Electron coordinates</h3>
|
||||
<div class="outline-text-3" id="text-1-4">
|
||||
<p>
|
||||
Electron coordinates are stored in atomic units in normal format.
|
||||
@ -60373,8 +60373,8 @@ Electron coordinates are stored in atomic units in normal format.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org440a1a0" class="outline-2">
|
||||
<h2 id="org440a1a0"><span class="section-number-2">2</span> N2</h2>
|
||||
<div id="outline-container-org7c54066" class="outline-2">
|
||||
<h2 id="org7c54066"><span class="section-number-2">2</span> N2</h2>
|
||||
<div class="outline-text-2" id="text-2">
|
||||
<p>
|
||||
This test is mainly for the Jastrow factor and was supplied by
|
||||
@ -60415,8 +60415,8 @@ treated by pseudopotentials thus excluded from the actual calculation.
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org790119d" class="outline-3">
|
||||
<h3 id="org790119d"><span class="section-number-3">2.1</span> XYZ coordinates</h3>
|
||||
<div id="outline-container-org448f3ba" class="outline-3">
|
||||
<h3 id="org448f3ba"><span class="section-number-3">2.1</span> XYZ coordinates</h3>
|
||||
<div class="outline-text-3" id="text-2-1">
|
||||
<pre class="example">
|
||||
2
|
||||
@ -60443,8 +60443,8 @@ Nuclear coordinates are stored in atomic units in transposed format.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgc3dc239" class="outline-3">
|
||||
<h3 id="orgc3dc239"><span class="section-number-3">2.2</span> Electron coordinates</h3>
|
||||
<div id="outline-container-org4bc1841" class="outline-3">
|
||||
<h3 id="org4bc1841"><span class="section-number-3">2.2</span> Electron coordinates</h3>
|
||||
<div class="outline-text-3" id="text-2-2">
|
||||
<p>
|
||||
Electron coordinates are stored in atomic units in normal format.
|
||||
@ -60473,8 +60473,8 @@ Electron coordinates are stored in atomic units in normal format.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org5e4d60f" class="outline-3">
|
||||
<h3 id="org5e4d60f"><span class="section-number-3">2.3</span> Jastrow related data</h3>
|
||||
<div id="outline-container-org3aeddde" class="outline-3">
|
||||
<h3 id="org3aeddde"><span class="section-number-3">2.3</span> Jastrow related data</h3>
|
||||
<div class="outline-text-3" id="text-2-3">
|
||||
<p>
|
||||
This test is mainly for the Jastrow factor and was supplied by
|
||||
@ -60573,7 +60573,7 @@ Ramon Panades Baruetta.
|
||||
</div>
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="date">Created: 2022-02-04 Fri 09:24</p>
|
||||
<p class="date">Created: 2022-02-09 Wed 13:39</p>
|
||||
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||
</div>
|
||||
</body>
|
||||
|
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2022-02-04 Fri 09:23 -->
|
||||
<!-- 2022-02-09 Wed 13:39 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>TREXIO I/O library</title>
|
||||
@ -311,53 +311,53 @@ for the JavaScript code in this tag.
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents">
|
||||
<ul>
|
||||
<li><a href="#orgf239a39">1. Local functions</a>
|
||||
<li><a href="#org5d96e03">1. Local functions</a>
|
||||
<ul>
|
||||
<li><a href="#org7580175">1.1. Open file</a></li>
|
||||
<li><a href="#org8c3b13f">1.2. Electron</a></li>
|
||||
<li><a href="#org9796e16">1.3. Nucleus</a>
|
||||
<li><a href="#org0537a8e">1.1. Open file</a></li>
|
||||
<li><a href="#org51fe1ac">1.2. Electron</a></li>
|
||||
<li><a href="#org4b21897">1.3. Nucleus</a>
|
||||
<ul>
|
||||
<li><a href="#orgb230e97">1.3.1. Number of nuclei</a></li>
|
||||
<li><a href="#orgfbe9aa2">1.3.2. Nuclear charges</a></li>
|
||||
<li><a href="#orge75b69a">1.3.3. Nuclear coordinates</a></li>
|
||||
<li><a href="#org5988ce9">1.3.1. Number of nuclei</a></li>
|
||||
<li><a href="#org3dd4234">1.3.2. Nuclear charges</a></li>
|
||||
<li><a href="#org8961434">1.3.3. Nuclear coordinates</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgf76360d">1.4. Basis set and AOs</a>
|
||||
<li><a href="#org954dd24">1.4. Basis set and AOs</a>
|
||||
<ul>
|
||||
<li><a href="#org1ee5cc7">1.4.1. Basis set type</a></li>
|
||||
<li><a href="#org20c5803">1.4.2. Number of shells</a></li>
|
||||
<li><a href="#orgc24eec0">1.4.3. Number of primitives</a></li>
|
||||
<li><a href="#org8999ef4">1.4.4. Number of atomic orbitals</a></li>
|
||||
<li><a href="#org069bf8a">1.4.5. Nucleus<sub>index</sub> array</a></li>
|
||||
<li><a href="#orgb7d8d06">1.4.6. Number of shells per nucleus</a></li>
|
||||
<li><a href="#org38c41dd">1.4.7. Angular momentum</a></li>
|
||||
<li><a href="#orga8d9bae">1.4.8. Number of primitives per shell</a></li>
|
||||
<li><a href="#orge4d7872">1.4.9. Indices of the primitives</a></li>
|
||||
<li><a href="#orge48a150">1.4.10. Normalization of the shells</a></li>
|
||||
<li><a href="#org355d6ed">1.4.11. Exponents</a></li>
|
||||
<li><a href="#orgf230b4b">1.4.12. Coefficients</a></li>
|
||||
<li><a href="#orgb4920d9">1.4.13. Normalization of the primitivies</a></li>
|
||||
<li><a href="#orga3932bf">1.4.14. AO Normalization</a></li>
|
||||
<li><a href="#org846df31">1.4.1. Basis set type</a></li>
|
||||
<li><a href="#orgbf0de01">1.4.2. Number of shells</a></li>
|
||||
<li><a href="#orgd7f6157">1.4.3. Number of primitives</a></li>
|
||||
<li><a href="#org9711257">1.4.4. Number of atomic orbitals</a></li>
|
||||
<li><a href="#org670e8ad">1.4.5. Nucleus<sub>index</sub> array</a></li>
|
||||
<li><a href="#orgd97dede">1.4.6. Number of shells per nucleus</a></li>
|
||||
<li><a href="#org736a1b9">1.4.7. Angular momentum</a></li>
|
||||
<li><a href="#orgaf37b6f">1.4.8. Number of primitives per shell</a></li>
|
||||
<li><a href="#org6be3c50">1.4.9. Indices of the primitives</a></li>
|
||||
<li><a href="#org32444c6">1.4.10. Normalization of the shells</a></li>
|
||||
<li><a href="#org67339af">1.4.11. Exponents</a></li>
|
||||
<li><a href="#orgc9ab70f">1.4.12. Coefficients</a></li>
|
||||
<li><a href="#org0803fa7">1.4.13. Normalization of the primitivies</a></li>
|
||||
<li><a href="#org0a2c541">1.4.14. AO Normalization</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org9c59aa0">1.5. Molecular orbitals</a>
|
||||
<li><a href="#org5eb02cf">1.5. Molecular orbitals</a>
|
||||
<ul>
|
||||
<li><a href="#org3821cac">1.5.1. Number of MOs</a></li>
|
||||
<li><a href="#orgbc1a77a">1.5.2. MO coefficients</a></li>
|
||||
<li><a href="#orgb6b8682">1.5.1. Number of MOs</a></li>
|
||||
<li><a href="#orgefc4618">1.5.2. MO coefficients</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org952dabe">1.6. <span class="todo TODO">TODO</span> ECP</a></li>
|
||||
<li><a href="#org54b7f38">1.6. <span class="todo TODO">TODO</span> ECP</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org3e0c409">2. Read everything</a></li>
|
||||
<li><a href="#orga300845">3. Test</a>
|
||||
<li><a href="#org720a5b9">2. Read everything</a></li>
|
||||
<li><a href="#org735c8b7">3. Test</a>
|
||||
<ul>
|
||||
<li>
|
||||
<ul>
|
||||
<li><a href="#orgf42c709">3.0.1. Electrons</a></li>
|
||||
<li><a href="#org1f23ad6">3.0.2. Nuclei</a></li>
|
||||
<li><a href="#org337682b">3.0.3. Atomic basis</a></li>
|
||||
<li><a href="#org073d5c4">3.0.4. MO Basis</a></li>
|
||||
<li><a href="#org0769863">3.0.1. Electrons</a></li>
|
||||
<li><a href="#org59dd643">3.0.2. Nuclei</a></li>
|
||||
<li><a href="#orge76e7a0">3.0.3. Atomic basis</a></li>
|
||||
<li><a href="#org6a30d7e">3.0.4. MO Basis</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@ -366,8 +366,8 @@ for the JavaScript code in this tag.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgf239a39" class="outline-2">
|
||||
<h2 id="orgf239a39"><span class="section-number-2">1</span> Local functions</h2>
|
||||
<div id="outline-container-org5d96e03" class="outline-2">
|
||||
<h2 id="org5d96e03"><span class="section-number-2">1</span> Local functions</h2>
|
||||
<div class="outline-text-2" id="text-1">
|
||||
<p>
|
||||
Functions defined in this section are all local: they should not be
|
||||
@ -390,8 +390,8 @@ In the functions defined in this section, we use as local variables
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org7580175" class="outline-3">
|
||||
<h3 id="org7580175"><span class="section-number-3">1.1</span> Open file</h3>
|
||||
<div id="outline-container-org0537a8e" class="outline-3">
|
||||
<h3 id="org0537a8e"><span class="section-number-3">1.1</span> Open file</h3>
|
||||
<div class="outline-text-3" id="text-1-1">
|
||||
<p>
|
||||
We first define a helper function to open a file by first trying to
|
||||
@ -423,8 +423,8 @@ groups of data by passing the <code>trexio_t</code> handle.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org8c3b13f" class="outline-3">
|
||||
<h3 id="org8c3b13f"><span class="section-number-3">1.2</span> Electron</h3>
|
||||
<div id="outline-container-org51fe1ac" class="outline-3">
|
||||
<h3 id="org51fe1ac"><span class="section-number-3">1.2</span> Electron</h3>
|
||||
<div class="outline-text-3" id="text-1-2">
|
||||
<p>
|
||||
In this section we read all the data into the electron data structure.
|
||||
@ -475,8 +475,8 @@ We read the number of up-spin and down-spin electrons.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org9796e16" class="outline-3">
|
||||
<h3 id="org9796e16"><span class="section-number-3">1.3</span> Nucleus</h3>
|
||||
<div id="outline-container-org4b21897" class="outline-3">
|
||||
<h3 id="org4b21897"><span class="section-number-3">1.3</span> Nucleus</h3>
|
||||
<div class="outline-text-3" id="text-1-3">
|
||||
<p>
|
||||
In this section we read the number of nuclei, the molecular geometry and nuclear charges.
|
||||
@ -496,8 +496,8 @@ In this section we read the number of nuclei, the molecular geometry and nuclear
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgb230e97" class="outline-4">
|
||||
<h4 id="orgb230e97"><span class="section-number-4">1.3.1</span> Number of nuclei</h4>
|
||||
<div id="outline-container-org5988ce9" class="outline-4">
|
||||
<h4 id="org5988ce9"><span class="section-number-4">1.3.1</span> Number of nuclei</h4>
|
||||
<div class="outline-text-4" id="text-1-3-1">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">int64_t</span> <span style="color: #a0522d;">nucleus_num</span> = 0L;
|
||||
@ -520,8 +520,8 @@ rc = qmckl_set_nucleus_num(context, nucleus_num);
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgfbe9aa2" class="outline-4">
|
||||
<h4 id="orgfbe9aa2"><span class="section-number-4">1.3.2</span> Nuclear charges</h4>
|
||||
<div id="outline-container-org3dd4234" class="outline-4">
|
||||
<h4 id="org3dd4234"><span class="section-number-4">1.3.2</span> Nuclear charges</h4>
|
||||
<div class="outline-text-4" id="text-1-3-2">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c">{
|
||||
@ -561,8 +561,8 @@ rc = qmckl_set_nucleus_num(context, nucleus_num);
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orge75b69a" class="outline-4">
|
||||
<h4 id="orge75b69a"><span class="section-number-4">1.3.3</span> Nuclear coordinates</h4>
|
||||
<div id="outline-container-org8961434" class="outline-4">
|
||||
<h4 id="org8961434"><span class="section-number-4">1.3.3</span> Nuclear coordinates</h4>
|
||||
<div class="outline-text-4" id="text-1-3-3">
|
||||
<p>
|
||||
Now, we read the molecular geometry. It is stored in normal format
|
||||
@ -617,8 +617,8 @@ in the TREXIO file (<code>'N'</code>), so it will be automatically transposed in
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgf76360d" class="outline-3">
|
||||
<h3 id="orgf76360d"><span class="section-number-3">1.4</span> Basis set and AOs</h3>
|
||||
<div id="outline-container-org954dd24" class="outline-3">
|
||||
<h3 id="org954dd24"><span class="section-number-3">1.4</span> Basis set and AOs</h3>
|
||||
<div class="outline-text-3" id="text-1-4">
|
||||
<p>
|
||||
In this section we read the atomic basis set and atomic orbitals.
|
||||
@ -644,8 +644,8 @@ In this section we read the atomic basis set and atomic orbitals.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org1ee5cc7" class="outline-4">
|
||||
<h4 id="org1ee5cc7"><span class="section-number-4">1.4.1</span> Basis set type</h4>
|
||||
<div id="outline-container-org846df31" class="outline-4">
|
||||
<h4 id="org846df31"><span class="section-number-4">1.4.1</span> Basis set type</h4>
|
||||
<div class="outline-text-4" id="text-1-4-1">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #483d8b;">#define</span> <span style="color: #a0522d;">MAX_STR_LEN</span> 1024
|
||||
@ -676,8 +676,8 @@ In this section we read the atomic basis set and atomic orbitals.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org20c5803" class="outline-4">
|
||||
<h4 id="org20c5803"><span class="section-number-4">1.4.2</span> Number of shells</h4>
|
||||
<div id="outline-container-orgbf0de01" class="outline-4">
|
||||
<h4 id="orgbf0de01"><span class="section-number-4">1.4.2</span> Number of shells</h4>
|
||||
<div class="outline-text-4" id="text-1-4-2">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">int64_t</span> <span style="color: #a0522d;">shell_num</span> = 0L;
|
||||
@ -701,8 +701,8 @@ rc = qmckl_set_ao_basis_shell_num(context, shell_num);
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgc24eec0" class="outline-4">
|
||||
<h4 id="orgc24eec0"><span class="section-number-4">1.4.3</span> Number of primitives</h4>
|
||||
<div id="outline-container-orgd7f6157" class="outline-4">
|
||||
<h4 id="orgd7f6157"><span class="section-number-4">1.4.3</span> Number of primitives</h4>
|
||||
<div class="outline-text-4" id="text-1-4-3">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">int64_t</span> <span style="color: #a0522d;">prim_num</span> = 0L;
|
||||
@ -726,8 +726,8 @@ rc = qmckl_set_ao_basis_prim_num(context, prim_num);
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org8999ef4" class="outline-4">
|
||||
<h4 id="org8999ef4"><span class="section-number-4">1.4.4</span> Number of atomic orbitals</h4>
|
||||
<div id="outline-container-org9711257" class="outline-4">
|
||||
<h4 id="org9711257"><span class="section-number-4">1.4.4</span> Number of atomic orbitals</h4>
|
||||
<div class="outline-text-4" id="text-1-4-4">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">int64_t</span> <span style="color: #a0522d;">ao_num</span> = 0LL;
|
||||
@ -751,8 +751,8 @@ rc = qmckl_set_ao_basis_ao_num(context, ao_num);
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org069bf8a" class="outline-4">
|
||||
<h4 id="org069bf8a"><span class="section-number-4">1.4.5</span> Nucleus<sub>index</sub> array</h4>
|
||||
<div id="outline-container-org670e8ad" class="outline-4">
|
||||
<h4 id="org670e8ad"><span class="section-number-4">1.4.5</span> Nucleus<sub>index</sub> array</h4>
|
||||
<div class="outline-text-4" id="text-1-4-5">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c">{
|
||||
@ -834,8 +834,8 @@ rc = qmckl_set_ao_basis_ao_num(context, ao_num);
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgb7d8d06" class="outline-4">
|
||||
<h4 id="orgb7d8d06"><span class="section-number-4">1.4.6</span> Number of shells per nucleus</h4>
|
||||
<div id="outline-container-orgd97dede" class="outline-4">
|
||||
<h4 id="orgd97dede"><span class="section-number-4">1.4.6</span> Number of shells per nucleus</h4>
|
||||
<div class="outline-text-4" id="text-1-4-6">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c">{
|
||||
@ -920,8 +920,8 @@ rc = qmckl_set_ao_basis_ao_num(context, ao_num);
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org38c41dd" class="outline-4">
|
||||
<h4 id="org38c41dd"><span class="section-number-4">1.4.7</span> Angular momentum</h4>
|
||||
<div id="outline-container-org736a1b9" class="outline-4">
|
||||
<h4 id="org736a1b9"><span class="section-number-4">1.4.7</span> Angular momentum</h4>
|
||||
<div class="outline-text-4" id="text-1-4-7">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c">{
|
||||
@ -966,8 +966,8 @@ rc = qmckl_set_ao_basis_ao_num(context, ao_num);
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orga8d9bae" class="outline-4">
|
||||
<h4 id="orga8d9bae"><span class="section-number-4">1.4.8</span> Number of primitives per shell</h4>
|
||||
<div id="outline-container-orgaf37b6f" class="outline-4">
|
||||
<h4 id="orgaf37b6f"><span class="section-number-4">1.4.8</span> Number of primitives per shell</h4>
|
||||
<div class="outline-text-4" id="text-1-4-8">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c">{
|
||||
@ -1051,8 +1051,8 @@ rc = qmckl_set_ao_basis_ao_num(context, ao_num);
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orge4d7872" class="outline-4">
|
||||
<h4 id="orge4d7872"><span class="section-number-4">1.4.9</span> Indices of the primitives</h4>
|
||||
<div id="outline-container-org6be3c50" class="outline-4">
|
||||
<h4 id="org6be3c50"><span class="section-number-4">1.4.9</span> Indices of the primitives</h4>
|
||||
<div class="outline-text-4" id="text-1-4-9">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c">{
|
||||
@ -1132,8 +1132,8 @@ rc = qmckl_set_ao_basis_ao_num(context, ao_num);
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orge48a150" class="outline-4">
|
||||
<h4 id="orge48a150"><span class="section-number-4">1.4.10</span> Normalization of the shells</h4>
|
||||
<div id="outline-container-org32444c6" class="outline-4">
|
||||
<h4 id="org32444c6"><span class="section-number-4">1.4.10</span> Normalization of the shells</h4>
|
||||
<div class="outline-text-4" id="text-1-4-10">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c">{
|
||||
@ -1178,8 +1178,8 @@ rc = qmckl_set_ao_basis_ao_num(context, ao_num);
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org355d6ed" class="outline-4">
|
||||
<h4 id="org355d6ed"><span class="section-number-4">1.4.11</span> Exponents</h4>
|
||||
<div id="outline-container-org67339af" class="outline-4">
|
||||
<h4 id="org67339af"><span class="section-number-4">1.4.11</span> Exponents</h4>
|
||||
<div class="outline-text-4" id="text-1-4-11">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c">{
|
||||
@ -1224,8 +1224,8 @@ rc = qmckl_set_ao_basis_ao_num(context, ao_num);
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgf230b4b" class="outline-4">
|
||||
<h4 id="orgf230b4b"><span class="section-number-4">1.4.12</span> Coefficients</h4>
|
||||
<div id="outline-container-orgc9ab70f" class="outline-4">
|
||||
<h4 id="orgc9ab70f"><span class="section-number-4">1.4.12</span> Coefficients</h4>
|
||||
<div class="outline-text-4" id="text-1-4-12">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c">{
|
||||
@ -1270,8 +1270,8 @@ rc = qmckl_set_ao_basis_ao_num(context, ao_num);
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgb4920d9" class="outline-4">
|
||||
<h4 id="orgb4920d9"><span class="section-number-4">1.4.13</span> Normalization of the primitivies</h4>
|
||||
<div id="outline-container-org0803fa7" class="outline-4">
|
||||
<h4 id="org0803fa7"><span class="section-number-4">1.4.13</span> Normalization of the primitivies</h4>
|
||||
<div class="outline-text-4" id="text-1-4-13">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c">{
|
||||
@ -1316,8 +1316,8 @@ rc = qmckl_set_ao_basis_ao_num(context, ao_num);
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orga3932bf" class="outline-4">
|
||||
<h4 id="orga3932bf"><span class="section-number-4">1.4.14</span> AO Normalization</h4>
|
||||
<div id="outline-container-org0a2c541" class="outline-4">
|
||||
<h4 id="org0a2c541"><span class="section-number-4">1.4.14</span> AO Normalization</h4>
|
||||
<div class="outline-text-4" id="text-1-4-14">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c">{
|
||||
@ -1372,8 +1372,8 @@ rc = qmckl_set_ao_basis_ao_num(context, ao_num);
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-org9c59aa0" class="outline-3">
|
||||
<h3 id="org9c59aa0"><span class="section-number-3">1.5</span> Molecular orbitals</h3>
|
||||
<div id="outline-container-org5eb02cf" class="outline-3">
|
||||
<h3 id="org5eb02cf"><span class="section-number-3">1.5</span> Molecular orbitals</h3>
|
||||
<div class="outline-text-3" id="text-1-5">
|
||||
<p>
|
||||
In this section we read the MO coefficients.
|
||||
@ -1399,8 +1399,8 @@ In this section we read the MO coefficients.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org3821cac" class="outline-4">
|
||||
<h4 id="org3821cac"><span class="section-number-4">1.5.1</span> Number of MOs</h4>
|
||||
<div id="outline-container-orgb6b8682" class="outline-4">
|
||||
<h4 id="orgb6b8682"><span class="section-number-4">1.5.1</span> Number of MOs</h4>
|
||||
<div class="outline-text-4" id="text-1-5-1">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">int64_t</span> <span style="color: #a0522d;">mo_num</span> = 0L;
|
||||
@ -1423,8 +1423,8 @@ rc = qmckl_set_mo_basis_mo_num(context, mo_num);
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgbc1a77a" class="outline-4">
|
||||
<h4 id="orgbc1a77a"><span class="section-number-4">1.5.2</span> MO coefficients</h4>
|
||||
<div id="outline-container-orgefc4618" class="outline-4">
|
||||
<h4 id="orgefc4618"><span class="section-number-4">1.5.2</span> MO coefficients</h4>
|
||||
<div class="outline-text-4" id="text-1-5-2">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c">{
|
||||
@ -1473,12 +1473,12 @@ rc = qmckl_set_mo_basis_mo_num(context, mo_num);
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org952dabe" class="outline-3">
|
||||
<h3 id="org952dabe"><span class="section-number-3">1.6</span> <span class="todo TODO">TODO</span> ECP</h3>
|
||||
<div id="outline-container-org54b7f38" class="outline-3">
|
||||
<h3 id="org54b7f38"><span class="section-number-3">1.6</span> <span class="todo TODO">TODO</span> ECP</h3>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-org3e0c409" class="outline-2">
|
||||
<h2 id="org3e0c409"><span class="section-number-2">2</span> Read everything</h2>
|
||||
<div id="outline-container-org720a5b9" class="outline-2">
|
||||
<h2 id="org720a5b9"><span class="section-number-2">2</span> Read everything</h2>
|
||||
<div class="outline-text-2" id="text-2">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">qmckl_exit_code</span> <span style="color: #0000ff;">qmckl_trexio_read</span>(<span style="color: #a020f0;">const</span> <span style="color: #228b22;">qmckl_context</span> <span style="color: #a0522d;">context</span>, <span style="color: #a020f0;">const</span> <span style="color: #228b22;">char</span>* <span style="color: #a0522d;">file_name</span>);
|
||||
@ -1559,8 +1559,8 @@ rc = qmckl_set_mo_basis_mo_num(context, mo_num);
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orga300845" class="outline-2">
|
||||
<h2 id="orga300845"><span class="section-number-2">3</span> Test</h2>
|
||||
<div id="outline-container-org735c8b7" class="outline-2">
|
||||
<h2 id="org735c8b7"><span class="section-number-2">3</span> Test</h2>
|
||||
<div class="outline-text-2" id="text-3">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #483d8b;">#ifdef</span> HAVE_TREXIO
|
||||
@ -1594,8 +1594,8 @@ rc = qmckl_trexio_read(context, fname);
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgf42c709" class="outline-4">
|
||||
<h4 id="orgf42c709"><span class="section-number-4">3.0.1</span> Electrons</h4>
|
||||
<div id="outline-container-org0769863" class="outline-4">
|
||||
<h4 id="org0769863"><span class="section-number-4">3.0.1</span> Electrons</h4>
|
||||
<div class="outline-text-4" id="text-3-0-1">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c">printf(<span style="color: #8b2252;">"Electrons\n"</span>);
|
||||
@ -1613,8 +1613,8 @@ rc = qmckl_get_electron_down_num(context, &dn_num);
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org1f23ad6" class="outline-4">
|
||||
<h4 id="org1f23ad6"><span class="section-number-4">3.0.2</span> Nuclei</h4>
|
||||
<div id="outline-container-org59dd643" class="outline-4">
|
||||
<h4 id="org59dd643"><span class="section-number-4">3.0.2</span> Nuclei</h4>
|
||||
<div class="outline-text-4" id="text-3-0-2">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c">printf(<span style="color: #8b2252;">"Nuclei\n"</span>);
|
||||
@ -1654,8 +1654,8 @@ coord = <span style="color: #008b8b;">NULL</span>;
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org337682b" class="outline-4">
|
||||
<h4 id="org337682b"><span class="section-number-4">3.0.3</span> Atomic basis</h4>
|
||||
<div id="outline-container-orge76e7a0" class="outline-4">
|
||||
<h4 id="orge76e7a0"><span class="section-number-4">3.0.3</span> Atomic basis</h4>
|
||||
<div class="outline-text-4" id="text-3-0-3">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c">printf(<span style="color: #8b2252;">"Atomic basis\n"</span>);
|
||||
@ -1763,8 +1763,8 @@ prim_factor = <span style="color: #008b8b;">NULL</span>;
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org073d5c4" class="outline-4">
|
||||
<h4 id="org073d5c4"><span class="section-number-4">3.0.4</span> MO Basis</h4>
|
||||
<div id="outline-container-org6a30d7e" class="outline-4">
|
||||
<h4 id="org6a30d7e"><span class="section-number-4">3.0.4</span> MO Basis</h4>
|
||||
<div class="outline-text-4" id="text-3-0-4">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c">printf(<span style="color: #8b2252;">"MOs\n"</span>);
|
||||
@ -1794,7 +1794,7 @@ charge = <span style="color: #008b8b;">NULL</span>;
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: TREX CoE</p>
|
||||
<p class="date">Created: 2022-02-04 Fri 09:23</p>
|
||||
<p class="date">Created: 2022-02-09 Wed 13:39</p>
|
||||
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||
</div>
|
||||
</body>
|
||||
|
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2022-02-04 Fri 09:24 -->
|
||||
<!-- 2022-02-09 Wed 13:39 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>Verificarlo CI</title>
|
||||
@ -311,22 +311,22 @@ for the JavaScript code in this tag.
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents">
|
||||
<ul>
|
||||
<li><a href="#org76e6b99">1. Verificarlo probes</a>
|
||||
<li><a href="#org1f6d582">1. Verificarlo probes</a>
|
||||
<ul>
|
||||
<li><a href="#org7ec9e52">1.1. Automatically initialize the <code>vfc_probe</code> object if <code>VFC_CI</code> is defined</a></li>
|
||||
<li><a href="#org7b8306c">1.2. Standard probe, without check</a></li>
|
||||
<li><a href="#org261703e">1.3. Probe with absolute check</a></li>
|
||||
<li><a href="#org83bd593">1.4. Probe with relative check</a></li>
|
||||
<li><a href="#org8974717">1.5. Automatically delete and dump the vfc<sub>probe</sub> object if <code>VFC_CI</code> is defined</a></li>
|
||||
<li><a href="#org982bbf4">1.1. Automatically initialize the <code>vfc_probe</code> object if <code>VFC_CI</code> is defined</a></li>
|
||||
<li><a href="#org5913a08">1.2. Standard probe, without check</a></li>
|
||||
<li><a href="#org3a4f1fb">1.3. Probe with absolute check</a></li>
|
||||
<li><a href="#org8c9bbae">1.4. Probe with relative check</a></li>
|
||||
<li><a href="#org01d2f23">1.5. Automatically delete and dump the vfc<sub>probe</sub> object if <code>VFC_CI</code> is defined</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org7375b19">2. Fortran wrappers</a></li>
|
||||
<li><a href="#orgd7d1710">2. Fortran wrappers</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org76e6b99" class="outline-2">
|
||||
<h2 id="org76e6b99"><span class="section-number-2">1</span> Verificarlo probes</h2>
|
||||
<div id="outline-container-org1f6d582" class="outline-2">
|
||||
<h2 id="org1f6d582"><span class="section-number-2">1</span> Verificarlo probes</h2>
|
||||
<div class="outline-text-2" id="text-1">
|
||||
<p>
|
||||
This file contains utility functions to enable the Verificarlo
|
||||
@ -377,8 +377,8 @@ To learn more about Verificarlo CI :
|
||||
</div>
|
||||
|
||||
|
||||
<div id="outline-container-org7ec9e52" class="outline-3">
|
||||
<h3 id="org7ec9e52"><span class="section-number-3">1.1</span> Automatically initialize the <code>vfc_probe</code> object if <code>VFC_CI</code> is defined</h3>
|
||||
<div id="outline-container-org982bbf4" class="outline-3">
|
||||
<h3 id="org982bbf4"><span class="section-number-3">1.1</span> Automatically initialize the <code>vfc_probe</code> object if <code>VFC_CI</code> is defined</h3>
|
||||
<div class="outline-text-3" id="text-1-1">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #483d8b;">#ifdef</span> VFC_CI
|
||||
@ -398,8 +398,8 @@ To learn more about Verificarlo CI :
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org7b8306c" class="outline-3">
|
||||
<h3 id="org7b8306c"><span class="section-number-3">1.2</span> Standard probe, without check</h3>
|
||||
<div id="outline-container-org5913a08" class="outline-3">
|
||||
<h3 id="org5913a08"><span class="section-number-3">1.2</span> Standard probe, without check</h3>
|
||||
<div class="outline-text-3" id="text-1-2">
|
||||
<ul class="org-ul">
|
||||
<li>if <code>VFC_CI</code> is defined, place a standard probe</li>
|
||||
@ -434,8 +434,8 @@ if <code>VFC_CI</code> is undefined, return <code>false</code> (no error)
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org261703e" class="outline-3">
|
||||
<h3 id="org261703e"><span class="section-number-3">1.3</span> Probe with absolute check</h3>
|
||||
<div id="outline-container-org3a4f1fb" class="outline-3">
|
||||
<h3 id="org3a4f1fb"><span class="section-number-3">1.3</span> Probe with absolute check</h3>
|
||||
<div class="outline-text-3" id="text-1-3">
|
||||
<ul class="org-ul">
|
||||
<li>if <code>VFC_CI</code> is defined, place a probe with an absolute check</li>
|
||||
@ -475,8 +475,8 @@ and accuracy
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org83bd593" class="outline-3">
|
||||
<h3 id="org83bd593"><span class="section-number-3">1.4</span> Probe with relative check</h3>
|
||||
<div id="outline-container-org8c9bbae" class="outline-3">
|
||||
<h3 id="org8c9bbae"><span class="section-number-3">1.4</span> Probe with relative check</h3>
|
||||
<div class="outline-text-3" id="text-1-4">
|
||||
<ul class="org-ul">
|
||||
<li>if <code>VFC_CI</code> is defined, place a probe with a relative check</li>
|
||||
@ -516,8 +516,8 @@ and accuracy
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org8974717" class="outline-3">
|
||||
<h3 id="org8974717"><span class="section-number-3">1.5</span> Automatically delete and dump the vfc<sub>probe</sub> object if <code>VFC_CI</code> is defined</h3>
|
||||
<div id="outline-container-org01d2f23" class="outline-3">
|
||||
<h3 id="org01d2f23"><span class="section-number-3">1.5</span> Automatically delete and dump the vfc<sub>probe</sub> object if <code>VFC_CI</code> is defined</h3>
|
||||
<div class="outline-text-3" id="text-1-5">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #483d8b;">#ifdef</span> VFC_CI
|
||||
@ -538,8 +538,8 @@ and accuracy
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org7375b19" class="outline-2">
|
||||
<h2 id="org7375b19"><span class="section-number-2">2</span> Fortran wrappers</h2>
|
||||
<div id="outline-container-orgd7d1710" class="outline-2">
|
||||
<h2 id="orgd7d1710"><span class="section-number-2">2</span> Fortran wrappers</h2>
|
||||
<div class="outline-text-2" id="text-2">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-c"><span style="color: #228b22;">bool</span> <span style="color: #0000ff;">qmckl_probe_f</span>(
|
||||
@ -663,7 +663,7 @@ and accuracy
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: TREX CoE</p>
|
||||
<p class="date">Created: 2022-02-04 Fri 09:24</p>
|
||||
<p class="date">Created: 2022-02-09 Wed 13:39</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