Home
last modified time | relevance | path

Searched refs:J0_diag (Results 1 – 1 of 1) sorted by relevance

/petsc/src/ksp/ksp/utils/lmvm/
H A Dlmvmutils.c236 static PetscErrorCode MatLMVMUseJ0DiagLayoutsIfCompatible(Mat B, Vec J0_diag) in MatLMVMUseJ0DiagLayoutsIfCompatible() argument
239 PetscCall(MatLMVMCheckArgumentLayout(B->rmap, J0_diag->map)); in MatLMVMUseJ0DiagLayoutsIfCompatible()
240 PetscCall(MatLMVMCheckArgumentLayout(B->cmap, J0_diag->map)); in MatLMVMUseJ0DiagLayoutsIfCompatible()
241 PetscCall(PetscLayoutSetUp(J0_diag->map)); in MatLMVMUseJ0DiagLayoutsIfCompatible()
242 PetscCall(PetscLayoutReference(J0_diag->map, &B->rmap)); in MatLMVMUseJ0DiagLayoutsIfCompatible()
243 PetscCall(PetscLayoutReference(J0_diag->map, &B->cmap)); in MatLMVMUseJ0DiagLayoutsIfCompatible()