Lines Matching refs:PetscViewerASCIIPrintf
191 …PetscCall(PetscViewerASCIIPrintf(viewer, " TAO %s solve converged due to %s iterations %" PetscIn… in TaoSolve()
193 …PetscCall(PetscViewerASCIIPrintf(viewer, " TAO solve converged due to %s iterations %" PetscInt_F… in TaoSolve()
197 …PetscCall(PetscViewerASCIIPrintf(viewer, " TAO %s solve did not converge due to %s iteration %" P… in TaoSolve()
199 …PetscCall(PetscViewerASCIIPrintf(viewer, " TAO solve did not converge due to %s iteration %" Pets… in TaoSolve()
645 …PetscCall(PetscViewerASCIIPrintf(viewer, "total KSP iterations: %" PetscInt_FMT "\n", tao->ksp_tot… in TaoView()
648 …if (tao->XL || tao->XU) PetscCall(PetscViewerASCIIPrintf(viewer, "Active Set subset type: %s\n", T… in TaoView()
650 …PetscCall(PetscViewerASCIIPrintf(viewer, "convergence tolerances: gatol=%g,", (double)tao->gatol)); in TaoView()
651 PetscCall(PetscViewerASCIIPrintf(viewer, " grtol=%g,", (double)tao->grtol)); in TaoView()
652 PetscCall(PetscViewerASCIIPrintf(viewer, " steptol=%g,", (double)tao->steptol)); in TaoView()
653 PetscCall(PetscViewerASCIIPrintf(viewer, " gttol=%g\n", (double)tao->gttol)); in TaoView()
654 …PetscCall(PetscViewerASCIIPrintf(viewer, "Residual in Function/Gradient:=%g\n", (double)tao->resid… in TaoView()
657 PetscCall(PetscViewerASCIIPrintf(viewer, "convergence tolerances:")); in TaoView()
658 PetscCall(PetscViewerASCIIPrintf(viewer, " catol=%g,", (double)tao->catol)); in TaoView()
659 PetscCall(PetscViewerASCIIPrintf(viewer, " crtol=%g\n", (double)tao->crtol)); in TaoView()
660 … PetscCall(PetscViewerASCIIPrintf(viewer, "Residual in Constraints:=%g\n", (double)tao->cnorm)); in TaoView()
664 …PetscCall(PetscViewerASCIIPrintf(viewer, "convergence tolerances: steptol=%g\n", (double)tao->step… in TaoView()
665 … PetscCall(PetscViewerASCIIPrintf(viewer, "Final trust region radius:=%g\n", (double)tao->trust)); in TaoView()
668 …if (tao->fmin > -1.e25) PetscCall(PetscViewerASCIIPrintf(viewer, "convergence tolerances: function… in TaoView()
669 PetscCall(PetscViewerASCIIPrintf(viewer, "Objective value=%g\n", (double)tao->fc)); in TaoView()
671 …PetscCall(PetscViewerASCIIPrintf(viewer, "total number of iterations=%" PetscInt_FMT ", "… in TaoView()
672 …PetscCall(PetscViewerASCIIPrintf(viewer, " (max: %" PetscInt_FMT ")\n", tao->max_it)); in TaoView()
675 …PetscCall(PetscViewerASCIIPrintf(viewer, "total number of function evaluations=%" PetscInt_FMT ","… in TaoView()
676 …if (tao->max_funcs == PETSC_UNLIMITED) PetscCall(PetscViewerASCIIPrintf(viewer, " (… in TaoView()
677 …else PetscCall(PetscViewerASCIIPrintf(viewer, " (max: %" PetscInt_FMT ")\n", tao->m… in TaoView()
680 …PetscCall(PetscViewerASCIIPrintf(viewer, "total number of gradient evaluations=%" PetscInt_FMT ","… in TaoView()
681 …if (tao->max_funcs == PETSC_UNLIMITED) PetscCall(PetscViewerASCIIPrintf(viewer, " (… in TaoView()
682 …else PetscCall(PetscViewerASCIIPrintf(viewer, " (max: %" PetscInt_FMT ")\n", tao->m… in TaoView()
685 …PetscCall(PetscViewerASCIIPrintf(viewer, "total number of function/gradient evaluations=%" PetscIn… in TaoView()
686 …if (tao->max_funcs == PETSC_UNLIMITED) PetscCall(PetscViewerASCIIPrintf(viewer, " (max: unlimit… in TaoView()
687 … else PetscCall(PetscViewerASCIIPrintf(viewer, " (max: %" PetscInt_FMT ")\n", tao->max_funcs)); in TaoView()
689 …if (tao->nhess > 0) PetscCall(PetscViewerASCIIPrintf(viewer, "total number of Hessian evaluations=… in TaoView()
690 …if (tao->nconstraints > 0) PetscCall(PetscViewerASCIIPrintf(viewer, "total number of constraint fu… in TaoView()
691 …if (tao->njac > 0) PetscCall(PetscViewerASCIIPrintf(viewer, "total number of Jacobian evaluations=… in TaoView()
694 PetscCall(PetscViewerASCIIPrintf(viewer, "Solution converged: ")); in TaoView()
697 PetscCall(PetscViewerASCIIPrintf(viewer, " ||g(X)|| <= gatol\n")); in TaoView()
700 PetscCall(PetscViewerASCIIPrintf(viewer, " ||g(X)||/|f(X)| <= grtol\n")); in TaoView()
703 PetscCall(PetscViewerASCIIPrintf(viewer, " ||g(X)||/||g(X0)|| <= gttol\n")); in TaoView()
706 PetscCall(PetscViewerASCIIPrintf(viewer, " Steptol -- step size small\n")); in TaoView()
709 PetscCall(PetscViewerASCIIPrintf(viewer, " Minf -- f < fmin\n")); in TaoView()
712 PetscCall(PetscViewerASCIIPrintf(viewer, " User Terminated\n")); in TaoView()
715 PetscCall(PetscViewerASCIIPrintf(viewer, " %d\n", tao->reason)); in TaoView()
719 PetscCall(PetscViewerASCIIPrintf(viewer, "Solver never run\n")); in TaoView()
721 PetscCall(PetscViewerASCIIPrintf(viewer, "Solver failed: ")); in TaoView()
724 PetscCall(PetscViewerASCIIPrintf(viewer, " Maximum Iterations\n")); in TaoView()
727 PetscCall(PetscViewerASCIIPrintf(viewer, " NAN or infinity encountered\n")); in TaoView()
730 PetscCall(PetscViewerASCIIPrintf(viewer, " Maximum Function Evaluations\n")); in TaoView()
733 PetscCall(PetscViewerASCIIPrintf(viewer, " Line Search Failure\n")); in TaoView()
736 PetscCall(PetscViewerASCIIPrintf(viewer, " Trust Region too small\n")); in TaoView()
739 PetscCall(PetscViewerASCIIPrintf(viewer, " User Terminated\n")); in TaoView()
742 PetscCall(PetscViewerASCIIPrintf(viewer, " %d\n", tao->reason)); in TaoView()
1626 …PetscCall(PetscViewerASCIIPrintf(viewer, " Iteration information for %s solve.\n", ((PetscObject)… in TaoMonitorDefault()
1629 PetscCall(PetscViewerASCIIPrintf(viewer, "%3" PetscInt_FMT " TAO,", tao->niter)); in TaoMonitorDefault()
1630 PetscCall(PetscViewerASCIIPrintf(viewer, " Function value: %g,", (double)tao->fc)); in TaoMonitorDefault()
1632 PetscCall(PetscViewerASCIIPrintf(viewer, " Residual: infinity \n")); in TaoMonitorDefault()
1634 PetscCall(PetscViewerASCIIPrintf(viewer, " Residual: %g \n", (double)tao->residual)); in TaoMonitorDefault()
1679 …PetscCall(PetscViewerASCIIPrintf(viewer, " Iteration information for %s solve.\n", ((PetscObject)… in TaoMonitorGlobalization()
1682 PetscCall(PetscViewerASCIIPrintf(viewer, "%3" PetscInt_FMT " TAO,", tao->niter)); in TaoMonitorGlobalization()
1683 PetscCall(PetscViewerASCIIPrintf(viewer, " Function value: %g,", (double)tao->fc)); in TaoMonitorGlobalization()
1685 PetscCall(PetscViewerASCIIPrintf(viewer, " Residual: Inf,")); in TaoMonitorGlobalization()
1687 PetscCall(PetscViewerASCIIPrintf(viewer, " Residual: %g,", (double)tao->residual)); in TaoMonitorGlobalization()
1689 …PetscCall(PetscViewerASCIIPrintf(viewer, " Step: %g, Trust: %g\n", (double)tao->step, (double)ta… in TaoMonitorGlobalization()
1736 PetscCall(PetscViewerASCIIPrintf(viewer, "iter = %3" PetscInt_FMT ",", tao->niter)); in TaoMonitorDefaultShort()
1737 PetscCall(PetscViewerASCIIPrintf(viewer, " Function value %g,", (double)tao->fc)); in TaoMonitorDefaultShort()
1739 PetscCall(PetscViewerASCIIPrintf(viewer, " Residual: infinity \n")); in TaoMonitorDefaultShort()
1741 PetscCall(PetscViewerASCIIPrintf(viewer, " Residual: %g \n", (double)gnorm)); in TaoMonitorDefaultShort()
1743 PetscCall(PetscViewerASCIIPrintf(viewer, " Residual: < 1.0e-6 \n")); in TaoMonitorDefaultShort()
1745 PetscCall(PetscViewerASCIIPrintf(viewer, " Residual: < 1.0e-11 \n")); in TaoMonitorDefaultShort()
1785 PetscCall(PetscViewerASCIIPrintf(viewer, "iter = %" PetscInt_FMT ",", tao->niter)); in TaoMonitorConstraintNorm()
1786 PetscCall(PetscViewerASCIIPrintf(viewer, " Function value: %g,", (double)tao->fc)); in TaoMonitorConstraintNorm()
1787 PetscCall(PetscViewerASCIIPrintf(viewer, " Residual: %g ", (double)tao->residual)); in TaoMonitorConstraintNorm()
1788 PetscCall(PetscViewerASCIIPrintf(viewer, " Constraint: %g \n", (double)tao->cnorm)); in TaoMonitorConstraintNorm()