Skip to content

Commit

Permalink
Merge pull request #239 from bendudson/fix-impurity-rad-sign
Browse files Browse the repository at this point in the history
Fix sign of impurity radiation diagnostics
  • Loading branch information
bendudson authored Aug 7, 2024
2 parents 3d3248f + 8309852 commit a1ef805
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/fixed_fraction_radiation.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ struct FixedFractionRadiation : public Component {
AUTO_TRACE();

if (diagnose) {
set_with_attrs(state[std::string("R") + name], radiation,
set_with_attrs(state[std::string("R") + name], -radiation,
{{"time_dimension", "t"},
{"units", "W / m^3"},
{"conversion", SI::qe * Tnorm * Nnorm * FreqNorm},
Expand Down

0 comments on commit a1ef805

Please sign in to comment.