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

DMGetRegionDS

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

Synopsis

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

Input Parameters

dm - The DM
label - The DMLabel defining the mesh region, or NULL for the entire mesh

Output Parameter

prob -The PetscDS defined on the given region

Note: If the label is missing, this function returns an error

See Also

DMGetRegionNumDS(), 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