petsc-3.12.5 2020-03-29
Report Typos and Errors

PetscFVSetNumComponents

Set the number of field components

Synopsis

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

Input Parameters

fvm - the PetscFV object
comp - The number of components

See Also

PetscFVGetNumComponents()

Level

intermediate

Location

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

Examples

src/ts/examples/tutorials/ex11.c.html

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