Skip to content

Commit

Permalink
Generated documentation for tprf/unstable
Browse files Browse the repository at this point in the history
jenkins-TRIQS-tprf-unstable-877 e3be3255daa94470677ceb3a280a47429bcc0fef
  • Loading branch information
flatiron-jenkins committed Jul 24, 2024
1 parent 36d40e5 commit 18e583b
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
10 changes: 9 additions & 1 deletion tprf/unstable/_modules/triqs_tprf/lattice_utils.html
Original file line number Diff line number Diff line change
Expand Up @@ -870,6 +870,11 @@ <h1>Source code for triqs_tprf.lattice_utils</h1><div class="highlight"><pre>

<span class="n">ntau</span> <span class="o">=</span> <span class="mi">2</span> <span class="o">*</span> <span class="n">nw_g</span>

<span class="n">is_dlr_mesh</span> <span class="o">=</span> <span class="nb">type</span><span class="p">(</span><span class="n">wmesh</span><span class="p">)</span> <span class="o">==</span> <span class="n">MeshDLRImFreq</span>
<span class="k">if</span> <span class="n">is_dlr_mesh</span><span class="p">:</span>
<span class="n">iw_values</span> <span class="o">=</span> <span class="n">np</span><span class="o">.</span><span class="n">fromiter</span><span class="p">(</span><span class="n">wmesh</span><span class="o">.</span><span class="n">values</span><span class="p">(),</span> <span class="n">dtype</span><span class="o">=</span><span class="nb">complex</span><span class="p">)</span>
<span class="n">is_symmetrized</span> <span class="o">=</span> <span class="n">np</span><span class="o">.</span><span class="n">allclose</span><span class="p">(</span><span class="n">iw_values</span><span class="p">,</span> <span class="o">-</span><span class="n">iw_values</span><span class="p">[::</span><span class="o">-</span><span class="mi">1</span><span class="p">])</span>

<span class="c1"># -- Memory Approximation</span>

<span class="n">ng_tr</span> <span class="o">=</span> <span class="n">ntau</span> <span class="o">*</span> <span class="n">np</span><span class="o">.</span><span class="n">prod</span><span class="p">(</span><span class="n">nk</span><span class="p">)</span> <span class="o">*</span> <span class="n">norb</span><span class="o">**</span><span class="mi">2</span> <span class="c1"># storing G(tau, r)</span>
Expand Down Expand Up @@ -922,7 +927,10 @@ <h1>Source code for triqs_tprf.lattice_utils</h1><div class="highlight"><pre>
<span class="k">else</span><span class="p">:</span>
<span class="k">if</span> <span class="ow">not</span> <span class="n">save_memory</span><span class="p">:</span>
<span class="k">if</span> <span class="n">verbose</span><span class="p">:</span> <span class="n">mpi</span><span class="o">.</span><span class="n">report</span><span class="p">(</span><span class="s1">&#39;--&gt; chi0_tr_from_grt_PH (bubble in tau &amp; r)&#39;</span><span class="p">)</span>
<span class="n">chi0_tr</span> <span class="o">=</span> <span class="n">chi0_tr_from_grt_PH</span><span class="p">(</span><span class="n">g_tr</span><span class="p">)</span>
<span class="k">if</span> <span class="n">is_dlr_mesh</span><span class="p">:</span>
<span class="n">chi0_tr</span> <span class="o">=</span> <span class="n">chi0_tr_from_grt_PH</span><span class="p">(</span><span class="n">g_tr</span><span class="p">,</span> <span class="n">is_symmetrized</span><span class="p">)</span>
<span class="k">else</span><span class="p">:</span>
<span class="n">chi0_tr</span> <span class="o">=</span> <span class="n">chi0_tr_from_grt_PH</span><span class="p">(</span><span class="n">g_tr</span><span class="p">)</span>
<span class="k">del</span> <span class="n">g_tr</span>

<span class="k">if</span> <span class="n">verbose</span><span class="p">:</span> <span class="n">mpi</span><span class="o">.</span><span class="n">report</span><span class="p">(</span><span class="s1">&#39;--&gt; chi_wr_from_chi_tr&#39;</span><span class="p">)</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,4 @@ Parameters
Returns
^^^^^^^

k-space real time Green's function :math:`G_{a\bar{b}}(t, \mathbf{k})`
k-space real time Green's function :math:`G_{a\bar{b}c\bar{d}}(t, \mathbf{k})`
Original file line number Diff line number Diff line change
Expand Up @@ -729,7 +729,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>k-space real time Green’s function <span class="math notranslate nohighlight">\(G_{a\bar{b}}(t, \mathbf{k})\)</span></p>
<p>k-space real time Green’s function <span class="math notranslate nohighlight">\(G_{a\bar{b}c\bar{d}}(t, \mathbf{k})\)</span></p>
</section>
</section>

Expand Down
2 changes: 1 addition & 1 deletion tprf/unstable/searchindex.js

Large diffs are not rendered by default.

0 comments on commit 18e583b

Please sign in to comment.