MatSchurComplementSetAinvType#
set the type of approximation used for the inverse of the (0,0) block used in forming Sp
in MatSchurComplementGetPmat()
Synopsis#
#include "petscksp.h"
PetscErrorCode MatSchurComplementSetAinvType(Mat S, MatSchurComplementAinvType ainvtype)
Not Collective
Input Parameters#
S - matrix obtained with
MatCreateSchurComplement()
(or equivalent) and implementing the action ofainvtype - type of approximation to be used to form approximate Schur complement :
MAT_SCHUR_COMPLEMENT_AINV_DIAG
,MAT_SCHUR_COMPLEMENT_AINV_LUMP
,MAT_SCHUR_COMPLEMENT_AINV_BLOCK_DIAG
, orMAT_SCHUR_COMPLEMENT_AINV_FULL
Options Database Key#
-mat_schur_complement_ainv_type diag | lump | blockdiag | full - set schur complement type
See Also#
KSP: Linear System Solvers, MatSchurComplementAinvType
, MatCreateSchurComplement()
, MatGetSchurComplement()
, MatSchurComplementGetPmat()
, MatSchurComplementGetAinvType()
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