petsc-3.7.1 2016-05-15
Report Typos and Errors

MatMFFDWPSetComputeNormU

Sets whether it computes the ||U|| used by the WP PETSc routine for computing h. With any Krylov solver this need only be computed during the first iteration and kept for later.

Synopsis

#include "petscmat.h"   
PetscErrorCode  MatMFFDWPSetComputeNormU(Mat A,PetscBool flag)

Input Parameters

A - the matrix created with MatCreateSNESMF() Many br
flag - PETSC_TRUE causes it to compute ||U||, PETSC_FALSE uses the previous value Many br

Options Database Key

-mat_mffd_compute_normu <true,false> -true by default, false can save calculations but you Many brmust be sure that ||U|| has not changed in the mean time. Many br

Many br

Notes

See the manual page for MATMFFD_WP for a complete description of the Many bralgorithm used to compute h. Many br

See Also

MatMFFDSetFunctionError(), MatCreateSNESMF()

Level:advanced
Location:
src/mat/impls/mffd/wp.c
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages