petsc-3.6.2 2015-10-02
Report Typos and Errors

# TSMonitorLGSetTransform

Solution vector will be transformed by provided function before being displayed

### Synopsis

    #include "petscts.h"
    PetscErrorCode  TSMonitorLGSetTransform(TS ts,PetscErrorCode (*transform)(void*,Vec,Vec*),PetscErrorCode (*destroy)(void*),void *tctx)

Collective on TS

### Input Parameters

| ts | - the TS context
| transform | - the transform function
| destroy | - function to destroy the optional context
| ctx | - optional context used by transform function

### Keywords

TS, vector, monitor, view

### See Also

TSMonitorSet(), TSMonitorDefault(), VecView(), TSMonitorLGSetVariableNames(), TSMonitorLGCtxSetTransform()

Level:intermediate
Location: src/ts/interface/ts.c
Index of all TS routines
Table of Contents for all manual pages
Index of all manual pages

### Examples

src/ts/examples/tutorials/extchem.c.html