:orphan: # MatLMVMGetJ0 Returns a pointer to the internal J0 matrix. ## Synopsis ``` #include "petscksp.h" PetscErrorCode MatLMVMGetJ0(Mat B, Mat *J0) ``` ## Input Parameters - ***B -*** An LMVM-type matrix ## Output Parameter - ***J0 -*** `Mat` object for defining the initial Jacobian ## See Also [](ch_ksp), [LMVM Matrices](sec_matlmvm), `MATLMVM`, `MatLMVMSetJ0()` ## Level advanced ## Location src/ksp/ksp/utils/lmvm/lmvmutils.c --- [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](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)