GMatCreate
Creates a sparse matrix with the appropriate preallocation of nonzeros for a discretization of an operator on the grid.
Synopsis
#include "gvec.h"
int GMatCreate(Grid grid, GMat *gmat)
Input Parameter
grid -The grid
Output Parameters
gmat -The discrete operator
See Also
GVecCreate()
Level:beginner
Location:src/gvec/interface/gmat.c
Index of all GVec 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