From 4b8b06dba83e0418d2360108aae6e8b8d622706e Mon Sep 17 00:00:00 2001 From: Luke Shingles Date: Mon, 28 Oct 2024 09:44:11 +0000 Subject: [PATCH] Update update_packets.cc --- update_packets.cc | 5 ----- 1 file changed, 5 deletions(-) diff --git a/update_packets.cc b/update_packets.cc index 1ac19488a..c6eb6eb5a 100644 --- a/update_packets.cc +++ b/update_packets.cc @@ -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); @@ -373,12 +372,8 @@ void update_packets(const int my_rank, const int nts, std::span 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(std::ranges::count_if(