DMSetNumFields#
Set the number of fields in the DM
Synopsis#
#include "petscdm.h"
#include "petscdmlabel.h"
#include "petscds.h"
PetscErrorCode DMSetNumFields(DM dm, PetscInt numFields)
Logically collective on dm
Input Parameters#
dm - The DM
Nf - The number of fields
See Also#
DMGetNumFields()
, DMSetField()
Level#
intermediate
Location#
Examples#
src/dm/impls/plex/tutorials/ex1.c.html
src/dm/impls/plex/tutorials/ex14.c.html
src/dm/impls/plex/tutorials/ex1f90.F90.html
src/dm/impls/plex/tutorials/ex6.c.html
src/ts/tutorials/ex11_sa.c.html
src/ts/tutorials/ex52.c.html
src/tao/tutorials/ex3.c.html
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages