GridFire 0.0.1a
General Purpose Nuclear Network
|
Class for the Approx8 nuclear reaction network. More...
#include <engine_approx8.h>
Public Member Functions | |
Approx8Network () | |
NetOut | evaluate (const NetIn &netIn) override |
Evaluates the nuclear network. | |
void | setStiff (bool stiff) override |
Sets whether the solver should use a stiff method. | |
bool | isStiff () const override |
Checks if the solver is using a stiff method. | |
![]() | |
Network (const NetworkFormat format=NetworkFormat::APPROX8) | |
virtual | ~Network ()=default |
NetworkFormat | getFormat () const |
NetworkFormat | setFormat (const NetworkFormat format) |
Static Private Member Functions | |
static vector_type | convert_netIn (const NetIn &netIn) |
Converts the input parameters to the internal state vector. | |
Private Attributes | |
vector_type | m_y |
double | m_tMax = 0 |
double | m_dt0 = 0 |
bool | m_stiff = false |
Additional Inherited Members | |
![]() | |
fourdst::config::Config & | m_config |
Configuration instance. | |
fourdst::logging::LogManager & | m_logManager |
Log manager instance. | |
quill::Logger * | m_logger |
Logger instance. | |
NetworkFormat | m_format |
Format of the network. | |
fourdst::constant::Constants & | m_constants |
bool | m_stiff = false |
Flag indicating if the network is stiff. | |
Class for the Approx8 nuclear reaction network.
Definition at line 294 of file engine_approx8.h.
gridfire::approx8::Approx8Network::Approx8Network | ( | ) |
Definition at line 443 of file engine_approx8.cpp.
|
staticprivate |
Converts the input parameters to the internal state vector.
netIn | Input parameters for the network. |
Definition at line 509 of file engine_approx8.cpp.
Evaluates the nuclear network.
netIn | Input parameters for the network. |
Implements gridfire::Network.
Definition at line 445 of file engine_approx8.cpp.
|
inlineoverridevirtual |
Checks if the solver is using a stiff method.
Reimplemented from gridfire::Network.
Definition at line 315 of file engine_approx8.h.
|
overridevirtual |
Sets whether the solver should use a stiff method.
stiff | Boolean indicating if a stiff method should be used. |
Reimplemented from gridfire::Network.
Definition at line 505 of file engine_approx8.cpp.
|
private |
Definition at line 319 of file engine_approx8.h.
|
private |
Definition at line 320 of file engine_approx8.h.
|
private |
Definition at line 318 of file engine_approx8.h.
|
private |
Definition at line 317 of file engine_approx8.h.