Skip to content

Commit

Permalink
Generated documentation for triqs/DEV_mc_tools_stat
Browse files Browse the repository at this point in the history
jenkins-TRIQS-triqs-DEV_mc_tools_stat-20 9fd0a207d0eb2e548c4d5fc2ba6db9ae8c936def
  • Loading branch information
flatiron-jenkins committed Nov 19, 2024
1 parent 298e9c0 commit 9448807
Show file tree
Hide file tree
Showing 25 changed files with 32 additions and 32 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,4 @@ Parameters
Returns
^^^^^^^

True, if all original iterators are equal.
True, if one of the original iterators is equal to the corresponding iterator of the sentinel.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Public members


+------+-------------------+----------------------------------------------------------------------------+
| rhs | const_view_type | View of the array/view to be scattered. |
| rhs | stored_type | Array/View to be scattered. |
+------+-------------------+----------------------------------------------------------------------------+
| comm | mpi::communicator | MPI communicator. |
+------+-------------------+----------------------------------------------------------------------------+
Expand All @@ -52,11 +52,11 @@ Member types
:widths: 40 60


+-----------------+--------------------------------------+---------------------------------------------------------------+
| value_type | typename std::decay_t<A>::value_type | Value type of the array/view. |
+-----------------+--------------------------------------+---------------------------------------------------------------+
| const_view_type | decltype(std::declval<const A>()()) | Const view type of the array/view stored in the lazy object. |
+-----------------+--------------------------------------+---------------------------------------------------------------+
+-------------+--------------------------------------+----------------------------------------------------+
| value_type | typename std::decay_t<A>::value_type | Value type of the array/view. |
+-------------+--------------------------------------+----------------------------------------------------+
| stored_type | A | Type of the array/view stored in the lazy object. |
+-------------+--------------------------------------+----------------------------------------------------+


Member functions
Expand All @@ -67,7 +67,7 @@ Member functions


+-----------------------------------+-----------------------------------------------------------------------------+
| :ref:`shape <mpi__lazy__shape>` | Compute the shape of the target array. |
| :ref:`shape <mpi__lazy__shape>` | Compute the shape of the nda::ArrayInitializer object. |
+-----------------------------------+-----------------------------------------------------------------------------+
| :ref:`invoke <mpi__lazy__invoke>` | Execute the lazy MPI operation and write the result to a target array/view. |
+-----------------------------------+-----------------------------------------------------------------------------+
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ mpi::lazy::invoke
Template parameters
^^^^^^^^^^^^^^^^^^^

* :param:`T` nda::Array type of the target array/view.
* :param:`T` nda::Array type with C-layout.


Parameters
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ mpi::lazy::shape
Returns
^^^^^^^

Shape of the target array.
Shape of the nda::ArrayInitializer object.

.. warning::
This makes an MPI call.
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,4 @@ Parameters
Returns
^^^^^^^

std::vector containing the result of the gather operation.
std::string containing the result of the gather operation.
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ Documentation
Returns
^^^^^^^

Constant reference to the storage container
Reference to the storage container
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ Parameters
Returns
^^^^^^^

Reference to the requested amplitude
Constant reference to the requested amplitude
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ Parameters
Returns
^^^^^^^

