Skip to main content
`Ctrl`+`K`

# petsc4py.typing.ScatterModeSpec

petsc4py.typing.ScatterModeSpec = petsc4py.PETSc.ScatterMode | bool | str | None

  Scatter mode specification.

  Possible values are:

    - `ScatterMode.FORWARD` Forward mode.

    - `ScatterMode.REVERSE` Reverse mode.

    - `None` as `ScatterMode.FORWARD`.

    - `False` as `ScatterMode.FORWARD`.

    - `True` as `ScatterMode.REVERSE`.

    - `'forward'` as `ScatterMode.FORWARD`.

    - `'reverse'` as `ScatterMode.REVERSE`.

  See also

  `ScatterMode`