MatSNESMFSetFromOptions

Sets the MatSNESMF options from the command line parameter.

Synopsis

int MatSNESMFSetFromOptions(Mat mat)
Collective on Mat

Input Parameters

mat -the matrix obtained with MatCreateSNESMF()

Options Database Keys

-snes_mf_type - <default,wp>
-snes_mf_err - square root of estimated relative error in function evaluation

Keywords

SNES, matrix-free, parameters

See Also

MatCreateSNESMF(),MatSNESMFSetHHistory(),
MatSNESMFResetHHistory(), MatSNESMFKSPMonitor()

Level:advanced
Location:src/snes/mf/snesmfj.c
SNES Index
Table of Contents