petsc-3.14.5 2021-03-03
Report Typos and Errors

# DMDASetDof

Sets the number of degrees of freedom per vertex

### Synopsis

    #include "petscdmda.h"
    PetscErrorCode  DMDASetDof(DM da, PetscInt dof)

Not collective

### Input Parameters

| da | - The DMDA
| dof | - Number of degrees of freedom

### See Also

DMDAGetDof(), DMDACreate(), DMDestroy(), DMDA

### Level

intermediate

### Location

src/dm/impls/da/da.c

### Examples

src/dm/tutorials/ex19.c.html
Index of all DMDA routines
Table of Contents for all manual pages
Index of all manual pages