|
SERiF 0.0.1a
3+1D Stellar Structure and Evolution
|
Class for network evaluation. More...
#include <network.h>
Public Member Functions | |
| Network (const NetworkFormat format=NetworkFormat::APPROX8) | |
| virtual | ~Network ()=default |
| NetworkFormat | getFormat () const |
| NetworkFormat | setFormat (const NetworkFormat format) |
| virtual NetOut | evaluate (const NetIn &netIn) |
| Evaluate the network based on the input parameters. | |
| virtual bool | isStiff () const |
| virtual void | setStiff (const bool stiff) |
Protected Attributes | |
| serif::config::Config & | m_config |
| Configuration instance. | |
| serif::probe::LogManager & | m_logManager |
| Log manager instance. | |
| quill::Logger * | m_logger |
| Logger instance. | |
| NetworkFormat | m_format |
| Format of the network. | |
| serif::constant::Constants & | m_constants |
| bool | m_stiff = false |
| Flag indicating if the network is stiff. | |
Class for network evaluation.
This class provides methods to evaluate the network based on the input parameters.
Example usage:
|
explicit |
Definition at line 32 of file network.cpp.
|
virtualdefault |
Evaluate the network based on the input parameters.
| netIn | Input parameters for the network evaluation. |
Reimplemented in serif::network::approx8::Approx8Network, serif::network::GraphNetwork, and serif::network::ReaclibNetwork.
Definition at line 54 of file network.cpp.
|
nodiscard |
Definition at line 44 of file network.cpp.
|
inlinevirtual |
Reimplemented in serif::network::approx8::Approx8Network.
| NetworkFormat serif::network::Network::setFormat | ( | const NetworkFormat | format | ) |
Definition at line 48 of file network.cpp.
|
inlinevirtual |
Reimplemented in serif::network::approx8::Approx8Network.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |