|
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 |
- Examples
- heat_equation.cpp.
Definition at line 284 of file heat_equation.cpp.
285 {
290 }
292 }
#define MoFEMFunctionBegin
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return()
#define CHKERR
Inline error check.
PetscErrorCode TsSetIJacobian(TS ts, PetscReal t, Vec u, Vec u_t, PetscReal a, Mat A, Mat B, void *ctx)
Set function evaluating jacobina in TS solver.
constexpr double t
plate stiffness
◆ lastA
double CalcJacobian::lastA = 0 |
|
staticprivate |
The documentation for this struct was generated from the following file: