Skip to content

Commit

Permalink
Mention pressure mask option in the Stokes tutorial
Browse files Browse the repository at this point in the history
  • Loading branch information
ddemidov committed Nov 26, 2020
1 parent 3e831ba commit 5f8d497
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/Stokes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,9 @@ aggregation with ILU(0) smoothing on each level for the flow subsystem
subsystem (``psolver``) works best. We also disable lumping of the diagonal of
the :math:`A` matrix in the Schur complement approximation with the
``precond.simplec_dia=false`` option, and enable block-valued backend for the
flow susbsystem with the ``--ub 3`` option::
flow susbsystem with the ``--ub 3`` option. The ``-m '>456192'`` option sets
the pressure mask pattern. It tells the solver that all unknowns starting with
the 456192-th belong to the pressure subsystem::

$ schur_pressure_correction -B -A ucube_4_A.bin -f ucube_4_b.bin -m '>456192' \
-p solver.type=cg solver.maxiter=200 \
Expand Down

0 comments on commit 5f8d497

Please sign in to comment.