Reference to the requested amplitude
Constant reference to the requested amplitude
Original file line number Diff line number Diff line change
Expand Up @@ -1838,7 +1838,7 @@ <h2>Parameters<a class="headerlink" href="#parameters" title="Link to this headi
</section>
<section id="returns">
<h2>Returns<a class="headerlink" href="#returns" title="Link to this heading"></a></h2>
<p>True, if all original iterators are equal.</p>
<p>True, if one of the original iterators is equal to the corresponding iterator of the sentinel.</p>
</section>
</section>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1827,7 +1827,7 @@ <h2>Member functions<a class="headerlink" href="#member-functions" title="Link t
</colgroup>
<tbody>
<tr class="row-odd"><td><p><a class="reference internal" href="lazy/shape.html#mpi-lazy-shape"><span class="std std-ref">shape</span></a></p></td>
<td><p>Compute the shape of the target array.</p></td>
<td><p>Compute the shape of the nda::ArrayInitializer object.</p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="lazy/invoke.html#mpi-lazy-invoke"><span class="std std-ref">invoke</span></a></p></td>
<td><p>Execute the lazy MPI operation and write the result to a target array/view.</p></td>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1815,7 +1815,7 @@
<h2>Template parameters<a class="headerlink" href="#template-parameters" title="Link to this heading"></a></h2>
<blockquote>
<div><ul class="simple">
<li><p><span class="param">T</span> nda::Array type of the target array/view.</p></li>
<li><p><span class="param">T</span> nda::Array type with C-layout.</p></li>
</ul>
</div></blockquote>
</section>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1812,7 +1812,7 @@
</div></blockquote>
<section id="returns">
<h2>Returns<a class="headerlink" href="#returns" title="Link to this heading"></a></h2>
<p>Shape of the target array.</p>
<p>Shape of the nda::ArrayInitializer object.</p>
<div class="admonition warning">
<p class="admonition-title">Warning</p>
<p>This makes an MPI call.</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1840,7 +1840,7 @@ <h2>Parameters<a class="headerlink" href="#parameters" title="Link to this headi
</section>
<section id="returns">
<h2>Returns<a class="headerlink" href="#returns" title="Link to this heading"></a></h2>
<p>std::vector containing the result of the gather operation.</p>
<p>std::string containing the result of the gather operation.</p>
</section>
</section>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1824,7 +1824,7 @@
</div></blockquote>
<section id="returns">
<h2>Returns<a class="headerlink" href="#returns" title="Link to this heading"></a></h2>
<p>Constant reference to the storage container</p>
<p>Reference to the storage container</p>
</section>
</section>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1832,7 +1832,7 @@ <h2>Parameters<a class="headerlink" href="#parameters" title="Link to this headi
</section>
<section id="returns">
<h2>Returns<a class="headerlink" href="#returns" title="Link to this heading"></a></h2>
<p>Reference to the requested amplitude</p>
<p>Constant reference to the requested amplitude</p>
</section>
</section>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1832,7 +1832,7 @@ <h2>Parameters<a class="headerlink" href="#parameters" title="Link to this headi
</section>
<section id="returns">
<h2>Returns<a class="headerlink" href="#returns" title="Link to this heading"></a></h2>
<p>Reference to the requested amplitude</p>
<p>Constant reference to the requested amplitude</p>
</section>
</section>

