TSMonitorSPEig#
Monitors the eigenvalues of the linearized right-hand-side operator on a scatter plot at each time step
Synopsis#
#include "petscts.h"
PetscErrorCode TSMonitorSPEig(TS ts, PetscInt step, PetscReal ptime, Vec v, void *monctx)
Collective
Input Parameters#
ts - the
TScontextstep - the current time-step number (a negative value indicates an interpolated solution and is ignored)
ptime - the current time
v - the current solution
monctx - the
TSMonitorSPEigCtxcontext, created withTSMonitorSPEigCtxCreate()
Options Database Key#
-ts_monitor_sp_eig - plot eigenvalues of linearized right-hand side
Notes#
This is not called directly by users; pass this function to TSMonitorSet() along with the context created by TSMonitorSPEigCtxCreate() and TSMonitorSPEigCtxDestroy().
Currently only works when the Jacobian is provided explicitly and the ODE has no mass matrix.
See Also#
TS: Scalable ODE and DAE Solvers, TS, TSMonitorSet(), TSMonitorSPEigCtxCreate(), TSMonitorSPEigCtxDestroy()
Level#
intermediate
Location#
Index of all TS routines
Table of Contents for all manual pages
Index of all manual pages