DMFindRegionNum#
Find the region number for a given PetscDS
, or -1 if it is not found.
Synopsis#
#include "petscdm.h"
#include "petscdmlabel.h"
#include "petscds.h"
PetscErrorCode DMFindRegionNum(DM dm, PetscDS ds, PetscInt *num)
Not Collective
Input Parameters#
Output Parameter#
num - The region number, in [0, Nds), or -1 if not found
See Also#
DM Basics, DM
, DMGetRegionNumDS()
, DMGetRegionDS()
, DMSetRegionDS()
, DMGetDS()
, DMGetCellDS()
Level#
advanced
Location#
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages