#include "petscts.h" PetscErrorCode TSForwardSetRHSJacobianP(TS ts,Vec* a,PetscErrorCode (*func)(TS,PetscReal,Vec,Vec*,void*),void *ctx)Logically Collective on TS
ts | - The TS context obtained from TSCreate() | |
func | - The function |
func (TS ts,PetscReal t,Vec y,Vec* a,void *ctx);
t | - current timestep | |
y | - input vector (current ODE solution) | |
a | - output vector array | |
ctx | - [optional] user-defined function context |
Notes: the number of vectors in a is the same as the number of parameters and each vector is of the same size as the system dimension.
Level:intermediate
Location:src/ts/interface/tsfwdsen.c
Index of all TS routines
Table of Contents for all manual pages
Index of all manual pages