PETSc version 3.16.4
DMGetAuxiliaryVec
Get the auxiliary vector for region specified by the given label and value
Synopsis
#include "petscdm.h"
#include "petscdmlabel.h"
#include "petscds.h"
PetscErrorCode DMGetAuxiliaryVec(DM dm, DMLabel label, PetscInt value, Vec *aux)
Not collective
Input Parameters
| dm | - The DM
|
| label | - The DMLabel
|
| value | - The label value indicating the region
|
Output Parameter
| aux | - The Vec holding auxiliary field data
|
Note: If no auxiliary vector is found for this (label, value), (NULL, 0) is checked as well.
See Also
DMSetAuxiliaryVec(), DMGetNumAuxiliaryVec()
Level
advanced
Location
src/dm/interface/dm.c
Examples
src/snes/tutorials/ex12.c.html
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages