diff --git a/components/eamxx/src/physics/mam/eamxx_mam_wetscav_process_interface.cpp b/components/eamxx/src/physics/mam/eamxx_mam_wetscav_process_interface.cpp index daa203ab7b8..ef7661c2ba8 100644 --- a/components/eamxx/src/physics/mam/eamxx_mam_wetscav_process_interface.cpp +++ b/components/eamxx/src/physics/mam/eamxx_mam_wetscav_process_interface.cpp @@ -297,7 +297,7 @@ void MAMWetscav::initialize_impl(const RunType run_type) { //(e.g.) runtime_options.lambda_low = m_params.get("lambda_low"); // populate the wet atmosphere state with views from fields and - // the buffer (NOTE: wet atmosphere only has qv, qc, qi, nc, ni and omega) + // the buffer (NOTE: wet atmosphere only has qv, qc, qi, nc, ni) wet_atm_.qc = get_field_in("qc").get_view(); wet_atm_.qi = get_field_in("qi").get_view(); @@ -307,8 +307,6 @@ void MAMWetscav::initialize_impl(const RunType run_type) { wet_atm_.qv = get_field_in("qv").get_view(); wet_atm_.nc = get_field_in("nc").get_view(); wet_atm_.ni = get_field_in("ni").get_view(); - wet_atm_.omega = get_field_in("omega").get_view(); - // populate the dry atmosphere state with views from fields // (NOTE: dry atmosphere has everything that wet // atmosphere has along with z_surf, T_mid, p_mid, z_mid, z_iface, @@ -317,6 +315,7 @@ void MAMWetscav::initialize_impl(const RunType run_type) { dry_atm_.p_mid = get_field_in("p_mid").get_view(); dry_atm_.p_del = get_field_in("pseudo_density").get_view(); dry_atm_.p_int = get_field_in("p_int").get_view(); + dry_atm_.omega = get_field_in("omega").get_view(); // How "buffer_" works: We use buffer to allocate memory for the members of // dry_atm_ object. Here we are providing those memory locations to the // dry_atm_ members. These members are computed from the above wet_atm_ or diff --git a/externals/mam4xx b/externals/mam4xx index a8aa56ba915..1b5f3b6f4cd 160000 --- a/externals/mam4xx +++ b/externals/mam4xx @@ -1 +1 @@ -Subproject commit a8aa56ba915c83c22edc54ce5fd8ae4a23e6173e +Subproject commit 1b5f3b6f4cd90b18869e20acc4e68663b3c4e0e8