DMGetMatrix

Gets empty Jacobian for a DA or VecPack

Synopsis

#include "petscda.h"     
int DMGetMatrix(DM dm,MatType mtype,Mat *mat)
Collective on DM

Input Parameter

dm - the DM object
mtype - MATMPIAIJ or MATMPIBAIJ

Output Parameter

mat -the empty Jacobian

See Also

DMDestroy(), DMView(), DMCreateGlobalVector(), DMGetInterpolation(), DMGetMatrix()

Level:developer
Location:
src/dm/da/utils/dm.c
Index of all DA routines
Table of Contents for all manual pages
Index of all manual pages