deltaFlow
ISolver Class Referenceabstract

Common interface for power-flow solvers. More...

#include <ISolver.H>

Inheritance diagram for ISolver:

Public Member Functions

virtual ~ISolver ()=default
 
virtual bool solve (SolverContext &ctx)=0
 Run the power-flow solver using the given context.
 
virtual const char * name () const =0
 Human-readable solver name (e.g.
 

Detailed Description

Common interface for power-flow solvers.

Concrete implementations wrap the existing GaussSeidel/NewtonRaphson free functions unchanged, so the underlying numerical algorithms (and the call signatures used directly by the test suite) are not altered.

Definition at line 115 of file ISolver.H.

Constructor & Destructor Documentation

◆ ~ISolver()

virtual ISolver::~ISolver ( )
virtualdefault

Member Function Documentation

◆ name()

virtual const char * ISolver::name ( ) const
pure virtual

Human-readable solver name (e.g.

for logging/output).

Implemented in GaussSeidel, and NewtonRaphson.

◆ solve()

virtual bool ISolver::solve ( SolverContext ctx)
pure virtual

Run the power-flow solver using the given context.

Parameters
ctxSolver context (in/out parameters; see SolverContext).
Returns
true if the algorithm converged within the specified number of iterations.

Implemented in GaussSeidel, and NewtonRaphson.


The documentation for this class was generated from the following file: