|
static PetscErrorCode | set (TS ts, PetscReal t, Vec u, Vec u_t, PetscReal a, Mat A, Mat B, void *ctx) |
|
- Examples
- heat_equation.cpp.
Definition at line 283 of file heat_equation.cpp.
◆ set()
static PetscErrorCode CalcJacobian::set |
( |
TS |
ts, |
|
|
PetscReal |
t, |
|
|
Vec |
u, |
|
|
Vec |
u_t, |
|
|
PetscReal |
a, |
|
|
Mat |
A, |
|
|
Mat |
B, |
|
|
void * |
ctx |
|
) |
| |
|
inlinestatic |
◆ lastA
double CalcJacobian::lastA = 0 |
|
staticprivate |
The documentation for this struct was generated from the following file:
PetscErrorCode TsSetIJacobian(TS ts, PetscReal t, Vec u, Vec u_t, PetscReal a, Mat A, Mat B, void *ctx)
Set function evaluating jacobian in TS solver.