SCALE-RM
Functions/Subroutines | Variables
scale_land_grid_cartesc_real Module Reference

module land / grid / cartesianC / real More...

Functions/Subroutines

subroutine, public land_grid_cartesc_real_setup
 Setup real grid. More...
 

Variables

real(rp), dimension(:,:), allocatable, public land_grid_cartesc_real_area
 area of grid cell More...
 
real(rp), public land_grid_cartesc_real_totarea
 total area More...
 
real(rp), dimension(:,:,:), allocatable, public land_grid_cartesc_real_vol
 volume of grid cell More...
 
real(rp), public land_grid_cartesc_real_totvol
 total volume More...
 

Detailed Description

module land / grid / cartesianC / real

Description
Grid module for cartesian coordinate for land
Author
Team SCALE

Function/Subroutine Documentation

◆ land_grid_cartesc_real_setup()

subroutine, public scale_land_grid_cartesc_real::land_grid_cartesc_real_setup ( )

Setup real grid.

Definition at line 52 of file scale_land_grid_cartesC_real.F90.

References scale_atmos_grid_cartesc_real::atmos_grid_cartesc_real_area, scale_atmos_grid_cartesc_real::atmos_grid_cartesc_real_totarea, scale_file_cartesc::file_cartesc_set_coordinates_land(), scale_land_grid_cartesc::land_grid_cartesc_cdz, land_grid_cartesc_real_area, land_grid_cartesc_real_totarea, land_grid_cartesc_real_totvol, land_grid_cartesc_real_vol, scale_land_grid_cartesc_index::lia, scale_land_grid_cartesc_index::lie, scale_land_grid_cartesc_index::lis, scale_land_grid_cartesc_index::lja, scale_land_grid_cartesc_index::lje, scale_land_grid_cartesc_index::ljs, scale_land_grid_cartesc_index::lka, scale_land_grid_cartesc_index::lke, and scale_land_grid_cartesc_index::lks.

Referenced by mod_rm_driver::rm_driver(), and mod_rm_prep::rm_prep().

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) )
64  allocate( land_grid_cartesc_real_vol(lka,lia,lja) )
65  land_grid_cartesc_real_area(:,:) = atmos_grid_cartesc_real_area(:,:)
66  land_grid_cartesc_real_totarea = atmos_grid_cartesc_real_totarea
67 
68  do j = 1, lja
69  do i = 1, lia
70  do k = lks, lke
71  land_grid_cartesc_real_vol(k,i,j) = land_grid_cartesc_real_area(i,j) * land_grid_cartesc_cdz(k)
72  enddo
73  enddo
74  enddo
75 
76  land_grid_cartesc_real_totvol = 0.0_rp
77  do j = ljs, lje
78  do i = lis, lie
79  do k = lks, lke
80  land_grid_cartesc_real_totvol = land_grid_cartesc_real_totvol + land_grid_cartesc_real_vol(k,i,j)
81  end do
82  end do
83  end do
84 
85  call file_cartesc_set_coordinates_land( land_grid_cartesc_real_vol(:,:,:) ) ! [IN]
86 
87  return
module land / grid / cartesianC
module Atmosphere GRID CartesC Real(real space)
real(rp), dimension(:,:), allocatable, public atmos_grid_cartesc_real_area
horizontal area ( xy, normal z) [m2]
module file / cartesianC
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]
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ land_grid_cartesc_real_area

real(rp), dimension(:,:), allocatable, public scale_land_grid_cartesc_real::land_grid_cartesc_real_area

area of grid cell

Definition at line 34 of file scale_land_grid_cartesC_real.F90.

Referenced by land_grid_cartesc_real_setup(), mod_land_vars::land_vars_total(), and scale_monitor_cartesc::monitor_cartesc_setup().

34  real(RP), public, allocatable :: land_grid_cartesc_real_area(:,:)

◆ land_grid_cartesc_real_totarea

real(rp), public scale_land_grid_cartesc_real::land_grid_cartesc_real_totarea

total area

Definition at line 35 of file scale_land_grid_cartesC_real.F90.

Referenced by land_grid_cartesc_real_setup(), mod_land_vars::land_vars_total(), and scale_monitor_cartesc::monitor_cartesc_setup().

35  real(RP), public :: land_grid_cartesc_real_totarea

◆ land_grid_cartesc_real_vol

real(rp), dimension (:,:,:), allocatable, public scale_land_grid_cartesc_real::land_grid_cartesc_real_vol

volume of grid cell

Definition at line 36 of file scale_land_grid_cartesC_real.F90.

Referenced by scale_file_history_cartesc::file_history_cartesc_truncate_3d(), land_grid_cartesc_real_setup(), mod_land_vars::land_vars_total(), and scale_monitor_cartesc::monitor_cartesc_setup().

36  real(RP), public, allocatable :: land_grid_cartesc_real_vol (:,:,:)

◆ land_grid_cartesc_real_totvol

real(rp), public scale_land_grid_cartesc_real::land_grid_cartesc_real_totvol

total volume

Definition at line 37 of file scale_land_grid_cartesC_real.F90.

Referenced by land_grid_cartesc_real_setup(), mod_land_vars::land_vars_total(), and scale_monitor_cartesc::monitor_cartesc_setup().

37  real(RP), public :: land_grid_cartesc_real_totvol