SCALE-RM
Functions/Subroutines | Variables
scale_urban_grid_index Module Reference

module urban grid index More...

Functions/Subroutines

subroutine, public urban_grid_index_setup
 Setup. More...
 

Variables

integer, public ukmax = 1
 
integer, public uks
 
integer, public uke
 

Detailed Description

module urban grid index

Description
Grid Index module for urban
Author
Team SCALE
NAMELIST
  • PARAM_URBAN_INDEX
    nametypedefault valuecomment
    UKMAX integer 1 # of computational cells: z for urban

History Output
No history output

Function/Subroutine Documentation

◆ urban_grid_index_setup()

subroutine, public scale_urban_grid_index::urban_grid_index_setup ( )

Setup.

Definition at line 49 of file scale_urban_grid_index.F90.

References scale_stdio::io_fid_conf, scale_stdio::io_fid_log, scale_stdio::io_fid_nml, scale_stdio::io_l, scale_stdio::io_nml, scale_process::prc_mpistop(), uke, ukmax, and uks.

Referenced by mod_rm_driver::scalerm(), and mod_rm_prep::scalerm_prep().

49  use scale_process, only: &
51  implicit none
52 
53  namelist / param_urban_index / &
54  ukmax
55 
56  integer :: ierr
57  !---------------------------------------------------------------------------
58 
59  if( io_l ) write(io_fid_log,*)
60  if( io_l ) write(io_fid_log,*) '++++++ Module[GRID_INDEX] / Categ[URBAN GRID] / Origin[SCALElib]'
61 
62  !--- read namelist
63  rewind(io_fid_conf)
64  read(io_fid_conf,nml=param_urban_index,iostat=ierr)
65  if( ierr < 0 ) then !--- missing
66  if( io_l ) write(io_fid_log,*) '*** Not found namelist. Default used.'
67  elseif( ierr > 0 ) then !--- fatal error
68  write(*,*) 'xxx Not appropriate names in namelist PARAM_URBAN_INDEX. Check!'
69  call prc_mpistop
70  endif
71  if( io_nml ) write(io_fid_nml,nml=param_urban_index)
72 
73  uks = 1
74  uke = ukmax
75 
76  if( io_l ) write(io_fid_log,*)
77  if( io_l ) write(io_fid_log,*) '*** Urban grid index information ***'
78  if( io_l ) write(io_fid_log,'(1x,A,I6,A,I6,A,I6)') '*** z-axis levels :', ukmax
79 
80  return
subroutine, public prc_mpistop
Abort MPI.
module PROCESS
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ ukmax

integer, public scale_urban_grid_index::ukmax = 1

◆ uks

integer, public scale_urban_grid_index::uks

◆ uke

integer, public scale_urban_grid_index::uke