#include "petscdmda.h" PetscErrorCode DMDAGetFieldName(DM da,PetscInt nf,const char **name)Not collective; name will contain a common value
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 |
names | - the name of the field (component) |