DSNEPSetMinimality — SLEPc 3.24.3 documentation

Skip to main content
`Ctrl`+`K`

# DSNEPSetMinimality

Sets the maximum minimality index used internally by the `DSNEP`.

## Synopsis

    #include "slepcds.h"
    PetscErrorCode DSNEPSetMinimality(DS ds,PetscInt n)

Logically Collective

## Input Parameters

- ds - the direct solver context

- n - the maximum minimality index

## Options Database Key

- -ds_nep_minimality <n> - sets the maximum minimality index

## Notes

The maximum minimality index is used only in the contour integral method, and is related to the highest moments used in the method. The default value is 1, a larger value might give better accuracy in some cases, but at a higher cost.

## See Also

DS: Direct Solver (or Dense System), `DSNEP`, `DSNEPGetMinimality()`

## Level

advanced

## Location

src/sys/classes/ds/impls/nep/dsnep.c

## Implementations

DSNEPSetMinimality_NEP() in src/sys/classes/ds/impls/nep/dsnep.c

Index of all DS routines Table of Contents for all manual pages Index of all manual pages