PetscConvEstComputeInitialGuess — PETSc 3.25.4 documentation

Skip to main content
`Ctrl`+`K`

# PetscConvEstComputeInitialGuess

Fill `u` with the initial guess to use on refinement level `r` of a convergence-estimation run

## Synopsis

    #include "petscconvest.h"
    PetscErrorCode PetscConvEstComputeInitialGuess(PetscConvEst ce, PetscInt r, DM dm, Vec u)

Collective

## Input Parameters

- ce - the `PetscConvEst` object

- r - the refinement level

- dm - the `DM` on which `u` is defined (may be `NULL`)

## Output Parameter

- u - the initial-guess vector

## See Also

`PetscConvEst`, `PetscConvEstComputeError()`, `PetscConvEstGetConvRate()`

## Level

developer

## Location

src/snes/utils/convest.c

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