int MatFDColoringSetParameters(MatFDColoring matfd,double error,double umin)Collective on MatFDColoring
The Jacobian is estimated with the differencing approximation
J(u)_{:,i} = [J(u+h*dx_{i}) - J(u)]/h where h = error_rel*u[i] if u[i] > umin = error_rel*umin else dx_{i} = (0, ... 1, .... 0)
coloring | - the coloring context |
error_rel | - relative error |
umin | - minimum allowable u-value |
Location: src/mat/interface/fdmatrix.c
Matrix Index
Table of Contents