#include "petscts.h" PetscErrorCode TSSetI2Function(TS ts,Vec F,TSI2Function fun,void *ctx)Logically Collective on TS Many br
ts | - the TS context obtained from TSCreate() Many br | |
F | - vector to hold the residual (or NULL to have it created internally) Many br | |
fun | - the function evaluation routine Many br | |
ctx | - user-defined context for private data for the function evaluation routine (may be NULL) Many br |
fun(TS ts,PetscReal t,Vec U,Vec U_t,Vec U_tt,Vec F,ctx);
t | - time at step/stage being solved Many br | |
U | - state vector Many br | |
U_t | - time derivative of state vector Many br | |
U_tt | - second time derivative of state vector Many br | |
F | - function vector Many br | |
ctx | - [optional] user-defined context for matrix evaluation routine (may be NULL) 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