int SNESDefaultMatrixFreeMatAddNullSpace(Mat J,int has_cnst,int n,Vec *vecs)Collective on Mat
J | - the matrix-free matrix context |
has_cnst | - PETSC_TRUE or PETSC_FALSE, indicating if null space has constants |
n | - number of vectors (excluding constant vector) in null space |
vecs | - the vectors that span the null space (excluding the constant vector); these vectors must be orthonormal |
Location: src/snes/interface/snesmfj.c
SNES Index
Table of Contents