#include "petscts.h" PetscErrorCode SNESTSFormFunction(SNES snes,Vec U,Vec F,void *ctx)Logically Collective on SNES
| snes | - nonlinear solver | |
| U | - the current state at which to evaluate the residual | |
| ctx | - user context, must be a TS |
| F | - the nonlinear residual |