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

module ATMOSPHERE / Physics Radiation More...

Functions/Subroutines

subroutine, public atmos_phy_rd_setup (RD_TYPE)
 Setup. More...
 

Variables

procedure(rd), pointer, public atmos_phy_rd => NULL()
 

Detailed Description

module ATMOSPHERE / Physics Radiation

Description
Atmospheric radiation transfer process wrapper
Author
Team SCALE
History
  • 2013-12-06 (S.Nishizawa) [new]

Function/Subroutine Documentation

◆ atmos_phy_rd_setup()

subroutine, public scale_atmos_phy_rd::atmos_phy_rd_setup ( character(len=*), intent(in)  RD_TYPE)

Setup.

Definition at line 87 of file scale_atmos_phy_rd.F90.

References atmos_phy_rd, scale_atmos_phy_rd_mstrnx::atmos_phy_rd_mstrnx(), scale_atmos_phy_rd_mstrnx::atmos_phy_rd_mstrnx_setup(), scale_process::prc_mpistop(), and scale_atmos_phy_rd_mm5sw::swinit().

Referenced by mod_atmos_phy_rd_driver::atmos_phy_rd_driver_setup().

87  use scale_process, only: &
89 #define EXTM(pre, name, post) pre ## name ## post
90 #define NAME(pre, name, post) EXTM(pre, name, post)
91 #ifdef RD
92  use name(scale_atmos_phy_rd_, rd,), only: &
93  name(atmos_phy_rd_, rd, _setup), &
94  name(atmos_phy_rd_, rd,)
95 #else
96  use scale_atmos_phy_rd_mstrnx, only: &
99 #endif
100  use scale_atmos_phy_rd_mm5sw, only: &
101  swinit
102  implicit none
103 
104  character(len=*), intent(in) :: rd_type
105  !---------------------------------------------------------------------------
106 
107  select case ( rd_type )
108  case ( 'MSTRNX' )
109  call atmos_phy_rd_mstrnx_setup( rd_type )
111  case ( 'WRF' )
112  call atmos_phy_rd_mstrnx_setup( 'MSTRNX' )
114  call swinit
115  case default
116  write(*,*) 'xxx invalid Radiation type(', trim(rd_type), '). CHECK!'
117  call prc_mpistop
118  end select
119 
120  return
module ATMOSPHERE / Physics Radiation
subroutine, public prc_mpistop
Abort MPI.
procedure(rd), pointer, public atmos_phy_rd
subroutine, public atmos_phy_rd_mstrnx(DENS, RHOT, QTRC, CZ, FZ, fact_ocean, fact_land, fact_urban, temp_sfc, albedo_land, solins, cosSZA, flux_rad, flux_rad_top, flux_rad_sfc_dn)
Radiation main.
subroutine, public atmos_phy_rd_mstrnx_setup(RD_TYPE)
Setup.
module PROCESS
module ATMOSPHERE / Physics Radiation
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ atmos_phy_rd

procedure(rd), pointer, public scale_atmos_phy_rd::atmos_phy_rd => NULL()

Definition at line 79 of file scale_atmos_phy_rd.F90.

Referenced by mod_atmos_phy_rd_driver::atmos_phy_rd_driver(), and atmos_phy_rd_setup().

79  procedure(rd), pointer :: atmos_phy_rd => null()
procedure(rd), pointer, public atmos_phy_rd