SCALE-RM
scale_urban_grid_cartesC_real.F90
Go to the documentation of this file.
1 !-------------------------------------------------------------------------------
10 !-------------------------------------------------------------------------------
11 #include "scalelib.h"
13  !-----------------------------------------------------------------------------
14  !
15  !++ used modules
16  !
17  use scale_precision
18  use scale_io
19  use scale_prof
22  !-----------------------------------------------------------------------------
23  implicit none
24  private
25  !-----------------------------------------------------------------------------
26  !
27  !++ Public procedure
28  !
30 
31  !-----------------------------------------------------------------------------
32  !
33  !++ Public parameters & variables
34  !
35  real(RP), public, allocatable :: urban_grid_cartesc_real_area(:,:)
36  real(RP), public :: urban_grid_cartesc_real_totarea
37  real(RP), public, allocatable :: urban_grid_cartesc_real_vol (:,:,:)
38  real(RP), public :: urban_grid_cartesc_real_totvol
39 
40  !-----------------------------------------------------------------------------
41  !
42  !++ Private procedure
43  !
44  !-----------------------------------------------------------------------------
45  !
46  !++ Private parameters & variables
47  !
48  !-----------------------------------------------------------------------------
49 contains
50  !-----------------------------------------------------------------------------
56  use scale_urban_grid_cartesc, only: &
58  use scale_file_cartesc, only: &
60 
61  integer :: k, i, j
62 
63  ! at this moment, horizontal grid is identical to that of the atmosphere
68 
69  do j = 1, uja
70  do i = 1, uia
71  do k = uks, uke
73  enddo
74  enddo
75  enddo
76 
78  do j = ujs, uje
79  do i = uis, uie
80  do k = uks, uke
82  end do
83  end do
84  end do
85 
87 
88  return
89  end subroutine urban_grid_cartesc_real_setup
90 
real(rp), public urban_grid_cartesc_real_totarea
total area
module urban / grid / icosahedralA / index
subroutine, public file_cartesc_set_coordinates_urban(VOL)
set volume for urban
real(rp), dimension(:,:,:), allocatable, public urban_grid_cartesc_real_vol
volume of grid cell
real(rp), public urban_grid_cartesc_real_totvol
total volume
module atmosphere / grid / cartesC index
real(rp), dimension(:), allocatable, public urban_grid_cartesc_cdz
z-length of control volume [m]
module urban / grid / cartesianC
real(rp), dimension(:,:), allocatable, public urban_grid_cartesc_real_area
area of grid cell
subroutine, public urban_grid_cartesc_real_setup
Setup real grid.
module profiler
Definition: scale_prof.F90:11
module Atmosphere GRID CartesC Real(real space)
real(rp), dimension(:,:), allocatable, public atmos_grid_cartesc_real_area
horizontal area ( xy, normal z) [m2]
module PRECISION
module file / cartesianC
module urban / grid / cartesianC / real
module STDIO
Definition: scale_io.F90:10
real(rp), public atmos_grid_cartesc_real_totarea
total area (xy, local) [m2]