DASetFieldName

Sets the names of individual field components in multicomponent vectors associated with a DA.

Synopsis

int DASetFieldName(DA da,int nf,const char name[])
Not Collective

Input Parameters

da - the distributed array
nf - field number for the DA (0, 1, ... dof-1), where dof indicates the number of degrees of freedom per node within the DA
names - the name of the field (component)

Keywords

distributed array, get, component name

See Also

DAGetFieldName()

Examples

src/snes/examples/tutorials/ex8.c

Level:intermediate
Location:src/dm/da/src/dacorn.c
DA Index
Table of Contents