xref: /petsc/include/petscconvest.h (revision 26bd150190f26c623f12d3ed48c77abbffd51c93)
16af0ca60SMatthew G. Knepley /*
26af0ca60SMatthew G. Knepley       Objects which encapsulate discretizations+continuum residuals
36af0ca60SMatthew G. Knepley */
4*26bd1501SBarry Smith #if !defined(PETSCCE_H)
5*26bd1501SBarry Smith #define PETSCCE_H
66af0ca60SMatthew G. Knepley #include <petscsnes.h>
76af0ca60SMatthew G. Knepley 
86af0ca60SMatthew G. Knepley /*S
96af0ca60SMatthew G. Knepley   PetscConvEst - Provides an estimated convergence rate for a discretized problem
106af0ca60SMatthew G. Knepley 
116af0ca60SMatthew G. Knepley   Level: developer
126af0ca60SMatthew G. Knepley 
136af0ca60SMatthew G. Knepley .seealso:  PetscConvEstCreate(), PetscConvEstDestroy()
146af0ca60SMatthew G. Knepley S*/
156af0ca60SMatthew G. Knepley typedef struct _p_PetscConvEst *PetscConvEst;
166af0ca60SMatthew G. Knepley 
176af0ca60SMatthew G. Knepley PETSC_EXTERN PetscErrorCode PetscConvEstCreate(MPI_Comm, PetscConvEst *);
186af0ca60SMatthew G. Knepley PETSC_EXTERN PetscErrorCode PetscConvEstDestroy(PetscConvEst *);
196af0ca60SMatthew G. Knepley PETSC_EXTERN PetscErrorCode PetscConvEstView(PetscConvEst, PetscViewer);
206af0ca60SMatthew G. Knepley PETSC_EXTERN PetscErrorCode PetscConvEstSetFromOptions(PetscConvEst);
216af0ca60SMatthew G. Knepley PETSC_EXTERN PetscErrorCode PetscConvEstGetSolver(PetscConvEst, SNES *);
226af0ca60SMatthew G. Knepley PETSC_EXTERN PetscErrorCode PetscConvEstSetSolver(PetscConvEst, SNES);
230955ed61SMatthew G. Knepley PETSC_EXTERN PetscErrorCode PetscConvEstSetUp(PetscConvEst);
2446079b62SMatthew G. Knepley PETSC_EXTERN PetscErrorCode PetscConvEstGetConvRate(PetscConvEst, PetscReal[]);
25a56d3bf6SMatthew G. Knepley PETSC_EXTERN PetscErrorCode PetscConvEstRateView(PetscConvEst, const PetscReal[], PetscViewer);
266af0ca60SMatthew G. Knepley 
276af0ca60SMatthew G. Knepley #endif
28