Go to the documentation of this file.
44 private :: urban_grid_icoa_read
45 private :: urban_grid_icoa_generate
51 real(
rp),
private :: udz(200)
53 character(len=H_LONG) :: urban_grid_icoa_in_basename =
''
54 logical :: urban_grid_icoa_in_aggregate
67 namelist / param_urban_grid_icoa / &
68 urban_grid_icoa_in_basename, &
69 urban_grid_icoa_in_aggregate, &
77 log_info(
"URBAN_GRID_ICOA_setup",*)
'Setup'
80 log_info(
"URBAN_GRID_ICOA_setup",*)
'Skip because UKMAX < 1'
90 read(
io_fid_conf,nml=param_urban_grid_icoa,iostat=ierr)
92 log_info(
"URBAN_GRID_ICOA_setup",*)
'Not found namelist. Default used.'
93 elseif( ierr > 0 )
then
94 log_error(
"URBAN_GRID_ICOA_setup",*)
'Not appropriate names in namelist PARAM_URBAN_GRID_ICOA. Check!'
97 log_nml(param_urban_grid_icoa)
105 log_info(
"URBAN_GRID_ICOA_setup",*)
'Urban grid information '
107 if ( urban_grid_icoa_in_basename /=
'' )
then
108 call urban_grid_icoa_read
110 log_info(
"URBAN_GRID_ICOA_setup",*)
'Not found input grid file. Grid position is calculated.'
112 call urban_grid_icoa_generate
117 log_info(
"URBAN_GRID_ICOA_setup",*)
'Single layer. LDZ = ', udz(1)
120 log_info(
"URBAN_GRID_ICOA_setup",
'(1x,A)')
'Vertical Coordinate'
121 log_info_cont(
'(1x,A)')
'| k z zh dz k |'
122 log_info_cont(
'(1x,A)')
'| [m] [m] [m] |'
124 log_info_cont(
'(1x,A,F8.3,A,I4,A)')
'| ',
urban_grid_icoa_fz(k),
' ',k,
' | Atmosphere interface'
126 log_info_cont(
'(1x,A,I4,F8.3,A,F8.3,A)')
'|',k,
urban_grid_icoa_cz(k),
' ',
urban_grid_icoa_cdz(k),
' | '
130 log_info_cont(
'(1x,A,I4,F8.3,A,F8.3,A)')
'|',k,
urban_grid_icoa_cz(k),
' ',
urban_grid_icoa_cdz(k),
' | '
132 log_info_cont(
'(1x,A)')
'|=================================|'
152 subroutine urban_grid_icoa_read
164 log_info(
"URBAN_GRID_ICOA_read",*)
'Input urban grid file '
166 call file_open( urban_grid_icoa_in_basename, fid, rankid=
prc_myrank, aggregate=urban_grid_icoa_in_aggregate )
173 end subroutine urban_grid_icoa_read
177 subroutine urban_grid_icoa_generate
195 end subroutine urban_grid_icoa_generate
subroutine, public prc_abort
Abort Process.
subroutine, public file_open(basename, fid, mode, single, allnodes, aggregate, rankid, postfix)
real(rp), dimension(:), allocatable, public urban_grid_icoa_cz
center coordinate [m]: z, local=global
module urban / grid / icosahedralA
subroutine, public urban_grid_icoa_setup
Setup.
integer, public prc_myrank
process num in local communicator
real(rp), dimension(:), allocatable, public urban_grid_icoa_cdz
z-length of control volume [m]
integer, parameter, public rp
logical, public file_aggregate
module atmosphere / grid / icosahedralA / index
module urban / grid / icosahedralA / index
real(rp), dimension(:), allocatable, public urban_grid_icoa_fz
face coordinate [m]: z, local=global
subroutine, public urban_grid_icoa_finalize
integer, public io_fid_conf
Config file ID.