#include "slepcnep.h" PetscErrorCode NEPSetSplitOperator(NEP nep,PetscInt n,Mat A[],FN f[],MatStructure str)Collective on NEP, Mat and FN
| nep | - the nonlinear eigensolver context | |
| n | - 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. Otherwise use DIFFERENT_NONZERO_PATTERN.
This function must be called before NEPSetUp(). If it is called again after NEPSetUp() then the NEP object is reset.
Location: src/nep/interface/nepbasic.c
Index of all NEP routines
Table of Contents for all manual pages
Index of all manual pages