Searched refs:monctx (Results 1 – 6 of 6) sorted by relevance
| /petsc/src/ksp/ksp/interface/ |
| H A D | xmon.c | 4 PetscErrorCode KSPMonitorLGRange(KSP ksp, PetscInt n, PetscReal rnorm, void *monctx) in KSPMonitorLGRange() argument 8 PetscViewer v = (PetscViewer)monctx; in KSPMonitorLGRange()
|
| /petsc/src/snes/tests/ |
| H A D | ex12f.F90 | 17 type monctx type 19 end type monctx 105 type(monctx) :: snesm 205 type(monctx) :: snesm
|
| /petsc/src/ts/interface/ |
| H A D | tseig.c | 92 PetscErrorCode TSMonitorSPEig(TS ts, PetscInt step, PetscReal ptime, Vec v, void *monctx) in TSMonitorSPEig() argument 94 TSMonitorSPEigCtx ctx = (TSMonitorSPEigCtx)monctx; in TSMonitorSPEig()
|
| H A D | tsmon.c | 438 PetscErrorCode TSMonitorLGTimeStep(TS ts, PetscInt step, PetscReal ptime, Vec v, PetscCtx monctx) in TSMonitorLGTimeStep() argument 440 TSMonitorLGCtx ctx = (TSMonitorLGCtx)monctx; in TSMonitorLGTimeStep() 1638 PetscErrorCode TSMonitorLGSNESIterations(TS ts, PetscInt n, PetscReal ptime, Vec v, PetscCtx monctx) in TSMonitorLGSNESIterations() argument 1640 TSMonitorLGCtx ctx = (TSMonitorLGCtx)monctx; in TSMonitorLGSNESIterations() 1664 PetscErrorCode TSMonitorLGKSPIterations(TS ts, PetscInt n, PetscReal ptime, Vec v, PetscCtx monctx) in TSMonitorLGKSPIterations() argument 1666 TSMonitorLGCtx ctx = (TSMonitorLGCtx)monctx; in TSMonitorLGKSPIterations()
|
| /petsc/src/ksp/ksp/impls/fetidp/ |
| H A D | fetidp.c | 57 KSP_FETIDPMon *monctx; /* monitor context, used to pass user defined monitors member 232 KSP_FETIDPMon *monctx = (KSP_FETIDPMon *)ctx; in KSPMonitor_FETIDP() local 235 PetscCall(KSPMonitor(monctx->parentksp, it, rnorm)); in KSPMonitor_FETIDP() 1243 PetscCall(PetscFree(fetidp->monctx)); in KSPDestroy_FETIDP() 1356 KSP_FETIDPMon *monctx; in KSPCreate_FETIDP() local 1391 PetscCall(PetscNew(&monctx)); in KSPCreate_FETIDP() 1392 monctx->parentksp = ksp; in KSPCreate_FETIDP() 1393 fetidp->monctx = monctx; in KSPCreate_FETIDP() 1394 PetscCall(KSPMonitorSet(fetidp->innerksp, KSPMonitor_FETIDP, fetidp->monctx, NULL)); in KSPCreate_FETIDP()
|
| /petsc/src/snes/interface/ |
| H A D | snes.c | 4077 PetscErrorCode SNESMonitorLGRange(SNES snes, PetscInt n, PetscReal rnorm, void *monctx) in SNESMonitorLGRange() argument 4081 PetscViewer v = (PetscViewer)monctx; in SNESMonitorLGRange()
|