Skip to content

Commit

Permalink
split multigrid docs out into their own section
Browse files Browse the repository at this point in the history
  • Loading branch information
zingale committed Sep 2, 2024
1 parent 19757e6 commit 95100d1
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 30 deletions.
14 changes: 12 additions & 2 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,24 @@ new ideas.

.. toctree::
:maxdepth: 1
:caption: Solvers
:caption: Multigrid
:hidden:

multigrid
multigrid_basics
multigrid-constant-coefficients
multigrid-variable-coeff
multigrid-general-linear

.. toctree::
:maxdepth: 1
:caption: Hydro Solvers
:hidden:

advection_basics
burgers_basics
compressible_basics
compressible_compare
multigrid
diffusion_basics
incompressible_basics
incompressible_viscous_basics
Expand Down
10 changes: 0 additions & 10 deletions docs/source/multigrid.rst
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,3 @@ to square grids with zoning a power of 2.
since there is no time-dependence in pure elliptic problems. Instead,
there are a few scripts in the multigrid/ subdirectory that
demonstrate its use.


.. toctree::
:hidden:

multigrid_basics
multigrid-constant-coefficients
multigrid-variable-coeff
multigrid-general-linear
multigrid_exercises
18 changes: 18 additions & 0 deletions docs/source/multigrid_basics.rst
Original file line number Diff line number Diff line change
Expand Up @@ -95,3 +95,21 @@ Left is the original u velocity, middle is the modified field after
adding the gradient of the scalar, and right is the recovered field.


Exercises
---------

Explorations
^^^^^^^^^^^^

* Try doing just smoothing, no multigrid. Show that it still converges
second order if you use enough iterations, but that the amount of
time needed to get a solution is much greater.

Extensions
^^^^^^^^^^

* Add a different bottom solver to the multigrid algorithm

* Make the multigrid solver work for non-square domains

* Implement the full-multigrid algorithm instead of just V-cycles
18 changes: 0 additions & 18 deletions docs/source/multigrid_exercises.rst

This file was deleted.

0 comments on commit 95100d1

Please sign in to comment.