Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correctly turn off use of NH3. #249

Merged
merged 1 commit into from
Sep 14, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions src/tests/mam4_amicphys_1gridcell.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -244,8 +244,9 @@ void mam_amicphys_1subarea_clear(
const int ntot_soamode = 4;
int niter_out = 0;
Real g0_soa_out = 0;
const bool use_nh3 = false;
gasaerexch::mam_gasaerexch_1subarea(
nghq, igas_h2so4, igas_nh3, ntot_soamode, gas_to_aer, iaer_so4,
nghq, igas_h2so4, use_nh3, ntot_soamode, gas_to_aer, iaer_so4,
iaer_pom, l_calc_gas_uptake_coeff, l_gas_condense_to_mode,
eqn_and_numerics_category, dtsubstep, dtsub_soa_fixed, temp, pmid,
aircon, num_gas_ids, qgas_cur, qgas_avg, qgas_netprod_otrproc,
Expand Down Expand Up @@ -717,8 +718,9 @@ void mam_amicphys_1subarea_cloudy(
Real g0_soa_out = 0;
// time sub-step
const Real dtsub_soa_fixed = -1.0;
const bool use_nh3 = false;
gasaerexch::mam_gasaerexch_1subarea(
nghq, igas_h2so4, igas_nh3, ntot_soamode, gas_to_aer, iaer_so4,
nghq, igas_h2so4, use_nh3, ntot_soamode, gas_to_aer, iaer_so4,
iaer_pom, l_calc_gas_uptake_coeff, l_gas_condense_to_mode,
eqn_and_numerics_category, dtsubstep, dtsub_soa_fixed, temp, pmid,
aircon, num_gas_ids, qgas_cur, qgas_avg, qgas_netprod_otrproc,
Expand Down
Loading