Skip to content

Commit

Permalink
More docs tweaks/reorgs.
Browse files Browse the repository at this point in the history
  • Loading branch information
bluescarni committed Aug 9, 2023
1 parent 4157a78 commit c614c13
Show file tree
Hide file tree
Showing 5 changed files with 43 additions and 26 deletions.
24 changes: 3 additions & 21 deletions doc/tutorials.rst → doc/advanced_tutorials.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.. _tutorials:
.. _adv_tutorials:

Tutorials
=========
Advanced tutorials
==================

.. only:: html

Expand All @@ -23,24 +23,6 @@ Tutorials
the features currently
available only in the development version of heyoka.py.

Basics
-------

.. toctree::
:maxdepth: 1

tut_taylor_method
notebooks/The expression system.ipynb
notebooks/The adaptive integrator.ipynb
notebooks/Customising the adaptive integrator.ipynb
notebooks/ODEs with parameters.ipynb
notebooks/Non-autonomous systems.ipynb
notebooks/Dense output.ipynb
notebooks/Event detection

Advanced
--------

.. toctree::
:maxdepth: 1

Expand Down
36 changes: 36 additions & 0 deletions doc/basic_tutorials.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
.. _basic_tutorials:

Basic tutorials
===============

.. only:: html

.. important::

.. raw:: html

<p>
Most of these tutorials can be launched as online interactive notebooks
thanks to the infrastructure provided by <a href="https://mybinder.org/">binder</a>.
Look for the rocket icon <i class="fas fa-rocket"></i> on top of each page!
</p>

.. important::

Some tutorials may use features not available yet in the latest stable release
of heyoka.py, and thus might fail to execute correctly in the online interactive
notebooks. Please refer to the :ref:`changelog <changelog>` for an overview of
the features currently
available only in the development version of heyoka.py.

.. toctree::
:maxdepth: 1

tut_taylor_method
notebooks/The expression system.ipynb
notebooks/The adaptive integrator.ipynb
notebooks/Customising the adaptive integrator.ipynb
notebooks/ODEs with parameters.ipynb
notebooks/Non-autonomous systems.ipynb
notebooks/Dense output.ipynb
notebooks/Event detection
3 changes: 2 additions & 1 deletion doc/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ The authors are Francesco Biscani and Dario Izzo (European Space Agency).
:caption: Contents
install
tutorials
basic_tutorials
advanced_tutorials
examples
benchmarks
changelog
Expand Down
4 changes: 2 additions & 2 deletions doc/notebooks/ex_system_revisited.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"source": [
"(ex_system_rev)=\n",
"\n",
"# The expression system, revisited\n",
"# Using the expression system effectively\n",
"\n",
"## Long sums and products\n",
"\n",
Expand Down Expand Up @@ -1400,7 +1400,7 @@
"id": "5c56d8f1-4acd-4e6f-80fc-60bb6c6edacb",
"metadata": {},
"source": [
"This is clearly a marked improvement with respect to the quadratic complexity of the gradient compute via ``diff()``.\n",
"This is clearly a marked improvement with respect to the quadratic complexity of the gradient computed via ``diff()``.\n",
"\n",
"### General guidelines\n",
"\n",
Expand Down
2 changes: 0 additions & 2 deletions doc/notebooks/sympy_interop.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
"\n",
"In this tutorial, we will show how SymPy interoperability can be used for expression simplification purposes, which ultimately leads to a measurable performance increase in the numerical integration of a system of ODEs.\n",
"\n",
"> **NOTE**: [another tutorial](<./tides_spokes.ipynb>) showcasing a more complex interaction between heyoka.py and SymPy is available.\n",
"\n",
"For this example, we will consider the relativistic dynamics of Mercury's orbit around the Sun, which, in the first post-Newtonian approximation, can be described by the following Hamiltonian:\n",
"\n",
"$$\n",
Expand Down

0 comments on commit c614c13

Please sign in to comment.