SNESVIComputeFunction#

Provides the function that reformulates a system of nonlinear equations in mixed complementarity form to a system of nonlinear equations in semismooth form.

Synopsis#

#include "petscsnes.h" 
PetscErrorCode SNESVIComputeFunction(SNES snes, Vec X, Vec phi, void *functx)

Input Parameters#

  • snes - the SNES context

  • X - current iterate

  • functx - user defined function context

Output Parameter#

  • phi - the evaluation of Semismooth function at X

See Also#

SNESVINEWTONSSLS, SNESVIComputeMeritFunction()

Level#

developer

Location#

src/snes/impls/vi/ss/viss.c


Edit on GitLab

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