xref: /petsc/src/snes/impls/ncg/snesncgimpl.h (revision 2205254efee3a00a594e5e2a3a70f74dcb40bc03)
1 /*
2    Private context for Richardson iteration
3 */
4 
5 #if !defined(__SNES_NCG_H)
6 #define __SNES_NCG_H
7 #include <petsc-private/snesimpl.h>
8 #include <petsc-private/linesearchimpl.h>
9 
10 typedef struct {
11   SNESNCGType type;     /* Fletcher-Reeves, Polak-Ribiere-Polyak, Hestenes-Steifel, Dai-Yuan, Conjugate Descent */
12   PetscViewer monitor;   /* monitor for ncg (prints out the alpha and beta parameters at each interation) */
13 } SNES_NCG;
14 
15 #endif
16