Skip to content

Commit

Permalink
Remove commented out code
Browse files Browse the repository at this point in the history
  • Loading branch information
forrestglines committed Nov 22, 2023
1 parent 97a3646 commit f1aca4b
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/pgen/cluster/agn_feedback.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -361,8 +361,6 @@ void AGNFeedback::FeedbackSrcTerm(parthenon::MeshData<parthenon::Real> *md,
///////////////////////////////////////////////////////////////////

eos.ConsToPrim(cons, prim, nhydro, nscalars, k, j, i);
// const Real old_specific_internal_e =
// prim(IPR, k, j, i) / (prim(IDN, k, j, i) * (eos.GetGamma() - 1.));

cons(IDN, k, j, i) += jet_density;
cons(IM1, k, j, i) += jet_momentum * sign_jet * jet_axis_x;
Expand All @@ -379,13 +377,6 @@ void AGNFeedback::FeedbackSrcTerm(parthenon::MeshData<parthenon::Real> *md,
}

eos.ConsToPrim(cons, prim, nhydro, nscalars, k, j, i);
// We're
// const Real new_specific_internal_e =
// prim(IPR, k, j, i) / (prim(IDN, k, j, i) * (eos.GetGamma() - 1.));
// PARTHENON_REQUIRE(
// new_specific_internal_e > jet_specific_internal_e ||
// new_specific_internal_e > old_specific_internal_e,
// "Kinetic injection leads to temperature below jet and existing gas");
}

// Apply velocity ceiling
Expand Down

0 comments on commit f1aca4b

Please sign in to comment.