:orphan: # PetscFVRefine Create a "refined" `PetscFV` object that refines the reference cell into smaller copies. This is typically used to precondition a higher order method with a lower order method on a refined mesh having the same number of dofs (but more sparsity). It is also used to create an interpolation between regularly refined meshes. ## Synopsis ``` #include "petscfv.h" PetscErrorCode PetscFVRefine(PetscFV fv, PetscFV *fvRef) ``` ## Input Parameter - ***fv -*** The initial `PetscFV` ## Output Parameter - ***fvRef -*** The refined `PetscFV` ## See Also `PetscFV`, `PetscFVType`, `PetscFVCreate()`, `PetscFVSetType()` ## Level advanced ## Location src/dm/dt/fv/interface/fv.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)