Loading [MathJax]/extensions/tex2jax.js
CCPP SciDoc for UFS-SRW v3.0.0  SRW v3.0.0
Common Community Physics Package Developed at DTC
 
All Classes Namespaces Functions Variables Modules Pages
Loading...
Searching...
No Matches

◆ gfs_gwd_generic_pre_run()

subroutine gfs_gwd_generic_pre::gfs_gwd_generic_pre_run ( integer, intent(in) im,
integer, intent(in) levs,
integer, intent(in) nmtvr,
real(kind=kind_phys), dimension(:,:), intent(in) mntvar,
real(kind=kind_phys), dimension(:), intent(out) oc,
real(kind=kind_phys), dimension(:,:), intent(out) oa4,
real(kind=kind_phys), dimension(:,:), intent(out) clx,
real(kind=kind_phys), dimension(:), intent(out) theta,
real(kind=kind_phys), dimension(:), intent(out), optional varss,
real(kind=kind_phys), dimension(:), intent(out), optional ocss,
real(kind=kind_phys), dimension(:,:), intent(out), optional oa4ss,
real(kind=kind_phys), dimension(:,:), intent(out), optional clxss,
real(kind=kind_phys), dimension(:), intent(out) sigma,
real(kind=kind_phys), dimension(:), intent(out) gamma,
real(kind=kind_phys), dimension(:), intent(out) elvmax,
logical, intent(in) lssav,
logical, intent(in) ldiag3d,
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,
real(kind=kind_phys), dimension(:,:), intent(in) dudt,
real(kind=kind_phys), dimension(:,:), intent(in) dvdt,
real(kind=kind_phys), dimension(:,:), intent(in) dtdt,
real(kind=kind_phys), intent(in) dtf,
logical, intent(in) flag_for_gwd_generic_tend,
character(len=*), intent(out) errmsg,
integer, intent(out) errflg )

Argument Table

GFS_GWD_generic_pre_run argument table
local_namestandard_namelong_nameunitstypedimensionskindintent
imhorizontal_loop_extenthorizontal dimensioncountinteger()in
levsvertical_layer_dimensionvertical layer dimensioncountinteger()in
nmtvrnumber_of_statistical_measures_of_subgrid_orographynumber of statistical measures of subgrid height_above_mean_sea_levelcountinteger()in
mntvarstatistical_measures_of_subgrid_orography_collection_arrayarray of statistical measures of subgrid height_above_mean_sea_levelmixedreal(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:number_of_statistical_measures_of_subgrid_orography)kind_physin
occonvexity_of_subgrid_orographyconvexity of subgrid height_above_mean_sea_levelnonereal(ccpp_constant_one:horizontal_loop_extent)kind_physout
oa4asymmetry_of_subgrid_orographyasymmetry of subgrid height_above_mean_sea_levelnonereal(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:4)kind_physout
clxfraction_of_grid_box_with_subgrid_orography_higher_than_critical_heighthorizontal fraction of grid box covered by subgrid height_above_mean_sea_level higher than critical heightfracreal(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:4)kind_physout
thetaangle_from_east_of_maximum_subgrid_orographic_variationsangle with_respect to east of maximum subgrid orographic variationsdegreereal(ccpp_constant_one:horizontal_loop_extent)kind_physout
varssstandard_deviation_of_subgrid_orography_small_scalestandard deviation of subgrid height_above_mean_sea_level small scalemreal(ccpp_constant_one:horizontal_loop_extent)kind_physout
ocssconvexity_of_subgrid_orography_small_scaleconvexity of subgrid height_above_mean_sea_level small scalenonereal(ccpp_constant_one:horizontal_loop_extent)kind_physout
oa4ssasymmetry_of_subgrid_orography_small_scaleasymmetry of subgrid height_above_mean_sea_level small scalenonereal(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:4)kind_physout
clxssfraction_of_grid_box_with_subgrid_orography_higher_than_critical_height_small_scalehorizontal fraction of grid box covered by subgrid height_above_mean_sea_level higher than critical height small scalefracreal(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:4)kind_physout
sigmaslope_of_subgrid_orographyslope of subgrid height_above_mean_sea_levelnonereal(ccpp_constant_one:horizontal_loop_extent)kind_physout
gammaanisotropy_of_subgrid_orographyanisotropy of subgrid height_above_mean_sea_levelnonereal(ccpp_constant_one:horizontal_loop_extent)kind_physout
elvmaxmaximum_subgrid_orographymaximum of subgrid height_above_mean_sea_levelmreal(ccpp_constant_one:horizontal_loop_extent)kind_physout
lssavflag_for_diagnosticslogical flag for storing diagnosticsflaglogical()in
ldiag3dflag_for_diagnostics_3dflag for 3d diagnostic fieldsflaglogical()in
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_physin
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_physin
dtdtprocess_split_cumulative_tendency_of_air_temperatureupdated tendency of the temperatureK s-1real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physin
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 x-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
dtftimestep_for_dynamicsdynamics timestepsreal()kind_physin
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