Skip to content

Commit

Permalink
print debug Ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Piyush Sharda authored and Piyush Sharda committed Aug 27, 2024
1 parent e6dbe56 commit f29037b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion networks/metal_chem/actual_rhs.H
Original file line number Diff line number Diff line change
Expand Up @@ -4167,7 +4167,12 @@ std::pair<Real, Real> compute_Semenov_Tdust(Real Tgas, const Array1D<Real, 0, Nu
}

if (iterr > 1000) {
throw std::runtime_error("Maximum iterations reached in dust temperature NR-solver");
throw std::runtime_error("Maximum iterations reached in dust temperature NR-solver. Tgas = " +
std::to_string(Tgas) +
", Tdold_start = " +
std::to_string(krome_Semenov_Tdust) +
", Tdnew = " +
std::to_string(Tdnew));
}
}

Expand Down

0 comments on commit f29037b

Please sign in to comment.