Skip to content

Commit f8f7e9c

Browse files
author
Documenter.jl
committed
build based on 554ea61
1 parent c3ff25b commit f8f7e9c

7 files changed

Lines changed: 18 additions & 18 deletions

File tree

dev/.documenter-siteinfo.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"documenter":{"documenter_version":"1.17.0","generation_timestamp":"2026-04-14T13:03:51","julia_version":"1.10.11"}}
1+
{"documenter":{"documenter_version":"1.17.0","generation_timestamp":"2026-05-01T08:12:20","julia_version":"1.10.11"}}

dev/development/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@
77
julia --project=. -e &#39;using Pkg; Pkg.add([&quot;OrdinaryDiffEqLowStorageRK&quot;, &quot;Plots&quot;])&#39; # Install additional packages</code></pre><p>If you use other packages for executing SimpleDiscontinuousGalerkin.jl, you can add them to the project in the <code>run</code> directory in an analogous way as above. To use the Julia project within <code>run</code>, be sure to start the Julia REPL by</p><pre><code class="language-sh hljs">julia --project=.</code></pre><p>if already inside the the <code>run</code> directory or <code>julia --project=run</code> if in the main directory of the repo.</p><h2 id="Preview-of-the-documentation"><a class="docs-heading-anchor" href="#Preview-of-the-documentation">Preview of the documentation</a><a id="Preview-of-the-documentation-1"></a><a class="docs-heading-anchor-permalink" href="#Preview-of-the-documentation" title="Permalink"></a></h2><p>If you want to build the documentation locally, you can run</p><pre><code class="language-sh hljs">julia --project=docs -e &#39;using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()&#39;</code></pre><p>once from the SimpleDiscontinuousGalerkin.jl main directory to tell <a href="https://documenter.juliadocs.org/stable/man/guide/">Documenter.jl</a> to build the documentation of your local clone. To build the documentation, run</p><pre><code class="language-sh hljs">julia --project=docs --color=yes docs/make.jl</code></pre><p>The resulting <code>.html</code> files can then be found in <code>docs/build/</code> and you can look at them by opening them in a browser. For pull requests from the main repository (i.e. not from a fork), the documentation is automatically built and can be previewed under <code>https://JoshuaLampert.github.io/SimpleDiscontinuousGalerkin.jl/previews/PRXXX/</code> where <code>XXX</code> is the number of the pull request.</p><h2 id="Testing"><a class="docs-heading-anchor" href="#Testing">Testing</a><a id="Testing-1"></a><a class="docs-heading-anchor-permalink" href="#Testing" title="Permalink"></a></h2><p>In the test suite of SimpleDiscontinuousGalerkin.jl, the results of the examples are tested against reference solutions. This means that if you add an example and verified it works as expected, you should put the reference solution into the corresponding test. To obtain the reference solution and automatically copy it into the clipboard, you can run</p><pre><code class="language-julia hljs">errs = errors(analysis_callback)
88
ints = integrals(analysis_callback)
99
using InteractiveUtils
10-
clipboard(&quot;l2=$(errs.l2_error[:, end])\n, linf=$(errs.linf_error[:, end])\n, cons_error=$(errs.conservation_error[:, end])\n, change_mass=$(ints.mass[end] - ints.mass[1]),\nchange_entropy=$(ints.entropy[end] - ints.entropy[1]), \nentropy_timederivative=$(ints.entropy_timederivative[end])&quot;)</code></pre><p>Note that some of the quantities are only computed if they are included in the <code>analysis_callback</code>, which means that you might need to adjust the above command depending on which quantities you want to test for.</p></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../overview/">« Overview</a><a class="docs-footer-nextpage" href="../ref-trixibase/">TrixiBase »</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><option value="catppuccin-latte">catppuccin-latte</option><option value="catppuccin-frappe">catppuccin-frappe</option><option value="catppuccin-macchiato">catppuccin-macchiato</option><option value="catppuccin-mocha">catppuccin-mocha</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.17.0 on <span class="colophon-date" title="Tuesday 14 April 2026 13:03">Tuesday 14 April 2026</span>. Using Julia version 1.10.11.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
10+
clipboard(&quot;l2=$(errs.l2_error[:, end])\n, linf=$(errs.linf_error[:, end])\n, cons_error=$(errs.conservation_error[:, end])\n, change_mass=$(ints.mass[end] - ints.mass[1]),\nchange_entropy=$(ints.entropy[end] - ints.entropy[1]), \nentropy_timederivative=$(ints.entropy_timederivative[end])&quot;)</code></pre><p>Note that some of the quantities are only computed if they are included in the <code>analysis_callback</code>, which means that you might need to adjust the above command depending on which quantities you want to test for.</p></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../overview/">« Overview</a><a class="docs-footer-nextpage" href="../ref-trixibase/">TrixiBase »</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><option value="catppuccin-latte">catppuccin-latte</option><option value="catppuccin-frappe">catppuccin-frappe</option><option value="catppuccin-macchiato">catppuccin-macchiato</option><option value="catppuccin-mocha">catppuccin-mocha</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.17.0 on <span class="colophon-date" title="Friday 1 May 2026 08:12">Friday 1 May 2026</span>. Using Julia version 1.10.11.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>

0 commit comments

Comments
 (0)