SCALE-RM
Data Types | Functions/Subroutines | Variables
scale_atmos_phy_cp Module Reference

module ATMOSPHERE / Physics Cumulus Parameterization More...

Functions/Subroutines

subroutine, public atmos_phy_cp_setup (CP_TYPE)
 Setup Cumulus parameterization. More...
 

Variables

procedure(cp), pointer, public atmos_phy_cp => NULL()
 

Detailed Description

module ATMOSPHERE / Physics Cumulus Parameterization

Description
Cumulus convection parameterization
Author
Team SCALE
History
  • 2016-06-27 (S.Matsugishi) [new]

Function/Subroutine Documentation

◆ atmos_phy_cp_setup()

subroutine, public scale_atmos_phy_cp::atmos_phy_cp_setup ( character(len=*), intent(in)  CP_TYPE)

Setup Cumulus parameterization.

Definition at line 84 of file scale_atmos_phy_cp.F90.

References atmos_phy_cp, scale_atmos_phy_cp_kf::atmos_phy_cp_kf(), scale_atmos_phy_cp_kf::atmos_phy_cp_kf_setup(), and scale_process::prc_mpistop().

Referenced by mod_atmos_phy_cp_driver::atmos_phy_cp_driver_setup().

84  use scale_process, only: &
86 #define EXTM(pre, name, post) pre ## name ## post
87 #define NAME(pre, name, post) EXTM(pre, name, post)
88 #ifdef CP
89  use name(scale_atmos_phy_mp_, cp,), only: &
90  name(atmos_phy_cp_, cp, _setup), &
91  name(atmos_phy_cp_, cp,), &
92 #else
93  use scale_atmos_phy_cp_kf, only: &
96 #endif
97  implicit none
98 
99  character(len=*), intent(in) :: cp_type
100  !------------------------------------------------------------------------------
101 
102 #ifdef CP
103  call name(atmos_phy_cp_, cp, _setup)( cp_type )
104  atmos_phy_cp => name(atmos_phy_cp_, cp,)
105 #else
106  select case ( cp_type )
107  case( 'KF' )
108  call atmos_phy_cp_kf_setup( cp_type )
110  end select
111 #endif
112 
113  return
subroutine, public prc_mpistop
Abort MPI.
subroutine, public atmos_phy_cp_kf_setup(CP_TYPE)
Setup.
module PROCESS
module ATMOSPHERE / Physics Cumulus Parameterization
procedure(cp), pointer, public atmos_phy_cp
subroutine, public atmos_phy_cp_kf(DENS, MOMZ, MOMX, MOMY, RHOT, QTRC, DENS_t_CP, MOMZ_t_CP, MOMX_t_CP, MOMY_t_CP, RHOT_t_CP, RHOQ_t_CP, MFLX_cloudbase, SFLX_convrain, cloudtop, cloudbase, cldfrac_dp, cldfrac_sh, nca, w0avg)
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ atmos_phy_cp

procedure(cp), pointer, public scale_atmos_phy_cp::atmos_phy_cp => NULL()

Definition at line 74 of file scale_atmos_phy_cp.F90.

Referenced by mod_atmos_phy_cp_driver::atmos_phy_cp_driver(), and atmos_phy_cp_setup().

74  procedure(cp), pointer :: atmos_phy_cp => null()
procedure(cp), pointer, public atmos_phy_cp