feat(reverse-reactions): major work towrds detailed balance calculations
This commit is contained in:
@@ -113,6 +113,8 @@ namespace gridfire::reaction {
|
||||
*/
|
||||
[[nodiscard]] virtual CppAD::AD<double> calculate_rate(const CppAD::AD<double> T9) const;
|
||||
|
||||
[[nodiscard]] virtual double calculate_forward_rate_log_derivative(const double T9) const;
|
||||
|
||||
/**
|
||||
* @brief Gets the reaction name in (projectile, ejectile) notation.
|
||||
* @return The reaction name (e.g., "p(p,g)d").
|
||||
@@ -341,6 +343,8 @@ namespace gridfire::reaction {
|
||||
*/
|
||||
[[nodiscard]] double calculate_rate(const double T9) const override;
|
||||
|
||||
[[nodiscard]] virtual double calculate_forward_rate_log_derivative(const double T9) const override;
|
||||
|
||||
/**
|
||||
* @brief Calculates the total reaction rate using CppAD types.
|
||||
* @param T9 The temperature in units of 10^9 K, as a CppAD::AD<double>.
|
||||
|
||||
Reference in New Issue
Block a user