#include "petscdm.h" PetscErrorCode DMCreate(MPI_Comm comm,DM *dm)If you never call DMSetType() it will generate an error when you try to use the vector.
Collective on MPI_Comm
Level:beginner
Location:src/dm/interface/dm.c
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages