GMatCreateRectangular

Creates a sparse matrix with the appropriate preallocation of nonzeros for a discretization of an operator on the grid. A different set of fields may be speicifed for the shape and test discretizations.

Synopsis

#include "gvec.h" 
int GMatCreateRectangular(Grid grid, VarOrdering sOrder, VarOrdering tOrder, GMat *gmat)

Input Parameter

grid -The grid
sOrder -The shape function ordering
tOrder -The test function ordering

Output Parameters

gmat -The discrete operator

See Also

GMatCreate()

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