Skip to content

Commit 31452ac

Browse files
authored
Merge branch 'eagles-project/mjs271/mam4xx/ff-submodule' (PR #6867)
This PR fixes the MAM4xx interface for wet scavenging--namely, addressing failing tests and an associated non-determinism issue. The issues existed primarily on the MAM4xx side of things, so this PR is mostly a fast-forward of the MAM4xx submodule. However, minor edits to the EAMxx interface code were required in order to properly call mam4::wetdep::aero_model_wetdep().
2 parents 24eea85 + 67f5740 commit 31452ac

File tree

6 files changed

+239
-72
lines changed

6 files changed

+239
-72
lines changed

components/eamxx/src/physics/mam/eamxx_mam_aci_functions.hpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -406,6 +406,10 @@ void call_function_dropmixnuc(
406406
}
407407
});
408408
team.team_barrier();
409+
// HACK: dropmixnuc() requires the parameter enable_aero_vertical_mix,
410+
// so we define it here until we have a better idea of where it
411+
// might come from
412+
const bool enable_aero_vertical_mix = true;
409413
mam4::ndrop::dropmixnuc(
410414
team, dt, ekat::subview(T_mid, icol), ekat::subview(p_mid, icol),
411415
ekat::subview(p_int, icol), ekat::subview(pdel, icol),
@@ -417,6 +421,7 @@ void call_function_dropmixnuc(
417421
spechygro, lmassptr_amode, num2vol_ratio_min_nmodes,
418422
num2vol_ratio_max_nmodes, numptr_amode, nspec_amode, exp45logsig,
419423
alogsig, aten, mam_idx, mam_cnst_idx,
424+
enable_aero_vertical_mix,
420425
ekat::subview(qcld, icol), // out
421426
ekat::subview(wsub, icol), // in
422427
ekat::subview(cloud_frac_prev, icol), // in

0 commit comments

Comments
 (0)