#include "petscdm.h" #include "petscdmlabel.h" #include "petscds.h" PetscErrorCode DMGetField(DM dm, PetscInt f, DMLabel *label, PetscObject *field)Not collective
| 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 |