deltaFlow
LoggingSolverObserver.H File Reference

Concrete ISolverObserver that reports to the Logger singleton and the terminal progress bar (Dependency Inversion Principle). More...

#include "ISolver.H"
#include "Logger.H"
#include "Progress.H"
Include dependency graph for LoggingSolverObserver.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  LoggingSolverObserver
 Reports solver progress to the Logger singleton and terminal progress bar. More...
 

Detailed Description

Concrete ISolverObserver that reports to the Logger singleton and the terminal progress bar (Dependency Inversion Principle).

This is the production observer injected by PowerFlowApplication. Moving it out of GaussSeidel/NewtonRaphson means those classes depend only on the ISolverObserver abstraction, not on Logger/Progress.H concretely – the solver classes have no knowledge that logging or terminal printing exists.

Behavior (log messages, progress bar, console output) is unchanged from the original in-solver LOG_ macro and printIterationProgress() calls.

Definition in file LoggingSolverObserver.H.