Skip to content

Commit 4fa577e

Browse files
Removes debug print statements
1 parent c0a608e commit 4fa577e

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

components/eamxx/src/physics/mam/eamxx_mam_constituent_fluxes_interface.cpp

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#include <chrono>
21
#include <physics/mam/eamxx_mam_constituent_fluxes_functions.hpp>
32
#include <physics/mam/eamxx_mam_constituent_fluxes_interface.hpp>
43
namespace scream {
@@ -282,30 +281,10 @@ void MAMConstituentFluxes::run_impl(const double dt) {
282281
Kokkos::parallel_for("preprocess", scan_policy, preprocess_);
283282
Kokkos::fence();
284283

285-
for(int icnst = 0; icnst < 6; ++icnst) {
286-
auto host_view = Kokkos::create_mirror_view(wet_aero_.gas_mmr[icnst]);
287-
Kokkos::deep_copy(host_view, wet_aero_.gas_mmr[icnst]);
288-
printf("BEFORE:::%e, %i\n", host_view(0, 71), icnst + 9);
289-
}
290-
auto start = std::chrono::steady_clock::now();
291284
update_gas_aerosols_using_constituents(ncol_, nlev_, dt, dry_atm_,
292285
constituent_fluxes_,
293286
// output
294287
wet_aero_);
295-
auto stop = std::chrono::steady_clock::now();
296-
auto duration = (stop - start);
297-
298-
// To get the value of duration use the count()
299-
// member function on the duration object
300-
printf("TIME:%e\n",
301-
std::chrono::duration<double, std::milli>(duration).count());
302-
303-
for(int icnst = 0; icnst < 6; ++icnst) {
304-
auto host_view = Kokkos::create_mirror_view(wet_aero_.gas_mmr[icnst]);
305-
Kokkos::deep_copy(host_view, wet_aero_.gas_mmr[icnst]);
306-
printf("BEFORE:::%e, %i\n", host_view(0, 71), icnst + 9);
307-
}
308-
309288
} // run_impl ends
310289

311290
// =============================================================================

0 commit comments

Comments
 (0)