SNESSetFunctionType#
Sets the SNESFunctionType
of the SNES
method.
Synopsis#
#include "petscsnes.h"
PetscErrorCode SNESSetFunctionType(SNES snes, SNESFunctionType type)
Logically Collective
Input Parameters#
snes - the
SNES
contexttype - the function type
Notes#
Possible values of the function type
SNES_FUNCTION_DEFAULT
- the default for the givenSNESType
SNES_FUNCTION_UNPRECONDITIONED
- an unpreconditioned function evaluation (this is the function provided withSNESSetFunction()
SNES_FUNCTION_PRECONDITIONED
- a transformation of the function provided withSNESSetFunction()
Different SNESType
s use this value in different ways
See Also#
SNES: Nonlinear Solvers, SNES
, SNESFunctionType
, SNESGetNormSchedule()
, SNESComputeFunction()
, VecNorm()
, SNESSetFunction()
, SNESSetInitialFunction()
, SNESNormSchedule
Level#
developer
Location#
Index of all SNES routines
Table of Contents for all manual pages
Index of all manual pages