#include "petscdm.h" #include "petscdmlabel.h" #include "petscds.h" PetscErrorCode DMGetGlobalSection(DM dm, PetscSection *section)Collective on dm
dm | - The DM |
section | - The PetscSection |
Note: This gets a borrowed reference, so the user should not destroy this PetscSection.