Skip to content

Commit

Permalink
edits to wet scavenging interface to align with mam4xx fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mjschmidt271 committed Dec 21, 2024
1 parent 509997b commit f2121c0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -494,6 +494,12 @@ void MAMWetscav::run_impl(const double dt) {
}
}

Real scavimptblnum[mam4::aero_model::nimptblgrow_total]
[mam4::AeroConfig::num_modes()];
Real scavimptblvol[mam4::aero_model::nimptblgrow_total]
[mam4::AeroConfig::num_modes()];
mam4::wetdep::init_scavimptbl(scavimptblvol, scavimptblnum);

// Loop over atmosphere columns
Kokkos::parallel_for(
policy, KOKKOS_LAMBDA(const ThreadTeam &team) {
Expand Down Expand Up @@ -539,13 +545,6 @@ void MAMWetscav::run_impl(const double dt) {
auto wetdens_icol = ekat::subview(wetdens, icol);
const auto prain_icol = ekat::subview(prain, icol);

Real scavimptblnum[mam4::aero_model::nimptblgrow_total]
[mam4::AeroConfig::num_modes()];
Real scavimptblvol[mam4::aero_model::nimptblgrow_total]
[mam4::AeroConfig::num_modes()];

mam4::wetdep::init_scavimptbl(scavimptblvol, scavimptblnum);

mam4::wetdep::aero_model_wetdep(
team, atm, progs, tends, dt,
// inputs
Expand Down
2 changes: 1 addition & 1 deletion externals/mam4xx
Submodule mam4xx updated 1 files
+8 −9 src/mam4xx/wet_dep.hpp

0 comments on commit f2121c0

Please sign in to comment.