Go to the documentation of this file.
44 private :: urban_grid_cartesc_read
45 private :: urban_grid_cartesc_generate
51 real(
rp),
private :: udz(200)
53 character(len=H_LONG) :: urban_grid_cartesc_in_basename =
''
54 logical :: urban_grid_cartesc_in_aggregate
67 namelist / param_urban_grid_cartesc / &
68 urban_grid_cartesc_in_basename, &
69 urban_grid_cartesc_in_aggregate, &
77 log_info(
"URBAN_GRID_CARTESC_setup",*)
'Setup'
80 log_info(
"URBAN_GRID_CARTESC_setup",*)
'Skip because UKMAX < 1'
90 read(
io_fid_conf,nml=param_urban_grid_cartesc,iostat=ierr)
92 log_info(
"URBAN_GRID_CARTESC_setup",*)
'Not found namelist. Default used.'
93 elseif( ierr > 0 )
then
94 log_error(
"URBAN_GRID_CARTESC_setup",*)
'Not appropriate names in namelist PARAM_URBAN_GRID_CARTESC. Check!'
97 log_nml(param_urban_grid_cartesc)
105 log_info(
"URBAN_GRID_CARTESC_setup",*)
'Urban grid information '
107 if ( urban_grid_cartesc_in_basename /=
'' )
then
108 call urban_grid_cartesc_read
110 log_info(
"URBAN_GRID_CARTESC_setup",*)
'Not found input grid file. Grid position is calculated.'
112 call urban_grid_cartesc_generate
117 log_info(
"URBAN_GRID_CARTESC_setup",*)
'Single layer. LDZ = ', udz(1)
120 log_info(
"URBAN_GRID_CARTESC_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] |'
126 log_info_cont(
'(1x,A,I4,F8.3,A,F8.3,A)')
'|',k,
urban_grid_cartesc_cz(k),
' ',
urban_grid_cartesc_cdz(k),
' | '
130 log_info_cont(
'(1x,A,I4,F8.3,A,F8.3,A)')
'|',k,
urban_grid_cartesc_cz(k),
' ',
urban_grid_cartesc_cdz(k),
' | '
132 log_info_cont(
'(1x,A)')
'|=================================|'
147 log_info(
"URBAN_GRID_CARTESC_finalize",*)
'Finalize'
159 subroutine urban_grid_cartesc_read
171 log_info(
"URBAN_GRID_CARTESC_read",*)
'Input urban grid file '
173 call file_open( urban_grid_cartesc_in_basename, fid, rankid=
prc_myrank, aggregate=urban_grid_cartesc_in_aggregate )
180 end subroutine urban_grid_cartesc_read
184 subroutine urban_grid_cartesc_generate
202 end subroutine urban_grid_cartesc_generate
subroutine, public prc_abort
Abort Process.
real(rp), dimension(:), allocatable, public urban_grid_cartesc_cdz
z-length of control volume [m]
subroutine, public file_open(basename, fid, mode, single, allnodes, aggregate, rankid, postfix)
integer, public prc_myrank
process num in local communicator
module urban / grid / icosahedralA / index
real(rp), dimension(:), allocatable, public urban_grid_cartesc_cz
center coordinate [m]: z, local=global
subroutine, public urban_grid_cartesc_finalize
Finalize.
integer, parameter, public rp
module atmosphere / grid / cartesC index
module urban / grid / cartesianC
logical, public file_aggregate
subroutine, public urban_grid_cartesc_setup
Setup.
integer, public io_fid_conf
Config file ID.
real(rp), dimension(:), allocatable, public urban_grid_cartesc_fz
face coordinate [m]: z, local=global