Skip to content
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: 3 additions & 3 deletions src/data/cam_thermo.F90
Original file line number Diff line number Diff line change
Expand Up @@ -1684,16 +1684,16 @@ subroutine get_hydrostatic_energy_1hd(tracer, moist_mixing_ratio, pdel_in, &

if (present(dycore_idx))then
if (dycore_idx) then
species_idx(:) = thermodynamic_active_species_idx_dycore(:)
species_idx(:) = thermodynamic_active_species_idx_dycore(1:thermodynamic_active_species_num)
species_liq_idx(:) = thermodynamic_active_species_liq_idx_dycore(:)
species_ice_idx(:) = thermodynamic_active_species_ice_idx_dycore(:)
else
species_idx(:) = thermodynamic_active_species_idx(1:)
species_idx(:) = thermodynamic_active_species_idx(1:thermodynamic_active_species_num)
species_liq_idx(:) = thermodynamic_active_species_liq_idx(:)
species_ice_idx(:) = thermodynamic_active_species_ice_idx(:)
end if
else
species_idx(:) = thermodynamic_active_species_idx(1:)
species_idx(:) = thermodynamic_active_species_idx(1:thermodynamic_active_species_num)
species_liq_idx(:) = thermodynamic_active_species_liq_idx(:)
species_ice_idx(:) = thermodynamic_active_species_ice_idx(:)
end if
Expand Down
Loading