SCALE-RM
Functions/Subroutines | Variables
scale_urban_grid_icoa_index Module Reference

module urban / grid / icosahedralA / index More...

Functions/Subroutines

subroutine, public urban_grid_icoa_index_setup
 Setup. More...
 

Variables

integer, public ukmax = -1
 
integer, public uimax = -1
 
integer, public ujmax = -1
 
integer, public uka
 
integer, public uks
 
integer, public uke
 
integer, public uia
 
integer, public uis
 
integer, public uie
 
integer, public uja
 
integer, public ujs
 
integer, public uje
 

Detailed Description

module urban / grid / icosahedralA / index

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

History Output
No history output

Function/Subroutine Documentation

◆ urban_grid_icoa_index_setup()

subroutine, public scale_urban_grid_icoa_index::urban_grid_icoa_index_setup ( )

Setup.

Definition at line 59 of file scale_urban_grid_icoA_index.F90.

References scale_atmos_grid_icoa_index::ia, scale_atmos_grid_icoa_index::ie, scale_atmos_grid_icoa_index::imax, scale_io::io_fid_conf, scale_atmos_grid_icoa_index::is, scale_atmos_grid_icoa_index::ja, scale_atmos_grid_icoa_index::je, scale_atmos_grid_icoa_index::jmax, scale_atmos_grid_icoa_index::js, scale_prc::prc_abort(), uia, uie, uimax, uis, uja, uje, ujmax, ujs, uka, uke, ukmax, and uks.

59  use scale_prc, only: &
60  prc_abort
61  use scale_atmos_grid_icoa_index, only: &
62  imax, &
63  ia, is, ie, &
64  jmax, &
65  ja, js, je
66  implicit none
67 
68  namelist / param_urban_grid_icoa_index / &
69  ukmax
70 
71  integer :: ierr
72  !---------------------------------------------------------------------------
73 
74  log_newline
75  log_info("URBAN_GRID_ICOA_INDEX_setup",*) 'Setup'
76 
77  !--- read namelist
78  rewind(io_fid_conf)
79  read(io_fid_conf,nml=param_urban_grid_icoa_index,iostat=ierr)
80  if( ierr < 0 ) then !--- missing
81  log_info("URBAN_GRID_ICOA_INDEX_setup",*) 'Not found namelist. Default used.'
82  elseif( ierr > 0 ) then !--- fatal error
83  log_error("URBAN_GRID_ICOA_INDEX_setup",*) 'Not appropriate names in namelist PARAM_URBAN_GRID_ICOA_INDEX. Check!'
84  call prc_abort
85  endif
86  log_nml(param_urban_grid_icoa_index)
87 
88  if ( ukmax < 1 ) then
89  log_error("URBAN_GRID_ICOA_INDEX_setup",*) 'UKMAX must be >= 1 ', ukmax
90  call prc_abort
91  end if
92 
93  uka = ukmax
94  uks = 1
95  uke = ukmax
96 
97  log_newline
98  log_info("URBAN_GRID_ICOA_INDEX_setup",*) 'Urban grid index information '
99  log_info_cont('(1x,A,I6,A,I6,A,I6)') 'z-axis levels :', ukmax
100 
101  ! at this moment horizontal grid is same as that in atmosphere
102  uimax = imax
103  uia = ia
104  uis = is
105  uie = ie
106 
107  ujmax = jmax
108  uja = ja
109  ujs = js
110  uje = je
111 
112  return
integer, public jmax
of computational cells: y, local
integer, public imax
of computational cells: x, local
integer, public ia
of whole cells: x, local, with HALO
integer, public ja
of whole cells: y, local, with HALO
integer, public io_fid_conf
Config file ID.
Definition: scale_io.F90:55
integer, public is
start point of inner domain: x, local
integer, public ie
end point of inner domain: x, local
module PROCESS
Definition: scale_prc.F90:11
integer, public je
end point of inner domain: y, local
subroutine, public prc_abort
Abort Process.
Definition: scale_prc.F90:338
integer, public js
start point of inner domain: y, local
module atmosphere / grid / icosahedralA / index
Here is the call graph for this function:

Variable Documentation

◆ ukmax

integer, public scale_urban_grid_icoa_index::ukmax = -1

Definition at line 32 of file scale_urban_grid_icoA_index.F90.

Referenced by urban_grid_icoa_index_setup(), and scale_urban_grid_icoa::urban_grid_icoa_setup().

32  integer, public :: ukmax = -1 ! # of computational cells: z for urban

◆ uimax

integer, public scale_urban_grid_icoa_index::uimax = -1

Definition at line 33 of file scale_urban_grid_icoA_index.F90.

Referenced by urban_grid_icoa_index_setup().

33  integer, public :: uimax = -1 ! # of computational cells: x for urban

◆ ujmax

integer, public scale_urban_grid_icoa_index::ujmax = -1

Definition at line 34 of file scale_urban_grid_icoA_index.F90.

Referenced by urban_grid_icoa_index_setup().

34  integer, public :: ujmax = -1 ! # of computational cells: y for urban

◆ uka

integer, public scale_urban_grid_icoa_index::uka

Definition at line 36 of file scale_urban_grid_icoA_index.F90.

Referenced by urban_grid_icoa_index_setup().

36  integer, public :: uka ! # of total grids: z for urban, local

◆ uks

integer, public scale_urban_grid_icoa_index::uks

Definition at line 37 of file scale_urban_grid_icoA_index.F90.

Referenced by urban_grid_icoa_index_setup(), and scale_urban_grid_icoa::urban_grid_icoa_setup().

37  integer, public :: uks ! start point of inner domain: z for urban, local

◆ uke

integer, public scale_urban_grid_icoa_index::uke

Definition at line 38 of file scale_urban_grid_icoA_index.F90.

Referenced by urban_grid_icoa_index_setup(), and scale_urban_grid_icoa::urban_grid_icoa_setup().

38  integer, public :: uke ! end point of inner domain: z for urban, local

◆ uia

integer, public scale_urban_grid_icoa_index::uia

Definition at line 39 of file scale_urban_grid_icoA_index.F90.

Referenced by urban_grid_icoa_index_setup().

39  integer, public :: uia ! # of total grids: x for urban, local

◆ uis

integer, public scale_urban_grid_icoa_index::uis

Definition at line 40 of file scale_urban_grid_icoA_index.F90.

Referenced by urban_grid_icoa_index_setup().

40  integer, public :: uis ! start point of inner domain: x for urban, local

◆ uie

integer, public scale_urban_grid_icoa_index::uie

Definition at line 41 of file scale_urban_grid_icoA_index.F90.

Referenced by urban_grid_icoa_index_setup().

41  integer, public :: uie ! end point of inner domain: x for urban, local

◆ uja

integer, public scale_urban_grid_icoa_index::uja

Definition at line 42 of file scale_urban_grid_icoA_index.F90.

Referenced by urban_grid_icoa_index_setup().

42  integer, public :: uja ! # of total grids: Y for urban, local

◆ ujs

integer, public scale_urban_grid_icoa_index::ujs

Definition at line 43 of file scale_urban_grid_icoA_index.F90.

Referenced by urban_grid_icoa_index_setup().

43  integer, public :: ujs ! start point of inner domain: y for urban, local

◆ uje

integer, public scale_urban_grid_icoa_index::uje

Definition at line 44 of file scale_urban_grid_icoA_index.F90.

Referenced by urban_grid_icoa_index_setup().

44  integer, public :: uje ! end point of inner domain: y for urban, local