Skip to content

Commit

Permalink
build based on 0ddb2b8
Browse files Browse the repository at this point in the history
  • Loading branch information
Documenter.jl committed Sep 29, 2023
1 parent e74fd89 commit 8086967
Show file tree
Hide file tree
Showing 28 changed files with 364 additions and 364 deletions.
2 changes: 1 addition & 1 deletion dev/.documenter-siteinfo.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"documenter":{"julia_version":"1.9.3","generation_timestamp":"2023-09-22T07:09:33","documenter_version":"1.0.1"}}
{"documenter":{"julia_version":"1.9.3","generation_timestamp":"2023-09-29T14:53:22","documenter_version":"1.1.0"}}
4 changes: 2 additions & 2 deletions dev/API.html

Large diffs are not rendered by default.

78 changes: 39 additions & 39 deletions dev/Accuracy-81badcbb.svg → dev/Accuracy-aa247cb3.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion dev/Accuracy.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@
The pressure = 0.58613053 with M = 100000 gridpoints.</code></pre><p>We can see that the method has well-behaved second order convergence, and that with <span>$M=10^4$</span>, we get almost 6 digits of relative accuracy.</p><pre><code class="language-julia hljs">η = ρ/6*π
p_exact = (1+2η+3η^2)/(1-η)^2-1.0
scatter(M_array, abs.(p.-p_exact)./p_exact)
plot!(ylabel=&quot;relative error&quot;, xlabel=&quot;M&quot;, xscale=:log, yscale=:log)</code></pre><img src="Accuracy-81badcbb.svg" alt="Example block output"/></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="OtherDimensions.html">« Other dimensions</a><a class="docs-footer-nextpage" href="ThermodynamicConsistency.html">Thermodynamic Consistency »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option><option value="auto">Automatic (OS)</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.0.1 on <span class="colophon-date" title="Friday 22 September 2023 07:09">Friday 22 September 2023</span>. Using Julia version 1.9.3.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
plot!(ylabel=&quot;relative error&quot;, xlabel=&quot;M&quot;, xscale=:log, yscale=:log)</code></pre><img src="Accuracy-aa247cb3.svg" alt="Example block output"/><p>In principle, these results can be extrapolated to improve the accuracy further.</p></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="OtherDimensions.html">« Other dimensions</a><a class="docs-footer-nextpage" href="ThermodynamicConsistency.html">Thermodynamic Consistency »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option><option value="auto">Automatic (OS)</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.1.0 on <span class="colophon-date" title="Friday 29 September 2023 14:53">Friday 29 September 2023</span>. Using Julia version 1.9.3.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
6 changes: 3 additions & 3 deletions dev/Closures.html

Large diffs are not rendered by default.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions dev/ExtendingClosures.html

Large diffs are not rendered by default.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions dev/ExtendingPotentials.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
closure = HypernettedChain()
sol = solve(system, closure)
using Plots
plot(sol.r, sol.gr, xlims=(0,5), xlabel=&quot;r&quot;, ylabel=&quot;g(r)&quot;)</code></pre><img src="ExtendingPotentials-d8f0d8b3.svg" alt="Example block output"/><h2 id="Mixtures"><a class="docs-heading-anchor" href="#Mixtures">Mixtures</a><a id="Mixtures-1"></a><a class="docs-heading-anchor-permalink" href="#Mixtures" title="Permalink"></a></h2><p>In the case of multicomponent systems, instead of a number the function should return a <code>StaticMatrix</code> from the <code>StaticArrays</code> package containing values for <span>$u_{ij}$</span>. </p><h3 id="Example-2"><a class="docs-heading-anchor" href="#Example-2">Example</a><a class="docs-heading-anchor-permalink" href="#Example-2" title="Permalink"></a></h3><p>Suppose we want to implement the same potential for the multicomponent case: <span>$u_{ij}(r) = \epsilon_{ij} (\frac{\sigma_{ij}}{r_{ij}})^6.$</span></p><p>While one could implement this in one line with broadcasting, here the function is written out fully for clarity:</p><pre><code class="language-julia hljs">using OrnsteinZernike, StaticArrays
plot(sol.r, sol.gr, xlims=(0,5), xlabel=&quot;r&quot;, ylabel=&quot;g(r)&quot;)</code></pre><img src="ExtendingPotentials-adc44d44.svg" alt="Example block output"/><h2 id="Mixtures"><a class="docs-heading-anchor" href="#Mixtures">Mixtures</a><a id="Mixtures-1"></a><a class="docs-heading-anchor-permalink" href="#Mixtures" title="Permalink"></a></h2><p>In the case of multicomponent systems, instead of a number the function should return a <code>StaticMatrix</code> from the <code>StaticArrays</code> package containing values for <span>$u_{ij}$</span>. </p><h3 id="Example-2"><a class="docs-heading-anchor" href="#Example-2">Example</a><a class="docs-heading-anchor-permalink" href="#Example-2" title="Permalink"></a></h3><p>Suppose we want to implement the same potential for the multicomponent case: <span>$u_{ij}(r) = \epsilon_{ij} (\frac{\sigma_{ij}}{r_{ij}})^6.$</span></p><p>While one could implement this in one line with broadcasting, here the function is written out fully for clarity:</p><pre><code class="language-julia hljs">using OrnsteinZernike, StaticArrays