Expand Down
2 changes: 1 addition & 1 deletion triqs/DEV_mc_tools_stat/searchindex.js

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -2106,7 +2106,7 @@ <h2>Dynamical mean-field theory<a class="headerlink" href="#Dynamical-mean-field
\Big( \sum_k \frac{1}{i \omega_n + \mu - \epsilon_k - \Sigma_\mathrm{imp}} \Big)^{-1}
+ \Sigma_\mathrm{imp}\]</div>
<p>We solve the quantum impurity for this new <span class="math notranslate nohighlight">\(G_0\)</span> and loop until convergence</p>
<p><img alt="de5a1339143242a0b053640000514a76" class="no-scaled-link" src="../../../../_images/selfcons1.png" style="width: 40%;" /></p>
<p><img alt="176aa0600ffb4ed2b5400faecc0fc624" class="no-scaled-link" src="../../../../_images/selfcons.png" style="width: 40%;" /></p>
</section>
<section id="Bethe-lattice-DMFT">
<h2>Bethe lattice DMFT<a class="headerlink" href="#Bethe-lattice-DMFT" title="Link to this heading"></a></h2>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2070,7 +2070,7 @@
<section id="General-reminder:-Anderson-impurity-model-and-CTHYB-solver">
<h1>General reminder: Anderson impurity model and CTHYB solver<a class="headerlink" href="#General-reminder:-Anderson-impurity-model-and-CTHYB-solver" title="Link to this heading"></a></h1>
<p>In the Anderson impurity model, we decompose the full lattice problem into an interacting site (‘impurity’) hybridised to a bath:</p>
<p><img alt="68ffa342f6924a69803f94c62f0aaca1" src="../../../../_images/dmft_bath_impurity.png" /></p>
<p><img alt="8904e3b09a694144ad4cf705dc9fddeb" src="../../../../_images/dmft_bath_impurity.png" /></p>
<dl>
<dt>with the Hamiltonian :nbsphinx-math:<a href="#id1"><span class="problematic" id="id2">`</span></a>begin{align*}</dt><dd><blockquote>
<div><p>H = &amp; color{red}{H_{rm imp}} + color{darkgreen}{H_{rm hyb}} + color{blue}{H_{rm bath}} \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2071,7 +2071,7 @@ <h1>Valence-Bond DMFT solution of the Hubbard model<a class="headerlink" href="#
<p>.</p>
<p>In the following, we use <span class="math notranslate nohighlight">\(U/t=10\)</span> and <span class="math notranslate nohighlight">\(t'/t=-0.3\)</span>, which are values commonly used for modeling hole-doped cuprates in a single-band framework. All energies (and temperatures) are expressed in units of <span class="math notranslate nohighlight">\(D=4t=1\)</span>, and the doping is denoted by <span class="math notranslate nohighlight">\(\delta\)</span>.</p>
<p>We subdivide the Brillouin Zone into a minimal set of two patches of <strong>equal</strong> area <span class="math notranslate nohighlight">\(P_+\)</span> (even) and <span class="math notranslate nohighlight">\(P_-\)</span> (odd).</p>
<p><img alt="94518c6a252d4de7afa7123612cfedd6" class="no-scaled-link" src="../../../../_images/vb-patching1.png" style="width: 240px; height: 180px;" /></p>
<p><img alt="88780d961b584bacbebe7ad75592010f" class="no-scaled-link" src="../../../../_images/vb-patching.png" style="width: 240px; height: 180px;" /></p>
<p><span class="math notranslate nohighlight">\(P_+\)</span> is a central square centered at momentum <span class="math notranslate nohighlight">\((0,0)\)</span> and containing the nodal region; the complementary region <span class="math notranslate nohighlight">\(P_{-}\)</span> extends to the edge of the BZ and contains in particular the antinodal region and the <span class="math notranslate nohighlight">\((\pi,\pi)\)</span> momentum.</p>
<div class="nbinput nblast docutils container">
<div class="prompt highlight-none notranslate"><div class="highlight"><pre><span></span>[2]:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2117,7 +2117,7 @@ <h2>Dynamical mean-field theory<a class="headerlink" href="#Dynamical-mean-field
\Big( \sum_k \frac{1}{i \omega_n + \mu - \epsilon_k - \Sigma_\mathrm{imp}} \Big)^{-1}
+ \Sigma_\mathrm{imp}\]</div>
<p>We solve the quantum impurity for this new <span class="math notranslate nohighlight">\(G_0\)</span> and loop until convergence</p>
<p><img alt="0d05ebddf4e34af1ae2a1f054da941a4" class="no-scaled-link" src="../../../../../_images/selfcons.png" style="width: 40%;" /></p>
<p><img alt="1c6abed3c3ad4b2c84ee2a858866294a" class="no-scaled-link" src="../../../../../_images/selfcons1.png" style="width: 40%;" /></p>
</section>
<section id="Bethe-lattice-DMFT">
<h2>Bethe lattice DMFT<a class="headerlink" href="#Bethe-lattice-DMFT" title="Link to this heading"></a></h2>
Expand Down Expand Up @@ -2232,7 +2232,7 @@ <h2>Visualizing the Mott transition<a class="headerlink" href="#Visualizing-the-
<section id="Comparison-with-the-literature">
<h2>Comparison with the literature<a class="headerlink" href="#Comparison-with-the-literature" title="Link to this heading"></a></h2>
<p>You can compare the result above with what can be found in the literature (review of Antoine Georges et al.)</p>
<p><img alt="53aa97677605463d8c9ba5dba75b5e27" class="no-scaled-link" src="../../../../../_images/mott.png" style="width: 30%;" /></p>
<p><img alt="3899344ac07842599857ec3db51cdfed" class="no-scaled-link" src="../../../../../_images/mott.png" style="width: 30%;" /></p>
</section>
</section>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2345,7 +2345,7 @@ <h2>Solution 6<a class="headerlink" href="#Solution-6" title="Link to this headi
</div>
</div>
<p>The result is completely wrong. This is because of the noise in the Monte Carlo data. One would have to make much longer runs in order to reduce the error bars. The Pade approximation can be used only on very accurate data. When the noise is still quite large, one has to use different analytical continuation methods, like MaxEnt, which produces the following spectral function:</p>
<p><img alt="7acff039fd494241a8123b639c36321e" src="../../../../../_images/maxent_Aw.png" /></p>
<p><img alt="de8abe3abc5f4dafb1d2967d4fabb659" src="../../../../../_images/maxent_Aw.png" /></p>
<p>Regardless of which package you use for MaxEnt, it is very important to remember that there are some important knobs with which one can play in MaxEnt that can substantially change the results, and so one must be very careful in its use!</p>
<blockquote>
<div><p>Exercise 7</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2075,7 +2075,7 @@ <h1>Valence-Bond DMFT solution of the Hubbard model<a class="headerlink" href="#
<p>.</p>
<p>In the following, we use <span class="math notranslate nohighlight">\(U/t=10\)</span> and <span class="math notranslate nohighlight">\(t'/t=-0.3\)</span>, which are values commonly used for modeling hole-doped cuprates in a single-band framework. All energies (and temperatures) are expressed in units of <span class="math notranslate nohighlight">\(D=4t=1\)</span>, and the doping is denoted by <span class="math notranslate nohighlight">\(\delta\)</span>.</p>
<p>We subdivide the Brillouin Zone into a minimal set of two patches of <strong>equal</strong> area <span class="math notranslate nohighlight">\(P_+\)</span> (even) and <span class="math notranslate nohighlight">\(P_-\)</span> (odd).</p>
<p><img alt="0ade4d8500364eb3874c363187507899" class="no-scaled-link" src="../../../../../_images/vb-patching.png" style="width: 240px; height: 180px;" /></p>
<p><img alt="cf8266a6080d40dbb1311a1fbfb873a8" class="no-scaled-link" src="../../../../../_images/vb-patching1.png" style="width: 240px; height: 180px;" /></p>
<p><span class="math notranslate nohighlight">\(P_+\)</span> is a central square centered at momentum <span class="math notranslate nohighlight">\((0,0)\)</span> and containing the nodal region; the complementary region <span class="math notranslate nohighlight">\(P_{-}\)</span> extends to the edge of the BZ and contains in particular the antinodal region and the <span class="math notranslate nohighlight">\((\pi,\pi)\)</span> momentum.</p>
<div class="nbinput docutils container">
<div class="prompt highlight-none notranslate"><div class="highlight"><pre><span></span>[1]:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2183,7 +2183,7 @@ <h2><span class="math notranslate nohighlight">\(\chi_0\)</span> calculator for
<p>Solve the TPCS equations for a range of temperatures at <span class="math notranslate nohighlight">\(n=1\)</span> (half-filling) and <span class="math notranslate nohighlight">\(U=4\)</span> and examine the validity of the Mermin-Wagner theorem in the TPSC approximation. In particular study the spin structure factor <span class="math notranslate nohighlight">\(S(\mathbf{q})\)</span> defined as</p>
<div class="math notranslate nohighlight">
\[S(\mathbf{q})\equiv T\sum_n \chi_{sp}(\mathbf{q},i\omega_n)\]</div>
<p>and reproduce the results of following figure from <a class="reference external" href="https://jp1.journaldephysique.org/articles/jp1/abs/1997/11/jp1v7p1309/jp1v7p1309.html" rel="noopener noreferrer" target="_blank">[Vilk and Tremblay, J. Phys. I France 7 (1997) 1309-1368]</a> <a class="reference external" href="https://arxiv.org/abs/cond-mat/9702188v3" rel="noopener noreferrer" target="_blank">[arXiv version]</a>: <img alt="Drawing" src="../../../../_images/Fig71.png" /></p>
<p>and reproduce the results of following figure from <a class="reference external" href="https://jp1.journaldephysique.org/articles/jp1/abs/1997/11/jp1v7p1309/jp1v7p1309.html" rel="noopener noreferrer" target="_blank">[Vilk and Tremblay, J. Phys. I France 7 (1997) 1309-1368]</a> <a class="reference external" href="https://arxiv.org/abs/cond-mat/9702188v3" rel="noopener noreferrer" target="_blank">[arXiv version]</a>: <img alt="Drawing" src="../../../../_images/Fig7.png" /></p>
</section>
<section id="RPA-spin-structure-factor-S_{RPA}-as-a-function-of-temperature-T">
<h2>RPA spin structure factor <span class="math notranslate nohighlight">\(S_{RPA}\)</span> as a function of temperature <span class="math notranslate nohighlight">\(T\)</span><a class="headerlink" href="#RPA-spin-structure-factor-S_{RPA}-as-a-function-of-temperature-T" title="Link to this heading"></a></h2>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2203,7 +2203,7 @@ <h2><span class="math notranslate nohighlight">\(\chi_0\)</span> calculator for
<p>Solve the TPCS equations for a range of temperatures at <span class="math notranslate nohighlight">\(n=1\)</span> (half-filling) and <span class="math notranslate nohighlight">\(U=4\)</span> and examine the validity of the Mermin-Wagner theorem in the TPSC approximation. In particular study the spin structure factor <span class="math notranslate nohighlight">\(S(\mathbf{q})\)</span> defined as</p>
<div class="math notranslate nohighlight">
\[S(\mathbf{q})\equiv T\sum_n \chi_{sp}(\mathbf{q},i\omega_n)\]</div>
<p>and reproduce the results of following figure from <a class="reference external" href="https://jp1.journaldephysique.org/articles/jp1/abs/1997/11/jp1v7p1309/jp1v7p1309.html" rel="noopener noreferrer" target="_blank">[Vilk and Tremblay, J. Phys. I France 7 (1997) 1309-1368]</a> <a class="reference external" href="https://arxiv.org/abs/cond-mat/9702188v3" rel="noopener noreferrer" target="_blank">[arXiv version]</a>: <img alt="Drawing" src="../../../../../_images/Fig7.png" /></p>
<p>and reproduce the results of following figure from <a class="reference external" href="https://jp1.journaldephysique.org/articles/jp1/abs/1997/11/jp1v7p1309/jp1v7p1309.html" rel="noopener noreferrer" target="_blank">[Vilk and Tremblay, J. Phys. I France 7 (1997) 1309-1368]</a> <a class="reference external" href="https://arxiv.org/abs/cond-mat/9702188v3" rel="noopener noreferrer" target="_blank">[arXiv version]</a>: <img alt="Drawing" src="../../../../../_images/Fig71.png" /></p>
</section>
<section id="RPA-spin-structure-factor-S_{RPA}-as-a-function-of-temperature-T">
<h2>RPA spin structure factor <span class="math notranslate nohighlight">\(S_{RPA}\)</span> as a function of temperature <span class="math notranslate nohighlight">\(T\)</span><a class="headerlink" href="#RPA-spin-structure-factor-S_{RPA}-as-a-function-of-temperature-T" title="Link to this heading"></a></h2>
Expand Down

0 comments on commit 9448807

Please sign in to comment.