44 private :: urban_grid_read
45 private :: urban_grid_generate
51 real(RP),
private :: udz(200)
53 character(len=H_LONG),
private :: urban_grid_in_basename =
'' 54 character(len=H_LONG),
private :: urban_grid_out_basename =
'' 65 namelist / param_urban_grid / &
66 urban_grid_in_basename, &
67 urban_grid_out_basename, &
75 if(
io_l )
write(
io_fid_log,*)
'++++++ Module[GRID] / Categ[URBAN GRID] / Origin[SCALElib]' 83 if(
io_l )
write(
io_fid_log,*)
'*** Not found namelist. Default used.' 84 elseif( ierr > 0 )
then 85 write(*,*)
'xxx Not appropriate names in namelist PARAM_URBAN_GRID. Check!' 97 if ( urban_grid_in_basename /=
'' )
then 100 if(
io_l )
write(
io_fid_log,*)
'*** Not found input grid file. Grid position is calculated.' 102 call urban_grid_generate
111 '|====== Vertical Coordinate ======|' 118 '| ',
grid_ufz(k),
' ',k,
' | Atmosphere interface' 131 '|=================================|' 139 subroutine urban_grid_read
146 character(len=H_LONG) :: bname
152 write(bname,
'(A,A,F15.3)') trim(urban_grid_in_basename)
159 end subroutine urban_grid_read
163 subroutine urban_grid_generate
181 end subroutine urban_grid_generate
subroutine, public prc_mpistop
Abort MPI.
logical, public io_l
output log or not? (this process)
real(rp), dimension(:), allocatable, public grid_ucdz
z-length of control volume [m]
logical, public io_nml
output log or not? (for namelist, this process)
subroutine, public urban_grid_setup
Setup.
module GRID (cartesian) for urban
real(rp), dimension(:), allocatable, public grid_ufz
face coordinate [m]: z, local=global
real(rp), dimension(:), allocatable, public grid_ucz
center coordinate [m]: z, local=global
integer, public prc_myrank
process num in local communicator
integer, public io_fid_conf
Config file ID.
integer, public io_fid_log
Log file ID.
integer, public io_fid_nml
Log file ID (only for output namelist)