SNESGetRhs#
Gets the vector for solving F(x) = rhs. If rhs is not set it assumes a zero right hand side.
Synopsis#
#include "petscsnes.h"
PetscErrorCode SNESGetRhs(SNES snes, Vec *rhs)
Logically Collective
Input Parameter#
snes - the
SNEScontext
Output Parameter#
rhs - the right hand side vector or
NULLif there is no right-hand side vector
See Also#
SNES: Nonlinear Solvers, SNES, SNESGetSolution(), SNESGetFunction(), SNESComputeFunction(), SNESSetJacobian(), SNESSetFunction()
Level#
intermediate
Location#
Index of all SNES routines
Table of Contents for all manual pages
Index of all manual pages