MatLMVMSetJ0PC#

Allows the user to define a PC object that acts as the initial inverse-Jacobian matrix. This PC should already contain all the operators necessary for its application. The LMVM-type matrix only calls PCApply() without changing any other options.

Synopsis#

#include "petscksp.h" 
PetscErrorCode MatLMVMSetJ0PC(Mat B, PC J0pc)

Input Parameters#

  • B - An LMVM-type matrix

  • J0pc - PC object where PCApply() defines an inverse application for J0

See Also#

KSP: Linear System Solvers, LMVM Matrices, MATLMVM, MatLMVMGetJ0PC()

Level#

advanced

Location#

src/ksp/ksp/utils/lmvm/lmvmutils.c


Edit on GitLab

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