@@ -30,7 +30,6 @@ struct EquilibriumReactionsParameters
3030
3131 static constexpr IndexType numSpecies () { return NUM_SPECIES; }
3232
33- <<<<<<< HEAD
3433 static constexpr IndexType numReactions () { return NUM_REACTIONS; }
3534
3635 static constexpr IndexType numSurfaceReactions () { return NUM_SURFACE_REACTIONS; }
@@ -41,26 +40,12 @@ struct EquilibriumReactionsParameters
4140
4241 static constexpr IndexType numSecondarySpecies () { return numSpecies () - numPrimarySpecies (); }
4342
44- =======
45- static constexpr IndexType numSpecies () { return NUM_SPECIES; }
46-
47- static constexpr IndexType numReactions () { return NUM_REACTIONS; }
48-
49- static constexpr IndexType numPrimarySpecies () { return numSpecies () - numReactions (); }
50-
51- static constexpr IndexType numSecondarySpecies () { return numSpecies () - numPrimarySpecies (); }
52- >>>>>>> origin/main
5343
5444 constexpr
5545 EquilibriumReactionsParameters ( CArrayWrapper< RealType, NUM_REACTIONS, NUM_SPECIES > const & stoichiometricMatrix,
5646 CArrayWrapper< RealType, NUM_REACTIONS > equilibriumConstant ):
57- <<<<<<< HEAD
58- m_stoichiometricMatrix ( stoichiometricMatrix ),
59- m_equilibriumConstant ( equilibriumConstant )
60- =======
6147 m_stoichiometricMatrix ( stoichiometricMatrix ),
6248 m_equilibriumConstant ( equilibriumConstant )
63- >>>>>>> origin/main
6449 {}
6550
6651
@@ -89,15 +74,9 @@ struct KineticReactionsParameters
8974 constexpr KineticReactionsParameters ( CArrayWrapper< RealType, NUM_REACTIONS, NUM_SPECIES > const & stoichiometricMatrix,
9075 CArrayWrapper< RealType, NUM_REACTIONS > const & rateConstantForward,
9176 CArrayWrapper< RealType, NUM_REACTIONS > const & rateConstantReverse ):
92- <<<<<<< HEAD
93- m_stoichiometricMatrix( stoichiometricMatrix ),
94- m_rateConstantForward( rateConstantForward ),
95- m_rateConstantReverse( rateConstantReverse )
96- =======
9777 m_stoichiometricMatrix( stoichiometricMatrix ),
9878 m_rateConstantForward( rateConstantForward ),
9979 m_rateConstantReverse( rateConstantReverse )
100- >>>>>>> origin/main
10180 {}
10281
10382
@@ -128,23 +107,13 @@ struct MixedReactionsParameters
128107 constexpr MixedReactionsParameters () = default;
129108
130109 constexpr MixedReactionsParameters ( CArrayWrapper< RealType, NUM_REACTIONS, NUM_SPECIES > const & stoichiometricMatrix,
131- <<<<<<< HEAD
132- CArrayWrapper< RealType, NUM_REACTIONS > const & equilibriumConstant,
133- CArrayWrapper< RealType, NUM_REACTIONS > const & rateConstantForward,
134- CArrayWrapper< RealType, NUM_REACTIONS > const & rateConstantReverse ):
135- m_stoichiometricMatrix( stoichiometricMatrix ),
136- m_equilibriumConstant( equilibriumConstant ),
137- m_rateConstantForward( rateConstantForward ),
138- m_rateConstantReverse( rateConstantReverse )
139- =======
140110 CArrayWrapper< RealType, NUM_REACTIONS > const & equilibriumConstant,
141111 CArrayWrapper< RealType, NUM_REACTIONS > const & rateConstantForward,
142112 CArrayWrapper< RealType, NUM_REACTIONS > const & rateConstantReverse ):
143113 m_stoichiometricMatrix( stoichiometricMatrix ),
144114 m_equilibriumConstant( equilibriumConstant ),
145115 m_rateConstantForward( rateConstantForward ),
146116 m_rateConstantReverse( rateConstantReverse )
147- >>>>>>> origin/main
148117 {}
149118
150119 static constexpr IndexType numReactions () { return NUM_REACTIONS; }
@@ -154,11 +123,7 @@ struct MixedReactionsParameters
154123 static constexpr IndexType numEquilibriumReactions () { return NUM_EQ_REACTIONS; }
155124
156125 static constexpr IndexType numSpecies () { return NUM_SPECIES; }
157- <<<<<<< HEAD
158126
159- =======
160-
161- >>>>>>> origin/main
162127 static constexpr IndexType numPrimarySpecies () { return NUM_SPECIES - NUM_EQ_REACTIONS; }
163128
164129 static constexpr IndexType numSecondarySpecies () { return NUM_EQ_REACTIONS; }
@@ -169,16 +134,6 @@ struct MixedReactionsParameters
169134 {
170135 CArrayWrapper< RealType, numEquilibriumReactions (), numSpecies () > eqMatrix{};
171136 CArrayWrapper< RealType, numEquilibriumReactions () > eqConstants{};
172- <<<<<<< HEAD
173-
174- for (IntType i = 0 ; i < numEquilibriumReactions (); ++i)
175- {
176- for (IntType j = 0 ; j < numSpecies (); ++j)
177- {
178- eqMatrix (i, j) = m_stoichiometricMatrix (i, j);
179- }
180- eqConstants (i) = m_equilibriumConstant (i);
181- =======
182137
183138 for ( IntType i = 0 ; i < numEquilibriumReactions (); ++i )
184139 {
@@ -187,7 +142,6 @@ struct MixedReactionsParameters
187142 eqMatrix ( i, j ) = m_stoichiometricMatrix ( i, j );
188143 }
189144 eqConstants ( i ) = m_equilibriumConstant ( i );
190- >>>>>>> origin/main
191145 }
192146
193147 return { eqMatrix, eqConstants };
@@ -200,21 +154,12 @@ struct MixedReactionsParameters
200154 CArrayWrapper< RealType, numKineticReactions (), numSpecies () > kineticMatrix{};
201155 CArrayWrapper< RealType, numKineticReactions () > rateConstantForward{};
202156 CArrayWrapper< RealType, numKineticReactions () > rateConstantReverse{};
203- <<<<<<< HEAD
204-
205- for ( IndexType i = 0 ; i < numKineticReactions (); ++i )
206- {
207- for ( IndexType j = 0 ; j < numSpecies (); ++j )
208- {
209- kineticMatrix (i, j) = m_stoichiometricMatrix ( numEquilibriumReactions () + i, j );
210- =======
211157
212158 for ( IndexType i = 0 ; i < numKineticReactions (); ++i )
213159 {
214160 for ( IndexType j = 0 ; j < numSpecies (); ++j )
215161 {
216162 kineticMatrix ( i, j ) = m_stoichiometricMatrix ( numEquilibriumReactions () + i, j );
217- >>>>>>> origin/main
218163 }
219164 rateConstantForward ( i ) = m_rateConstantForward ( numEquilibriumReactions () + i );
220165 rateConstantReverse ( i ) = m_rateConstantReverse ( numEquilibriumReactions () + i );
0 commit comments