← Back to Documentation Home
CCPP SciDoc for HSD Capabilities  SRW v3.0.0
Common Community Physics Package Developed at DTC
Loading...
Searching...
No Matches

◆ gfs_gwd_generic_post_run()

subroutine gfs_gwd_generic_post::gfs_gwd_generic_post_run ( integer, intent(in) im,
integer, intent(in) levs,
integer, intent(in) ntrac,
integer, intent(in) tend_opt_gwd,
logical, intent(in) lssav,
logical, intent(in) ldiag3d,
real(kind=kind_phys), intent(in) dtf,
real(kind=kind_phys), intent(in) dtp,
real(kind=kind_phys), dimension(:), intent(in) dusfcg,
real(kind=kind_phys), dimension(:), intent(in) dvsfcg,
real(kind=kind_phys), dimension(:,:), intent(in) ten_t,
real(kind=kind_phys), dimension(:,:), intent(in) ten_u,
real(kind=kind_phys), dimension(:,:), intent(in) ten_v,
real(kind=kind_phys), dimension(:,:,:), intent(in) ten_q,
real(kind=kind_phys), dimension(:,:), intent(inout) dudt,
real(kind=kind_phys), dimension(:,:), intent(inout) dvdt,
real(kind=kind_phys), dimension(:,:), intent(inout) dtdt,
real(kind=kind_phys), dimension(:,:,:), intent(inout) dqdt,
real(kind=kind_phys), dimension(:), intent(inout) dugwd,
real(kind=kind_phys), dimension(:), intent(inout) dvgwd,
real(kind=kind_phys), dimension(:,:), intent(inout) gt0,
real(kind=kind_phys), dimension(:,:,:), intent(inout) gq0,
real(kind=kind_phys), dimension(:,:), intent(inout) gu0,
real(kind=kind_phys), dimension(:,:), intent(inout) gv0,
logical, intent(in) flag_for_gwd_generic_tend,
real(kind=kind_phys), dimension(:,:,:), intent(inout), optional dtend,
integer, dimension(:,:), intent(in) dtidx,
integer, intent(in) index_of_temperature,
integer, intent(in) index_of_x_wind,
integer, intent(in) index_of_y_wind,
integer, intent(in) index_of_process_orographic_gwd,
character(len=*), intent(out) errmsg,
integer, intent(out) errflg )

Argument Table

GFS_GWD_generic_post_run argument table
local_namestandard_namelong_nameunitstypedimensionskindintent
imhorizontal_loop_extenthorizontal loop extentcountinteger()in
levsvertical_layer_dimensionvertical layer dimensioncountinteger()in
ntracnumber_of_tracersnumber of tracerscountinteger()in
tend_opt_gwdcontrol_for_application_method_of_gravity_wave_drag_tendenciescontrol for application method of gravity wave drag tendencies1integer()in
lssavflag_for_diagnosticsflag for calculating diagnostic fieldsflaglogical()in
ldiag3dflag_for_diagnostics_3dflag for calculating 3-D diagnostic fieldsflaglogical()in
dtftimestep_for_dynamicsdynamics time stepsreal()kind_physin
dtptimestep_for_physicsphysics timestepsreal()kind_physin
dusfcginstantaneous_x_stress_due_to_gravity_wave_dragzonal surface stress due to orographic gravity wave dragPareal(ccpp_constant_one:horizontal_loop_extent)kind_physin
dvsfcginstantaneous_y_stress_due_to_gravity_wave_dragmeridional surface stress due to orographic gravity wave dragPareal(ccpp_constant_one:horizontal_loop_extent)kind_physin
ten_ttendency_of_air_temperaturetendency of air temperature calculated by one physics schemeK s-1real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physin
ten_utendency_of_x_windtendency of x wind calculated by one physics schemem s-2real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physin
ten_vtendency_of_y_windtendency of y wind calculated by one physics schemem s-2real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physin
ten_qtendency_of_tracer_concentrationtendency of tracer concentration calculated by one physics schemekg kg-1 s-1real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension, ccpp_constant_one:number_of_tracers)kind_physin
dudtprocess_split_cumulative_tendency_of_x_windzonal wind tendency due to model physicsm s-2real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physinout
dvdtprocess_split_cumulative_tendency_of_y_windmeridional wind tendency due to model physicsm s-2real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physinout
dtdtprocess_split_cumulative_tendency_of_air_temperatureair temperature tendency due to model physicsK s-1real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physinout
dqdtprocess_split_cumulative_tendency_of_tracerstendency of the tracers due to model physicskg kg-1 s-1real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension, ccpp_constant_one:number_of_tracers)kind_physinout
dugwdtime_integral_of_x_stress_due_to_gravity_wave_dragintegral over time of zonal stress due to gravity wave dragPa sreal(ccpp_constant_one:horizontal_loop_extent)kind_physinout
dvgwdtime_integral_of_y_stress_due_to_gravity_wave_dragintegral over time of meridional stress due to gravity wave dragPa sreal(ccpp_constant_one:horizontal_loop_extent)kind_physinout
gt0air_temperatureair temperatureKreal(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physinout
gq0tracer_concentrationtracer concentrationkg kg-1real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension, ccpp_constant_one:number_of_tracers)kind_physinout
gu0x_windzonal windm s-1real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physinout
gv0y_windmeridional windm s-1real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physinout
dtendcumulative_change_of_state_variablesdiagnostic tendencies for state variablesmixedreal(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension, ccpp_constant_one:cumulative_change_of_state_variables_outer_index_max)kind_physinout
dtidxcumulative_change_of_state_variables_outer_indexindex of state-variable and process in last dimension of diagnostic tendencies array AKA cumulative_change_indexindexinteger(ccpp_constant_one:number_of_tracers_plus_one_hundred, ccpp_constant_one:number_of_cumulative_change_processes)in
index_of_temperatureindex_of_temperature_in_cumulative_change_indexindex of temperature in first dimension of array cumulative change indexindexinteger()in
index_of_x_windindex_of_x_wind_in_cumulative_change_indexindex of x-wind in first dimension of array cumulative change indexindexinteger()in
index_of_y_windindex_of_y_wind_in_cumulative_change_indexindex of y-wind in first dimension of array cumulative change indexindexinteger()in
index_of_process_orographic_gwdindex_of_orographic_gravity_wave_drag_process_in_cumulative_change_indexindex of orographic gravity wave drag process in second dimension of array cumulative change indexindexinteger()in
flag_for_gwd_generic_tendflag_for_generic_tendency_due_to_gravity_wave_dragtrue if GFS_GWD_generic should calculate tendenciesflaglogical()in
errmsgccpp_error_messageerror message for error handling in CCPPnonecharacter()len=*out
errflgccpp_error_codeerror code for error handling in CCPP1integer()out

General Algorithm

Detailed Algorithm