You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For getting mixing ratios of a particular species, we sometimes use the index information twice. For example the following code in src/mam4xx/hetfrz.hpp:
const int accum_idx = int(ModeIndex::Accumulation);
const int pcarbon_idx = int(ModeIndex::PrimaryCarbon);
auto &accum_bc = progs.q_aero_i[accum_idx][aerosol_index_for_mode(ModeIndex::Accumulation, AeroId::BC)];
The code above uses ModeIndex::Accumulation twice. We should look into ways to avoid its repeated use.
The text was updated successfully, but these errors were encountered:
For getting mixing ratios of a particular species, we sometimes use the index information twice. For example the following code in
src/mam4xx/hetfrz.hpp
:The code above uses
ModeIndex::Accumulation
twice. We should look into ways to avoid its repeated use.The text was updated successfully, but these errors were encountered: