Searched refs:monP (Results 1 – 4 of 4) sorted by relevance
| /petsc/src/snes/tutorials/ |
| H A D | ex6.c | 28 ReasonViewCtx monP; /* monitoring context */ in main() local 94 PetscCall(PetscViewerASCIIGetStdout(comm, &monP.viewer)); in main() 98 … = 0; i < 4; i++) PetscCall(SNESConvergedReasonViewSet(snes, MySNESConvergedReasonView, &monP, 0)); in main() 103 …for (i = 0; i < 4; i++) PetscCall(KSPConvergedReasonViewSet(ksp, MyKSPConvergedReasonView, &monP, … in main() 301 ReasonViewCtx *monP = (ReasonViewCtx *)ctx; in MySNESConvergedReasonView() local 302 PetscViewer viewer = monP->viewer; in MySNESConvergedReasonView() 322 ReasonViewCtx *monP = (ReasonViewCtx *)ctx; in MyKSPConvergedReasonView() local 323 PetscViewer viewer = monP->viewer; in MyKSPConvergedReasonView()
|
| H A D | ex2.c | 37 MonitorCtx monP; /* monitoring context */ in main() local 103 PetscCall(PetscViewerDrawOpen(PETSC_COMM_WORLD, 0, 0, 0, 0, 400, 400, &monP.viewer)); in main() 104 PetscCall(SNESMonitorSet(snes, Monitor, &monP, 0)); in main() 175 PetscCall(PetscViewerDestroy(&monP.viewer)); in main() 343 MonitorCtx *monP = (MonitorCtx *)ctx; in Monitor() local 351 PetscCall(VecView(x, monP->viewer)); in Monitor()
|
| H A D | ex3.c | 81 MonitorCtx monP; /* monitoring context */ in main() local 177 PetscCall(PetscViewerDrawOpen(PETSC_COMM_WORLD, 0, 0, 0, 0, 400, 400, &monP.viewer)); in main() 178 PetscCall(SNESMonitorSet(snes, Monitor, &monP, 0)); in main() 302 PetscCall(PetscViewerDestroy(&monP.viewer)); in main() 520 MonitorCtx *monP = (MonitorCtx *)ctx; in Monitor() local 526 PetscCall(VecView(x, monP->viewer)); in Monitor()
|
| /petsc/src/snes/tests/ |
| H A D | ex7.c | 233 MonitorCtx *monP = (MonitorCtx *)dummy; in Monitor() local 241 PetscCall(VecView(x, monP->viewer)); in Monitor()
|