GridSetMatOperator
his function sets the operator to use in the system matrix for the given field.
Synopsis
#include "grid.h"
int GridSetMatOperator(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
GridAddMatOperator(), GridRemoveMatOperator(), GridAddRhsOperator()
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