Skip to content

Commit

Permalink
Update gammapkt.cc
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeshingles committed Mar 7, 2025
1 parent 726bc69 commit 8968a88
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions gammapkt.cc
Original file line number Diff line number Diff line change
Expand Up @@ -731,12 +731,6 @@ void transport_gamma(Packet &pkt, const double t2) {

const auto [sdist, snext] = grid::boundary_distance(pkt.dir, pkt.pos, pkt.prop_time, pkt.where, &pkt.last_cross);

if (((snext < 0) && (snext != -99)) || (snext >= grid::ngrid)) {
printout("Heading for inappropriate grid cell. Abort.\n");
printout("Current cell %d, target cell %d.\n", pkt.where, snext);
assert_always(false);
}

// Now consider the scattering/destruction processes.
// Compton scattering - need to determine the scattering co-efficient.
// Routine returns the value in the rest frame.
Expand Down

0 comments on commit 8968a88

Please sign in to comment.