SCALE-RM
Functions/Subroutines | Variables
mod_urban_admin Module Reference

module Urban admin More...

Functions/Subroutines

subroutine, public urban_admin_setup
 Setup. More...
 

Variables

logical, public urban_do = .true.
 
logical, public urban_land = .false.
 
character(len=h_short), public urban_dyn_type = 'NONE'
 
character(len=h_short), public urban_sfc_type = 'NONE'
 

Detailed Description

module Urban admin

Description
Urban submodel administrator
Author
Team SCALE
NAMELIST
  • PARAM_URBAN
    nametypedefault valuecomment
    URBAN_DYN_TYPE character(len=H_SHORT) 'NONE'

History Output
No history output

Function/Subroutine Documentation

◆ urban_admin_setup()

subroutine, public mod_urban_admin::urban_admin_setup

Setup.

Definition at line 55 of file mod_urban_admin.F90.

55  use scale_prc, only: &
56  prc_abort
57  implicit none
58 
59  namelist / param_urban / &
60  urban_dyn_type
61  integer :: ierr
62  !---------------------------------------------------------------------------
63 
64  log_newline
65  log_info("URBAN_ADMIN_setup",*) 'Setup'
66 
67  !--- read namelist
68  rewind(io_fid_conf)
69  read(io_fid_conf,nml=param_urban,iostat=ierr)
70  if( ierr < 0 ) then !--- missing
71  log_info("URBAN_ADMIN_setup",*) 'Not found namelist. Default used.'
72  elseif( ierr > 0 ) then !--- fatal error
73  log_error("URBAN_ADMIN_setup",*) 'Not appropriate names in namelist PARAM_URBAN. Check!'
74  call prc_abort
75  endif
76  log_nml(param_urban)
77 
78  !-----< module component check >-----
79 
80  log_newline
81  log_info("URBAN_ADMIN_setup",*) 'Urban model components '
82 
83  if ( urban_dyn_type == 'LAND' ) then
84  log_info_cont(*) 'Urban model : OFF (Land model is used for urban)'
85  urban_do = .false.
86  urban_land = .true.
87  else if ( urban_dyn_type /= 'OFF' .AND. urban_dyn_type /= 'NONE' ) then
88  log_info_cont(*) 'Urban model : ON, ', trim(urban_dyn_type)
89  urban_do = .true.
90  else
91  log_info_cont(*) 'Urban model : OFF'
92  urban_do = .false.
93  endif
94 
95  return

References scale_io::io_fid_conf, scale_prc::prc_abort(), urban_do, urban_dyn_type, and urban_land.

Referenced by mod_rm_driver::rm_driver(), and mod_rm_prep::rm_prep().

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ urban_do

logical, public mod_urban_admin::urban_do = .true.

◆ urban_land

logical, public mod_urban_admin::urban_land = .false.

Definition at line 33 of file mod_urban_admin.F90.

33  logical, public :: URBAN_land = .false. ! urban is handled as a land use type

Referenced by mod_rm_driver::rm_driver(), mod_rm_prep::rm_prep(), and urban_admin_setup().

◆ urban_dyn_type

character(len=h_short), public mod_urban_admin::urban_dyn_type = 'NONE'

Definition at line 35 of file mod_urban_admin.F90.

35  character(len=H_SHORT), public :: URBAN_DYN_TYPE = 'NONE'

Referenced by urban_admin_setup(), mod_urban_driver::urban_driver_setup(), and mod_urban_driver::urban_driver_update().

◆ urban_sfc_type

character(len=h_short), public mod_urban_admin::urban_sfc_type = 'NONE'

Definition at line 39 of file mod_urban_admin.F90.

39  character(len=H_SHORT), public :: URBAN_SFC_TYPE = 'NONE'

Referenced by mod_urban_driver::urban_driver_calc_tendency(), and mod_urban_driver::urban_driver_setup().

mod_urban_admin::urban_do
logical, public urban_do
Definition: mod_urban_admin.F90:32
scale_prc::prc_abort
subroutine, public prc_abort
Abort Process.
Definition: scale_prc.F90:342
scale_prc
module PROCESS
Definition: scale_prc.F90:11
mod_urban_admin::urban_land
logical, public urban_land
Definition: mod_urban_admin.F90:33