Closed cguzman95 closed 4 years ago
On rxn_photolysis.cu, in deriv and jac calculation, I had to add the line
if (-rateYIELD_(i_spec)timestep <= state[PROD(i_spec)])
in order to avoid a crash. This line is used also on other reactions and is not affecting the results, but is strange
[UPDATED]: This bug was found pretty early on GPU development, maybe in recent versions it disappears.
It's working fine now
On rxn_photolysis.cu, in deriv and jac calculation, I had to add the line
if (-rateYIELD_(i_spec)timestep <= state[PROD(i_spec)])
in order to avoid a crash. This line is used also on other reactions and is not affecting the results, but is strange
[UPDATED]: This bug was found pretty early on GPU development, maybe in recent versions it disappears.