petsc-3.7.1 2016-05-15
Report Typos and Errors

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 on SNES Many br

Input Parameter

snes -the SNES context Many br

Output Parameter

rhs -the right hand side vector or NULL if the right hand side vector is null Many br

Many br

Keywords

SNES, nonlinear, get, function, right hand side

See Also

SNESGetSolution(), SNESGetFunction(), SNESComputeFunction(), SNESSetJacobian(), SNESSetFunction()

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