GridCreateGMat

Creates a sparse matrix with the appropriate preallocation of nonzeros for a discretization of an operator on the grid.

Synopsis

int GridCreateGMat(Grid v,GMat *gmat)
Collective on GVec

Input Parameter

v -the grid

Output Parameters

gmat -the grid matrix

See Also

GridCreateGVec()

Examples

src/gvec/examples/tutorials/ex1.c
src/gvec/examples/tutorials/ex2.c
src/gvec/examples/tutorials/ex5.c
src/gvec/examples/tutorials/ex6.c
src/gvec/examples/tutorials/ex11.c

Location: src/gvec/interface/gvec.c
Discrete Function Index
Table of Contents