MatSNESMFGetReuseBase#

Determines if the base vector is to be used for differencing even if the function provided to SNESSetFunction() is not the same as that provided to MatMFFDSetFunction().

Synopsis#

#include "petscsnes.h" 
#include "petscdm.h"   
PetscErrorCode MatSNESMFGetReuseBase(Mat J, PetscBool *use)

Logically Collective

Input Parameter#

Output Parameter#

  • use - if true always reuse the base vector instead of recomputing f(u) even if the function in the MATMFFD is not SNESComputeFunction()

Note#

See MatSNESMFSetReuseBase()

See Also#

MatSNESMFSetReuseBase(), MatCreateSNESMF(), MatSNESMFSetReuseBase()

Level#

advanced

Location#

src/snes/mf/snesmfj.c


Edit on GitLab

Index of all SNES routines
Table of Contents for all manual pages
Index of all manual pages