GridScaleMatOperator

his function multiplies all the current components of the system matrix by the same scalar.

Synopsis

#include "grid.h" 
int GridScaleMatOperator(Grid grid, PetscScalar alpha, int index)
Collective on Grid

Input Parameters

grid - The grid
alpha - The scalar
index - The unique operator index returned by GridAddMatOperator()

Keywords

grid, matrix, scale

See Also

GridScaleRhs(), GridAddMatOperator()

Level:intermediate
Location:
src/grid/interface/gridDB.c
Index of all Grid routines
Table of Contents for all manual pages
Index of all manual pages