petsc-main 2021-04-20
Report Typos and Errors

DMSetAuxiliaryVec

Set the auxiliary vector for region specified by the given label and value

Synopsis

#include "petscdm.h"          
#include "petscdmlabel.h"     
#include "petscds.h"     
PetscErrorCode DMSetAuxiliaryVec(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
aux - The Vec holding auxiliary field data

See Also

DMGetAuxiliaryVec()

Level

advanced

Location

src/dm/interface/dm.c

Examples

src/snes/tutorials/ex12.c.html
src/snes/tutorials/ex77.c.html
src/ts/tutorials/ex48.c.html

Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages