petsc-3.13.6 2020-09-29
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