|
GridFire 0.0.1a
General Purpose Nuclear Network
|
Functor for calculating the right-hand side of the ODEs. More...
Public Member Functions | |
| RHSFunctor (DynamicEngine &engine, const double T9, const double rho) | |
| Constructor for the RHSFunctor. | |
| void | operator() (const boost::numeric::ublas::vector< double > &Y, boost::numeric::ublas::vector< double > &dYdt, double t) const |
| Calculates the time derivatives of the species abundances. | |
Public Attributes | |
| DynamicEngine & | m_engine |
| The engine used to evaluate the network. | |
| const double | m_T9 |
| Temperature in units of 10^9 K. | |
| const double | m_rho |
| Density in g/cm^3. | |
| const size_t | m_numSpecies |
| The number of species in the network. | |
| quill::Logger * | m_logger = LogManager::getInstance().getLogger("log") |
| Logger instance. | |
Functor for calculating the right-hand side of the ODEs.
This functor is used by the ODE solver to calculate the time derivatives of the species abundances. It takes the current abundances as input and returns the time derivatives.
|
inline |
Constructor for the RHSFunctor.
| engine | The engine used to evaluate the network. |
| T9 | Temperature in units of 10^9 K. |
| rho | Density in g/cm^3. |
| void gridfire::solver::DirectNetworkSolver::RHSFunctor::operator() | ( | const boost::numeric::ublas::vector< double > & | Y, |
| boost::numeric::ublas::vector< double > & | dYdt, | ||
| double | t ) const |
Calculates the time derivatives of the species abundances.
| Y | Vector of current abundances. |
| dYdt | Vector to store the time derivatives. |
| t | Current time. |
Definition at line 442 of file solver.cpp.
| DynamicEngine& gridfire::solver::DirectNetworkSolver::RHSFunctor::m_engine |
| quill::Logger* gridfire::solver::DirectNetworkSolver::RHSFunctor::m_logger = LogManager::getInstance().getLogger("log") |
| const size_t gridfire::solver::DirectNetworkSolver::RHSFunctor::m_numSpecies |
| const double gridfire::solver::DirectNetworkSolver::RHSFunctor::m_rho |
| const double gridfire::solver::DirectNetworkSolver::RHSFunctor::m_T9 |