Differences From Artifact [9ffbf825ef]:
- File
mttroot/mtt/lib/cc/mtt_Hybrd_Solver.cc
— part of check-in
[eb84d8e84b]
at
2002-07-15 12:50:51
on branch origin/master
— The solution vector (_ui) is no longer re-zeroed each step.
Retaining the previous value appears to give dramatically better performance.Messages to the console are now buffered through clog instead of using cerr. (user: geraint@users.sourceforge.net, size: 1560) [annotate] [blame] [check-ins using] [more...]
To Artifact [f06a11fc35]:
- File mttroot/mtt/lib/cc/mtt_Hybrd_Solver.cc — part of check-in [14e7fa093e] at 2002-07-15 17:00:36 on branch origin/master — Writes simulation time to shell when solution converges. (user: geraint@users.sourceforge.net, size: 1651) [annotate] [blame] [check-ins using] [more...]
︙ | ︙ | |||
41 42 43 44 45 46 47 | case -1: user_errors++; break; case 3: progress_errors++; break; case 4: | < < < > > > > < > > > > > | 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 | case -1: user_errors++; break; case 3: progress_errors++; break; case 4: limit_errors++; break; default: unknown_errors++; break; } std::clog.setf (std::ios::scientific); if (1 != info) { std::clog << "\r" << " time " << _t << " \t" << " converge (" << convergences << ") " << " limit (" << limit_errors << ")" << " progress (" << progress_errors << ")" << " other (" << input_errors + user_errors + unknown_errors << ") " << " (max error = " << std::abs (eval(_ui).max()) << ")" << std::endl; } else { std::clog << "\r time " << _t << "\t max error = " << std::abs (eval(_ui).max()); } ferr << info << " "; } |