DMMGSetSNESLocal
Sets the local user function that defines the nonlinear set of equations that will use the grid hierarchy and (optionally) its derivative. Collective on DMMG
Synopsis
PetscErrorCode DMMGSetSNESLocal(DMMG *dmmg,DALocalFunction1 function, DALocalFunction1 jacobian,
DALocalFunction1 ad_function, DALocalFunction1 admf_function);
Input Parameter
| 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 if ADIC is
not installed
|
| admf_function | - the name of the function with an ad_ prefix. This is ignored if ADIC is
not installed
|
Options Database Keys