petsc-3.4.5 2014-06-29

DMDASetCoordinateName

Sets the name of the coordinate directions associated with a DMDA, for example "x" or "y"

Synopsis

#include "petscdmda.h"   
PetscErrorCode  DMDASetCoordinateName(DM da,PetscInt nf,const char name[])
Not Collective

Input Parameters

da - the distributed array
nf - coordinate number for the DMDA (0, 1, ... dim-1),
name - the name of the coordinate

Keywords

distributed array, get, component name

See Also

DMDAGetCoordinateName(), DMDASetFieldName(), DMDAGetFieldName()

Level:intermediate
Location:
src/dm/impls/da/dacorn.c
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages