PCCompositeSpecialSetAlphaMat#

Sets the matrix alpha_mat used in place of a scalar \(\alpha I\) term for the special composite preconditioner, PC_COMPOSITE_SPECIAL, for \(M + R + S\)

Synopsis#

#include "petscksp.h" 
PetscErrorCode PCCompositeSpecialSetAlphaMat(PC pc, Mat alpha_mat)

Logically Collective

Input Parameters#

  • pc - the preconditioner context

  • alpha_mat - the matrix M

See Also#

KSP: Linear System Solvers, PCCOMPOSITE, PC_COMPOSITE_ADDITIVE, PC_COMPOSITE_MULTIPLICATIVE, PC_COMPOSITE_SPECIAL, PCCompositeType, PCCompositeSetType(), PCCompositeSpecialSetAlpha()

Level#

developer

Location#

src/ksp/pc/impls/composite/composite.c

Examples#

src/ksp/pc/tutorials/ex4.c

Implementations#

PCCompositeSpecialSetAlphaMat_Composite() in src/ksp/pc/impls/composite/composite.c


Index of all PC routines
Table of Contents for all manual pages
Index of all manual pages