![]() |
deltaFlow
|
Progress bar for iterative solvers. More...
#include <fmt/color.h>#include <fmt/core.h>#include <string>

Go to the source code of this file.
Functions | |
| void | printIterationProgress (const std::string &solver, int iter, int maxIter, double error, double tol, int barWidth=50) |
| Print an iteration progress line for a solver. | |
| void | printConvergenceStatus (const std::string &solver, bool converged, int iter, int maxIter, double error, double tol, int barWidth=50) |
| Print the final convergence status line. | |
Progress bar for iterative solvers.
Provides a colored terminal progress bar that shows solver convergence status in real-time. Green fill indicates progress; red indicates failure.
Definition in file Progress.H.
|
inline |
Print the final convergence status line.
Overwrites the progress bar with a final status:
| solver | Solver name |
| converged | Whether the solver converged |
| iter | Final iteration count |
| maxIter | Maximum allowed iterations |
| error | Final mismatch/error value |
| tol | Convergence tolerance |
| barWidth | Width of the progress bar in characters (default: 50) |
Definition at line 100 of file Progress.H.

|
inline |
Print an iteration progress line for a solver.
Displays a colored progress bar with iteration count and error magnitude.
| solver | Solver name (e.g. "Newton-Raphson", "Gauss-Seidel") |
| iter | Current iteration number (1-based) |
| maxIter | Maximum allowed iterations |
| error | Current mismatch/error value |
| tol | Convergence tolerance |
| barWidth | Width of the progress bar in characters (default: 50) |
Definition at line 50 of file Progress.H.
