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 *index)
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

index -[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