#include "slepcnep.h" PetscErrorCode NEPSetSplitOperator(NEP nep,PetscInt nt,Mat A[],FN f[],MatStructure str)Collective
nep | - the nonlinear eigensolver context | |
nt | - number of terms in the split form | |
A | - array of matrices | |
f | - array of functions | |
str | - structure flag for matrices |
The structure flag provides information about A_i's nonzero pattern (see MatStructure enum). If all matrices have the same pattern, then use SAME_NONZERO_PATTERN. If the patterns are different but contained in the pattern of the first one, then use SUBSET_NONZERO_PATTERN. If patterns are known to be different, use DIFFERENT_NONZERO_PATTERN. If set to UNKNOWN_NONZERO_PATTERN, the patterns will be compared to determine if they are equal.
This function must be called before NEPSetUp(). If it is called again after NEPSetUp() then the NEP object is reset.