Skip to content

Commit

Permalink
initialize Doxygen documentation in F-A scheme
Browse files Browse the repository at this point in the history
  • Loading branch information
mzhangw committed Sep 11, 2019
1 parent d749a68 commit 9fc5ac1
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 6 deletions.
4 changes: 4 additions & 0 deletions physics/docs/ccpp_doxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,10 @@ INPUT = pdftxt/mainpage.txt \
../module_mp_thompson.F90 \
../module_mp_radar.F90 \
../mp_thompson_post.F90 \
### HAFS
../module_MP_FER_HIRES.F90 \
../mp_fer_hires.F90 \
../module_mp_fer_hires_pre.F90 \
### utils
../funcphys.f90 \
../physparam.f \
Expand Down
35 changes: 31 additions & 4 deletions physics/module_MP_FER_HIRES.F90
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
!
!-- "Modified" fer_hires microphysics - 11 July 2016 version
!
!>\file module_MP_FER_HIRES.F90
!! "Modified" fer_hires microphysics - 11 July 2016 version
!!
! (1) Ice nucleation: Fletcher (1962) replaces Meyers et al. (1992)
! (2) Cloud ice is a simple function of the number concentration from (1), and it
! is no longer a fractional function of the large ice. Thus, the FLARGE &
Expand Down Expand Up @@ -232,7 +232,9 @@ MODULE MODULE_MP_FER_HIRES
!-----------------------------------------------------------------------
!&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
!-----------------------------------------------------------------------
!ZM SUBROUTINE FER_HIRES (itimestep,DT,RHgrd, &

!>\ingroup hafs_famp
!! This is the driver scheme of Ferrier-Aligo microphysics scheme.
SUBROUTINE FER_HIRES (DT,RHgrd, &
& dz8w,rho_phy,p_phy,pi_phy,th_phy,t_phy, &
& q,qt, &
Expand Down Expand Up @@ -667,6 +669,31 @@ END SUBROUTINE FER_HIRES
!###############################################################################
!###############################################################################
!
!>\ingroup hafs_famp
!! This is the grid-scale microphysical processes of Ferrier-Aligo microphysics
!! scheme (i.e., condensation and precipitation).
!!\param arain accumulated rainfall at the surface (kg)
!!\param asnow accumulated snowfall at the surface (kg)
!!\param dtph physics time step (s)
!!\param rhc_col vertical column of threshold relative humidity for onset of
!! condensation (ratio)
!!\param i_index i index
!!\param j_index j index
!!\param lsfc Eta level of level above surface, ground
!!\param p_col vertical column of model pressure (Pa)
!!\param qi_col vertical column of model ice mixing ratio (kg/kg)
!!\param qr_col vertical column of model rain ratio (kg/kg)
!!\param q_col vertical column of model water vapor specific humidity (kg/kg)
!!\param qw_col
!!\param rimef_col
!!\param t_col
!!\param thick_col
!!\param wc_col
!!\param lm
!!\param pcond1d
!!\param pidep1d
!!\param piacw1d
!!\param piacwi1d
SUBROUTINE EGCP01COLUMN_hr ( ARAIN, ASNOW, DTPH, RHC_col, &
& I_index, J_index, LSFC, &
& P_col, QI_col, QR_col, Q_col, QW_col, RimeF_col, T_col, &
Expand Down
3 changes: 2 additions & 1 deletion physics/module_mp_fer_hires_pre.F90
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ end subroutine mp_fer_hires_pre_init
subroutine mp_fer_hires_pre_finalize ()
end subroutine mp_fer_hires_pre_finalize

!> \defgroup hafs_fa HAFS Ferrier-Aligo MP Scheme Update Water Module
!> \defgroup hafs_fa_update HAFS Ferrier-Aligo MP Scheme Update Water Module
!! \ingroup hafs_famp
!! This subroutine is to update water array with CWM, F_RAIN, and F_ICE
!! for Ferrier-Aligo MP scheme.
!! \section arg_table_mp_fer_hires_pre_run Argument Table
Expand Down
2 changes: 1 addition & 1 deletion physics/mp_fer_hires.F90
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ subroutine mp_fer_hires_init(Model, imp_physics, &

end subroutine mp_fer_hires_init


!>\defgroup hafs_famp HAFS Ferrier-Aligo Cloud Microphysics Scheme
!> This is the CCPP-compliant FER_HIRES driver module.
!> \section arg_table_mp_fer_hires_run Argument Table
!! | local_name | standard_name | long_name | units | rank | type | kind | intent | optional |
Expand Down

0 comments on commit 9fc5ac1

Please sign in to comment.