GridAddRhsFunction

his function adds the point function to use on the rhs for the given field.

Synopsis

#include "grid.h" 
int GridAddRhsFunction(Grid grid, int field, PointFunction f, PetscScalar alpha)
Collective on Grid

Input Parameters

grid - The grid
field - The field
func - The point function
alpha - A scalar multiplier

Keywords

active field

See Also

GridSetMatOperator, GridSetRhsOperator

Level:beginner
Location:
src/grid/interface/gridDB.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