petsc-3.11.4 2019-09-28
Report Typos and Errors

DMGetRegionNumDS

Get the PetscDS for a given mesh region, defined by the region number

Synopsis

#include "petscdm.h"          
#include "petscdmlabel.h"     
#include "petscds.h"     
PetscErrorCode DMGetRegionNumDS(DM dm, PetscInt num, DMLabel *label, PetscDS *ds)
Not collective

Input Parameters

dm - The DM
num - The region number, in [0, Nds)

Output Parameters

label - The region label
prob - The PetscDS defined on the given region

See Also

DMGetRegionDS(), DMSetRegionDS(), DMGetDS(), DMGetCellDS()

Level

advanced

Location

src/dm/interface/dm.c
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages