1*6af0ca60SMatthew G. Knepley /* 2*6af0ca60SMatthew G. Knepley Objects which encapsulate discretizations+continuum residuals 3*6af0ca60SMatthew G. Knepley */ 4*6af0ca60SMatthew G. Knepley #if !defined(__PETSCCE_H) 5*6af0ca60SMatthew G. Knepley #define __PETSCCE_H 6*6af0ca60SMatthew G. Knepley #include <petscsnes.h> 7*6af0ca60SMatthew G. Knepley 8*6af0ca60SMatthew G. Knepley /*S 9*6af0ca60SMatthew G. Knepley PetscConvEst - Provides an estimated convergence rate for a discretized problem 10*6af0ca60SMatthew G. Knepley 11*6af0ca60SMatthew G. Knepley Level: developer 12*6af0ca60SMatthew G. Knepley 13*6af0ca60SMatthew G. Knepley .seealso: PetscConvEstCreate(), PetscConvEstDestroy() 14*6af0ca60SMatthew G. Knepley S*/ 15*6af0ca60SMatthew G. Knepley typedef struct _p_PetscConvEst *PetscConvEst; 16*6af0ca60SMatthew G. Knepley 17*6af0ca60SMatthew G. Knepley PETSC_EXTERN PetscErrorCode PetscConvEstCreate(MPI_Comm, PetscConvEst *); 18*6af0ca60SMatthew G. Knepley PETSC_EXTERN PetscErrorCode PetscConvEstDestroy(PetscConvEst *); 19*6af0ca60SMatthew G. Knepley PETSC_EXTERN PetscErrorCode PetscConvEstView(PetscConvEst, PetscViewer); 20*6af0ca60SMatthew G. Knepley PETSC_EXTERN PetscErrorCode PetscConvEstSetFromOptions(PetscConvEst); 21*6af0ca60SMatthew G. Knepley PETSC_EXTERN PetscErrorCode PetscConvEstGetSolver(PetscConvEst, SNES *); 22*6af0ca60SMatthew G. Knepley PETSC_EXTERN PetscErrorCode PetscConvEstSetSolver(PetscConvEst, SNES); 23*6af0ca60SMatthew G. Knepley PETSC_EXTERN PetscErrorCode PetscConvEstSetup(PetscConvEst); 24*6af0ca60SMatthew G. Knepley PETSC_EXTERN PetscErrorCode PetscConvEstGetConvRate(PetscConvEst, PetscReal *); 25*6af0ca60SMatthew G. Knepley PETSC_EXTERN PetscErrorCode PetscConvEstRateView(PetscConvEst, PetscReal, PetscViewer); 26*6af0ca60SMatthew G. Knepley 27*6af0ca60SMatthew G. Knepley #endif 28