|
GridFire 0.0.1a
General Purpose Nuclear Network
|
Abstract base class for network solver strategies. More...
#include <solver.h>
Public Member Functions | |
| NetworkSolverStrategy (EngineT &engine) | |
| Constructor for the NetworkSolverStrategy. | |
| virtual | ~NetworkSolverStrategy ()=default |
| Virtual destructor. | |
| virtual NetOut | evaluate (const NetIn &netIn)=0 |
| Evaluates the network for a given timestep. | |
Protected Attributes | |
| 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.
| netIn | The input conditions for the network. |
Implemented in gridfire::solver::DirectNetworkSolver, and PyDynamicNetworkSolverStrategy.
|
protected |