# 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
 [](chapter_ksp), [LMVM Matrices](sec_matlmvm), `MATLMVM`, `MatLMVMGetJ0PC()`

## Level
advanced

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ksp/ksp/utils/lmvm/lmvmutils.c.html#MatLMVMSetJ0PC">src/ksp/ksp/utils/lmvm/lmvmutils.c</A>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/ksp/ksp/utils/lmvm/lmvmutils.c)


[Index of all KSP routines](index.md)  
[Table of Contents for all manual pages](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
