#include "slepcbv.h" PetscErrorCode BVSetMatrix(BV bv,Mat B,PetscBool indef)Collective on BV
bv | - the basis vectors context | |
B | - a symmetric matrix (may be NULL) | |
indef | - a flag indicating if the matrix is indefinite |
Matrix B must be real symmetric (or complex Hermitian). A genuine inner product requires that B is also positive (semi-)definite. However, we also allow for an indefinite B (setting indef=PETSC_TRUE), in which case the orthogonalization uses an indefinite inner product.
This affects operations BVDot(), BVNorm(), BVOrthogonalize(), and variants.
Setting B=NULL has the same effect as if the identity matrix was passed.
Location: src/sys/classes/bv/interface/bvbasic.c
Index of all BV routines
Table of Contents for all manual pages
Index of all manual pages