| /petsc/src/ksp/pc/impls/shell/ |
| H A D | shellpc.c | 19 PetscErrorCode (*postsolve)(PC, KSP, Vec, Vec); member 196 …PetscCheck(shell->postsolve, PetscObjectComm((PetscObject)pc), PETSC_ERR_USER, "No postsolve() rou… in PCPostSolve_Shell() 197 PetscCallBack("PCSHELL callback postsolve()", (*shell->postsolve)(pc, ksp, b, x)); in PCPostSolve_Shell() 377 static PetscErrorCode PCShellSetPostSolve_Shell(PC pc, PCShellPSolveFn *postsolve) in PCShellSetPostSolve_Shell() argument 382 shell->postsolve = postsolve; in PCShellSetPostSolve_Shell() 383 if (postsolve) pc->ops->postsolve = PCPostSolve_Shell; in PCShellSetPostSolve_Shell() 384 else pc->ops->postsolve = NULL; in PCShellSetPostSolve_Shell() 778 PetscErrorCode PCShellSetPostSolve(PC pc, PCShellPSolveFn *postsolve) in PCShellSetPostSolve() argument 782 PetscTryMethod(pc, "PCShellSetPostSolve_C", (PC, PCShellPSolveFn *), (pc, postsolve)); in PCShellSetPostSolve() 933 pc->ops->postsolve = NULL; in PCCreate_Shell() [all …]
|
| /petsc/src/binding/petsc4py/test/ |
| H A D | test_ksp.py | 210 def postsolve(ksp, rhs, x): function 213 refcnt = getrefcount(postsolve) 214 self.ksp.setPostSolve(postsolve) 215 self.assertEqual(getrefcount(postsolve), refcnt + 1) 219 self.assertEqual(getrefcount(postsolve), refcnt)
|
| /petsc/include/petsc/private/ |
| H A D | pcimpl.h | 22 PetscErrorCode (*postsolve)(PC, KSP, Vec, Vec); member
|
| H A D | kspimpl.h | 192 PetscErrorCode (*postsolve)(KSP, Vec, Vec, void *); member
|
| /petsc/src/ksp/pc/impls/shell/ftn-custom/ |
| H A D | zshellpcf.c | 201 PETSC_EXTERN void pcshellsetpostsolve_(PC *pc, void (*postsolve)(void *, void *, Vec *, Vec *, Pets… in pcshellsetpostsolve_() 204 ((PetscObject)*pc)->fortran_func_pointers[7] = (PetscFortranCallbackFn *)postsolve; in pcshellsetpostsolve_()
|
| /petsc/src/ksp/ksp/interface/ |
| H A D | itcreate.c | 660 PetscErrorCode KSPSetPostSolve(KSP ksp, KSPPSolveFn *postsolve, PetscCtx ctx) in KSPSetPostSolve() argument 664 ksp->postsolve = postsolve; in KSPSetPostSolve()
|
| H A D | itfunc.c | 954 if (ksp->postsolve) PetscCall((*ksp->postsolve)(ksp, ksp->vec_rhs, ksp->vec_sol, ksp->postctx)); in KSPSolve_Private()
|
| /petsc/src/binding/petsc4py/src/petsc4py/PETSc/ |
| H A D | petscksp.pxi | 344 (postsolve, args, kargs) = context 345 postsolve(Ksp, Rhs, X, *args, **kargs)
|
| H A D | KSP.pyx | 1686 postsolve: KSPPostSolveFunction | None, 1695 postsolve 1707 if postsolve is not None: 1710 context = (postsolve, args, kargs)
|
| H A D | libpetsc4py.pyx | 1415 PetscErrorCode (*postsolve)(PetscPC, PetscKSP, PetscVec, PetscVec) except PETSC_ERR_PYTHON 1474 ops.postsolve = PCPostSolve_Python
|
| /petsc/src/ksp/pc/impls/lmvm/ |
| H A D | lmvmpc.c | 327 pc->ops->postsolve = NULL; in PCCreate_LMVM()
|
| /petsc/src/ksp/pc/impls/eisens/ |
| H A D | eisen.c | 420 pc->ops->postsolve = PCPostSolve_Eisenstat; in PCCreate_Eisenstat()
|
| /petsc/src/ksp/pc/interface/ |
| H A D | precon.c | 1700 PetscTryTypeMethod(pc, postsolve, ksp, rhs, x); in PCPostSolve()
|
| /petsc/src/ksp/pc/impls/bjacobi/bjkokkos/ |
| H A D | bjkokkos.kokkos.cxx | 1214 pc->ops->postsolve = PCPostSolve_BJKOKKOS; in PCCreate_BJKOKKOS()
|
| /petsc/src/ksp/pc/impls/bddc/ |
| H A D | bddc.c | 2851 pc->ops->postsolve = PCPostSolve_BDDC; in PCCreate_BDDC()
|
| /petsc/src/ksp/pc/impls/hpddm/ |
| H A D | pchpddm.cxx | 2224 …pc->ops->postsolve = PCPostSolve_SchurPreLeastSquares; /* PCFIELDSPLIT expect a KSP for (P11 - A1… in PCSetUp_HPDDM()
|