PetscErrorCode SNESLineSearchShellGetUserFunc(SNESLineSearch linesearch, SNESLineSearchUserFunc *func, void **ctx)Not Collective
| linesearch | - the line search object |
| func | - the user function; can be NULL if you do not want it | |
| ctx | - the user function context; can be NULL if you do not want it |
.seealso: SNESLineSearchShellSetUserFunc()