PCNullSpaceCreate

Creates a data-structure used to project vectors out of null spaces.

Synopsis

int PCNullSpaceCreate(MPI_Comm comm, int has_cnst, int n, Vec *vecs,PCNullSpace *SP)
Collective on MPI_Comm

Input Parameters

comm - the MPI communicator associated with the object.
has_cnst - if the null spaces contains the constant vector, PETSC_TRUE or PETSC_FALSE
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

Output Parameter

SP -the null space context

Keywords

PC, Null space

Location: src/pc/interface/pcnull.c
PC Index
Table of Contents