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

# DMClearFields

Remove all fields from the DM

### Synopsis

    #include "petscdm.h"
    #include "petscdmlabel.h"
    #include "petscds.h"
    PetscErrorCode DMClearFields(DM dm)

Logically collective on dm

### Input Parameter

| dm | - The DM

### See Also

DMGetNumFields(), DMSetNumFields(), DMSetField()

### Level

intermediate

### Location

src/dm/interface/dm.c
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages