GridSetRhsOperator

his function sets the operator to use on the Rhs for the given field.

Synopsis

#include "grid.h" 
int GridSetRhsOperator(Grid grid, int sField, int tField, int op, PetscScalar alpha, PetscTruth isALE, int *idx)
Collective on Grid

Input Parameters

grid - The grid
sfield - The field for shape functions
tfield - The field for test functions
op - The operator
alpha - A scalar multiple for the operator
isALE - A flag for ALE operators

Output Parameter

idx -[Optional] A unique indentifier for the operator

Keywords

active field

See Also

GridAddRhsOperator, GridAddMatOperator, GridSetRhsFunction

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/control.c.html
src/gsolver/examples/tutorials/stokes.c.html