#include "petscdmda.h" #include "petscts.h" PetscErrorCode DMDATSSetIFunctionLocal(DM dm,InsertMode imode,DMDATSIFunctionLocal func,void *ctx)Logically Collective
| dm | - DM to associate callback with | |
| func | - local residual evaluation | |
| ctx | - optional context for local residual evaluation |
| info | - DMDALocalInfo defining the subdomain to evaluate the residual on | |
| t | - time at which to evaluate residual | |
| x | - array of local state information | |
| xdot | - array of local time derivative information | |
| f | - output array of local function evaluation information | |
| ctx | - optional context passed above |