Home
last modified time | relevance | path

Searched refs:use_monitor (Results 1 – 2 of 2) sorted by relevance

/petsc/src/snes/tutorials/
H A Dex22.c79 PetscBool use_monitor = PETSC_FALSE; in main() local
88 PetscCall(PetscOptionsGetBool(NULL, NULL, "-use_monitor", &use_monitor, PETSC_IGNORE)); in main()
114 if (use_monitor) { in main()
127 if (use_monitor) { in main()
/petsc/src/ts/tutorials/
H A Dex8.c315 PetscBool use_monitor = PETSC_FALSE; in main() local
342 use_monitor = PETSC_FALSE; in main()
343 …onitor_error", "Display errors relative to exact solutions", "", use_monitor, &use_monitor, NULL)); in main()
386 if (use_monitor) PetscCall(TSMonitorSet(ts, &MonitorError, &mon, NULL)); in main()