MatSchurComplementComputeExplicitOperator#
Compute the Schur complement matrix explicitly
Synopsis#
#include "petscksp.h"
PetscErrorCode MatSchurComplementComputeExplicitOperator(Mat A, Mat *S)
Collective
Input Parameter#
M - the matrix obtained with
MatCreateSchurComplement()
Output Parameter#
S - the Schur complement matrix
Notes#
This can be expensive, so it is mainly for testing
Use MatSchurComplementGetPmat()
to get a sparse approximation for the Schur complement suitable for use in building a preconditioner
See Also#
KSP: Linear System Solvers, MatCreateSchurComplement()
, MatSchurComplementUpdate()
, MatSchurComplementGetPmat()
Level#
advanced
Location#
src/ksp/ksp/utils/schurm/schurm.c
Index of all KSP routines
Table of Contents for all manual pages
Index of all manual pages