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 context

  • type - the function type

Values of the function type:

Note#

Different SNESTypes use this value in different ways

See Also#

SNES: Nonlinear Solvers, SNES, SNESFunctionType, SNESGetNormSchedule(), SNESComputeFunction(), VecNorm(), SNESSetFunction(), SNESSetInitialFunction(), SNESNormSchedule

Level#

developer

Location#

src/snes/interface/snes.c


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