Date: 2022-03-31T04:48:31+00:00

Actual source code: snesncgimpl.h

      1: /*
      2:    Private context for Richardson iteration
      3: */

      7: #include <petsc/private/snesimpl.h>
      8: #include <petsc/private/linesearchimpl.h>

     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;

     15: #endif