Changeset 27929
- Timestamp:
- 09/29/23 09:07:53 (18 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/cores/controladm1qn3_core.cpp
r27928 r27929 491 491 492 492 /*Print info*/ 493 _printf0_( setw(4)<<*Jlisti<<" |");494 _printf0_("f(x) = "<<setw(8)<<setprecision(5)<<*pf<<" |");495 _printf0_(" "<<setw(8)<<setprecision(3)<<Gnorm<<" |");493 _printf0_("│"<<setw(3)<<*Jlisti<<" │ "); 494 _printf0_("f(x) = "<<setw(8)<<setprecision(5)<<*pf<<" │ "); 495 _printf0_(" "<<setw(8)<<setprecision(3)<<Gnorm<<" │"); 496 496 for(int i=0;i<num_responses;i++) _printf0_(" "<<setw(10)<<setprecision(5)<<Jlist[(*Jlisti)*JlistN+i]); 497 497 _printf0_("\n"); … … 578 578 if(VerboseControl())_printf0_(" Computing initial solution\n"); 579 579 _printf0_("\n"); 580 _printf0_("Iter | Cost function | Grad. norm | List of contributions \n"); 581 _printf0_("____________________________________________________________________\n"); 580 _printf0_("┌────┬─────────────────┬────────────┬────────────────────────\n"); 581 _printf0_("│Iter│ Cost function │ Grad. norm │ List of contributions \n"); 582 _printf0_("├────┼─────────────────┼────────────┼────────────────────────\n"); 582 583 583 584 /*Prepare structure for m1qn3*/ … … 601 602 >tol,normtype,&impres,&io,imode,&omode,&niter,&nsim,iz,dz,&ndz, 602 603 &reverse,&indic,izs,rzs,(void*)&mystruct); 604 _printf0_("└────┴─────────────────┴────────────┴────────────────────────\n"); 603 605 switch(int(omode)){ 604 606 case 0: _printf0_(" Stop requested (indic = 0)\n"); break;
Note:
See TracChangeset
for help on using the changeset viewer.