#include "petscdm.h" #include "petscdmlabel.h" #include "petscds.h" PetscErrorCode DMAddField(DM dm, DMLabel label, PetscObject field)Logically collective on DM
dm | - The DM | |
label | - The label indicating the support of the field, or NULL for the entire mesh | |
field | - The discretization object |