|
GridFire v0.7.6rc4.0
General Purpose Nuclear Network
|
Abstract base class for network solver strategies. More...
#include <strategy_abstract.h>
Public Member Functions | |
| SingleZoneNetworkSolver (const EngineT &engine) | |
| Constructor for the NetworkSolverStrategy. | |
| virtual | ~SingleZoneNetworkSolver ()=default |
| Virtual destructor. | |
| virtual NetOut | evaluate (SolverContextBase &solver_ctx, const NetIn &netIn) const =0 |
| Evaluates the network for a given timestep. | |
Protected Attributes | |
| const EngineT & | m_engine |
| The engine used by this solver strategy. | |
Abstract base class for network solver strategies.
This class defines the interface for network solver strategies, which are responsible for integrating the reaction network ODEs over a given timestep. It is templated on the engine type to allow for different engine implementations to be used with the same solver.
| EngineT | The type of engine to use with this solver strategy. Must inherit from Engine. |
|
inlineexplicit |
Constructor for the NetworkSolverStrategy.
| engine | The engine to use for evaluating the network. |
|
virtualdefault |
Virtual destructor.
|
pure virtual |
Evaluates the network for a given timestep.
| solver_ctx | |
| engine_ctx | |
| netIn | The input conditions for the network. |
Implemented in gridfire::solver::PointSolver, and PySingleZoneDynamicNetworkSolver.
|
protected |
The engine used by this solver strategy.