DMSetAuxiliaryVec#
Set an auxiliary vector for region specified by the given label and value, and equation part
Synopsis#
#include "petscdm.h"
#include "petscdmlabel.h"
#include "petscds.h"
PetscErrorCode DMSetAuxiliaryVec(DM dm, DMLabel label, PetscInt value, PetscInt part, Vec aux)
Not Collective because auxiliary vectors are not parallel
Input Parameters#
See Also#
DM Basics, DM
, DMGetAuxiliaryVec()
, DMGetAuxiliaryLabels()
, DMCopyAuxiliaryVec()
Level#
advanced
Location#
Examples#
src/snes/tutorials/ex12.c
src/snes/tutorials/ex13.c
src/snes/tutorials/ex7.c
src/snes/tutorials/ex77.c
src/ts/tutorials/ex47.c
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages