Lines Matching full:monitor

8   TSMonitor - Runs all user-provided monitor routines set using `TSMonitorSet()`
24 …A step of -1 indicates that the monitor is being called on a solution obtained by interpolating fr…
41 for (i = 0; i < n; i++) PetscCall((*ts->monitor[i])(ts, step, ptime, u, ts->monitorcontext[i])); in TSMonitor()
47 …TSMonitorSetFromOptions - Sets a monitor function and viewer appropriate for the type indicated by…
52 + ts - `TS` object you wish to monitor
53 . name - the monitor type one is seeking
55 . manual - manual page for the monitor
56 . monitor - the monitor function, this must use a `PetscViewerFormat` as its context
57 - monitorsetup - a function that is called once ONLY if the user selected this monitor that may set…
69 …st char name[], const char help[], const char manual[], PetscErrorCode (*monitor)(TS, PetscInt, Pe… in TSMonitorSetFromOptions()
88 …PetscCall(TSMonitorSet(ts, (PetscErrorCode (*)(TS, PetscInt, PetscReal, Vec, PetscCtx))monitor, vf… in TSMonitorSetFromOptions()
101 . monitor - monitoring routine
102 . mctx - [optional] user-defined context for private data for the monitor routine (use `NULL` i…
103 - mdestroy - [optional] routine that frees monitor context (may be `NULL`), see `PetscCtxDestroyFn`…
105 Calling sequence of `monitor`:
107 . steps - iteration number (after the final time step the monitor routine may be called with a step…
115 This routine adds an additional monitor to the list of monitors that already has been loaded.
118 Only a single monitor function can be set for each `TS` object
124 PetscErrorCode TSMonitorSet(TS ts, PetscErrorCode (*monitor)(TS ts, PetscInt steps, PetscReal time,… in TSMonitorSet()
131 …tscErrorCode (*)(void))(PetscVoidFn *)monitor, mctx, mdestroy, (PetscErrorCode (*)(void))(PetscVoi… in TSMonitorSet()
135 ts->monitor[ts->numbermonitors] = monitor; in TSMonitorSet()
152 There is no way to remove a single, specific monitor.
170 TSMonitorDefault - The default monitor, prints the timestep and time for each step
174 . step - iteration number (after the final time step the monitor routine may be called with a step…
185 …y users, rather one calls `TSMonitorSet()`, with this function as an argument, to cause the monitor
245 …romOptions()`, with `TSMonitorWallClockTime()` and this function as arguments, to cause the monitor
263 TSMonitorWallClockTime - Monitor wall-clock time, KSP iterations, and SNES iterations per step.
267 . step - iteration number (after the final time step the monitor routine may be called with a step…
273 . -ts_monitor_wall_clock_time - Monitor wall-clock time, KSP iterations, and SNES iterations per st…
278 …tions()`, with this function and `TSMonitorWallClockTimeSetUp()` as arguments, to cause the monitor
322 . step - iteration number (after the final time step the monitor routine may be called with a step…
330 …y users, rather one calls `TSMonitorSet()`, with this function as an argument, to cause the monitor
358 `TS` to monitor the solution process graphically in various ways
376 + -ts_monitor_lg_timestep - automatically sets line graph monitor
377 . -ts_monitor_lg_timestep_log - automatically sets line graph monitor
378 . -ts_monitor_lg_solution - monitor the solution (or certain values of the solution by calli…
379 . -ts_monitor_lg_error - monitor the error
380 . -ts_monitor_lg_ksp_iterations - monitor the number of `KSP` iterations needed for each timestep
381 . -ts_monitor_lg_snes_iterations - monitor the number of `SNES` iterations needed for each timestep
428 - monctx - the monitor context obtained with `TSMonitorLGCtxCreate()`
468 . ctx - the monitor context
577 …`TSMonitorDrawCtxCreate()` and the function `TSMonitorDrawCtxDestroy()` to cause the monitor to be…
633 …y users, rather one calls `TSMonitorSet()`, with this function as an argument, to cause the monitor
685 TSMonitorDrawCtxDestroy - Destroys the monitor context for `TSMonitorDrawSolution()`
690 . ictx - the monitor context
706 TSMonitorDrawCtxCreate - Creates the monitor context for `TSMonitorDrawCtx`
721 . ctx - the monitor context
764 . -ts_monitor_draw_solution_function - Monitor error graphically, requires user to have provided `T…
769 …y users, rather one calls `TSMonitorSet()`, with this function as an argument, to cause the monitor
803 . -ts_monitor_draw_error - Monitor error graphically, requires user to have provided `TSSetSolution…
808 …y users, rather one calls `TSMonitorSet()`, with this function as an argument, to cause the monitor
869 …y users, rather one calls `TSMonitorSet()`, with this function as an argument, to cause the monitor
898 - ctx - monitor context obtained with `TSMonitorSolutionVTKCtxCreate()`
906 …y users, rather one calls `TSMonitorSet()`, with this function as an argument, to cause the monitor
928 …TSMonitorSolutionVTKDestroy - Destroy the monitor context created with `TSMonitorSolutionVTKCtxCre…
933 . ctx - the monitor context
951 TSMonitorSolutionVTKCtxCreate - Create the monitor context to be used in `TSMonitorSolutionVTK()`
959 . ctx - the monitor context
1006 . -ts_monitor_lg_solution_variables - enable monitor of lg solution variables
1013 …y users, rather one calls `TSMonitorSet()`, with this function as an argument, to cause the monitor
1126 if (ts->monitor[i] == TSMonitorLGSolution) { in TSMonitorLGSetVariableNames()
1180 if (ts->monitor[i] == TSMonitorLGSolution) { in TSMonitorLGGetVariableNames()
1190 TSMonitorLGCtxSetDisplayVariables - Sets the variables that are to be display in the monitor
1232 TSMonitorLGSetDisplayVariables - Sets the variables that are to be display in the monitor
1253 if (ts->monitor[i] == TSMonitorLGSolution) { in TSMonitorLGSetDisplayVariables()
1285 …if (ts->monitor[i] == TSMonitorLGSolution) PetscCall(TSMonitorLGCtxSetTransform((TSMonitorLGCtx)ts… in TSMonitorLGSetTransform()
1328 . -ts_monitor_lg_error - create a graphical monitor of error history
1335 The user must provide the solution using `TSSetSolutionFunction()` to use this monitor.
1337 …y users, rather one calls `TSMonitorSet()`, with this function as an argument, to cause the monitor
1395 + -ts_monitor_sp_swarm <n> - Monitor the solution every n steps, or -1 for plottin…
1403 …y users, rather one calls `TSMonitorSet()`, with this function as an argument, to cause the monitor
1426 …PetscCheck(dim == 2, PETSC_COMM_SELF, PETSC_ERR_SUP, "Monitor only supports two dimensional fields… in TSMonitorSPSwarmSolution()
1488 + -ts_monitor_hg_swarm <n> - Monitor the solution every n steps, or -1 for plotting onl…
1496 …y users, rather one calls `TSMonitorSet()`, with this function as an argument, to cause the monitor
1569 . -ts_monitor_error - create a graphical monitor of error history
1574 …y users, rather one calls `TSMonitorSet()`, with this function as an argument, to cause the monitor
1577 The user must provide the solution using `TSSetSolutionFunction()` to use this monitor.
1732 …y users, rather one calls `TSMonitorSet()`, with this function as an argument, to cause the monitor
1781 if (ts->monitor[i] == TSMonitorEnvelope) { in TSMonitorEnvelopeGetBounds()
1797 . ctx - the monitor context
1825 + -ts_dmswarm_monitor_moments - Monitor moments of particle distribution
1826 - -ts_dmswarm_monitor_moments_interval - Interval of timesteps between monitor outputs
1833 …y users, rather one calls `TSMonitorSet()`, with this function as an argument, to cause the monitor