#include "petscdm.h" #include "petscdmlabel.h" #include "petscds.h" PetscErrorCode MatGetDM(Mat A, DM *dm)Not collective
A | - The Mat |
dm | - The DM |
Developer Note: Since the Mat class doesn't know about the DM class the DM object is associated with the Mat through a PetscObjectCompose() operation