Skip to content

Commit

Permalink
build based on 1bc46f6
Browse files Browse the repository at this point in the history
  • Loading branch information
Documenter.jl committed Mar 21, 2024
1 parent 9e2bc5d commit f7155ae
Show file tree
Hide file tree
Showing 28 changed files with 235 additions and 511 deletions.
2 changes: 1 addition & 1 deletion latest/.documenter-siteinfo.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"documenter":{"julia_version":"1.10.2","generation_timestamp":"2024-03-21T16:17:31","documenter_version":"1.3.0"}}
{"documenter":{"julia_version":"1.10.2","generation_timestamp":"2024-03-21T19:41:45","documenter_version":"1.3.0"}}
90 changes: 45 additions & 45 deletions latest/abc_flow/10b25f5b.svg → latest/abc_flow/c0666aea.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 4 additions & 16 deletions latest/abc_flow/index.html
Original file line number Diff line number Diff line change
@@ -1,28 +1,16 @@
<!DOCTYPE html>
<html lang="en"><head><meta charset="UTF-8"/><meta name="viewport" content="width=device-width, initial-scale=1.0"/><title>ABC Flow · GeometricProblems.jl</title><meta name="title" content="ABC Flow · GeometricProblems.jl"/><meta property="og:title" content="ABC Flow · GeometricProblems.jl"/><meta property="twitter:title" content="ABC Flow · GeometricProblems.jl"/><meta name="description" content="Documentation for GeometricProblems.jl."/><meta property="og:description" content="Documentation for GeometricProblems.jl."/><meta property="twitter:description" content="Documentation for GeometricProblems.jl."/><script data-outdated-warner src="../assets/warner.js"></script><link href="https://cdnjs.cloudflare.com/ajax/libs/lato-font/3.0.0/css/lato-font.min.css" rel="stylesheet" type="text/css"/><link href="https://cdnjs.cloudflare.com/ajax/libs/juliamono/0.050/juliamono.min.css" rel="stylesheet" type="text/css"/><link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/fontawesome.min.css" rel="stylesheet" type="text/css"/><link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/solid.min.css" rel="stylesheet" type="text/css"/><link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/brands.min.css" rel="stylesheet" type="text/css"/><link href="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.16.8/katex.min.css" rel="stylesheet" type="text/css"/><script>documenterBaseURL=".."</script><script src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.6/require.min.js" data-main="../assets/documenter.js"></script><script src="../search_index.js"></script><script src="../siteinfo.js"></script><script src="../../versions.js"></script><link class="docs-theme-link" rel="stylesheet" type="text/css" href="../assets/themes/documenter-dark.css" data-theme-name="documenter-dark" data-theme-primary-dark/><link class="docs-theme-link" rel="stylesheet" type="text/css" href="../assets/themes/documenter-light.css" data-theme-name="documenter-light" data-theme-primary/><script src="../assets/themeswap.js"></script><link href="../assets/extra_styles.css" rel="stylesheet" type="text/css"/></head><body><div id="documenter"><nav class="docs-sidebar"><div class="docs-package-name"><span class="docs-autofit"><a href="../">GeometricProblems.jl</a></span></div><button class="docs-search-query input is-rounded is-small is-clickable my-2 mx-auto py-1 px-2" id="documenter-search-query">Search docs (Ctrl + /)</button><ul class="docs-menu"><li><a class="tocitem" href="../">Home</a></li><li><a class="tocitem" href="../diagnostics/">Diagnostics</a></li><li class="is-active"><a class="tocitem" href>ABC Flow</a><ul class="internal"><li><a class="tocitem" href="#Library-functions"><span>Library functions</span></a></li></ul></li><li><a class="tocitem" href="../coupled_harmonic_oscillator/">Coupled Harmonic Oscillator</a></li><li><a class="tocitem" href="../double_pendulum/">Double Pendulum</a></li><li><a class="tocitem" href="../harmonic_oscillator/">Harmonic Oscillator</a></li><li><a class="tocitem" href="../henon_heiles/">Hénon-Heiles System</a></li><li><a class="tocitem" href="../kepler_problem/">Kepler Problem</a></li><li><a class="tocitem" href="../lorenz_attractor/">Lorenz Attractor</a></li><li><a class="tocitem" href="../lotka_volterra_2d/">Lotka-Volterra 2d</a></li><li><a class="tocitem" href="../lotka_volterra_3d/">Lotka-Volterra 3d</a></li><li><a class="tocitem" href="../lotka_volterra_4d/">Lotka-Volterra 4d</a></li><li><a class="tocitem" href="../massless_charged_particle/">Massless Charged Particle</a></li><li><a class="tocitem" href="../pendulum/">Mathematical Pendulum</a></li><li><a class="tocitem" href="../nonlinear_oscillators/">Nonlinear Oscillators</a></li><li><a class="tocitem" href="../point_vortices/">Point Vortices</a></li><li><a class="tocitem" href="../inner_solar_system/">Inner Solar System</a></li><li><a class="tocitem" href="../outer_solar_system/">Outer Solar System</a></li><li><a class="tocitem" href="../toda_lattice/">Toda Lattice</a></li></ul><div class="docs-version-selector field has-addons"><div class="control"><span class="docs-label button is-static is-size-7">Version</span></div><div class="docs-selector control is-expanded"><div class="select is-fullwidth is-size-7"><select id="documenter-version-selector"></select></div></div></div></nav><div class="docs-main"><header class="docs-navbar"><a class="docs-sidebar-button docs-navbar-link fa-solid fa-bars is-hidden-desktop" id="documenter-sidebar-button" href="#"></a><nav class="breadcrumb"><ul class="is-hidden-mobile"><li class="is-active"><a href>ABC Flow</a></li></ul><ul class="is-hidden-tablet"><li class="is-active"><a href>ABC Flow</a></li></ul></nav><div class="docs-right"><a class="docs-navbar-link" href="https://github.com/JuliaGNI/GeometricProblems.jl" title="View the repository on GitHub"><span class="docs-icon fa-brands"></span><span class="docs-label is-hidden-touch">GitHub</span></a><a class="docs-navbar-link" href="https://github.com/JuliaGNI/GeometricProblems.jl/blob/main/docs/src/abc_flow.md" title="Edit source on GitHub"><span class="docs-icon fa-solid"></span></a><a class="docs-settings-button docs-navbar-link fa-solid fa-gear" id="documenter-settings-button" href="#" title="Settings"></a><a class="docs-article-toggle-button fa-solid fa-chevron-up" id="documenter-article-toggle-button" href="javascript:;" title="Collapse all docstrings"></a></div></header><article class="content" id="documenter-page"><h1 id="ABC-Flow"><a class="docs-heading-anchor" href="#ABC-Flow">ABC Flow</a><a id="ABC-Flow-1"></a><a class="docs-heading-anchor-permalink" href="#ABC-Flow" title="Permalink"></a></h1><p>The ABC flow (see [<a href="#hairer2006geometric">1</a>]) is described by a divergence-free differential equation whose flow strongly depends on the initial condition. </p><pre><code class="language-julia hljs">using GeometricIntegrators: integrate, ImplicitMidpoint
using GeometricProblems.ABCFlow
using GeometricEquations: EnsembleProblem
using GeometricSolutions: GeometricSolution
using Plots

ics1 = (q = [0., 0., 0.], )
ics2 = (q = [0.5, 0., 0.], )
ics3 = (q = [0.6, 0., 0.], )

ensemble_problem = EnsembleProblem(odeproblem().equation, tspan, tstep, [ics1, ics2, ics3], default_parameters)
ensemble_solution = integrate(ensemble_problem, ImplicitMidpoint())

function plot_geometric_solution!(p::Plots.Plot, solution::GeometricSolution; kwargs...)
plot!(p, solution.q[:, 1], solution.q[:, 2], solution.q[:, 3]; kwargs...)
end
ensemble_solution = integrate(odeensemble(), ImplicitMidpoint())

p = plot()
for solution in ensemble_solution
plot_geometric_solution!(p, solution)
plot!(p, solution.q[:, 1], solution.q[:, 2], solution.q[:, 3])
end

p</code></pre><img src="10b25f5b.svg" alt="Example block output"/><h2 id="Library-functions"><a class="docs-heading-anchor" href="#Library-functions">Library functions</a><a id="Library-functions-1"></a><a class="docs-heading-anchor-permalink" href="#Library-functions" title="Permalink"></a></h2><article class="docstring"><header><a class="docstring-article-toggle-button fa-solid fa-chevron-down" href="javascript:;" title="Collapse docstring"></a><a class="docstring-binding" id="GeometricProblems.ABCFlow" href="#GeometricProblems.ABCFlow"><code>GeometricProblems.ABCFlow</code></a><span class="docstring-category">Module</span></header><section><div><p><strong>ABC Flow</strong></p><p class="math-container">\[\begin{aligned}
p</code></pre><img src="c0666aea.svg" alt="Example block output"/><h2 id="Library-functions"><a class="docs-heading-anchor" href="#Library-functions">Library functions</a><a id="Library-functions-1"></a><a class="docs-heading-anchor-permalink" href="#Library-functions" title="Permalink"></a></h2><article class="docstring"><header><a class="docstring-article-toggle-button fa-solid fa-chevron-down" href="javascript:;" title="Collapse docstring"></a><a class="docstring-binding" id="GeometricProblems.ABCFlow" href="#GeometricProblems.ABCFlow"><code>GeometricProblems.ABCFlow</code></a><span class="docstring-category">Module</span></header><section><div><p><strong>ABC Flow</strong></p><p class="math-container">\[\begin{aligned}
\dot{x} = A\sin(z) + C\cos(y) \\
\dot{y} = B\sin(x) + A\cos(z) \\
\dot{z} = C\sin(y) + B\cos(x)
\end{aligned}\]</p></div><a class="docs-sourcelink" target="_blank" href="https://github.com/JuliaGNI/GeometricProblems.jl/blob/6d2b27a4518cea802639b0f268e4e6671046c62c/src/abc_flow.jl#L1-L11">source</a></section></article><div class="citation canonical"><dl><dt>[1]</dt><dd><div id="hairer2006geometric">E. Hairer, C. Lubich and G. Wanner. <em>Geometric Numerical integration: structure-preserving algorithms for ordinary differential equations</em> (Springer, Berlin, 2006).</div></dd></dl></div></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../diagnostics/">« Diagnostics</a><a class="docs-footer-nextpage" href="../coupled_harmonic_oscillator/">Coupled Harmonic Oscillator »</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="Thursday 21 March 2024 16:17">Thursday 21 March 2024</span>. Using Julia version 1.10.2.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
\end{aligned}\]</p></div><a class="docs-sourcelink" target="_blank" href="https://github.com/JuliaGNI/GeometricProblems.jl/blob/1bc46f6b4fa30a08fc333b5ca4c82ddcf60ba32a/src/abc_flow.jl#L1-L11">source</a></section></article><div class="citation canonical"><dl><dt>[1]</dt><dd><div id="hairer2006geometric">E. Hairer, C. Lubich and G. Wanner. <em>Geometric Numerical integration: structure-preserving algorithms for ordinary differential equations</em> (Springer, Berlin, 2006).</div></dd></dl></div></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../diagnostics/">« Diagnostics</a><a class="docs-footer-nextpage" href="../coupled_harmonic_oscillator/">Coupled Harmonic Oscillator »</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="Thursday 21 March 2024 19:41">Thursday 21 March 2024</span>. Using Julia version 1.10.2.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
Loading

0 comments on commit f7155ae

Please sign in to comment.