int MatFDColoringSetFromOptions(MatFDColoring matfd)Collective on MatFDColoring
The Jacobian, F'(u), is estimated with the differencing approximation
F'(u)_{:,i} = [F(u+h*dx_{i}) - F(u)]/h where h = error_rel*u[i] if abs(u[i]) > umin = +/- error_rel*umin otherwise, with +/- determined by the sign of u[i] dx_{i} = (0, ... 1, .... 0)
-mat_fd_coloring_error <err> | - Sets <err> (square root of relative error in the function) |
-mat_fd_coloring_umin <umin> | - Sets umin, the minimum allowable u-value magnitude |
-mat_fd_coloring_freq <freq> | - Sets frequency of computing a new Jacobian |
-mat_fd_coloring_view | - Activates basic viewing |
-mat_fd_coloring_view_info | - Activates viewing info |
-mat_fd_coloring_view_draw | - Activates drawing |
Level:intermediate
Location:src/mat/matfd/fdmatrix.c
Matrix Index
Table of Contents