#include "petscdmda.h" #include "petscts.h" PetscErrorCode DMDATSSetRHSJacobianLocal(DM dm,DMDATSRHSJacobianLocal func,void *ctx)Logically Collective Many br
dm | - DM to associate callback with Many br | |
func | - local RHS Jacobian evaluation routine Many br | |
ctx | - optional context for local jacobian evaluation Many br |
func(DMDALocalInfo* info,PetscReal t,void* x,Mat J,Mat B,void *ctx);
info | - DMDALocalInfo defining the subdomain to evaluate the residual on Many br | |
t | - time at which to evaluate residual Many br | |
x | - array of local state information Many br | |
J | - Jacobian matrix Many br | |
B | - preconditioner matrix; often same as J Many br | |
ctx | - optional context passed above Many br |
Many br
Level:beginner
Location:src/ts/utils/dmdats.c
Index of all TS routines
Table of Contents for all manual pages
Index of all manual pages