Lines Matching refs:monitor

13   PetscViewer monitor;  in SNESLineSearchApply_CP()  local
22 PetscCall(SNESLineSearchGetDefaultMonitor(linesearch, &monitor)); in SNESLineSearchApply_CP()
35 if (monitor) { in SNESLineSearchApply_CP()
36 PetscCall(PetscViewerASCIIAddTab(monitor, ((PetscObject)linesearch)->tablevel)); in SNESLineSearchApply_CP()
37 …PetscCall(PetscViewerASCIIPrintf(monitor, " Line search terminated at initial point because dot… in SNESLineSearchApply_CP()
38 PetscCall(PetscViewerASCIISubtractTab(monitor, ((PetscObject)linesearch)->tablevel)); in SNESLineSearchApply_CP()
61 if (monitor) { in SNESLineSearchApply_CP()
62 PetscCall(PetscViewerASCIIAddTab(monitor, ((PetscObject)linesearch)->tablevel)); in SNESLineSearchApply_CP()
63 …PetscCall(PetscViewerASCIIPrintf(monitor, " Line search: abs(dlambda) = %g < ltol = %g\n", (dou… in SNESLineSearchApply_CP()
64 PetscCall(PetscViewerASCIISubtractTab(monitor, ((PetscObject)linesearch)->tablevel)); in SNESLineSearchApply_CP()
71 if (monitor) { in SNESLineSearchApply_CP()
72 PetscCall(PetscViewerASCIIAddTab(monitor, ((PetscObject)linesearch)->tablevel)); in SNESLineSearchApply_CP()
73 …PetscCall(PetscViewerASCIIPrintf(monitor, " Line search: abs(fty/fty_init) = %g <= rtol = %g\n… in SNESLineSearchApply_CP()
74 PetscCall(PetscViewerASCIISubtractTab(monitor, ((PetscObject)linesearch)->tablevel)); in SNESLineSearchApply_CP()
81 if (monitor) { in SNESLineSearchApply_CP()
82 PetscCall(PetscViewerASCIIAddTab(monitor, ((PetscObject)linesearch)->tablevel)); in SNESLineSearchApply_CP()
83 …PetscCall(PetscViewerASCIIPrintf(monitor, " Line search: abs(fty)/||y|| = %g <= atol = %g\n", (… in SNESLineSearchApply_CP()
84 PetscCall(PetscViewerASCIISubtractTab(monitor, ((PetscObject)linesearch)->tablevel)); in SNESLineSearchApply_CP()
90 if (monitor) { in SNESLineSearchApply_CP()
91 PetscCall(PetscViewerASCIIAddTab(monitor, ((PetscObject)linesearch)->tablevel)); in SNESLineSearchApply_CP()
92 …PetscCall(PetscViewerASCIIPrintf(monitor, " Line search: lambdas = [%g, %g], ftys = [%g, %g]\n"… in SNESLineSearchApply_CP()
93 PetscCall(PetscViewerASCIISubtractTab(monitor, ((PetscObject)linesearch)->tablevel)); in SNESLineSearchApply_CP()
142 if (monitor) { in SNESLineSearchApply_CP()
143 PetscCall(PetscViewerASCIIAddTab(monitor, ((PetscObject)linesearch)->tablevel)); in SNESLineSearchApply_CP()
144 PetscCall(PetscViewerASCIIPrintf(monitor, " Line search: del2Fnrm = 0\n")); in SNESLineSearchApply_CP()
145 PetscCall(PetscViewerASCIISubtractTab(monitor, ((PetscObject)linesearch)->tablevel)); in SNESLineSearchApply_CP()
161 if (monitor) { in SNESLineSearchApply_CP()
162 PetscCall(PetscViewerASCIIAddTab(monitor, ((PetscObject)linesearch)->tablevel)); in SNESLineSearchApply_CP()
163 … PetscCall(PetscViewerASCIIPrintf(monitor, " Line search: lambda_update is infinity or NaN\n")); in SNESLineSearchApply_CP()
164 PetscCall(PetscViewerASCIISubtractTab(monitor, ((PetscObject)linesearch)->tablevel)); in SNESLineSearchApply_CP()
192 if (monitor) { in SNESLineSearchApply_CP()
193 PetscCall(PetscViewerASCIIAddTab(monitor, ((PetscObject)linesearch)->tablevel)); in SNESLineSearchApply_CP()
194 …PetscCall(PetscViewerASCIIPrintf(monitor, " Line search terminated: lambda = %g, fnorms = %g\n"… in SNESLineSearchApply_CP()
195 PetscCall(PetscViewerASCIISubtractTab(monitor, ((PetscObject)linesearch)->tablevel)); in SNESLineSearchApply_CP()