Lines Matching refs:setup
12 PetscErrorCode (*setup)(PC); member
104 …PetscCheck(shell->setup, PetscObjectComm((PetscObject)pc), PETSC_ERR_USER, "No setup() routine pro… in PCSetUp_Shell()
105 PetscCallBack("PCSHELL callback setup", (*shell->setup)(pc)); in PCSetUp_Shell()
301 static PetscErrorCode PCShellSetSetUp_Shell(PC pc, PetscErrorCode (*setup)(PC)) in PCShellSetSetUp_Shell()
306 shell->setup = setup; in PCShellSetSetUp_Shell()
307 if (setup) pc->ops->setup = PCSetUp_Shell; in PCShellSetSetUp_Shell()
308 else pc->ops->setup = NULL; in PCShellSetSetUp_Shell()
493 PetscErrorCode PCShellSetSetUp(PC pc, PetscErrorCode (*setup)(PC pc)) in PCShellSetSetUp()
497 PetscTryMethod(pc, "PCShellSetSetUp_C", (PC, PetscErrorCode (*)(PC)), (pc, setup)); in PCShellSetSetUp()
931 pc->ops->setup = NULL; in PCCreate_Shell()
942 shell->setup = NULL; in PCCreate_Shell()