Skip to content

Commit

Permalink
add optional to conditionally-allocated var in GFS_ccpp_suite_sim_pre
Browse files Browse the repository at this point in the history
  • Loading branch information
grantfirl committed Jun 5, 2024
1 parent a1a3872 commit 47dec94
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ subroutine GFS_ccpp_suite_sim_pre_run(do_ccpp_suite_sim, dtend, ntqv, dtidx, dtp
index_of_temperature, index_of_x_wind, index_of_y_wind
integer, intent(in), dimension(:,:) :: dtidx
real(kind_phys), intent(in) :: dtp
real(kind_phys), intent(in), dimension(:,:,:) :: dtend
real(kind_phys), intent(in), dimension(:,:,:), optional :: dtend
type(base_physics_process),intent(in) :: physics_process(:)
integer, intent(in) :: iactive_T, iactive_u, iactive_v, iactive_q

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
type = real
kind = kind_phys
intent = in
optional = True
[dtidx]
standard_name = cumulative_change_of_state_variables_outer_index
long_name = index of state-variable and process in last dimension of diagnostic tendencies array AKA cumulative_change_index
Expand Down

0 comments on commit 47dec94

Please sign in to comment.