Skip to main content
`Ctrl`+`K`

# slepc4py.SLEPc.NEP.Which

class slepc4py.SLEPc.NEP.Which

  Bases: `object`

  NEP desired part of spectrum.

  - `LARGEST_MAGNITUDE`: Largest magnitude (default).

  - `SMALLEST_MAGNITUDE`: Smallest magnitude.

  - `LARGEST_REAL`: Largest real parts.

  - `SMALLEST_REAL`: Smallest real parts.

  - `LARGEST_IMAGINARY`: Largest imaginary parts in magnitude.

  - `SMALLEST_IMAGINARY`: Smallest imaginary parts in magnitude.

  - `TARGET_MAGNITUDE`: Closest to target (in magnitude).

  - `TARGET_REAL`: Real part closest to target.

  - `TARGET_IMAGINARY`: Imaginary part closest to target.

  - `ALL`: All eigenvalues in a region.

  - `USER`: User defined selection.

  See also

  `NEPWhich`

  Attributes Summary

  `ALL` | Constant `ALL` of type `int`
  `LARGEST_IMAGINARY` | Constant `LARGEST_IMAGINARY` of type `int`
  `LARGEST_MAGNITUDE` | Constant `LARGEST_MAGNITUDE` of type `int`
  `LARGEST_REAL` | Constant `LARGEST_REAL` of type `int`
  `SMALLEST_IMAGINARY` | Constant `SMALLEST_IMAGINARY` of type `int`
  `SMALLEST_MAGNITUDE` | Constant `SMALLEST_MAGNITUDE` of type `int`
  `SMALLEST_REAL` | Constant `SMALLEST_REAL` of type `int`
  `TARGET_IMAGINARY` | Constant `TARGET_IMAGINARY` of type `int`
  `TARGET_MAGNITUDE` | Constant `TARGET_MAGNITUDE` of type `int`
  `TARGET_REAL` | Constant `TARGET_REAL` of type `int`
  `USER` | Constant `USER` of type `int`

  Attributes Documentation

  ALL: int = ALL

    Constant `ALL` of type `int`

  LARGEST_IMAGINARY: int = LARGEST_IMAGINARY

    Constant `LARGEST_IMAGINARY` of type `int`

  LARGEST_MAGNITUDE: int = LARGEST_MAGNITUDE

    Constant `LARGEST_MAGNITUDE` of type `int`

  LARGEST_REAL: int = LARGEST_REAL

    Constant `LARGEST_REAL` of type `int`

  SMALLEST_IMAGINARY: int = SMALLEST_IMAGINARY

    Constant `SMALLEST_IMAGINARY` of type `int`

  SMALLEST_MAGNITUDE: int = SMALLEST_MAGNITUDE

    Constant `SMALLEST_MAGNITUDE` of type `int`

  SMALLEST_REAL: int = SMALLEST_REAL

    Constant `SMALLEST_REAL` of type `int`

  TARGET_IMAGINARY: int = TARGET_IMAGINARY

    Constant `TARGET_IMAGINARY` of type `int`

  TARGET_MAGNITUDE: int = TARGET_MAGNITUDE

    Constant `TARGET_MAGNITUDE` of type `int`

  TARGET_REAL: int = TARGET_REAL

    Constant `TARGET_REAL` of type `int`

  USER: int = USER

    Constant `USER` of type `int`