Skip to content

Commit

Permalink
build based on ca4c599
Browse files Browse the repository at this point in the history
  • Loading branch information
Documenter.jl committed Apr 8, 2024
1 parent 163f7b6 commit e74462a
Show file tree
Hide file tree
Showing 61 changed files with 38,868 additions and 38,901 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.4","generation_timestamp":"2024-04-08T22:17:18","documenter_version":"1.3.0"}}
{"documenter":{"julia_version":"1.9.4","generation_timestamp":"2024-04-08T22:38:41","documenter_version":"1.3.0"}}
76 changes: 38 additions & 38 deletions dev/examples/448535f8.svg → dev/examples/141f2315.svg
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/examples/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
plot(ds_bulk, label="ρ(t) (bulk)")
plot!(differentiate(ds_bulk), label="dρ(t)/dt (bulk)")
plot!(ds_edge, label="ρ(t) (edge)")
plot!(integrate(ds_edge), label=&quot;∫ρ(t)dt (edge)&quot;)</code></pre><img src="448535f8.svg" alt="Example block output"/><h2 id="Hofstadter-butterfly"><a class="docs-heading-anchor" href="#Hofstadter-butterfly">Hofstadter butterfly</a><a id="Hofstadter-butterfly-1"></a><a class="docs-heading-anchor-permalink" href="#Hofstadter-butterfly" title="Permalink"></a></h2><p>The Hofstadter butterfly is a fractal-like structure that appears when the tight-binding model is subjected to a magnetic field. It is a plot of the energy spectrum as a function of the magnetic flux through the unit cell.</p><p>To create the Hofstadter butterfly, we will use the Landau gauge for the magnetic field. Note that we have to set periodic boundary conditions, and to make them compatible with the gauge field, they should be tweaked a little:</p><p class="math-container">\[\psi(x + L_x, y) = \psi(x, y) e^{2\pi i B y L_x},
plot!(integrate(ds_edge), label=&quot;∫ρ(t)dt (edge)&quot;)</code></pre><img src="141f2315.svg" alt="Example block output"/><h2 id="Hofstadter-butterfly"><a class="docs-heading-anchor" href="#Hofstadter-butterfly">Hofstadter butterfly</a><a id="Hofstadter-butterfly-1"></a><a class="docs-heading-anchor-permalink" href="#Hofstadter-butterfly" title="Permalink"></a></h2><p>The Hofstadter butterfly is a fractal-like structure that appears when the tight-binding model is subjected to a magnetic field. It is a plot of the energy spectrum as a function of the magnetic flux through the unit cell.</p><p>To create the Hofstadter butterfly, we will use the Landau gauge for the magnetic field. Note that we have to set periodic boundary conditions, and to make them compatible with the gauge field, they should be tweaked a little:</p><p class="math-container">\[\psi(x + L_x, y) = \psi(x, y) e^{2\pi i B y L_x},
\psi(x, y + L_y) = \psi(x, y)\]</p><p>Let us plot the Hofstadter butterfiles for square, triangular and honeycomb lattices. The magnetic field field will be changed from zero to one <span>$\phi_0$</span> flux quantum per plaquette.</p><pre><code class="language-julia hljs">using LatticeModels, Plots

function get_butterfly(l, lx, ly, plaquette_area)
Expand Down Expand Up @@ -116,4 +116,4 @@
plot!(p, plot_title=&quot;E = $E, δ = $δ&quot;)
end

gif(anim, &quot;ldos_animation.gif&quot;, fps=10)</code></pre><img src="08f4d369.gif" alt="Example block output"/></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../">« Home</a><a class="docs-footer-nextpage" href="../manual/lattice/">Defining the lattice »</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="auto">Automatic (OS)</option><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.3.0 on <span class="colophon-date" title="Monday 8 April 2024 22:17">Monday 8 April 2024</span>. Using Julia version 1.9.4.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
gif(anim, &quot;ldos_animation.gif&quot;, fps=10)</code></pre><img src="08f4d369.gif" alt="Example block output"/></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../">« Home</a><a class="docs-footer-nextpage" href="../manual/lattice/">Defining the lattice »</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="auto">Automatic (OS)</option><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.3.0 on <span class="colophon-date" title="Monday 8 April 2024 22:38">Monday 8 April 2024</span>. Using Julia version 1.9.4.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
2 changes: 1 addition & 1 deletion dev/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@
plot!(p[n^2+1], framestyle=:none)
scatter!([NaN], zcolor=[NaN], clims=clims, leg=:none, cbar=:right, subplot=n^2+2,
framestyle=:none, inset=bbox(0.0, 0.05, 0.95, 0.9), background_subplot=:transparent)
savefig(&quot;example.png&quot;)</code></pre><p><img src="example.png" alt/></p><p>See more examples in the <a href="examples/#Examples">Examples</a> section.</p></article><nav class="docs-footer"><a class="docs-footer-nextpage" href="examples/">Examples »</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="auto">Automatic (OS)</option><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.3.0 on <span class="colophon-date" title="Monday 8 April 2024 22:17">Monday 8 April 2024</span>. Using Julia version 1.9.4.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
savefig(&quot;example.png&quot;)</code></pre><p><img src="example.png" alt/></p><p>See more examples in the <a href="examples/#Examples">Examples</a> section.</p></article><nav class="docs-footer"><a class="docs-footer-nextpage" href="examples/">Examples »</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="auto">Automatic (OS)</option><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.3.0 on <span class="colophon-date" title="Monday 8 April 2024 22:38">Monday 8 April 2024</span>. Using Julia version 1.9.4.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
Loading

0 comments on commit e74462a

Please sign in to comment.