PetscErrorCode DMMGSetSNESLocal(DMMG *dmmg,DMDALocalFunction1 function, DMDALocalFunction1 jacobian, DMDALocalFunction1 ad_function, DMDALocalFunction1 admf_function);Logically Collective on DMMG
dmmg | - the context | |
function | - the function that defines the nonlinear system | |
jacobian | - function defines the local part of the Jacobian | |
ad_function | - the name of the function with an ad_ prefix. This is ignored currently | |
admf_function | - the name of the function with an ad_ prefix. This is ignored currently |
-dmmg_jacobian_fd | - . -dmmg_jacobian_ad | |
-dmmg_jacobian_mf_fd_operator | - . -dmmg_jacobian_mf_fd | |
-dmmg_jacobian_mf_ad_operator | - - -dmmg_jacobian_mf_ad |