Finite Element Analysis Toolbox
SOLVE_HOOK Solver hook function.
[ A, F, PROB ] = SOLVE_HOOK( A, F, PROB, SOLVE_STEP ) Special solver hook function. Allows for special functions to be called before and after the linear solver to modify the global matrix A and right hand side/load vector F with the information in the finite element problem struct PROB. SOLVE_STEP indicates if the function call is before the linear solver call (=1) or after (=2).