#include "petscdmda.h" PetscErrorCode DMDAGetFieldName(DM da,PetscInt nf,const char **name)Not Collective
da | - the distributed array | |
nf | - field number for the DMDA (0, 1, ... dof-1), where dof indicates the number of degrees of freedom per node within the DMDA |
Notes: It must be called after having called DMSetUp().