Skip to main content
`Ctrl`+`K`

# petsc4py.PETSc.InsertMode

class petsc4py.PETSc.InsertMode

  Bases: `object`

  Insertion mode.

  Most commonly used insertion modes are:

  `INSERT`

    Insert provided value/s discarding previous value/s.

  `ADD`

    Add provided value/s to current value/s.

  `MAX`

    Insert the maximum of provided value/s and current value/s.

  See also

  `InsertMode`

  Attributes Summary

  `ADD` | Constant `ADD` of type `int`
  `ADD_ALL` | Constant `ADD_ALL` of type `int`
  `ADD_ALL_VALUES` | Constant `ADD_ALL_VALUES` of type `int`
  `ADD_BC` | Constant `ADD_BC` of type `int`
  `ADD_BC_VALUES` | Constant `ADD_BC_VALUES` of type `int`
  `ADD_VALUES` | Constant `ADD_VALUES` of type `int`
  `INSERT` | Constant `INSERT` of type `int`
  `INSERT_ALL` | Constant `INSERT_ALL` of type `int`
  `INSERT_ALL_VALUES` | Constant `INSERT_ALL_VALUES` of type `int`
  `INSERT_BC` | Constant `INSERT_BC` of type `int`
  `INSERT_BC_VALUES` | Constant `INSERT_BC_VALUES` of type `int`
  `INSERT_VALUES` | Constant `INSERT_VALUES` of type `int`
  `MAX` | Constant `MAX` of type `int`
  `MAX_VALUES` | Constant `MAX_VALUES` of type `int`
  `NOT_SET_VALUES` | Constant `NOT_SET_VALUES` of type `int`

  Attributes Documentation

  ADD: int = ADD

    Constant `ADD` of type `int`

  ADD_ALL: int = ADD_ALL

    Constant `ADD_ALL` of type `int`

  ADD_ALL_VALUES: int = ADD_ALL_VALUES

    Constant `ADD_ALL_VALUES` of type `int`

  ADD_BC: int = ADD_BC

    Constant `ADD_BC` of type `int`

  ADD_BC_VALUES: int = ADD_BC_VALUES

    Constant `ADD_BC_VALUES` of type `int`

  ADD_VALUES: int = ADD_VALUES

    Constant `ADD_VALUES` of type `int`

  INSERT: int = INSERT

    Constant `INSERT` of type `int`

  INSERT_ALL: int = INSERT_ALL

    Constant `INSERT_ALL` of type `int`

  INSERT_ALL_VALUES: int = INSERT_ALL_VALUES

    Constant `INSERT_ALL_VALUES` of type `int`

  INSERT_BC: int = INSERT_BC

    Constant `INSERT_BC` of type `int`

  INSERT_BC_VALUES: int = INSERT_BC_VALUES

    Constant `INSERT_BC_VALUES` of type `int`

  INSERT_VALUES: int = INSERT_VALUES

    Constant `INSERT_VALUES` of type `int`

  MAX: int = MAX

    Constant `MAX` of type `int`

  MAX_VALUES: int = MAX_VALUES

    Constant `MAX_VALUES` of type `int`

  NOT_SET_VALUES: int = NOT_SET_VALUES

    Constant `NOT_SET_VALUES` of type `int`