Skip to content

Commit

Permalink
Update update_packets.cc
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeshingles committed Oct 28, 2024
1 parent c72f7aa commit 4b8b06d
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions update_packets.cc
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,6 @@ void update_pellet(Packet &pkt, const int nts, const double t2) {
pkt.absorptiontype = -7;
stats::increment(stats::COUNTER_K_STAT_FROM_EARLIERDECAY);

// printout("already decayed packets and propagation by packet_prop\n");
pkt.prop_time = globals::tmin;
} else if constexpr (TESTMODE) {
printoutf("ERROR: Something wrong with decaying pellets. tdecay %g ts %g (ts + tw) %g\n", tdecay, ts, t2);
Expand Down Expand Up @@ -373,12 +372,8 @@ void update_packets(const int my_rank, const int nts, std::span<Packet> packets)
while (!timestepcomplete) {
const auto sys_time_start_pass = std::time(nullptr);

// printout("sorting packets...");

std::ranges::SORT_OR_STABLE_SORT(packets, std_compare_packets_bymodelgriddensity);

// printout("took %lds\n", std::time(nullptr) - sys_time_start_pass);

printout(" update_packets timestep %d pass %3d: started at %ld\n", nts, passnumber, sys_time_start_pass);

const int count_pktupdates = static_cast<int>(std::ranges::count_if(
Expand Down

0 comments on commit 4b8b06d

Please sign in to comment.