GSNESEvaluateRhs

Constructs the Rhs vector for Newton's equation.

Synopsis

#include "petscsnes.h" 
#include "gsolver.h" 
int GSNESEvaluateRhs(GSNES snes, GVec x, GVec f, PetscObject ctx)
Collective on GSNES

Input Parameters

snes - The grid SNES
x - The current iterate
ctx - The optional user context

Output Parameter

f -The function value

Note

This function initializes the vector f to zero before calculation.

Keywords

grid SNES, rhs

See Also

GridEvaluateRhs()

Level:advanced
Location:
src/gsolver/interface/gsnes.c
Index of all GSolver routines
Table of Contents for all manual pages
Index of all manual pages