#include "petscts.h" PetscErrorCode TSSetForcingFunction(TS ts,TSForcingFunction f,void *ctx)Logically Collective on TS Many br
ts | - the TS context obtained from TSCreate() Many br | |
f | - routine for evaluating the forcing function Many br | |
ctx | - [optional] user-defined context for private data for the Many brfunction evaluation routine (may be NULL) Many br |
func (TS ts,PetscReal t,Vec u,void *ctx);
t | - current timestep Many br | |
u | - output vector Many br | |
ctx | - [optional] user-defined function context Many br |
For low-dimensional problems solved in serial, such as small discrete systems, TSMonitorLGError() can be used to monitor the error history. Many br
Many br
Level:beginner
Location:src/ts/interface/ts.c
Index of all TS routines
Table of Contents for all manual pages
Index of all manual pages