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 TS context

  • step - 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 TSMonitorSPEigCtx context, created with TSMonitorSPEigCtxCreate()

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#

src/ts/interface/tseig.c


Index of all TS routines
Table of Contents for all manual pages
Index of all manual pages