MatFDColoringSetFrequency

Sets the frequency for computing new Jacobian matrices.

Synopsis

int MatFDColoringSetFrequency(MatFDColoring matfd,int freq)
Collective on MatFDColoring

Input Parameters

coloring - the coloring context
freq - frequency (default is 1)

Notes

Using a modified Newton strategy, where the Jacobian remains fixed for severaliterations, can be cost effective in terms of overall nonlinear solutionefficiency. This parameter indicates that a new Jacobian will be computed every<freq> nonlinear iterations.

Options Database Keys

-mat_fd_coloring_freq <freq> -Sets coloring frequency

Keywords

Mat, finite differences, coloring, set, frequency

See Also

MatFDColoringCreate(), MatFDColoringGetFrequency()

Location: src/mat/interface/fdmatrix.c
Matrix Index
Table of Contents