Searched refs:J0ksp (Results 1 – 4 of 4) sorted by relevance
| /petsc/src/ksp/ksp/utils/lmvm/ |
| H A D | lmvmutils.c | 129 PetscCall(KSPDestroy(&lmvm->J0ksp)); in MatLMVMClearJ0() 134 PetscCall(MatLMVMCreateJ0KSP_ExactInverse(B, &lmvm->J0ksp)); in MatLMVMClearJ0() 341 PetscCall(PetscObjectTypeCompare((PetscObject)lmvm->J0ksp, KSPPREONLY, &is_preonly)); in MatLMVMJ0KSPIsExact() 343 PetscCall(KSPGetPC(lmvm->J0ksp, &pc)); in MatLMVMJ0KSPIsExact() 395 PetscCall(KSPDestroy(&lmvm->J0ksp)); in MatLMVMSetJ0() 396 PetscCall(MatLMVMCreateJ0KSP_ExactInverse(B, &lmvm->J0ksp)); in MatLMVMSetJ0() 403 PetscCall(PetscObjectTypeCompare((PetscObject)lmvm->J0ksp, KSPPREONLY, &is_preonly)); in MatLMVMSetJ0() 404 PetscCall(KSPGetPC(lmvm->J0ksp, &pc)); in MatLMVMSetJ0() 417 PetscCall(KSPDestroy(&lmvm->J0ksp)); in MatLMVMSetJ0() 418 PetscCall(MatLMVMCreateJ0KSP(B, &lmvm->J0ksp)); in MatLMVMSetJ0() [all …]
|
| H A D | lmvmimpl.c | 288 if (bctx->J0ksp) { in MatDuplicate_LMVM() 292 PetscCall(KSPGetTolerances(bctx->J0ksp, &rtol, &atol, &dtol, &max_it)); in MatDuplicate_LMVM() 293 PetscCall(KSPSetTolerances(mctx->J0ksp, rtol, atol, dtol, max_it)); in MatDuplicate_LMVM() 350 PetscCall(KSPView(lmvm->J0ksp, pv)); in MatView_LMVM() 380 if (lmvm->created_J0ksp) PetscCall(KSPSetFromOptions(lmvm->J0ksp)); in MatSetFromOptions_LMVM() 471 PetscCall(KSPDestroy(&lmvm->J0ksp)); in MatDestroy_LMVM() 531 PetscCall(KSPSetOptionsPrefix(lmvm->J0ksp, prefix)); in MatSetOptionsPrefix_LMVM() 532 PetscCall(KSPAppendOptionsPrefix(lmvm->J0ksp, "mat_lmvm_J0_")); in MatSetOptionsPrefix_LMVM()
|
| H A D | lmvm.h | 94 KSP J0ksp; member
|
| /petsc/src/ksp/ksp/utils/lmvm/tests/ |
| H A D | ex3.c | 167 KSP J0ksp; in main() local 172 PetscCall(KSPCreate(comm, &J0ksp)); in main() 173 PetscCall(KSPSetOperators(J0ksp, J0, J0)); in main() 174 PetscCall(KSPGetPC(J0ksp, &J0pc)); in main() 176 PetscCall(MatLMVMSetJ0KSP(B, J0ksp)); in main() 180 PetscCall(KSPDestroy(&J0ksp)); in main()
|