:orphan: # PetscConvEstSetSolver Sets the solver used to produce discrete solutions ## Synopsis ``` #include "petscconvest.h" PetscErrorCode PetscConvEstSetSolver(PetscConvEst ce, PetscObject solver) ``` Not Collective ## Input Parameters - ***ce -*** The `PetscConvEst` object - ***solver -*** The solver ## Note The solver MUST have an attached `DM`/`DS`, so that we know the exact solution ## See Also `PetscConvEst`, `PetscConvEstGetSNES()`, `PetscConvEstCreate()`, `PetscConvEstGetConvRate()` ## Level intermediate ## Location src/snes/utils/convest.c --- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/snes/utils/convest.c) [Index of all SNES routines](index.md) [Table of Contents for all manual pages](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)