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