TSMonitorLGSetVariableNames — PETSc 3.25.1 documentation

Skip to main content
`Ctrl`+`K`

# TSMonitorLGSetVariableNames

Sets the name of each component in the solution vector so that it may be displayed in the plot

## Synopsis

    #include "petscts.h"
    PetscErrorCode TSMonitorLGSetVariableNames(TS ts, const char *const *names)

Collective

## Input Parameters

- ts - the `TS` context

- names - the names of the components, final string must be `NULL`

## Notes

If the `TS` object does not have a `TSMonitorLGCtx` associated with it then this function is ignored

## See Also

TS: Scalable ODE and DAE Solvers, `TS`, `TSMonitorSet()`, `TSMonitorDefault()`, `VecView()`, `TSMonitorLGSetDisplayVariables()`, `TSMonitorLGCtxSetVariableNames()`

## Level

intermediate

## Location

src/ts/interface/tsmon.c

## Examples

src/ts/tutorials/extchem.c

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