Skip to content

Commit

Permalink
Merge Pull Request #2912 from E3SM-Project/scream/mahf708/mamxx/this-…
Browse files Browse the repository at this point in the history
…capture-warn

Automatically Merged using E3SM Pull Request AutoTester
PR Title: fix capture this warning in mam micro
PR Author: mahf708
PR LABELS: AT: AUTOMERGE, MAM
  • Loading branch information
E3SM-Autotester authored Jul 19, 2024
2 parents 17dda18 + 63175df commit e587a75
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,8 @@ void MAMMicrophysics::run_impl(const double dt) {
// FIXME: read relevant chlorine loading data from file based on time

// loop over atmosphere columns and compute aerosol microphyscs
auto some_step = step_;

Kokkos::parallel_for(policy, KOKKOS_LAMBDA(const ThreadTeam& team) {
const int icol = team.league_rank(); // column index

Expand Down Expand Up @@ -448,7 +450,7 @@ void MAMMicrophysics::run_impl(const double dt) {
impl::compute_water_content(progs, k, qv, temp, pmid, dgncur_a, dgncur_awet, wetdens, qaerwat);

// do aerosol microphysics (gas-aerosol exchange, nucleation, coagulation)
impl::modal_aero_amicphys_intr(config.amicphys, step_, dt, t, pmid, pdel,
impl::modal_aero_amicphys_intr(config.amicphys, some_step, dt, t, pmid, pdel,
zm, pblh, qv, cldfrac, vmr, vmrcw, vmr_pregaschem,
vmr_precldchem, vmrcw_precldchem, vmr_tendbb,
vmrcw_tendbb, dgncur_a, dgncur_awet,
Expand Down

0 comments on commit e587a75

Please sign in to comment.