Skip to content

Commit 1b396c7

Browse files
committed
add a missing plot
1 parent 6465b9a commit 1b396c7

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

docs/source/multigrid_basics.rst

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,9 @@ The movie below shows the smoothing at each level to realize this solution:
8181
projection
8282
^^^^^^^^^^
8383

84-
Another example that uses multigrid to extract the divergence free part of a velocity field is run as:
84+
Another example (``examples/multigrid/project_periodic.py``) uses
85+
multigrid to extract the divergence free part of a velocity field.
86+
This is run as:
8587

8688
.. code-block:: none
8789
@@ -105,6 +107,9 @@ it to recover the divergence free part. The error can found by
105107
comparing the original velocity field to the recovered field. The
106108
results are shown below:
107109

110+
.. image:: project.png
111+
:align: center
112+
108113

109114
Left is the original u velocity, middle is the modified field after adding the gradient of the scalar, and right is the recovered field.
110115

docs/source/project.png

95.5 KB
Loading

0 commit comments

Comments
 (0)