Skip to content

Commit

Permalink
Deploying to gh-pages from @ 7dd66e9 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
bennybp committed Apr 21, 2024
1 parent 45c20cc commit c8aff17
Show file tree
Hide file tree
Showing 5 changed files with 37 additions and 16 deletions.
4 changes: 2 additions & 2 deletions api/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1543,7 +1543,7 @@ <h1>API Documentation</h1>

<span class="c1"># All properties that were passed to us</span>
<span class="c1"># * seed with &quot;energy&quot; so free/no-op jobs can process</span>
<span class="n">available_properties</span> <span class="o">=</span> <span class="nb">set</span><span class="p">([</span><span class="s2">&quot;energy&quot;</span><span class="p">])</span>
<span class="n">available_properties</span><span class="p">:</span> <span class="n">Set</span><span class="p">[</span><span class="nb">str</span><span class="p">]</span> <span class="o">=</span> <span class="p">{</span><span class="s2">&quot;energy&quot;</span><span class="p">}</span>
<span class="k">for</span> <span class="n">property_data</span> <span class="ow">in</span> <span class="n">component_results</span><span class="o">.</span><span class="n">values</span><span class="p">():</span>
<span class="n">available_properties</span><span class="o">.</span><span class="n">update</span><span class="p">(</span><span class="n">property_data</span><span class="o">.</span><span class="n">keys</span><span class="p">())</span>

Expand Down Expand Up @@ -1824,7 +1824,7 @@ <h2 id="qcmanybody.ManyBodyCalculator.analyze" class="doc doc-heading">

<span class="c1"># All properties that were passed to us</span>
<span class="c1"># * seed with &quot;energy&quot; so free/no-op jobs can process</span>
<span class="n">available_properties</span> <span class="o">=</span> <span class="nb">set</span><span class="p">([</span><span class="s2">&quot;energy&quot;</span><span class="p">])</span>
<span class="n">available_properties</span><span class="p">:</span> <span class="n">Set</span><span class="p">[</span><span class="nb">str</span><span class="p">]</span> <span class="o">=</span> <span class="p">{</span><span class="s2">&quot;energy&quot;</span><span class="p">}</span>
<span class="k">for</span> <span class="n">property_data</span> <span class="ow">in</span> <span class="n">component_results</span><span class="o">.</span><span class="n">values</span><span class="p">():</span>
<span class="n">available_properties</span><span class="o">.</span><span class="n">update</span><span class="p">(</span><span class="n">property_data</span><span class="o">.</span><span class="n">keys</span><span class="p">())</span>

Expand Down
35 changes: 28 additions & 7 deletions reference/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1567,7 +1567,7 @@ <h1>Reference</h1>

<span class="c1"># All properties that were passed to us</span>
<span class="c1"># * seed with &quot;energy&quot; so free/no-op jobs can process</span>
<span class="n">available_properties</span> <span class="o">=</span> <span class="nb">set</span><span class="p">([</span><span class="s2">&quot;energy&quot;</span><span class="p">])</span>
<span class="n">available_properties</span><span class="p">:</span> <span class="n">Set</span><span class="p">[</span><span class="nb">str</span><span class="p">]</span> <span class="o">=</span> <span class="p">{</span><span class="s2">&quot;energy&quot;</span><span class="p">}</span>
<span class="k">for</span> <span class="n">property_data</span> <span class="ow">in</span> <span class="n">component_results</span><span class="o">.</span><span class="n">values</span><span class="p">():</span>
<span class="n">available_properties</span><span class="o">.</span><span class="n">update</span><span class="p">(</span><span class="n">property_data</span><span class="o">.</span><span class="n">keys</span><span class="p">())</span>

Expand Down Expand Up @@ -1848,7 +1848,7 @@ <h2 id="qcmanybody.ManyBodyCalculator.analyze" class="doc doc-heading">

<span class="c1"># All properties that were passed to us</span>
<span class="c1"># * seed with &quot;energy&quot; so free/no-op jobs can process</span>
<span class="n">available_properties</span> <span class="o">=</span> <span class="nb">set</span><span class="p">([</span><span class="s2">&quot;energy&quot;</span><span class="p">])</span>
<span class="n">available_properties</span><span class="p">:</span> <span class="n">Set</span><span class="p">[</span><span class="nb">str</span><span class="p">]</span> <span class="o">=</span> <span class="p">{</span><span class="s2">&quot;energy&quot;</span><span class="p">}</span>
<span class="k">for</span> <span class="n">property_data</span> <span class="ow">in</span> <span class="n">component_results</span><span class="o">.</span><span class="n">values</span><span class="p">():</span>
<span class="n">available_properties</span><span class="o">.</span><span class="n">update</span><span class="p">(</span><span class="n">property_data</span><span class="o">.</span><span class="n">keys</span><span class="p">())</span>

Expand Down Expand Up @@ -2112,13 +2112,28 @@ <h2 id="qcmanybody.ManyBodyCalculator.iterate_molecules" class="doc doc-heading"
</td>
<td>
<div class="doc-md-description">
<p>????</p>
<p>Target the supersystem total/interaction energy (IE) data over the many-body expansion (MBE) "
analysis, thereby omitting intermediate-body calculations.</p>
</div>
</td>
<td>
<em>required</em>
</td>
</tr>
<tr class="doc-section-item">
<td><code>supersystem_max_nbody</code></td>
<td>
<code><a class="autorefs autorefs-external" title="typing.Optional" href="https://docs.python.org/3.12/library/typing.html#typing.Optional">Optional</a>[<a class="autorefs autorefs-external" href="https://docs.python.org/3.12/library/functions.html#int">int</a>]</code>
</td>
<td>
<div class="doc-md-description">
<p>Maximum n-body to use for a supersystem calculation. Must be specified if "supersystem" is in <code>nbodies</code></p>
</div>
</td>
<td>
<code>None</code>
</td>
</tr>
</tbody>
</table>