function mypotential(r, p)
# we can construct a mutable sized matrix first
Expand All @@ -36,4 +36,4 @@
using Plots
plot(sol.r, sol.gr[:, 1, 1], xlims=(0,5), xlabel=&quot;r&quot;, ylabel=&quot;g(r)&quot;, label=&quot;g11(r)&quot;)
plot!(sol.r, sol.gr[:, 1, 2], xlims=(0,5), xlabel=&quot;r&quot;, ylabel=&quot;g(r)&quot;, label=&quot;g12(r)&quot;)
plot!(sol.r, sol.gr[:, 2, 2], xlims=(0,5), xlabel=&quot;r&quot;, ylabel=&quot;g(r)&quot;, label=&quot;g22(r)&quot;)</code></pre><img src="ExtendingPotentials-9f558044.svg" alt="Example block output"/></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="Theory.html">« Theory</a><a class="docs-footer-nextpage" href="ExtendingClosures.html">Defining your own closure »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option><option value="auto">Automatic (OS)</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.0.1 on <span class="colophon-date" title="Friday 22 September 2023 07:09">Friday 22 September 2023</span>. Using Julia version 1.9.3.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
plot!(sol.r, sol.gr[:, 2, 2], xlims=(0,5), xlabel=&quot;r&quot;, ylabel=&quot;g(r)&quot;, label=&quot;g22(r)&quot;)</code></pre><img src="ExtendingPotentials-d6bc82bc.svg" alt="Example block output"/></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="Theory.html">« Theory</a><a class="docs-footer-nextpage" href="ExtendingClosures.html">Defining your own closure »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option><option value="auto">Automatic (OS)</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.1.0 on <span class="colophon-date" title="Friday 29 September 2023 14:53">Friday 29 September 2023</span>. Using Julia version 1.9.3.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
2 changes: 1 addition & 1 deletion dev/FromPython.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@

plt.plot(sol.r, sol.gr)
plt.xlim(0, 5)
plt.show()</code></pre><p><img src="Figs/pythonfig.png" alt="image"/></p><p>See the documentation of <a href="https://pypi.org/project/juliacall/">juliacall</a> for more information on how to call Julia from Python.</p></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="API.html">« API</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option><option value="auto">Automatic (OS)</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.0.1 on <span class="colophon-date" title="Friday 22 September 2023 07:09">Friday 22 September 2023</span>. Using Julia version 1.9.3.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
plt.show()</code></pre><p><img src="Figs/pythonfig.png" alt="image"/></p><p>See the documentation of <a href="https://pypi.org/project/juliacall/">juliacall</a> for more information on how to call Julia from Python.</p></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="API.html">« API</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option><option value="auto">Automatic (OS)</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.1.0 on <span class="colophon-date" title="Friday 29 September 2023 14:53">Friday 29 September 2023</span>. Using Julia version 1.9.3.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
Loading

0 comments on commit 8086967

Please sign in to comment.