#include "petscdm.h" #include "petscdmlabel.h" #include "petscds.h" PetscErrorCode DMGetRegionDS(DM dm, DMLabel label, IS *fields, PetscDS *ds)Not collective
dm | - The DM | |
label | - The DMLabel defining the mesh region, or NULL for the entire mesh |
fields | - The IS containing the DM field numbers for the fields in this DS, or NULL | |
prob | - The PetscDS defined on the given region, or NULL |
Note: If the label is missing, this function returns an error