GridEvaluateRhs
This function constructs the weak form of the functions and operators specified with GridSetRhsFunction(), GridSetRhsOperator(), and GridSetRhsNonlinearOperator().
Synopsis
#include "grid.h"
#include "gvec.h"
int GridEvaluateRhs(Grid grid, GVec x, GVec f, PetscObject ctx)
Collective on Grid
Input Parameters
| grid | - The grid
|
| x | - The current iterate
|
| ctx | - The optional user context
|
Output Parameters
f -The function value
Keywords
grid, rhs
See Also
GridEvaluateSystemMatrix(), GridSetRhsFunction(), GridSetRhsOperator(), GridSetRhsNonlinearOperator()
Level:beginner
Location:src/grid/interface/grid.c
Index of all Grid routines
Table of Contents for all manual pages
Index of all manual pages
Examples
src/gsolver/examples/tutorials/poisson.c.html
src/gsolver/examples/tutorials/poisson2.c.html
src/gsolver/examples/tutorials/control.c.html
src/gsolver/examples/tutorials/stokes.c.html