PetscFEGetNumComponents#

Returns the number of components in the element

Synopsis#

#include "petscfe.h" 
PetscErrorCode PetscFEGetNumComponents(PetscFE fem, PetscInt *comp)

Not Collective

Input Parameter#

Output Parameter#

  • comp - The number of field components

See Also#

PetscFE, PetscFECreate(), PetscFEGetSpatialDimension()

Level#

intermediate

Location#

src/dm/dt/fe/interface/fe.c

Examples#

src/dm/dt/tests/ex16.c
src/dm/impls/plex/tests/ex3.c
src/dm/impls/swarm/tests/ex2.c


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