#include "petscdmda.h" PetscErrorCode DMDASetFieldName(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 | |
names | - the name of the field (component) |
Notes: It must be called after having called DMSetUp().