PetscFVSetNumComponents#

Set the number of field components in a PetscFV

Synopsis#

#include "petscfv.h" 
PetscErrorCode PetscFVSetNumComponents(PetscFV fvm, PetscInt comp)

Logically Collective

Input Parameters#

  • fvm - the PetscFV object

  • comp - The number of components

See Also#

PetscFV, PetscFVGetNumComponents()

Level#

intermediate

Location#

src/dm/dt/fv/interface/fv.c

Examples#

src/ts/tutorials/ex11_sa.c
src/ts/tutorials/ex18.c
src/ts/tutorials/ex11.c


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