Expand Down Expand Up @@ -2332,7 +2347,10 @@ <h2 id="qcmanybody.ManyBodyCalculator.iterate_molecules" class="doc doc-heading"
<span class="normal">172</span>
<span class="normal">173</span>
<span class="normal">174</span>
<span class="normal">175</span></pre></div></td><td class="code"><div><pre><span></span><code><span class="k">def</span> <span class="nf">build_nbody_compute_list</span><span class="p">(</span>
<span class="normal">175</span>
<span class="normal">176</span>
<span class="normal">177</span>
<span class="normal">178</span></pre></div></td><td class="code"><div><pre><span></span><code><span class="k">def</span> <span class="nf">build_nbody_compute_list</span><span class="p">(</span>
<span class="n">bsse_type</span><span class="p">:</span> <span class="n">Iterable</span><span class="p">[</span><span class="n">BsseEnum</span><span class="p">],</span>
<span class="n">nfragments</span><span class="p">:</span> <span class="nb">int</span><span class="p">,</span>
<span class="n">nbodies</span><span class="p">:</span> <span class="n">Iterable</span><span class="p">[</span><span class="n">Union</span><span class="p">[</span><span class="nb">int</span><span class="p">,</span> <span class="n">Literal</span><span class="p">[</span><span class="s2">&quot;supersystem&quot;</span><span class="p">]]],</span>
Expand All @@ -2355,7 +2373,10 @@ <h2 id="qcmanybody.ManyBodyCalculator.iterate_molecules" class="doc doc-heading"
<span class="sd"> Whether the total data (True; energy/gradient/Hessian) of the molecular system has been requested,</span>
<span class="sd"> as opposed to interaction data (False).</span>
<span class="sd"> supersystem_ie_only</span>
<span class="sd"> ????</span>
<span class="sd"> Target the supersystem total/interaction energy (IE) data over the many-body expansion (MBE) &quot;</span>
<span class="sd"> analysis, thereby omitting intermediate-body calculations.</span>
<span class="sd"> supersystem_max_nbody</span>
<span class="sd"> Maximum n-body to use for a supersystem calculation. Must be specified if &quot;supersystem&quot; is in `nbodies`</span>

<span class="sd"> Returns</span>
<span class="sd"> -------</span>
Expand Down Expand Up @@ -2388,8 +2409,8 @@ <h2 id="qcmanybody.ManyBodyCalculator.iterate_molecules" class="doc doc-heading"
<span class="k">raise</span> <span class="ne">ValueError</span><span class="p">(</span><span class="s2">&quot;supersystem_max_nbody must be provided if &#39;supersystem&#39; contains nbodies&quot;</span><span class="p">)</span>

<span class="n">include_supersystem</span> <span class="o">=</span> <span class="kc">True</span>
<span class="n">nbodies</span> <span class="o">=</span> <span class="nb">list</span><span class="p">(</span><span class="n">nbodies</span><span class="p">)</span>
<span class="n">nbodies</span><span class="o">.</span><span class="n">remove</span><span class="p">(</span><span class="s2">&quot;supersystem&quot;</span><span class="p">)</span>

<span class="n">nbodies</span><span class="p">:</span> <span class="n">List</span><span class="p">[</span><span class="nb">int</span><span class="p">]</span> <span class="o">=</span> <span class="p">[</span><span class="n">x</span> <span class="k">for</span> <span class="n">x</span> <span class="ow">in</span> <span class="n">nbodies</span> <span class="k">if</span> <span class="n">x</span> <span class="o">!=</span> <span class="s2">&quot;supersystem&quot;</span><span class="p">]</span>

<span class="c1"># What levels do we need?</span>
<span class="n">fragment_range</span> <span class="o">=</span> <span class="nb">range</span><span class="p">(</span><span class="mi">1</span><span class="p">,</span> <span class="n">nfragments</span> <span class="o">+</span> <span class="mi">1</span><span class="p">)</span>
Expand Down
2 changes: 1 addition & 1 deletion search/search_index.json

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,32 +2,32 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://molssi.github.io/QCManyBody/</loc>
<lastmod>2024-04-19</lastmod>
<lastmod>2024-04-21</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://molssi.github.io/QCManyBody/api/</loc>
<lastmod>2024-04-19</lastmod>
<lastmod>2024-04-21</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://molssi.github.io/QCManyBody/explanation/</loc>
<lastmod>2024-04-19</lastmod>
<lastmod>2024-04-21</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://molssi.github.io/QCManyBody/how-to-guides/</loc>
<lastmod>2024-04-19</lastmod>
<lastmod>2024-04-21</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://molssi.github.io/QCManyBody/reference/</loc>
<lastmod>2024-04-19</lastmod>
<lastmod>2024-04-21</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://molssi.github.io/QCManyBody/tutorials/</loc>
<lastmod>2024-04-19</lastmod>
<lastmod>2024-04-21</lastmod>
<changefreq>daily</changefreq>
</url>
</urlset>
Binary file modified sitemap.xml.gz
Binary file not shown.

0 comments on commit c8aff17

Please sign in to comment.