Skip to content

Commit

Permalink
Generated documentation for triqs/unstable
Browse files Browse the repository at this point in the history
jenkins-TRIQS-triqs-unstable-1052 3547a0a4bace09ae1035ed7d381f2691384f5c7a
  • Loading branch information
flatiron-jenkins committed Nov 19, 2024
1 parent fa8fb91 commit 5711572
Show file tree
Hide file tree
Showing 16 changed files with 18 additions and 18 deletions.
4 changes: 2 additions & 2 deletions triqs/unstable/_modules/triqs/gf/block_gf.html
Original file line number Diff line number Diff line change
Expand Up @@ -1919,7 +1919,7 @@ <h1>Source code for triqs.gf.block_gf</h1><div class="highlight"><pre>
<span class="c1">#------------ copy and construction -----------------------------------------------</span>

<div class="viewcode-block" id="BlockGf.copy">
<a class="viewcode-back" href="../../../documentation/python_api/triqs.gf.block_gf.BlockGf.copy.html#triqs.gf.block_gf.BlockGf.copy">[docs]</a>
<a class="viewcode-back" href="../../../documentation/manual/triqs/gfs/py/full.html#triqs.gf.block_gf.BlockGf.copy">[docs]</a>
<span class="k">def</span> <span class="nf">copy</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span><span class="o">*</span><span class="n">args</span><span class="p">):</span>
<span class="w"> </span><span class="sd">&quot;&quot;&quot;Returns a (deep) copy of self (i.e. new independent Blocks initialised with self) &quot;&quot;&quot;</span>
<span class="k">return</span> <span class="bp">self</span><span class="o">.</span><span class="vm">__class__</span> <span class="p">(</span><span class="n">name_list</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">__indices</span><span class="p">[:],</span> <span class="n">block_list</span> <span class="o">=</span> <span class="p">[</span> <span class="n">g</span><span class="o">.</span><span class="n">copy</span><span class="p">(</span><span class="o">*</span><span class="n">args</span><span class="p">)</span> <span class="k">for</span> <span class="n">g</span> <span class="ow">in</span> <span class="bp">self</span><span class="o">.</span><span class="n">__GFlist</span><span class="p">],</span><span class="n">make_copies</span><span class="o">=</span><span class="kc">False</span><span class="p">)</span></div>
Expand All @@ -1942,7 +1942,7 @@ <h1>Source code for triqs.gf.block_gf</h1><div class="highlight"><pre>


<div class="viewcode-block" id="BlockGf.copy_from">
<a class="viewcode-back" href="../../../documentation/python_api/triqs.gf.block_gf.BlockGf.copy_from.html#triqs.gf.block_gf.BlockGf.copy_from">[docs]</a>
<a class="viewcode-back" href="../../../documentation/manual/triqs/gfs/py/full.html#triqs.gf.block_gf.BlockGf.copy_from">[docs]</a>
<span class="k">def</span> <span class="nf">copy_from</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">G2</span><span class="p">):</span>
<span class="w"> </span><span class="sd">&quot;&quot;&quot;Copy the Green&#39;s function from G2: G2 MUST have the same structure!&quot;&quot;&quot;</span>
<span class="k">assert</span> <span class="nb">isinstance</span><span class="p">(</span><span class="n">G2</span><span class="p">,</span> <span class="n">BlockGf</span><span class="p">)</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ mpi::broadcast
.. rst-class:: cppsynopsis

| :green:`template<typename T>`
| void :red:`broadcast` (T & :param:`x`, :ref:`communicator <mpi__communicator>` :param:`c` = {}, int :param:`root` = 0)
| void :red:`broadcast` (T && :param:`x`, :ref:`communicator <mpi__communicator>` :param:`c` = {}, int :param:`root` = 0)


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,4 +85,4 @@ Parameters
Returns
^^^^^^^

std::pair<T1, T2> containing the result of each individual reduction.
The result of the reduction.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ mpi::reduce_in_place
.. rst-class:: cppsynopsis

| :green:`template<typename T>`
| void :red:`reduce_in_place` (T & :param:`x`, :ref:`communicator <mpi__communicator>` :param:`c` = {}, int :param:`root` = 0, bool :param:`all` = false, MPI_Op :param:`op` = MPI_SUM)
| void :red:`reduce_in_place` (T && :param:`x`, :ref:`communicator <mpi__communicator>` :param:`c` = {}, int :param:`root` = 0, bool :param:`all` = false, MPI_Op :param:`op` = MPI_SUM)


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ Documentation
Returns
^^^^^^^

Reference to the storage container
Constant reference to the storage container
2 changes: 1 addition & 1 deletion triqs/unstable/documentation/cpp_api/mpi/broadcast.html
Original file line number Diff line number Diff line change
Expand Up @@ -1807,7 +1807,7 @@
<blockquote>
<div><div class="cppsynopsis line-block">
<div class="line"><span class="green">template&lt;typename T&gt;</span></div>
<div class="line">void <span class="red">broadcast</span> (T &amp; <span class="param">x</span>, <a class="reference internal" href="communicator.html#mpi-communicator"><span class="std std-ref">communicator</span></a> <span class="param">c</span> = {}, int <span class="param">root</span> = 0)</div>
<div class="line">void <span class="red">broadcast</span> (T &amp;&amp; <span class="param">x</span>, <a class="reference internal" href="communicator.html#mpi-communicator"><span class="std std-ref">communicator</span></a> <span class="param">c</span> = {}, int <span class="param">root</span> = 0)</div>
</div>
</div></blockquote>
<section id="template-parameters">
Expand Down
2 changes: 1 addition & 1 deletion triqs/unstable/documentation/cpp_api/mpi/mpi_reduce.html
Original file line number Diff line number Diff line change
Expand Up @@ -1875,7 +1875,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::pair&lt;T1, T2&gt; containing the result of each individual reduction.</p>
<p>The result of the reduction.</p>
</section>
</section>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1807,7 +1807,7 @@
<blockquote>
<div><div class="cppsynopsis line-block">
<div class="line"><span class="green">template&lt;typename T&gt;</span></div>
<div class="line">void <span class="red">reduce_in_place</span> (T &amp; <span class="param">x</span>, <a class="reference internal" href="communicator.html#mpi-communicator"><span class="std std-ref">communicator</span></a> <span class="param">c</span> = {}, int <span class="param">root</span> = 0, bool <span class="param">all</span> = false, MPI_Op <span class="param">op</span> = MPI_SUM)</div>
<div class="line">void <span class="red">reduce_in_place</span> (T &amp;&amp; <span class="param">x</span>, <a class="reference internal" href="communicator.html#mpi-communicator"><span class="std std-ref">communicator</span></a> <span class="param">c</span> = {}, int <span class="param">root</span> = 0, bool <span class="param">all</span> = false, MPI_Op <span class="param">op</span> = MPI_SUM)</div>
</div>
</div></blockquote>
<section id="template-parameters">
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>Reference to the storage container</p>
<p>Constant reference to the storage container</p>
</section>
</section>

Expand Down
2 changes: 1 addition & 1 deletion triqs/unstable/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="bd47e88039004c2c971d98fe3f90e3eb" class="no-scaled-link" src="../../../../_images/selfcons.png" style="width: 40%;" /></p>
<p><img alt="073afabf22a6495dbb938563bf4b5d4b" 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="7807cc1a66b047e49f30112ce606282b" src="../../../../_images/dmft_bath_impurity.png" /></p>
<p><img alt="2c442e2ed2f54d24be16ccab9c8ceedc" 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="4c8148dfd42d4172a8116785050d6959" class="no-scaled-link" src="../../../../_images/vb-patching.png" style="width: 240px; height: 180px;" /></p>
<p><img alt="69e7aa3a84bf46a9817c2f4bf02ad47e" 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="d196091bd88f431087cd0fc9a67b15ef" class="no-scaled-link" src="../../../../../_images/selfcons1.png" style="width: 40%;" /></p>
<p><img alt="571e6e15c31b4c58a8b8122b8c5aead1" 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="a95a8a8651ab4e85985118e90533cf5c" class="no-scaled-link" src="../../../../../_images/mott.png" style="width: 30%;" /></p>
<p><img alt="f309c753401d48beae26d712d1208771" 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="426ab46569ec465aa032ddbd06ee1a87" src="../../../../../_images/maxent_Aw.png" /></p>
<p><img alt="0419648f8a9a4b928b011a3e3a07b0eb" 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="327c07a71f154fad975d67ce9345fdee" class="no-scaled-link" src="../../../../../_images/vb-patching1.png" style="width: 240px; height: 180px;" /></p>
<p><img alt="129ee39b30214dba95a3e3ff6b63c47d" 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

0 comments on commit 5711572

Please sign in to comment.