:orphan: # PetscFVSetFromOptions sets parameters in a `PetscFV` from the options database ## Synopsis ``` #include "petscfv.h" PetscErrorCode PetscFVSetFromOptions(PetscFV fvm) ``` Collective ## Input Parameter - ***fvm -*** the `PetscFV` object to set options for ## Options Database Key - ***-petscfv_compute_gradients -*** Determines whether cell gradients are calculated ## See Also `PetscFV`, `PetscFVView()` ## Level intermediate ## Location src/dm/dt/fv/interface/fv.c ## Examples src/ts/tutorials/ex11.c
src/ts/tutorials/ex11_sa.c
src/ts/tutorials/ex18.c
--- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/dm/dt/fv/interface/fv.c) [Index of all FV routines](index.md) [Table of Contents for all manual pages](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)