#include "petscmat.h" PetscErrorCode MatMFFDWPSetComputeNormU(Mat A,PetscBool flag)
A | - the matrix created with MatCreateSNESMF() | |
flag | - PETSC_TRUE causes it to compute ||U||, PETSC_FALSE uses the previous value |
-mat_mffd_compute_normu <true,false> | - true by default, false can save calculations but you must be sure that ||U|| has not changed in the mean time. |