#include "petscdm.h" #include "petscdmlabel.h" #include "petscds.h" PetscErrorCode DMFindRegionNum(DM dm, PetscDS ds, PetscInt *num)Not collective
dm | - The DM | |
ds | - The PetscDS defined on the given region |
num | - The region number, in [0, Nds), or -1 if not found |