petsc-3.14.6 2021-03-30
Report Typos and Errors

TSMonitorLGCtxSetTransform

Solution vector will be transformed by provided function before being displayed

Synopsis

#include "petscts.h"  
PetscErrorCode  TSMonitorLGCtxSetTransform(TSMonitorLGCtx ctx,PetscErrorCode (*transform)(void*,Vec,Vec*),PetscErrorCode (*destroy)(void*),void *tctx)
Collective on TSLGCtx

Input Parameters

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

See Also

TSMonitorSet(), TSMonitorDefault(), VecView(), TSMonitorLGSetVariableNames(), TSMonitorLGSetTransform()

Level

intermediate

Location

src/ts/interface/ts.c

Examples

src/ts/tutorials/extchemfield.c.html

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