Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
Signed-off-by: Umberto Zerbinati <[email protected]>
  • Loading branch information
Umberto Zerbinati committed Jun 15, 2024
1 parent 76eb370 commit 04c9ff5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/PETScKSP/poisson.py.rst
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Let us discuss the solver options, i.e. the flag :code:`ksp_type` set to :code:`
Draw(gfu)

We can also use an interative solver with an incomplete LU factorisation as a preconditioner.
We have now switched to an interative solver setting the :code:`ksp_type` flag to :cdode:`cg`, while we enforce the use of an incomplete LU using once again the flag :code:`pc_type`.
We have now switched to an interative solver setting the :code:`ksp_type` flag to :code:`cg`, while we enforce the use of an incomplete LU using once again the flag :code:`pc_type`.
We have also added the flag :code:`ksp_monitor` to view the residual at each linear iteration. ::

if COMM_WORLD.Get_size() == 1:
Expand Down

0 comments on commit 04c9ff5

Please sign in to comment.