DMDASetFieldName#
Sets the names of individual field components in multicomponent vectors associated with a DMDA
.
Synopsis#
#include "petscdmda.h"
PetscErrorCode DMDASetFieldName(DM da, PetscInt nf, const char name[])
Logically Collective; name must contain a common value
Input Parameters#
Note#
It must be called after having called DMSetUp()
.
See Also#
DMDA - Creating vectors for structured grids, DM
, DMDA
, DMDAGetFieldName()
, DMDASetCoordinateName()
, DMDAGetCoordinateName()
, DMDASetFieldNames()
, DMSetUp()
Level#
intermediate
Location#
Examples#
src/ts/tutorials/ex9.c
src/ts/tutorials/ex12.c
src/ts/tutorials/ex27.c
src/ts/tutorials/ex14.c
src/ts/tutorials/ex29.c
src/dm/tutorials/ex7.c
src/ksp/ksp/tutorials/ex70.c
src/ksp/ksp/tutorials/ex29.c
src/ts/tutorials/ex26.c
src/ts/tutorials/ex10.c
Index of all DMDA routines
Table of Contents for all manual pages
Index of all manual pages