|
GridFire 0.6.0
General Purpose Nuclear Network
|
Functor for calculating the Jacobian matrix. More...
Public Member Functions | |
| JacobianFunctor (DynamicEngine &engine, const double T9, const double rho) | |
| Constructor for the JacobianFunctor. | |
| void | operator() (const boost::numeric::ublas::vector< double > &Y, boost::numeric::ublas::matrix< double > &J, double t, boost::numeric::ublas::vector< double > &dfdt) const |
| Calculates the Jacobian matrix. | |
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. | |
Functor for calculating the Jacobian matrix.
This functor is used by the ODE solver to calculate the Jacobian matrix of the ODEs. It takes the current abundances as input and returns the Jacobian matrix.
|
inline |
Constructor for the JacobianFunctor.
| 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::JacobianFunctor::operator() | ( | const boost::numeric::ublas::vector< double > & | Y, |
| boost::numeric::ublas::matrix< double > & | J, | ||
| double | t, | ||
| boost::numeric::ublas::vector< double > & | dfdt ) const |
Calculates the Jacobian matrix.
| Y | Vector of current abundances. |
| J | Matrix to store the Jacobian matrix. |
| t | Current time. |
| dfdt | Vector to store the time derivatives (not used). |
| DynamicEngine& gridfire::solver::DirectNetworkSolver::JacobianFunctor::m_engine |
The engine used to evaluate the network.
| const double gridfire::solver::DirectNetworkSolver::JacobianFunctor::m_rho |
Density in g/cm^3.
| const double gridfire::solver::DirectNetworkSolver::JacobianFunctor::m_T9 |
Temperature in units of 10^9 K.