#include "petscdm.h" #include "petscdmlabel.h" #include "petscds.h" PetscErrorCode DMGetAuxiliaryVec(DM dm, DMLabel label, PetscInt value, PetscInt part, Vec *aux)Not collective
dm | - The DM | |
label | - The DMLabel | |
value | - The label value indicating the region | |
part | - The equation part, or 0 if unused |
aux | - The Vec holding auxiliary field data |
Note: If no auxiliary vector is found for this (label, value), (NULL, 0, 0) is checked as well.