petsc-3.11.4 2019-09-28
Report Typos and Errors

DMFieldGetNumComponents

Returns the number of components in the field

Synopsis

#include "petscdmfield.h" 
#include "petscdmfield.h" 
PetscErrorCode DMFieldGetNumComponents(DMField field, PetscInt *nc)
Not collective

Input Parameter

field -The DMField object

Output Parameter

nc -The number of field components

See Also

DMFieldEvaluate()

Level

intermediate

Location

src/dm/field/interface/dmfield.c

Examples

src/dm/field/examples/tutorials/ex1.c.html

Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages