|
GridFire 0.0.1a
General Purpose Nuclear Network
|
Functor for calculating the residual and Jacobian for the QSE species using Eigen. More...
Public Types | |
| enum | { InputsAtCompileTime = Eigen::Dynamic , ValuesAtCompileTime = Eigen::Dynamic } |
| using | InputType = Eigen::Matrix<T, Eigen::Dynamic, 1> |
| using | OutputType = Eigen::Matrix<T, Eigen::Dynamic, 1> |
| using | JacobianType = Eigen::Matrix<T, Eigen::Dynamic, Eigen::Dynamic> |
Public Member Functions | |
| EigenFunctor (DynamicEngine &engine, const std::vector< double > &YFull, const std::vector< size_t > &dynamicSpeciesIndices, const std::vector< size_t > &QSESpeciesIndices, const double T9, const double rho) | |
| Constructor for the EigenFunctor. | |
| int | values () const |
| int | inputs () const |
| int | operator() (const InputType &v_QSE_log, OutputType &f_QSE) const |
| Calculates the residual vector for the QSE species. | |
| int | df (const InputType &v_QSE_log, JacobianType &J_QSE) const |
| Calculates the Jacobian matrix for the QSE species. | |
Public Attributes | |
| DynamicEngine & | m_engine |
| The engine used to evaluate the network. | |
| const std::vector< double > & | m_YFull |
| The full, initial abundance vector. | |
| const std::vector< size_t > & | m_dynamicSpeciesIndices |
| Indices of the dynamic species. | |
| const std::vector< size_t > & | m_QSESpeciesIndices |
| Indices of the QSE species. | |
| const double | m_T9 |
| Temperature in units of 10^9 K. | |
| const double | m_rho |
| Density in g/cm^3. | |
Functor for calculating the residual and Jacobian for the QSE species using Eigen.
| T | The numeric type to use for the calculation (double or ADDouble). |
| using gridfire::solver::QSENetworkSolver::EigenFunctor< T >::InputType = Eigen::Matrix<T, Eigen::Dynamic, 1> |
| using gridfire::solver::QSENetworkSolver::EigenFunctor< T >::JacobianType = Eigen::Matrix<T, Eigen::Dynamic, Eigen::Dynamic> |
| using gridfire::solver::QSENetworkSolver::EigenFunctor< T >::OutputType = Eigen::Matrix<T, Eigen::Dynamic, 1> |
| anonymous enum |
|
inline |
Constructor for the EigenFunctor.
| engine | The engine used to evaluate the network. |
| YFull | Abundances of the dynamic species. |
| dynamicSpeciesIndices | Indices of the dynamic species. |
| QSESpeciesIndices | Indices of the QSE species. |
| T9 | Temperature in units of 10^9 K. |
| rho | Density in g/cm^3. |
| int gridfire::solver::QSENetworkSolver::EigenFunctor< T >::df | ( | const InputType & | v_QSE_log, |
| JacobianType & | J_QSE ) const |
|
inline |
| int gridfire::solver::QSENetworkSolver::EigenFunctor< T >::operator() | ( | const InputType & | v_QSE_log, |
| OutputType & | f_QSE ) const |
|
inline |
| const std::vector<size_t>& gridfire::solver::QSENetworkSolver::EigenFunctor< T >::m_dynamicSpeciesIndices |
| DynamicEngine& gridfire::solver::QSENetworkSolver::EigenFunctor< T >::m_engine |
| const std::vector<size_t>& gridfire::solver::QSENetworkSolver::EigenFunctor< T >::m_QSESpeciesIndices |
| const double gridfire::solver::QSENetworkSolver::EigenFunctor< T >::m_rho |
| const double gridfire::solver::QSENetworkSolver::EigenFunctor< T >::m_T9 |
| const std::vector<double>& gridfire::solver::QSENetworkSolver::EigenFunctor< T >::m_YFull |