You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/reactions/reactionsSystems/KineticReactions.hpp
+17Lines changed: 17 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -87,6 +87,23 @@ class KineticReactions
87
87
reactionRatesDerivatives );
88
88
}
89
89
90
+
/**
91
+
* @brief Compute the reaction rates for a given set of species concentrations and surface area.
92
+
* @tparam PARAMS_DATA The type of the parameters data.
93
+
* @tparam ARRAY_1D_TO_CONST The type of the array of species concentrations
94
+
* @tparam ARRAY_1D_SA The type of the array of surface area.
95
+
* @tparam ARRAY_1D The type of the array of reaction rates.
96
+
* @tparam ARRAY_2D The type of the array of reaction rates derivatives.
97
+
* @param temperature The temperature of the system.
98
+
* @param params The parameters data.
99
+
* @param speciesConcentration The array of species concentrations.
100
+
* @param surfaceArea The array of surface area.
101
+
* @param reactionRates The array of reaction rates.
102
+
* @param reactionRatesDerivatives The array of reaction rates derivatives.
103
+
* @details
104
+
* This function computes the reaction rates for a given set of reactions, taking into account
105
+
* the surface area of the reactions. If CALCULATE_DERIVATIVES is true, it also computes the derivatives of the reaction rates with respect to the species concentrations.
0 commit comments