Skip to content

Commit

Permalink
Update macroatom.cc
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeshingles committed Sep 9, 2024
1 parent 204c7d1 commit 0555faf
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions macroatom.cc
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,7 @@ auto calculate_macroatom_transitionrates(const int modelgridindex, const int ele
const double C = col_excitation_ratecoeff(T_e, nne, element, ion, level, i, epsilon_trans, statweight);
const double NT = nonthermal::nt_excitation_ratecoeff(modelgridindex, element, ion, level, i, uptrans.lineindex);

const double individ_internal_up_same = (R + C + NT) * epsilon_current;

sum_internal_up_same += individ_internal_up_same;
sum_internal_up_same += (R + C + NT) * epsilon_current;
chlevel.sum_internal_up_same[i] = sum_internal_up_same;
}
processrates[MA_ACTION_INTERNALUPSAME] = sum_internal_up_same;
Expand Down

0 comments on commit 0555faf

Please sign in to comment.