petsc-3.7.1 2016-05-15
Report Typos and Errors

MatNullSpaceGetVecs

get vectors defining the null space

Synopsis

#include "petscmat.h" 
PetscErrorCode MatNullSpaceGetVecs(MatNullSpace sp,PetscBool *has_const,PetscInt *n,const Vec **vecs)
Not Collective Many br

Input Arguments

sp -null space object Many br

Output Arguments

has_cnst - PETSC_TRUE if the null space contains the constant vector, otherwise PETSC_FALSE Many br
n - number of vectors (excluding constant vector) in null space Many br
vecs - orthonormal vectors that span the null space (excluding the constant vector) Many br

Many br

Notes

These vectors and the array are owned by the MatNullSpace and should not be destroyed or freeded by the caller Many br

See Also

MatNullSpaceCreate(), MatGetNullSpace(), MatGetNearNullSpace()

Level:developer
Location:
src/mat/interface/matnull.c
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages

Examples

src/ksp/ksp/examples/tutorials/ex49.c.html