/* Private context for Richardson iteration */ #ifndef __SNES_NCG_H #define __SNES_NCG_H #include #include typedef struct { SNESNCGType type; /* Fletcher-Reeves, Polak-Ribiere-Polyak, Hestenes-Steifel, Dai-Yuan, Conjugate Descent */ PetscViewer monitor; /* monitor for ncg (prints out the alpha and beta parameters at each iteration) */ } SNES_NCG; #endif