SCALE-RM
scale_land_grid_cartesC_real.F90
Go to the documentation of this file.
1 !-------------------------------------------------------------------------------
9 !-------------------------------------------------------------------------------
10 #include "scalelib.h"
12  !-----------------------------------------------------------------------------
13  !
14  !++ used modules
15  !
16  use scale_precision
17  use scale_io
18  use scale_prof
21  !-----------------------------------------------------------------------------
22  implicit none
23  private
24  !-----------------------------------------------------------------------------
25  !
26  !++ Public procedure
27  !
29 
30  !-----------------------------------------------------------------------------
31  !
32  !++ Public parameters & variables
33  !
34  real(RP), public, allocatable :: land_grid_cartesc_real_area(:,:)
35  real(RP), public :: land_grid_cartesc_real_totarea
36  real(RP), public, allocatable :: land_grid_cartesc_real_vol (:,:,:)
37  real(RP), public :: land_grid_cartesc_real_totvol
38 
39  !-----------------------------------------------------------------------------
40  !
41  !++ Private procedure
42  !
43  !-----------------------------------------------------------------------------
44  !
45  !++ Private parameters & variables
46  !
47  !-----------------------------------------------------------------------------
48 contains
49  !-----------------------------------------------------------------------------
55  use scale_land_grid_cartesc, only: &
57  use scale_file_cartesc, only: &
59 
60  integer :: k, i, j
61 
62  ! at this moment, horizontal grid is identical to that of the atmosphere
63  allocate( land_grid_cartesc_real_area( lia,lja) )
67 
68  do j = 1, lja
69  do i = 1, lia
70  do k = lks, lke
72  enddo
73  enddo
74  enddo
75 
77  do j = ljs, lje
78  do i = lis, lie
79  do k = lks, lke
81  end do
82  end do
83  end do
84 
86 
87  return
88  end subroutine land_grid_cartesc_real_setup
subroutine, public land_grid_cartesc_real_setup
Setup real grid.
module land / grid / cartesianC / real
module land / grid / cartesianC / index
module atmosphere / grid / cartesC index
real(rp), dimension(:,:), allocatable, public land_grid_cartesc_real_area
area of grid cell
real(rp), public land_grid_cartesc_real_totarea
total area
module land / grid / cartesianC
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 STDIO
Definition: scale_io.F90:10
real(rp), public land_grid_cartesc_real_totvol
total volume
real(rp), dimension(:,:,:), allocatable, public land_grid_cartesc_real_vol
volume of grid cell
subroutine, public file_cartesc_set_coordinates_land(VOL)
set volume for land
real(rp), public atmos_grid_cartesc_real_totarea
total area (xy, local) [m2]
real(rp), dimension(:), allocatable, public land_grid_cartesc_cdz
z-length of control volume [m]