# MatLMVMGetJ0KSP
Returns a pointer to the internal `KSP` solver associated with the initial Jacobian. 
## Synopsis
```
#include "petscksp.h" 
PetscErrorCode MatLMVMGetJ0KSP(Mat B, KSP *J0ksp)
```

## Input Parameters

- ***B -*** An LMVM-type matrix



## Output Parameter

- ***J0ksp -*** `KSP` solver for defining the initial inverse-Jacobian





## See Also
 [](chapter_ksp), [LMVM Matrices](sec_matlmvm), `MATLMVM`, `MatLMVMSetJ0KSP()`

## Level
advanced

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ksp/ksp/utils/lmvm/lmvmutils.c.html#MatLMVMGetJ0KSP">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)  
