MatLMVMSetJ0PC#

Allows the user to define a PC object that acts as the initial inverse-Jacobian matrix.

Synopsis#

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

Input Parameters#

  • B - A MATLMVM matrix

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

Note#

J0pc should already contain all the operators necessary for its application. The MATLMVM matrix only calls PCApply() without changing any other options.

See Also#

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

Level#

advanced

Location#

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


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