Home
last modified time | relevance | path

Searched refs:conv_hist (Results 1 – 2 of 2) sorted by relevance

/petsc/include/petsc/private/
H A Dsnesimpl.h136 PetscReal *conv_hist; /* If !0, stores function norm (or member
274 if (snes->conv_hist && snes->conv_hist_max > snes->conv_hist_len) { in SNESLogConvergenceHistory()
275 if (snes->conv_hist) snes->conv_hist[snes->conv_hist_len] = res; in SNESLogConvergenceHistory()
/petsc/src/snes/interface/
H A Dsnes.c517 …if (!snes->conv_hist) PetscCall(SNESSetConvergenceHistory(snes, NULL, NULL, PETSC_DECIDE, PETSC_TR… in SNESView()
519 PetscCallSAWs(SAWs_Register, (dir, snes->conv_hist, 10, SAWs_READ, SAWs_DOUBLE)); in SNESView()
1874 snes->conv_hist = NULL; in SNESCreate()
3571 if ((*snes)->conv_hist_alloc) PetscCall(PetscFree2((*snes)->conv_hist, (*snes)->conv_hist_its)); in SNESDestroy()
4483 snes->conv_hist = a; in SNESSetConvergenceHistory()
4503 for (i = 0; i < snes->conv_hist_len; i++) ar[i] = snes->conv_hist[i]; in SNESGetConvergenceHistoryMatlab()
4544 if (a) *a = snes->conv_hist; in SNESGetConvergenceHistory()