xref: /petsc/include/petscconvest.h (revision 46079b62776c3a5b3b25e280d067498b9bc1a6ad)
16af0ca60SMatthew G. Knepley /*
26af0ca60SMatthew G. Knepley       Objects which encapsulate discretizations+continuum residuals
36af0ca60SMatthew G. Knepley */
46af0ca60SMatthew G. Knepley #if !defined(__PETSCCE_H)
56af0ca60SMatthew G. Knepley #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);
24*46079b62SMatthew G. Knepley PETSC_EXTERN PetscErrorCode PetscConvEstGetConvRate(PetscConvEst, PetscReal[]);
25*46079b62SMatthew G. Knepley PETSC_EXTERN PetscErrorCode PetscConvEstRateView(PetscConvEst, PetscReal[], PetscViewer);
266af0ca60SMatthew G. Knepley 
276af0ca60SMatthew G. Knepley #endif
28