Searched refs:usemonitor (Results 1 – 3 of 3) sorted by relevance
40 PetscBool usemonitor = PETSC_TRUE; in main() local48 PetscCall(PetscOptionsGetBool(NULL, NULL, "-usemonitor", &usemonitor, NULL)); in main()75 if (usemonitor) PetscCall(TSMonitorSet(ts, MyTSMonitor, 0, 0)); in main()82 if (usemonitor) { in main()
27 PetscBool usemonitor; member
248 if ((*ls)->usemonitor) PetscCall(PetscViewerDestroy(&(*ls)->viewer)); in TaoLineSearchDestroy()439 if (ls->usemonitor) { in TaoLineSearchMonitor()508 ls->usemonitor = PETSC_TRUE; in TaoLineSearchSetFromOptions()