SNESGetProblemType

ndicates if SNES is solving a nonlinear system or a minimization

Synopsis

#include "petscsnes.h"  
int SNESGetProblemType(SNES snes,SNESProblemType *type)
Not Collective

Input Parameter

SNES -the SNES context

Output Parameter

type -SNES_NONLINEAR_EQUATIONS (for systems of nonlinear equations) or SNES_UNCONSTRAINED_MINIMIZATION (for unconstrained minimization)

Keywords

SNES, problem type

See Also

SNESCreate()

Level:intermediate
Location:
src/snes/interface/snes.c
Index of all SNES routines
Table of Contents for all manual pages
Index of all manual pages